Transform Query Engine
- class llama_index.query_engine.transform_query_engine.TransformQueryEngine(query_engine: BaseQueryEngine, query_transform: BaseQueryTransform, transform_extra_info: Optional[dict] = None, callback_manager: Optional[CallbackManager] = None)
Transform query engine.
- Applies a query transform to a query bundle before passing
it to a query engine.
- Parameters
query_engine (BaseQueryEngine) – A query engine object.
query_transform (BaseQueryTransform) – A query transform object.
transform_extra_info (Optional[dict]) – Extra info to pass to the query transform.
callback_manager (Optional[CallbackManager]) – A callback manager.