Commit Graph

3267 Commits

Author SHA1 Message Date
afourney
3a5dd361b9 Bump autogenbench version. (#2027) 2024-03-15 14:26:09 +00:00
Eduardo Salinas
146d49b2e3 refactor: [conversable_agent] remove raise from property access (#2006)
* refactor: [conversable_agent] remove raise from property access

raising exception seems drastic, can we return None and let the called fail in case it receives a None?

* Update conversable_agent.py

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-03-15 04:40:49 +00:00
Victor Dibia
08ba070936 Update link to AGS repo in AGS blogpost (#2022)
Update link to AGS repo in AGS blogpost
2024-03-14 20:44:28 +00:00
Benhao Huang
462ef9c387 Update chat-termination.ipynb (#2019)
grammar typos found and fixed
2024-03-14 18:09:49 +00:00
Yiran Wu
f78985d359 StateFlow Blog (#1826)
* 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>
2024-03-14 15:46:28 +00:00
Eduardo Salinas
6dbae0a88b fix: [autogenbench] writing to stdout encoding error in win-os (#2002) 2024-03-14 15:45:21 +00:00
Kosta Petan
baabd413eb Update docs (#11)
* docs update WIP

* getting started guide updated

* update getting started guide

* clarify github app creation

* add webhook secret to getting started guide and gh-flow app

* restructure Readme

* fix the Organization assumption

* add mermaid diagram of the event flow

* devtunnel feature to devcontainer

* throw all the exceptions and add the history to the prompt

* Update github-flow.md

* update readme
2024-03-14 16:29:23 +01:00
Christian Ladrón De Guevara
77513f0ba4 Add extra_body field to LLMConfig dataclass for Azure AI Search support (#2011)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-03-14 04:06:22 +00:00
Qingyun Wu
e1c0423d9a add RAG under topics (#1990)
* add RAG

* demo

* correct notebook

* Update quarto installation

* Update gitignore

* Update format

* RAG doc

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-03-14 00:49:39 +00:00
Davor Runje
bf08856389 Fix type and default value of the code_execution_config parameter in UserProxyAgent (#1996)
* fix type and default value of the code_execution_config of UserProxAgent

* fix type and default value of the code_execution_config of UserProxAgent

* set default value of llm_config in UserProxyAgent to None

* fixed tests

* revert llm_config to False

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-03-13 22:57:43 +00:00
Jack Gerrits
24418bd5d2 Fix type issues in exception_utils.py (#1972)
* Fix type issues in exception_utils.py

* fix yaml
2024-03-13 20:24:21 +00:00
Jack Gerrits
508d2665f9 Fix file not being flushed bug (#2003) 2024-03-13 18:48:20 +00:00
Xiaoyun Zhang
ff1529c976 add release pipeline (#1989) 2024-03-13 18:14:19 +00:00
Eric Zhu
0ae35815be Rename tutorial chapter: "what is next" --> "what next" (#1992)
* rename termination to chat termination

* label

* redirect

* Rename "what is next" --> "what next"
2024-03-13 15:47:41 +00:00
David Forster
3d162f476b fixed typo (#1997)
* Update Dockerfile

* Update Dockerfile
2024-03-13 15:45:45 +00:00
Rajan
8f6590e231 Feature: Composable Actor Platform for AutoGen (#1655)
* Core CAP components + Autogen adapter + Demo

* Cleanup Readme

* C# folder

* Cleanup readme

* summary_method bug fix

* CAN -> CAP

* pre-commit fixes

* pre-commit fixes

* modification of sys path should ignore E402

* fix pre-commit check issues

* Updated docs

* Clean up docs

* more refactoring

* better packaging refactor

* Refactoring for package changes

* Run demo app without autogencap installed or in the path

* Remove debug related sleep()

* removed CAP in some class names

* Investigate a logging framework that supports color in windows

* added type hints

* remove circular dependency

* fixed pre-commit issues

* pre-commit ruff issues

* removed circular definition

* pre-commit fixes

* Fix pre-commit issues

* pre-commit fixes

* updated for _prepare_chat signature changes

* Better instructions for demo and some minor refactoring

* Added details that explain CAP

* Reformat Readme

* More ReadMe Formatting

* Readme edits

* Agent -> Actor

* Broker can startup on it's own

* Remote AutoGen Agents

* Updated docs

* 1) StandaloneBroker in demo
2) Removed Autogen only demo options

* 1) Agent -> Actor refactor
2) init broker as early

* rename user_proxy -> user_proxy_conn

* Add DirectorySvc

* Standalone demo refactor

* Get ActorInfo from DirectorySvc when searching for Actor

* Broker cleanup

* Proper cleanup and remove debug sleep()

* Run one directory service only.

* fix paths to run demo apps from command line

* Handle keyboard interrupt

* Wait for Broker and Directory to start up

* Move Terminate AGActor

* Accept input from the user in UserProxy

* Move sleeps close to operations that bind or connect

* Comments

* Created an encapsulated CAP Pair for AutoGen pair communication

* pre-commit checks

* fix pre-commit

* Pair should not make assumptions about who is first and who is second

* Use task passed into InitiateChat

* Standalone directory svc

* Fix broken LFS files

* Long running DirectorySvc

* DirectorySvc does not have a status

* Exit DirectorySvc Loop

* Debugging Remoting

* Reduce frequency of status messages

* Debugging remote Actor

* roll back git-lfs updates

* rollback git-lfs changes

* Debug network connectivity

* pre-commit fixes

* Create a group chat interface familiar to AutoGen GroupChat users

* pre-commit fixes
2024-03-13 04:48:52 +00:00
Eric Zhu
a120f0ed2b Redirect from /docs/tutorial/termination to /docs/tutorial/chat-termination (#1991)
* rename termination to chat termination

* label

* redirect
2024-03-13 04:46:30 +00:00
Eric Zhu
33e42c44cb Rename tutorial chatper "Termination" to "Chat Termination" (#1962)
* rename termination to chat termination

* label
2024-03-12 23:55:08 +00:00
schauppi
34a02f0a42 added new example in gallery.json (#1955)
* added new example in gallery.json

* added image to webagent example

* changed image format from .png to .jpg

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-03-12 23:50:47 +00:00
Jack Gerrits
d583c8088e Update local cli executor to use same filename strategy as docker (#1981)
* consistent file saving across cli executors

* test fixes

* feedback

* make path

* formatting

* run timeout test on windows

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
v0.2.19
2024-03-12 21:57:32 +00:00
Eduardo Salinas
a814ba54de fix: [autogenbench] windows fails unless we specify encoding (#1957) 2024-03-12 21:28:16 +00:00
Qingyun Wu
99df2c5d5e Examples by topics (#1967)
* add reasoning example

* title

* task decomposition

* update demo with custom speark function

* update

* Add metaprompt

* add notebook to topics

* remove

* remove endpoint setup and collab

* ignore words

* rename

* Update .pre-commit-config.yaml

* codespell

* Updates to formatting and content tweaks

---------

Co-authored-by: kevin666aa <yrwu000627@gmail.com>
Co-authored-by: LeoLjl <3110503618@qq.com>
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-03-12 20:57:32 +00:00
Davor Runje
d728cd9110 git-lhs added to devcontainers (#1979) 2024-03-12 20:57:19 +00:00
Jack Gerrits
f42021fb9b Remove lint silencing comment (#1970)
No longer needed
2024-03-12 19:51:03 +00:00
Chi Wang
858cec8de8 bump version to 0.2.19 and update doc (#1971)
* bump version to 0.2.19 and update doc

* doc update
2024-03-12 19:05:00 +00:00
Jack Gerrits
b1c44deb0c Remove system message from code executors (#1933)
* Remove system message functionality from code executors

* remove from protocol

* fix tests, pre-commit

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-03-12 19:04:43 +00:00
Davor Runje
16955959a3 website/docs/tutorial/assets/conversable-agent.jpg: convert to Git LFS (#1974) 2024-03-12 18:09:54 +00:00
Jack Gerrits
c2663330af Require numpy be a 1.x release (#1966) 2024-03-12 15:05:53 +00:00
Jack Gerrits
11df53bb39 Make notebooks available in navbar (#1956) v0.2.18 2024-03-11 22:46:39 +00:00
Chi Wang
523581825b improve validation of llm_config (#1946)
* improve validation of llm_config

* fixed test_register_for_llm_without_LLM

* docstr about llm_config=None

* Make None a sentinel

* pop tools

---------

Co-authored-by: Davor Runje <davor@airt.ai>
2024-03-11 22:36:00 +00:00
olgavrou
ce71d85e77 Ability to fine tune custom model on conversable agents (#1787)
* uAbility to update_model on conversable agents

* formatting

* formatting

* move code from conversable agent into samples/tools and add testing and README

* forgot install step

* fix

* leave core lib unchanged and move everything to samples/tools

* remove skip openai

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-03-11 21:26:53 +00:00
Abhay Mathur
b93e2c5eb4 checking for NotADirectoryError as well (#1948) 2024-03-11 19:29:56 +00:00
Jack Gerrits
968483369c Update whisper notebook to use new function registration syntax (#1918)
* Update notebook to use new function registration syntax

* Update agentchat_video_transcript_translate_with_whisper.ipynb

* formatting
2024-03-11 18:10:50 +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
Rohit Singh Rathaur
b0a8e6e08c Made a configurable constant (#1819)
* Made a configurable constant

* Fix typo

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

---------

Co-authored-by: Joshua Kim <joshkyh@users.noreply.github.com>
2024-03-10 06:20:47 +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
Jack Gerrits
00e097d4a5 Update more notebooks to be available on the website (#1890)
* Update more notebooks to be available on the website

* fix notebook

* update link
2024-03-10 02:14:45 +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
Wael Karkoub
08e2615322 fix type hint for send intro (#1912)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-03-09 15:39:48 +00:00
Wael Karkoub
29b9c80c40 General Enhancements in agentchat 2.0 (#1906)
* work in progress

* wip

* groupchat type hints

* clean up

* formatting

* formatting

* clean up

* address comments

* better comment

* updates docstring a_send

* resolve comments

* agent.py back to original format

* resolve more comments

* rename carryover type exception

* revert next_agent changes + keeping UndefinedNextagent

* fixed ciruclar dependencies?

* fix cache tests

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-03-09 15:15:19 +00:00
Jack Gerrits
0e1a4b9fdd Add initial type check CI (#1882)
* Add type check CI

* newline

* dont install editable

* add --non-interactive

* Update type-check.yml
2024-03-09 03:07:51 +00:00
Jack Gerrits
d447f7f646 Print warning if DiskCache when RedisCache requested (#1921) 2024-03-09 01:43:12 +00:00
Griffin Bassman
f2465357cf fix: minor fixes and formatting (#1919) 2024-03-08 17:50:49 +00:00