autogen icon indicating copy to clipboard operation
autogen copied to clipboard

Remove dependency on RetrieveAssistantAgent for RetrieveChat

Open thinkall opened this issue 1 year ago • 0 comments

Why are these changes needed?

Current RAG agents RetrieveUserProxyAgent and RetrieveAssistantAgent work together to provide RAG functionality. However, using one single RAG agent would be more convenient for group chat scenarios. At the beginning, the reason to have a RetrieveAssistantAgent instead of any AssistantAgent is that we need RetrieveAssistantAgent to help handle human input "Update Context". Now, we can handle this with process_message_before_send hook.

So, in this PR, we remove dependency on RetrieveAssistantAgent for RetrieveChat.

Related issue number

Checks

  • [ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
  • [ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
  • [ ] I've made sure all auto checks have passed.

thinkall avatar Aug 07 '24 09:08 thinkall