图查询引擎

class llama_index.query_engine.graph_query_engine.ComposableGraphQueryEngine(graph: ComposableGraph, custom_query_engines: Optional[Dict[str, BaseQueryEngine]] = None, recursive: bool = True)

Composable graph query engine.

This query engine can operate over a ComposableGraph. It can take in custom query engines for its sub-indices.

参数
  • graph (ComposableGraph) -- A ComposableGraph object.

  • custom_query_engines (Optional[Dict[str, BaseQueryEngine]]) -- A dictionary of custom query engines.

  • recursive (bool) -- Whether to recursively query the graph.