pinecone.fromDocuments(docs, embeddings); 如何获取向量的id
TheBlindM opened this issue · 1 comments
TheBlindM commented
在python版中可以传入ids 来设置
ids_batch = [str(uuid.uuid4()) for n in range(0, len(split_docs))]
Pinecone.from_documents(split_docs, embeddings, index_name="myindex", namespace=namespace, ids=ids_batch)
HamaWhiteGG commented
Sorry, this feature is not supported yet when use from_documents method.