479 Commits

Author SHA1 Message Date
Jack Gerrits
11df53bb39 Make notebooks available in navbar (#1956) 2024-03-11 22:46:39 +00:00
andreyseas
579c3cc466 Fixed simple grammatical mistake (#1952) 2024-03-11 18:07:11 +00:00
Yiran Wu
1ead0ec6e1 update guidance for doc build (#1951) 2024-03-11 17:55:47 +00:00
Jack Gerrits
80233709e1 Move LLM Caching docs to topics (#1950)
* Move LLM Caching docs to topics

* Update llm-caching.md
2024-03-11 17:30:55 +00:00
Benjamin Muskalla
4a85b63216 Fix branch info for docker build (#1935) 2024-03-11 06:40:10 +00:00
Eric Zhu
a5a0540be9 Update tutorial examples, reference to register_reply. (#1941)
* update tutorial examples, writings, reference to register_reply.

* update

* update
2024-03-10 05:36:34 +00:00
Eric Zhu
bae54073cd Update conversable agent image (#1939)
* Update conversable agent image

* fix

* fix

* fix

* fix
2024-03-10 04:41:15 +00:00
Chi Wang
f247b45500 Update introduction.ipynb (#1934)
* Update introduction.ipynb

* fix json

* word
2024-03-10 04:02:56 +00:00
Qingyun Wu
c75655a340 Supporting callable message (#1852)
* add message field

* send

* message func doc str

* test dict message

* retiring soon

* generate_init_message docstr

* remove todo

* update notebook

* CompressibleAgent

* update notebook

* add test

* retrieve agent

* update test

* summary_method args

* summary

* carryover

* dict message

* update nested doc

* generate_init_message

* fix typo

* update docs for mathchat

* Fix missing message

* Add docstrings

* model

* notebook

* default naming

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: kevin666aa <yrwu000627@gmail.com>
Co-authored-by: Li Jiang <bnujli@gmail.com>
Co-authored-by: Li Jiang <lijiang1@microsoft.com>
2024-03-09 20:27:46 +00:00
Jack Gerrits
83e1789a50 Fix remove -> remote (#1930)
Fix issue reported from twitternhttps://twitter.com/attila_ibs/status/1766376180662329773
2024-03-09 17:47:26 +00:00
Eric Zhu
74298cda2c AutoGen Tutorial (#1702)
* 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>
2024-03-09 17:45:58 +00:00
Griffin Bassman
f2465357cf fix: minor fixes and formatting (#1919) 2024-03-08 17:50:49 +00:00
Ricky Loynd
c5e76653cb Fix links (#1905) 2024-03-07 22:15:19 +00:00
Jack Gerrits
11b8d25426 Add warning and reorder jupyter executor docs (#1908) 2024-03-07 22:03:15 +00:00
Jack Gerrits
f4f9e6c27e Accept path for work_dir in LocalCommandLineCodeExecutor (#1909)
* Accept path in LocalCommandLineCodeExecutor

* formatting

* fixes
2024-03-07 21:58:40 +00:00
Jack Gerrits
e9219fefc0 Implement docker based command line code executor (#1856)
* implement docker based command line code executor

* undo import

* test skips

* format

* fix type issue

* skip docker tests

* fix paths

* add docs

* Update __init__.py

* class name

* precommit

* undo twoagent change

* use relative to directly

* Update, fixes, etc.

* update doc

* Update docstring

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-03-07 18:11:52 +00:00
Yiran Wu
c37227bd04 Allow user to pass in a customized speaker selection method (#1791)
* init PR

* update

* update code check

* 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

* To confirm with author that custom function is meant to override graph constraints

* Confirmed the expected test behaviour with author

* Update autogen/agentchat/groupchat.py

* update

* update

---------

Co-authored-by: Joshua Kim <Joshua@spectdata.com>
Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
2024-03-07 02:28:22 +00:00
Eric Zhu
62e77adff4 lfs track images in blog post (#1876) 2024-03-06 23:25:21 +00:00
Jack Gerrits
c0369835ad Add annoucement bar for what's new blog post (#1884) 2024-03-06 19:21:28 +00:00
swiecki
5700e272f9 UPDATE: Fixed broken examples links (#1886)
* UPDATE: Fixed broken examples links

Fixed the two broken links in the examples page. All other links confirmed to work.

* Update Examples.md
2024-03-06 15:57:51 +00:00
Jack Gerrits
a54b733533 Rename to EmbeddedIPythonCodeExecutor (#1871) 2024-03-05 19:41:46 +00:00
Jack Gerrits
5bf496ed2c Small edits to update blog post (#1869) 2024-03-05 16:43:32 +00:00
Chi Wang
f3289cb987 summary of recent updates (#1850)
* share updates

* updates

* fix url

* address comments

* address comments

---------

Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
2024-03-05 03:38:30 +00:00
Jack Gerrits
0a79512ebd Add documentation for jupyter code executor (#1809)
* Add documentation for jupyter code executor

* formatting

* move to notebooks

* formatting

* update docs, fix badge bug

* fix lints

* pprint

* stop server
2024-03-04 23:44:20 +00:00
Jack Gerrits
799a24e04f Create topics dir and move llm config (#1853)
* create topics dir and move llm config

* fix redirect

* fix link
2024-03-04 18:02:26 +00:00
Jack Gerrits
de757707bc Upgrade quarto and include mitigation for title issue, fix links (#1851)
* Upgrade quarto and include mitigation for title issue, fix links

* repo_root

* dont run quarto independently

* test paths

* test

* resolve intermediate parents

* remove print
2024-03-04 14:44:41 +00:00
Chi Wang
cd3b5c6bbd add doc about effects for capabilities (#1842)
* add doc about effects for capabilities

* remove unnecessary imports

* improve doc

* test

* test location

* polish

* improve import of colored

* termcolor

* termcolor

* use pull request for openai test
2024-03-03 23:15:52 +00:00
Jack Gerrits
2912f554a3 revert quarto upgrade (#1840)
* revert quarto upgrade

* fix ruff
2024-03-02 19:45:28 +00:00
Jack Gerrits
d60464374d Upgrade Quarto and use notebook metadata for frontmatter (#1836)
* Update process_notebook to use metadata instead of a yaml comment

* upgrade quarto and version check in tool

* formatting

* address comments
2024-03-02 14:27:11 +00:00
Jack Gerrits
97923eeed8 Split apart ecosystem page, update sidebar, other website tweaks (#1812)
* Split apart ecosystem page, update sidebar

* fix docs 404

* fix redirect and link

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-03-02 06:24:56 +00:00
Jack Gerrits
f6c9b13ac4 Extend process_notebooks for testing (#1789)
* Extend process_notebooks for testing

* add command

* spelling and lint

* update docs

* Update contributing.md

* add shebang

* Update contributing.md

* lint
2024-02-29 20:47:30 +00:00
Abhay Mathur
4d0d486115 Add function generator and validator to gallery (#1807) 2024-02-29 15:48:10 +00:00
Qingyun Wu
c6f6707f4d Adding register_nested_chats to make nested chat easier (#1753)
* add util

* add notebook

* SoM notebook

* doc

* update notebook

* SoM

* optiguide

* rename

* add implementation

* update notebook

* update notebook

* update notebook

* summary method

* 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 tests

* AssertionError test

* update tests

* update test

* remove redudant file

* kwargs

* update notebook

* update notebook

* nested

* update SoM

* update notebook

* max_turns

* add notebook

* updatenotebook

* add notebooks

* update notebook and test

* add links to the example page

* annotations

* documentation

* default values

* Expanded details about the purpose of each cell

* update default value

* default value for reply_func_from_nested_chats

* default reply func name

* update notebook

* update optiGuide

* upload fig

* optiGuide notebook

* doc

* update notebook

* update notebook

* notebook format

* update optiguide notebook

* raise value error

* update notebook

* Improve language

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: signalprime <15487280+signalprime@users.noreply.github.com>
Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-02-27 04:36:18 +00:00
Joshua Kim
d797d267e4 Blog regarding finite-state machine (#1622)
* Initialization of fsm blog

* Pre-commit pass

* Pinyin name correction

* Updated title

* Updated title

* Added summary of notebook and note about DAG

* Update index.mdx

* Update website/blog/2024-02-11-FSM-GroupChat/index.mdx

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

* Update website/blog/2024-02-11-FSM-GroupChat/index.mdx

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

* Removed outdated filename and followed SoM notebook format

* Pre-commit pass

* Update notebook link

* Corrected link to rendered notebook

* Removed agentchat_hierarchy_flow_using_select_speaker and modified agentchat_groupchat_finite_state_machine

* Add notebook/agentchat_groupchat_finite_state_machine.ipynb to paths

---------

Co-authored-by: freedeaths <register917@gmail.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-02-26 18:10:00 +00:00
Jack Gerrits
ac15996f5a Add sidebar for notebooks page (#1766) 2024-02-23 04:01:17 +00:00
Aristo
a4ab4cc9ae Async version of multiple sequential chat (#1724)
* async_initiate_chats init commit

* Fix a_get_human_input bug

* Add agentchat_multi_task_async_chats.ipynb with concurrent exampls.

* Addess the comments, Update unit test

* Add agentchat_multi_task_async_chats.ipynb to Examples.md

* Fix type for Python 3.8

---------

Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
2024-02-21 19:33:33 +00:00
Jack Gerrits
d8a204a9a3 fix some docstring issues affecting rendering (#1739)
* fix some docstring issues affecting rendering

* Update pydoc-markdown.yml

* undo double backtick

* Update compressible_agent.py
2024-02-20 22:29:39 +00:00
Aaron
2d29d36b1d Add agent robot example to gallery (#1718)
* ADD - robot example to gallery

* UPDATE - added image

---------

Co-authored-by: Ward <award40@LAMU0CLP74YXVX6.uhc.com>
2024-02-18 15:05:54 +00:00
Qingyun Wu
f8cb585917 Update example page (#1698)
* update example page

* Update website/docs/Examples.md

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

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-02-17 17:12:10 +00:00
Qingyun Wu
a00df55306 Allow limiting the maximum number of turns in initiate_chat and initiate_chats (#1703)
* max_turns

* add notebook

* simplify code

* groupchat _prepare_chat

* doc

* add doc

* Update autogen/agentchat/conversable_agent.py

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-02-17 17:02:12 +00:00
Gunnar Kudrjavets
bf3cc0f0ef Check for missing dependencies before building the website (#1678)
- Add an executable permission to the file.
 - Check for dependencies before the build starts.
 - Output a list of missing dependencies.
2024-02-16 15:35:25 +00:00
Shaokun Zhang
aea5bedf26 update ecosystem (#1624)
* update ollama ecosystem

* update ollama ecosystem

---------

Co-authored-by: “skzhang1” <“shaokunzhang529@gmail.com”>
2024-02-16 14:05:21 +00:00
Mats Finsås
7ceee5dadc Update Azure OpenAI API to 2024-02-15-preview (#1692)
On April 2, 2024 the following API preview releases will be retired and will stop accepting API requests:

2023-03-15-preview
2023-06-01-preview
2023-07-01-preview
2023-08-01-preview

To avoid service disruptions, update to use the latest version 2024-02-15-preview.

https://review.learn.microsoft.com/en-us/azure/ai-services/openai/api-version-deprecation
2024-02-15 18:57:17 +00:00
cheng-tan
4ccff54dbe Logging (#1146)
* WIP:logging

* serialize request, response and client

* Fixed code formatting.

* Updated to use a global package, and added some test cases. Still very-much a draft.

* Update work in progress.

* adding cost

* log new agent

* update log_completion test in test_agent_telemetry

* tests

* fix formatting

* Added additional telemetry for wrappers and clients.

* WIP: add test for oai client and oai wrapper table

* update test_telemetry

* fix format

* More tests, update doc and clean up

* small fix for session id - moved to start_logging and return from start_logging

* update start_logging type to return str, add notebook to demonstrate use of telemetry

* add ability to get log dataframe

* precommit formatting fixes

* formatting fix

* Remove pandas dependency from telemetry and only use in notebook

* formatting fixes

* log query exceptions

* fix formatting

* fix ci

* fix comment - add notebook link in doc and fix groupchat serialization

* small fix

* do not serialize Agent

* formatting

* wip

* fix test

* serialization bug fix for soc moderator

* fix test and clean up

* wip: add version table

* fix test

* fix test

* fix test

* make the logging interface more general and fix client model logging

* fix format

* fix formatting and tests

* fix

* fix comment

* Renaming telemetry to logging

* update notebook

* update doc

* formatting

* formatting and clean up

* fix doc

* fix link and title

* fix notebook format and fix comment

* format

* try fixing agent test and update migration guide

* fix link

* debug print

* debug

* format

* add back tests

* fix tests

---------

Co-authored-by: Adam Fourney <adamfo@microsoft.com>
Co-authored-by: Victor Dibia <victordibia@microsoft.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-02-15 00:54:17 +00:00
FarshidShafia
a8cf7e3cf8 Update agent_chat.md (#1677)
The first argument inside "register_function" shall be "caller" instead of "agent". ref:
https://microsoft.github.io/autogen/docs/reference/agentchat/conversable_agent/
2024-02-14 17:00:11 +00:00
Jack Gerrits
8311a87eb3 Update grid to flow better across screen sizes (#1652) 2024-02-13 21:23:12 +00:00
Maxim Saplin
31a732ff46 FAQ, highlight the correct package name is pyautogen (#1665)
* Update FAQ.md

* Update FAQ.md

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-02-13 21:00:08 +00:00
Qingyun Wu
fb22f78b08 add autogen.initiate_chats (#1638)
* add initiate_chats

* update notebook

* different user

* add notebook

* add link to website

* update notebook title

* remove redundancy

* notebook

* return list

* tag

* update notebook

* update notebook

* return finished tasks

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-02-13 05:23:08 +00:00
Jack Gerrits
b4a2c6e26f Rewrite and consolidate configuration docs (#1581)
* Rewrite and consolidate configuration docs

* add link to filtering

* updates based on comments

* update lockfile

* update redirect

* spelling mistake

* update the noqa

* update links

* fix broken links

* lint fixes

* address comments

* update wording about model selection

* update cache_seed and json pattern

* add periods

* Update the config json func and other small changes

* update wording of json string

* update intro

* update description of caching

* fix link

* spelling mistake

* fix llm config

* Update website/docs/llm_configuration.ipynb

Co-authored-by: gagb <gagb@users.noreply.github.com>

* Add examples back as notebook

---------

Co-authored-by: gagb <gagb@users.noreply.github.com>
Co-authored-by: Aaron <aaronlaptop12@hotmail.com>
2024-02-11 18:04:43 +00:00
Chi Wang
e83de5d008 add long context handling notebook (#1618)
* add long context handling notebook

* remove compression notebook
2024-02-11 05:56:05 +00:00