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

Adding callable summary_method support and enhancements to initiate_chats #1628

Merged
merged 12 commits into from
Feb 12, 2024

Conversation

qingyun-wu
Copy link
Contributor

@qingyun-wu qingyun-wu commented Feb 11, 2024

Why are these changes needed?

  1. Support callable summary_method to enable users to define their own methods for generating summaries.
  2. Allow repetitive recipient agents in sequential chats in initiate_chats (closing [Issue]: Allow repetitive agents in multiple sequential chats #1595)
  3. Enhance the default behavior of "summary_method". The default is "last_msg". When set to None, it now returns an empty string as a summary (this change was implemented in this PR). This adjustment accommodates scenarios where a summary is not needed.

Related issue number

Closes #1595

Checks

@qingyun-wu qingyun-wu added this pull request to the merge queue Feb 12, 2024
Merged via the queue into main with commit 899b250 Feb 12, 2024
59 of 60 checks passed
@sonichi sonichi deleted the summary branch February 12, 2024 02:36
whiskyboy pushed a commit to whiskyboy/autogen that referenced this pull request Apr 17, 2024
…hats (microsoft#1628)

* initiate_chats enhancements

* callable summary_method

* summary method

* summary method default

* docstr

* add timeout to slient pip install test

* consolidate_chat_info

* a_initiate_chat

* AssertionError test

* update tests

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
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 this pull request may close these issues.

[Issue]: Allow repetitive agents in multiple sequential chats
5 participants