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

AutoGen Tutorial #1702

Merged
merged 60 commits into from
Mar 9, 2024
Merged

AutoGen Tutorial #1702

merged 60 commits into from
Mar 9, 2024

Conversation

ekzhu
Copy link
Collaborator

@ekzhu ekzhu commented Feb 16, 2024

Why are these changes needed?

Create a tutorial that covers the basic concepts of AutoGen, and expand to detailed topics.

Tutorial structure:

Table of content (displayed on the sidebar)

  1. Introduction to AutoGen (What is AutoGeN, why AutoGen, first chat): https://github.com/microsoft/autogen/blob/tutorial/website/docs/tutorial/introduction.ipynb
  2. Termination: https://github.com/microsoft/autogen/blob/tutorial/website/docs/tutorial/termination.ipynb
  3. Human-in-the-loop and termination: https://github.com/microsoft/autogen/blob/tutorial/website/docs/tutorial/human-in-the-loop.ipynb
  4. Code Executors (solves math problems, plot stock chart, docker and containerization setup): https://github.com/microsoft/autogen/blob/tutorial/website/docs/tutorial/code-executors.ipynb
  5. Multi-agent conversation patterns: https://github.com/microsoft/autogen/blob/tutorial/website/docs/tutorial/conversation-patterns.ipynb
  • Sequential Chat
  • Group Chat
  • Nested Chat
  1. What's Next: https://github.com/microsoft/autogen/blob/tutorial/website/docs/tutorial/what-is-next.ipynb .

Related issue number

#1597

Checks

@ekzhu ekzhu added the documentation Improvements or additions to documentation label Feb 16, 2024
@codecov-commenter
Copy link

codecov-commenter commented Feb 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 37.09%. Comparing base (78a5a6b) to head (0d5e4f1).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1702   +/-   ##
=======================================
  Coverage   37.09%   37.09%           
=======================================
  Files          64       64           
  Lines        6834     6836    +2     
  Branches     1502     1502           
=======================================
+ Hits         2535     2536    +1     
- Misses       4082     4083    +1     
  Partials      217      217           
Flag Coverage Δ
unittests 37.09% <ø> (+<0.01%) ⬆️

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.

@rickyloynd-microsoft
Copy link
Contributor

@sonichi
Copy link
Contributor

sonichi commented Feb 16, 2024

Do we duplicate notebooks in notebooks/ and Tutorials/ ?

@jackgerrits
Copy link
Member

The proposed structure is a bit different to what we have on the roadmap - do you want to update the issue to reflect? #1597

@ekzhu
Copy link
Collaborator Author

ekzhu commented Feb 16, 2024

Do we duplicate notebooks in notebooks/ and Tutorials/ ?

Perhaps. I am not sure at this point. The goal is for the tutorial notebooks to be rendered as webpages. So it should be inside the “website” directory? Also, I think it won't be duplicate because the tutorial should have a coherent flow.

@ekzhu
Copy link
Collaborator Author

ekzhu commented Feb 16, 2024

The proposed structure is a bit different to what we have on the roadmap - do you want to update the issue to reflect? #1597

Right. I was thinking about making the tutorial shorter but making the detailed topics more “flat”. I can update the issue page if you agree with the layout here.

@ekzhu
Copy link
Collaborator Author

ekzhu commented Feb 16, 2024

@ekzhu We currently have two notebooks on teachability. Are they sufficient for the tutorial?

main/notebook/agentchat_teachability.ipynb main/notebook/agentchat_teachable_oai_assistants.ipynb

Thanks! I think I can take them and combine them into one notebook and add some context, so it blends into the tutorial as a whole. So the tutorial version of teachability notebook is going to be different from the notebooks version of the notebook.

@sonichi
Copy link
Contributor

sonichi commented Feb 17, 2024

Do we duplicate notebooks in notebooks/ and Tutorials/ ?

Perhaps. I am not sure at this point. The goal is for the tutorial notebooks to be rendered as webpages. So it should be inside the “website” directory? Also, I think it won't be duplicate because the tutorial should have a coherent flow.

Rendering them as webpages doesn't require the original notebook to be under the website. The current notebooks are renderable as long as they follow the guide.

@jackgerrits
Copy link
Member

I think the tutorials should be website pages first and foremost. Notebooks under notebook/ are just rendered on the website under a big list of notebooks. However, for the docs we are putting more effort into we want to make sure the left navbar makes sense and represents a logical progression of teaching. So I agree with these tutorials being added under website/

@ekzhu ekzhu mentioned this pull request Feb 18, 2024
3 tasks
@sonichi
Copy link
Contributor

sonichi commented Mar 9, 2024

Is there any info about register_reply and more customized conversations built using it? A pointer is sufficient. I just want to be clear that the supported conversation patterns are beyond the examples.

@sonichi sonichi added this pull request to the merge queue Mar 9, 2024
Merged via the queue into main with commit 74298cd Mar 9, 2024
21 checks passed
@sonichi sonichi deleted the tutorial branch March 9, 2024 17:52
whiskyboy pushed a commit to whiskyboy/autogen that referenced this pull request Apr 17, 2024
* update intro

* update intro

* tutorial

* update notebook

* update notebooks

* update

* merge

* add conversation patterns

* rename; delete unused files.

* Reorganize new guides

* Improve intro, fix typos

* add what is next

* outline for code executor

* initiate chats png

* Improve language

* Improve language of human in the loop tutorial

* update

* update

* Update group chat

* code executor

* update convsersation patterns

* update code executor section to use legacy code executor

* update conversation pattern

* redirect

* update figures

* update whats next

* Break down chapter 2 into two chapters

* udpate

* fix website build

* Minor corrections of typos and grammar.

* remove broken links, update sidebar

* code executor update

* Suggest changes to the code executor section

* update what is next

* reorder

* update getting started

* title

* update navbar

* Delete website/docs/tutorial/what-is-next.ipynb

* update conversable patterns

* Improve language

* Fix typo

* minor fixes

---------

Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: gagb <gagb@users.noreply.github.com>
Co-authored-by: Joshua Kim <joshua@spectdata.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.