Skip to content

How I store my Vectors in ChromaDB for later use via RetriverQuery Engine? #13209

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

You must be logged in to vote

To store the vector_index in ChromaDB and retrieve it later, you'll need to adjust your approach slightly from the standard document storage and retrieval process. The key here is to understand that storing a vector_index involves not just the vectors themselves but also the structure and metadata that allow for efficient querying later on.

Given the code snippet you've shared and your goal, here's a refined example that demonstrates how to store your vector_index in ChromaDB and retrieve it for future queries. This example assumes you've already created your vector_index as shown in your snippet and focuses on integrating with ChromaDB:

from llama_index.vector_stores.chroma import Chrom…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@mraguth
Comment options

@dosubot
Comment options

@mraguth
Comment options

@dosubot
Comment options

Answer selected by mraguth
@mraguth
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