Find answers from the community

s
F
Y
a
P
Updated 2 years ago

i keep running into this error trying to

i keep running into this error trying to define the query config for a pinecone index. what should the query config look like?

ValueError("pinecone_index or pinecone_kwargs is required.")
ValueError: pinecone_index or pinecone_kwargs is required.
E
o
2 comments
May i see the code?
query_configs = [ { "index_struct_type": "pinecone", "similarity_top_k": 1, "pinecone_index": pinecone_index, "query_mode": "default", # NOTE: set query transform for subindices "query_transform": decompose_transform }, { "index_struct_type": "keyword_table", "query_mode": "simple", "query_kwargs": { "response_mode": "tree_summarize", "verbose": True }, }, ]
Add a reply
Sign up and join the conversation on Discord