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

Group Chat Termination When Calling RAGProxyAgent via Admin Agent #96

Closed
ShaneYuTH opened this issue Oct 4, 2023 · 5 comments · Fixed by #227
Closed

Group Chat Termination When Calling RAGProxyAgent via Admin Agent #96

ShaneYuTH opened this issue Oct 4, 2023 · 5 comments · Fixed by #227
Assignees

Comments

@ShaneYuTH
Copy link

Main Issue:

When posing a question to the Admin agent that involves RAGProxyAgent in a group chat context (e.g., "Provide me with some data," whether explicitly or implicitly stated), the group chat session terminates unexpectedly without any error messages.


Potential Cause:

This may be because the agent is set to terminate as soon as the code execution succeeds. (Suggested by @sonichi )


Additional good-to-have:

A notebook example showcasing how the RAG agent operates within a group chat.

@thinkall thinkall self-assigned this Oct 4, 2023
@thinkall
Copy link
Collaborator

thinkall commented Oct 4, 2023

Thanks @ShaneYuTH for the feedback, I'll look into it.

@scdnapier
Copy link

I was able to add RAG to a group chat using a function call that spawned a separate ragproxy chat and returned the results.

I'm sure this is not the intended approach but it worked in the interim

@thinkall
Copy link
Collaborator

Usually we'll have only one user proxy agent. When we involve Retrieve Agents, the RetrieveUserProxyAgent will be the user proxy agent, so we don't need to have another user proxy agent. In PR #227, there is an example. @ShaneYuTH , @scdnapier would this also work for you?

@ShaneYuTH
Copy link
Author

Usually we'll have only one user proxy agent. When we involve Retrieve Agents, the RetrieveUserProxyAgent will be the user proxy agent, so we don't need to have another user proxy agent. In PR #227, there is an example. @ShaneYuTH , @scdnapier would this also work for you?

Thank you so much for your work. I was asking multiple user proxy agent cause I saw similar setup in https://github.com/microsoft/autogen/blob/main/notebook/agentchat_groupchat_research.ipynb, where there were one userproxy as admin and one as code executor. I'll take a look into the example right now.

@thinkall
Copy link
Collaborator

Usually we'll have only one user proxy agent. When we involve Retrieve Agents, the RetrieveUserProxyAgent will be the user proxy agent, so we don't need to have another user proxy agent. In PR #227, there is an example. @ShaneYuTH , @scdnapier would this also work for you?

Thank you so much for your work. I was asking multiple user proxy agent cause I saw similar setup in https://github.com/microsoft/autogen/blob/main/notebook/agentchat_groupchat_research.ipynb, where there were one userproxy as admin and one as code executor. I'll take a look into the example right now.

Hi @ShaneYuTH , I've added multiple user proxy agent support in #227 as well.

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

Successfully merging a pull request may close this issue.

3 participants