Replies: 1 comment
-
|
@gur22-09 if this is still an issue for you, you may consider bringing it up on Discord |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have built a local agent which has access to tools like
wolfram_alphaalong withbuiltin::rag/knowledge_search.The vector db for my RAG contains documents related to my product and I have explicitly mentioned in the system prompt to use the RAG tool whenever user asks question related to my product for QnA but still the agent tries to search using the worlfram tool.
is it due to my system prompt or is there a vay to assign priority when using multiple tools ?
`model_id - llama3.2:1b
agent = Agent(
client=client,
model=model_id,
instructions="""
You are a helpful Personal AI assistant with access to tools.
The tool allows you to search the web for up-to-date information.
Use it whenever you need to answer a question that requires current or specific details.
the web search to verify.
""",
tools=[
"builtin::websearch",
"builtin::wolfram_alpha",
{
"name": "builtin::rag/knowledge_search",
"args": {"vector_db_ids": ["my_knowledge_base"]}
}
]
)`
Beta Was this translation helpful? Give feedback.
All reactions