I'm on 0.6.5 and trying to use the Composable graph, I pass it
custom_query_engines
with matching index id but it seems the subsequent query doesn't use the service context at all and complains about missing engine or deployment id.. any ideas what I might be doing wrong?
custom_query_engines = {
i.index_id: i.as_query_engine(
mode="embedding",
text_qa_template=_get_prompt_template(lang),
similarity_top_k=k,
# https://github.com/jerryjliu/llama_index/blob/main/docs/guides/primer/usage_pattern.md#configuring-response-synthesis
response_mode="tree_summarize", # other modes are default and compact
refine_template=_get_refined_prompt(lang), service_context=service_context
)
for i in indices.values()
}
query_engine = graph.as_query_engine(custom_query_engines=custom_query_engines)
response = query_engine.query(query)