Skip to content

Metadata is not returned in query response when using LanceDB vector store #9058

Answered by dosubot bot
mballav asked this question in Q&A
Discussion options

You must be logged in to vote

🤖

Based on the issues I found in the LlamaIndex repository, it seems that others have encountered similar problems with metadata not being returned in the query response when using LanceDB as a vector store.

One of the solutions provided in the issue [Bug]: metadata is lost when using LanceDB as vector store suggests that the problem might occur when you load an existing index. The user logan-markewich provided a solution where they used ChromaDB to load the existing index. Here is the code they used:

# load from disk
db2 = chromadb.PersistentClient(path="./chroma_db")
chroma_collection = db2.get_or_create_collection("quickstart")
vector_store = ChromaVectorStore(chroma_collection=chroma_…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mballav
Comment options

@dosubot
Comment options

Answer selected by mballav
@mballav
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant