Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated 2 months ago
0
Follow
If I have multiple indexes to query
If I have multiple indexes to query
Inactive
0
Follow
H
HABBYMAN
last year
Β·
If I have multiple indexes to query against is advisable to compose a graph or merge them into one index?
b
H
L
6 comments
Share
Open in Discord
b
bmax
last year
can you say more about why you have multiple indices?
H
HABBYMAN
last year
i have two integrations - one with notion, one with gdrive.
the vectors are stored in pinecone in the format
team_id-notion
team_id-gdrive
in the same index.
I want to query both together, but whether they exist at the same time cannot be guarenteed, one may exist without the other
H
HABBYMAN
last year
sorry - those are the pinecone namespaces
L
Logan M
last year
Is there specific information in one vs. the other?
Maybe the best approach is summarizing each index, and using that summary in a router retriever?
H
HABBYMAN
last year
no, generally the two have the same kind of information in them
L
Logan M
last year
hmm, I would say ideally these both get inserted into the some index, rather than different namespaces/indexes π€
You can insert into an existing index with
index.insert(document)
Add a reply
Sign up and join the conversation on Discord
Join on Discord