Hi Friends,
I have been following this notebook on how to integrate Pinecone.
https://github.com/jerryjliu/llama_index/blob/main/examples/composable_indices/city_analysis/PineconeDemo-CityAnalysis.ipynbIn this tutorial, specifically section titled "Build Graph: Keyword Table Index on top of vector indices!", each individual document has the GPTPineconeIndex structure; then on top of all these documents, a GPTSimpleKeywordTableIndex is defined as part of a ComposableGraph.
My question is, would it be possible for me to do things the other way around? By that I mean, making each individual document a GPTListIndex, then define a GPTPineconeIndex on top of all these GPTListIndex documents as part of a ComposableGraph.
The reason why I want to do this is because I have tons of documents and most of them are really really long. So I don't want GPTPineconeIndex to chop up these documents and store them on Pinecone. Instead, I want to keep these documents in GPTListIndex, so they don't get read into until query time if necessary. Then for the GPTPineconeIndex ComposableGraph, I can use the document summaries, this way hopefully Pinecone will only have to look through the synopsis of these books first before deciding whether or not to query further into them.
Not sure if my question is too wordy, but any help would be greatly appreciated.
Have a good weekend everyone π