-
Notifications
You must be signed in to change notification settings - Fork 5k
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 Retrieval User Proxy generate_init_message bug #859
Comments
@thinkall would you like to make RetrievalUserProxyAgent more general? If the agent is intended for general use, "problem" is probably too narrow a concept. |
I have seen some other codes where it uses message and somewhere else it uses "problem" and "message". So the question rises. When do we use "message" and when do we use "problem". the code is from the examples that autogen provided in the agentchat_groupchat_RAG.ipynb. Thank you |
it may require a modularized way to build retrieval-based agents, define store and retrieve function like we define reply function. |
Yes, looks like it's time to start working on that. |
Hi @mknio , before we update the code, you'll need to initiate the chat with |
Isnt "message" the better word to use in this instance as it is also dependent on many other factors like the generate_init_message and initiate_chat are all expecting message. Anyways, I will change the code to "problem" once it is updated if that is the most suitable thing to do. Thank you! |
Right, we'll unify the interface. Before that, please use "problem" as a workaround. Just to clarify, you need "problem" for the current version of RetrieveUserProxyAgent. |
seems to be resolved. |
I am trying to use the Autogen's RetrievalUserProxy and after i created a userpoxyagent and an assistant agent i wanted to initiate a message by saying user.initiate_chat(assistant, message = passed_prompt). it gave me a TypeError that it is not expecting it because it should have been passed as "problem" not "message" in the retrieval_user_proxy_agent.py at line 414. It is passed as a "problem" not a "message".
However, in the class ConversableAgent the initiate_chat function is expecting a message argument at the line 529.
I believe that the generate_init_message should be also overridden as message and not as problem.
Please clarify this issue.
The text was updated successfully, but these errors were encountered: