Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WHich LLm used for re-phrase the user query #2035

Open
bhuvneshsaini opened this issue Feb 6, 2025 · 1 comment
Open

WHich LLm used for re-phrase the user query #2035

bhuvneshsaini opened this issue Feb 6, 2025 · 1 comment

Comments

@bhuvneshsaini
Copy link

I entered the query "Research the latest developments in ISRO mars mission"
and agno rephrase it in 3 different queries like shown in below
Tool Calls: [
{
"id": "call_vdKMvPbNXmrNvcDcuIEJKqyt",
"type": "function",
"function": {
"name": "search_exa",
"arguments": "{"query": "ISRO Mars mission 2025",
"num_results": 5, "category": "news"}"
}
},
{
"id": "call_UjLmZlmq7YYNjbGtRXrvI8Eu",
"type": "function",
"function": {
"name": "search_exa",
"arguments": "{"query": "ISRO Mangalyaan 2 updates",
"num_results": 5, "category": "research paper"}"
}
},
{
"id": "call_hOmdlaCqUU108waN7PVrheSq",
"type": "function",
"function": {
"name": "search_exa",
"arguments": "{"query": "Indian Space Research Organisation
Mars mission plans 2025
", "num_results": 5, "category": "pdf"}"
}
}
]

Will it use LLM defined by the user?
We need to calculate the intermediate hits to API to calculate the cost!!

@dirkbrnd
Copy link
Contributor

dirkbrnd commented Feb 7, 2025

Hi @bhuvneshsaini
Can you share a snippet of your code? Tool calls quality greatly depends on the model used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants