Commit Graph

3414 Commits

Author SHA1 Message Date
HRUSHIKESH DOKALA
55cc542bcf fix log_function_use warning (#3018) 2024-06-28 03:57:04 +00:00
gagb
8901b4d224 Add module for common messages (#133)
* Move agents to a subdir

* Add placeholder for example team

* Move messages to a common file

* Add rounrobin orchestrator + reflex agents

* Fix import errors

* Clean up commented code

* Fix formatting errors

* Fix a linting error

* Fix formatting errors
2024-06-27 16:39:16 -07:00
William W Wang
5fd2609191 Create azure_cosmos_db in ecosystems.md (#2371)
* Create azure_cosmos_db.md

* Update azure_cosmos_db.md

* Update azure_cosmos_db.md

* Update azure_cosmos_db.md

* Update azure_cosmos_db.md

* Update azure_cosmos_db.md

* Update azure_cosmos_db.md

* Update azure_cosmos_db.md

* Update azure_cosmos_db.md

* Update azure_cosmos_db.md

* Update azure_cosmos_db.md

* Update azure_cosmos_db.md
2024-06-27 23:34:10 +00:00
Eric Zhu
8308c928cb Add process_until_idle; add tests for cascading scenario. (#136)
* Add process_until_idle; add tests for cascading scenario.

* await publish

* update examples

* update examples

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-06-27 11:46:06 -07:00
Jack Gerrits
ec17dd16ed Organize logging (#138) 2024-06-27 14:36:05 -04:00
Jack Gerrits
a13c971b16 Change send/publish api to better support async and represent reality (#137)
* Make send and publish better represent reality

* fix team-one
2024-06-27 13:40:12 -04:00
Eric Zhu
905e2e3f95 Update doc and README (#135) 2024-06-27 07:41:36 -07:00
Eric Zhu
d637f43011 Add multi-agent debate pattern. (#134) 2024-06-27 00:06:13 -07:00
Xiaoyun Zhang
57ec13c2eb [.Net] add sample on how to make function call using lite llm and ollama Plus move ollama openai sample to AutoGen.OpenAI.Sample project (#3015)
* add sample

* Update Connect_To_Ollama.cs

* Update Connect_To_Ollama.cs
2024-06-26 15:33:28 +00:00
Eric Zhu
6d149fe728 Add coder-executor example; document the examples; clarify pub-sub as broadcast communication (#132) 2024-06-26 06:32:33 -07:00
Eric Zhu
a4f08959b7 update docs (#129) 2024-06-25 16:51:49 -07:00
Jeffrey Su
08726421fc #2708 add Add a judgment to the graph constructor (#2709)
* #2708 add Add a judgment to the graph constructor

* #2708 add Add a judgment to the graph constructor & added unit test

* #2708 #2079 move GraphTests to AutoGen.Tests; delete AutoGen.Core.Tests project
2024-06-25 23:09:08 +00:00
gagb
1cd39691f1 Move agents to a subdir (#128) 2024-06-25 14:50:42 -07:00
Xiaoyun Zhang
5e744f7fe4 improve Create agent with tools and add tuturial reference in index.md (#3024) 2024-06-25 21:40:52 +00:00
gagb
292964934b Add initial file surfer + examples for team one (#126)
* Add initial file surfer

* Fix return type

* Add example for running coder

* Run hatch check

* Add example for file surfer

* Add aiofiles to dependencies
2024-06-25 14:27:45 -07:00
Eric Zhu
44443c8aad Remove chat layer, move it to examples/common (#125) 2024-06-25 13:23:29 -07:00
James Woffinden-Luey
17dbaa514e AgentEval Blogpost (#2954)
* first draft of agent eval blog post

* adding NextSteps section

* Update website/blog/2024-06-21-AgentEval/index.mdx

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

* Update website/blog/2024-06-21-AgentEval/index.mdx

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

* addressing some pr comments

* fixing whitespace

* fixing typo

* adding bit about sequential chats

* fixing whitespace

* adding more about verifier

---------

Co-authored-by: Beibin Li <BeibinLi@users.noreply.github.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-06-25 18:02:52 +00:00
gagb
059550648e Add team-one/coder (#121)
* Add coder agent for t1

* Rename OpenAI
2024-06-25 10:28:48 -07:00
Xiaoyun Zhang
f438d980b0 fix #2975 (#3012) 2024-06-25 16:52:55 +00:00
Jack Gerrits
f24278c295 Rename OpenAI to OpenAIChatCompletionClient (#123) 2024-06-25 12:39:25 -04:00
Xiaoyun Zhang
203954e9c1 [.Net] Update website with Tutorial section (#2982)
* update

* Update -> Releaes Notes

* add ImageChat

* update

* update
2024-06-25 16:23:24 +00:00
Jack Gerrits
f5f4c39238 Add infra for message serialization (#122) 2024-06-25 12:08:38 -04:00
gagb
9afd1fbe93 Update README.md (#120)
Fix incorrect file path
2024-06-24 23:27:32 -07:00
Jack Gerrits
bb4bb5bd14 Dont print exceptions for cancelled errors (#119) 2024-06-24 19:54:19 -04:00
Eric Zhu
a73a0330e5 Fix links in examples (#118)
* add tool use example; refactor example directory

* update

* add more examples

* fix

* fix

* doc

* move

* add group chat example, create patterns folder

* fix links
2024-06-24 23:28:06 +00:00
Eric Zhu
1e49aee8fc Add group chat pattern, create separate folder for patterns (#117)
* add tool use example; refactor example directory

* update

* add more examples

* fix

* fix

* doc

* move

* add group chat example, create patterns folder
2024-06-24 16:22:08 -07:00
Eric Zhu
2ab3ce48b1 add tool use and core examples; refactor example directory (#112)
* add tool use example; refactor example directory

* update

* add more examples

* fix

* fix

* doc
2024-06-24 15:05:47 -07:00
Jack Gerrits
6189fdb05c simplify namespace usage (#116)
* simplify namespace usage

* format

* pyright
2024-06-24 16:52:09 -04:00
Jack Gerrits
606e43b325 Update termination-with-intervention.md (#115) 2024-06-24 16:26:02 -04:00
Eric Zhu
4e1e4c2e33 add coder reviewer core examples; renames (#110)
* add coder reviewer core examples; renames

* type

* add termiantion

* type
2024-06-24 10:35:10 -07:00
Jack Gerrits
b8239fc345 remove generic from termination guide (#111) 2024-06-24 17:19:40 +00:00
Jack Gerrits
bb202058ef Add example for termination using an intervention handler (#109) 2024-06-24 17:05:46 +00:00
Eric Zhu
60acf8757d Add examples for mixture of agents; patch doc strings (#108)
* add examples for mixture of agents

* format
2024-06-24 07:46:53 -07:00
Jack Gerrits
b3ef035e3e add example team (#107)
* add example team

* add checks
2024-06-24 10:36:10 -04:00
Yiran Wu
1582927ccd Improve doc in tutorial/conversation-patterns and customized_speaker_selection (#3006)
* update

* update

---------

Co-authored-by: Yiran Wu <32823396+kevin666aa@users.noreply.github.com>
2024-06-23 23:19:37 +00:00
Jack Gerrits
0d697037a1 Remove runtime arg from group chat manager (#106) 2024-06-22 18:51:30 +00:00
Jack Gerrits
2d74fa9caf add example of use contextvar (#105) 2024-06-22 14:50:32 -04:00
Qingyun Wu
03259b2229 bump version (#2999)
Co-authored-by: Li Jiang <bnujli@gmail.com>
v0.2.31
2024-06-22 13:31:52 +00:00
Alex Reibman
9b92093b00 LLM Observability documentation fixes: Broken links, grammar, and spelling (#2995)
* update markdown hyperlinks to stable urls

* update notebook images and text

* re-write observability section

* Updated section

* update wording

* added newline

* update styling in image tags to be jsx compatible

* added text

* update link

* simplified text

---------

Co-authored-by: Braelyn Boynton <bboynton97@gmail.com>
2024-06-22 03:05:11 +00:00
Mark Sze
e4720bc6cf Message handling to support multiple function calls (#2997) 2024-06-22 02:24:23 +00:00
Mark Sze
e3b2560a26 Fixed alternating message role bug in Anthropic client (#2992)
* Fixed alternating message role bug

* Fix bug
2024-06-21 22:39:24 +00:00
Qingyun Wu
b4837215db update notebook wording and format (#2991) v0.2.30 2024-06-21 19:58:35 +00:00
Jack Gerrits
1d6dbc409b Fix install instructions (#104) 2024-06-21 15:46:19 -04:00
Qingyun Wu
89c2f20166 Bump version to 0.2.30 (#2990) 2024-06-21 19:30:26 +00:00
HRUSHIKESH DOKALA
20f8ba9cfa fix: created in ChatCompletion for clients (#2988) 2024-06-21 18:52:23 +00:00
Yiran Wu
84f82dc5ec Uniform Interface for calling different LLMs (#2916)
* update

* update

* Minor tweaks on text

---------

Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
2024-06-21 17:30:59 +00:00
Mark Sze
b1ec3ae545 Together AI Client (#2919)
* First pass together.ai client class

* Config handling, models and cost

* Added tests, moved param management to create function

* Tests, parameter, validation, logging updates

* Added use of client_utils PR 2949

* Updated to return OAI response

* Notebook example

* Improved function calling, updated tests, updated notebook with Chess example

* Tidied up together client class, better parameter handling, simpler exception capture, warning for no cost, reuse in tests, cleaner tests

* Update of documentation notebook, replacement of old version

* Fix of messages parameter for hide_tools function call

* Update autogen/oai/together.py

Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>

* Update together.py to fix text

---------

Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
Co-authored-by: Yiran Wu <32823396+yiranwu0@users.noreply.github.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-06-21 17:14:44 +00:00
Garner Fox McCloud
843c343383 Anthropic client fixes (#2981)
* add claude 3.5 sonnet to pricing

* Fix import error for client_utils

* fix import order for ruff formatter

* name key is not supported in anthropic message so let's remove it

* Improved tool use message conversion, changed create to return standard response

* Converted tools to messages for speaker selection, moved message conversion to function, corrected bugs

* Minor bracket typo.

* Renaming function

* add groupchat and run notebook

---------

Co-authored-by: Mark Sze <mark@sze.family>
Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>
2024-06-21 16:40:55 +00:00
Eric Zhu
ef12ca4b4e small doc fixes (#103) 2024-06-21 08:49:57 -07:00
Jack Gerrits
afdbae2bb9 remove binding from base agent (#100) 2024-06-21 14:47:51 +00:00