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
},
},
]