-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Autogen not able to search online #287
Comments
did you try another model? |
Hi, can you please provide more details of your setup including minimal code/example that reproduces the error. |
That problem solved but now it claims a file in given file path doesnt exist, when it 100% does. can you help? task = """ And I get: |
Trying Mistral 7b model at the moment. It is quite slow but after completing a task it says please click the link for the excel file that is claims to have created, but it does not give you a link. Nor did it save an excel file anywhere on my PC. |
Which agents are you using? None of the agents can search online right now, as web search APIs need keys. You can write a web search function with your own key, and configure an agent for function execution. |
Is the code executed in docker? If so, it won't have access to that path. |
I added a web search function in the agentchat_function_call.ipynb example and it worked. but It seems that before web search function added I had some tasks done perfectly without calling the web search function. After web search function added agent easily choose to use web search with the same task. How can I make the assistant agent think carefully whether to use a function or not. I try to modify the system message but seems useless. Should I define more agents and try group chat? Thanks. |
Can you please provide your code and error so that we can help you better? Improving the function description may also help. |
Sure. Thanks for your reply. My goal is to build an agent who can access functions when it has to do so. Yesterday I try to use a UserProxyAgent and an AssistantAgent with functions(web search, python, shell). Then the AssistantAgent attends to solve all the tasks using web_search function. But that was not what i wanted. Some tasks could be solved in an easier way without using web_search function. Now I build a groupchat with three agents: user_proxy, coder with function call, assistant. But now in a situation that the groupchat couldn't stop. Code and Examples attached. Thank you. |
About termination in group chat, you may be interested in #309 |
We are closing this issue due to inactivity; please reopen if the problem persists. |
* Update tool use examples to use inner agents rather than subclassing * fix * Merge remote-tracking branch 'origin/main' into ekzhu-update-tool-use-example * Merge branch 'main' into ekzhu-update-tool-use-example * Fix links in the sample.
Mine is up and running but my assistant keeps telling me ‘it is an AI assistant and so doesn’t have the ability to load local documents or search online.’
The text was updated successfully, but these errors were encountered: