Find answers from the community

Home
Members
cronusti
c
cronusti
Offline, last seen 3 months ago
Joined September 25, 2024
I am using RouterQueryEngine
query_engine = RouterQueryEngine(
selector=PydanticSingleSelector.from_defaults(),
query_engine_tools=[
sql_tool1,
sql_tool2,
vector_tool,
]
)

the selector works and but there is always followup question which triger LLM returns new answer. Is there way to skip trigger the extra question
working selector:
"""
Thought: Do I need to use a tool? Yes
Action: Query Engine Tool
Action Input: How to configure Qualys Connector in AWS?
"""
Extra question to LLM:
"""
Do I need to use a tool? No
AI: Is there anything else I can help you with?
"""
3 comments
c
L
Good idea. Is there way to customize prompt template globally?
2 comments
L