Commit Graph

3198 Commits

Author SHA1 Message Date
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
Jack Gerrits
b35fe0bd22 Use uv instead of pip for env creation (#99) 2024-06-21 14:43:28 +00:00
Eric Zhu
f72c8ac8d9 update documentation (#102) 2024-06-21 05:05:54 -07:00
Eric Zhu
51dde2916f Move ChatMemory protocol to components.memory; rename files to use "_" convention for implementations. (#101) 2024-06-21 04:06:01 -07:00
Li Jiang
3e3f2985c2 Fix qdrant version (#2984) 2024-06-21 09:51:17 +00:00
Mark Sze
27e3690378 Mistral Client (#2892)
* Initial commit of Mistral client class

* Updated to manage final system message for reflection_with_llm

* Add Mistral support to client class

* Add Mistral support across the board (based on Gemini changes)

* Test file for Mistral client

* Updated handling of config, added notebook for documentation

* Added support for additional API parameters

* Remove unneeded code, updated exception raising

* Updated handling of keywords, including type checks, defaults, warnings. Updated notebook example to remove logging warnings.

* Added class description.

* Updated tests to support new config handling.

* Moved parameter parsing to create function, minimised init, added parameter tests

* Refined parameter validation

* Correct spacing

* Fixed string concat in parameter validation

* Corrected upper/lower bound warning

* Use client_tools, tidy up Mistral create, better handle tool call response, tidy tests

* Update of documentation notebook, replacement of old version

* Update to handle multiple tool_call recommendations in a message

* Updated tests to accommodate multiple tool_calls as well as content in message

* Update autogen/oai/mistral.py comment

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

* cleanup, rewrite mock

* update

---------

Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
Co-authored-by: kevin666aa <yrwu000627@gmail.com>
2024-06-21 05:42:16 +00:00
Xiaoyun Zhang
dd0024c01c [.Net] add ReAct sample (#2977)
* add ReAct sample

* fix source geenrator test
2024-06-20 22:30:16 +00:00
Jack Gerrits
d365a588cb Move python code to subdir (#98) 2024-06-20 15:19:56 -04:00
Xiaoyun Zhang
393f6fc76c [.Net] fix #2859 (#2974)
* add getting start sample project

* update

* update

* revert change
2024-06-20 17:47:31 +00:00
Reuben Bond
c9e09e2d27 Merge pull request #79 from microsoft/rebond/merge-repos
Initial OAgents + AGNext merge
2024-06-20 07:19:44 -07:00
Jack Gerrits
83febe56bb Merge branch 'main' into rebond/merge-repos 2024-06-20 10:11:16 -04:00
Li Jiang
29997f0cf1 Fix #2960 by checking if the values are a list of lists. (#2971)
* Fix #2960 by checking values are list of list

* Reduce dictionary look up overhead
2024-06-20 05:24:42 +00:00
HRUSHIKESH DOKALA
08a7578de8 type fix for ChatResult (#2973) 2024-06-20 05:17:19 +00:00
Reuben Bond
fbb4a5a801 Code style cleanup 2024-06-19 19:25:07 -07:00
Reuben Bond
27d04bdff5 Add .editorconfig & use centralized package management 2024-06-19 16:53:37 -07:00
Reuben Bond
c5cec3afbd Merge project-oagents into agnext 2024-06-19 15:34:04 -07:00
Jack Gerrits
432b1c1213 Migrate build tools to hatch (#93)
* Migrate build tools to hatch

* fmt

* fix workflows

* add tldr

* simplify hatch usage and environments

* add hatch to devcontainer
2024-06-19 13:49:13 -04:00