Find answers from the community

Updated 5 months ago

Manage outdated embeddings

I provide the PropertyGraphIndex with NebulaPropertyGraphStore and PineconeVectorStore as the property grpah store and vector store. And the first time to run that code, I can see the kg node embeddings were correctly inserted into the vector store.
t
s
5 comments
Yes, you need to understand that what Llamaindex is doing when you use PropertyGraphIndex(), you are only inserting nodes, to write or delete directly into pinecone, please check out pinecone's documentation on read and write into index
There might be some misunderstanding. What I mainly want to know is how to update the knowledge graph (KG) information inserted by PropertyGraphIndex (stored in Pinecone vector store and Nebular graph store) when the document changes, or if there is a convenient way to update this information.

If I need to update this information manually, I must understand some details of how PropertyGraphIndex inserts data, such as node id which need to dig into the source code.

I just noticed that the Index has a refresh_ref_docs method, is this the correct method I can use for this kind of scenario?
Maybe this might help
Add a reply
Sign up and join the conversation on Discord