llama_index icon indicating copy to clipboard operation
llama_index copied to clipboard

issue with storing extra_info in Chroma

Open eugenepyvovarov opened this issue 2 years ago • 2 comments

It seems like node.extra_info not stored in Chromadb metadata, I think I fixed it locally by changing the code in file /vector_stores/chroma.py line 66

metadata_to_add = result.node.extra_info
metadata_to_add['document_id'] = result.doc_id
metadatas.append(metadata_to_add)

eugenepyvovarov avatar Mar 20 '23 22:03 eugenepyvovarov

Hey @eugenepyvovarov, would be amazing if you can create a PR with your change. I can help review and land!

Disiok avatar Mar 21 '23 17:03 Disiok

Hey @eugenepyvovarov, would be amazing if you can create a PR with your change. I can help review and land!

i think he did in #817 :)

jerryjliu avatar Mar 21 '23 17:03 jerryjliu