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

StateFlow Blog #1826

Merged
merged 64 commits into from
Mar 14, 2024
Merged

StateFlow Blog #1826

merged 64 commits into from
Mar 14, 2024

Conversation

yiranwu0
Copy link
Collaborator

@yiranwu0 yiranwu0 commented Feb 29, 2024

Why are these changes needed?

Introduce Stateflow, a task-solving paradigm that conceptualizes complex task-solving processes backed by LLMs as state machines.
Introduce how to use GroupChat customized speaker selection function to implement the idea.

Note: Depends on #1791.
New changes are: 2024-02-29-StateFlow/index.mdx and agentchat_groupchat_stateflow.ipynb

Related issue number

Checks

@codecov-commenter
Copy link

codecov-commenter commented Feb 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.42%. Comparing base (77513f0) to head (5961b7f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1826      +/-   ##
==========================================
+ Coverage   37.53%   45.42%   +7.88%     
==========================================
  Files          65       65              
  Lines        6913     6913              
  Branches     1521     1648     +127     
==========================================
+ Hits         2595     3140     +545     
+ Misses       4092     3491     -601     
- Partials      226      282      +56     
Flag Coverage Δ
unittests 45.42% <ø> (+7.88%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yiranwu0
Copy link
Collaborator Author

Could you fix the test error?

The groupchat_customized notebook requires human input, so I removed it from notebook testing.

@sonichi sonichi added this pull request to the merge queue Mar 14, 2024
@jackgerrits
Copy link
Member

@kevin666aa sorry for missing the message. Looks like you fixed it up.

The relevant log of the error was:

  Exhaustive list of all broken links found:
  - Broken link on source page path = /autogen/docs/notebooks/agentchat_groupchat_customized:
     -> linking to /autogen/docs/llm_configuration
  - Broken link on source page path = /autogen/docs/notebooks/agentchat_groupchat_stateflow:
     -> linking to /autogen/docs/llm_configuration

That page had moved to /docs/topics/llm_configuration but it looks like it's all sorted now

Merged via the queue into main with commit f78985d Mar 14, 2024
27 checks passed
@yiranwu0 yiranwu0 deleted the sfblog branch April 2, 2024 19:24
whiskyboy pushed a commit to whiskyboy/autogen that referenced this pull request Apr 17, 2024
* init PR

* update

* update code check

* update

* update

* update

* update

* update

* Test the ability to have agents a,u,t,o,g,e,n speak in turn.

* update

* update

* update

* Evidence that groupchat not terminating because of the TERMINATE substring.

* Raising NoEligibleSpeakerException allows graceful exit before max turns

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* udpate to comments

* update

* Update website/blog/2024-02-29-StateFlow/index.mdx

Co-authored-by: Chi Wang <wang.chi@microsoft.com>

* update links

* remove unnecessary changes

* Update website/blog/2024-02-29-StateFlow/index.mdx

Co-authored-by: Joshua Kim <joshkyh@users.noreply.github.com>

* Update website/blog/2024-02-29-StateFlow/index.mdx

Co-authored-by: Joshua Kim <joshkyh@users.noreply.github.com>

* remove test for custom notebook

* update

* update

---------

Co-authored-by: Joshua Kim <Joshua@spectdata.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Joshua Kim <joshkyh@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.

7 participants