Quantcast
Channel: Pinecone Community - Latest topics
Viewing all articles
Browse latest Browse all 832

Error while upserting data

$
0
0
        new_row = pd.DataFrame({"id": [content_id], "vector": [embedding], 'metadata': [{'content': chunk_text}]})
        df = pd.concat([df, new_row], ignore_index=True)
 
    index.upsert(vectors=zip(df.id, df.vector, df['metadata'].apply(lambda x: x['content'])))

I am trying to upsert the data but i encountered error metadata: invalid value

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 832

Trending Articles