For customizing the framework code #10201
Replies: 1 comment
-
🤖 I understand that you want to modify the That said, I can certainly guide you on how you might approach this modification. Currently, the Here's a high-level idea of how you might modify the class SQLJoinQueryEngine(BaseQueryEngine):
def __init__(self, sql_query_tools, other_query_tools, selector=None, service_context=None, sql_join_synthesis_prompt=None, sql_augment_query_transform=None, use_sql_join_synthesis=True, callback_manager=None, verbose=True):
# Initialization code...
self.sql_query_tools = sql_query_tools
self.other_query_tools = other_query_tools
# Rest of the code... In the above code, Please note that this is a high-level suggestion and the actual implementation might require additional changes based on your specific requirements and the existing codebase. You can refer to the source code of these classes in the LlamaIndex repository for more details: I hope this helps! If you have any further questions, feel free to ask. Sources
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hii Team,
Please update the classes as per my custom requirement.
sql_join_query_engine.py - SQLJoinQueryEngine
sql_vector_query_engine.py - SQLAutoVectorQueryEngine
sql_query_tool: QueryEngineTool,
vector_query_tool: QueryEngineTool,
In the current setup it is only supporting for single query tool of each, but in my present requirement it should support for multiple query tools of each.
Can you please update the required frame work code for me?
Beta Was this translation helpful? Give feedback.
All reactions