Commit Graph

1847 Commits

Author SHA1 Message Date
Andy Zhou 740df28260
Add Language Agent Tree Search (LATS) notebook (#3376)
* Add Language Agent Tree Search (LATS) notebook

* removed outputs

---------

Co-authored-by: Andy Zhou <andyzhou@4bd094a2-01.cloud.together.ai>
Co-authored-by: Shaokun Zhang <shaokunzhang529@gmail.com>
2024-08-21 17:58:53 +00:00
Ricky Loynd aae881b2ac
Update CONTRIBUTORS.md (#3391)
Modify the display text of my github handle.
2024-08-21 13:52:47 +00:00
Xiaoyun Zhang 3781f23eba
Update CONTRIBUTORS.md (#3393) 2024-08-21 13:52:31 +00:00
gagb 7c8d357e0c
Update CONTRIBUTORS.md; fix broken URL (#3387) 2024-08-20 15:29:57 +00:00
gagb 079321e55c
Update CONTRIBUTORS.md; fix cell order (#3386) 2024-08-20 15:29:30 +00:00
Eric Zhu 3b45aa42c6
Add contributor list via contributors.md (#3384)
* add contributor list

* Update CONTRIBUTORS.md

* Update CONTRIBUTORS.md

* Update CONTRIBUTORS.md

* Update CONTRIBUTORS.md; fix typos per code spell

* Run pre-commit

* Add link to contributors.md

* Add link to contributors.md

* Update CONTRIBUTORS.md

* Update CONTRIBUTORS.md

* Update CONTRIBUTORS.md

---------

Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-08-20 06:03:01 +00:00
Xiaoyun Zhang 00aed2e3ca
[.Net] Enable step-by-step execution for two-agent conversation SendAsync API (#3360)
* return iasync iterator in sendasync function

* fix build error
2024-08-20 05:34:04 +00:00
Mark Sze 77ae3c09a5
Ensure 'name' on initial message (#2635)
* Update to ensure name on initial messages

* Corrected test cases for messages now including names.

* Added name to messages within select speaker nested chat

* Corrected select speaker group chat tests for name field

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-08-20 04:08:26 +00:00
Xiaoyun Zhang a638a08f81
[.Net] Dispose kernel after running dotnet interactive tests (#3378)
* dispose kernel after running test

* add timeout
2024-08-20 02:33:52 +00:00
Eric Zhu d5068d9b6c
update contact information on the repo and release package (#3383)
* update contact information on the repo and release package

* update contact

* update

* fix format
2024-08-20 02:04:44 +00:00
morris.liu a13e4dbbb6
Update human-in-the-loop.ipynb (#3379) 2024-08-19 17:46:01 +00:00
David Luong 0a2b667f3c
[.NET] Add cache control to Anthropic Client (#3372)
* Add cache control to anthropic client and write unit test & exampel

* PR comments

* Fix import ordering for build

* Fix import orderings

---------

Co-authored-by: Xiaoyun Zhang <bigmiao.zhang@gmail.com>
2024-08-18 16:14:51 +00:00
Zoltan Lux 780523f10f
Add OpenAI Gemini Example for VertexAI Notebook (#3290)
* add openai-gemini example

* fix exec numbering

* improve isntructions

* fix br  tag

* mention roles/aiplatform.user and fix markdown reference

* remove mentioning the editor role, and only use the Vertex AI User role

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-08-17 22:17:38 +00:00
gagb b3e4e7045b
Update README.md to use camera-ready (#3370) 2024-08-16 23:40:38 +00:00
Olaoluwa Ademola Salami 702462e0f1
adding a new page Function comparison between Python AutoGen and Auto… (#3367)
* adding a new page Function comparison between Python AutoGen and AutoGen\.Net

* add page to autogen website
2024-08-16 21:37:52 +00:00
Mark Sze fa273961f6
Update Mistral client class to support new Mistral v1.0.1 package (#3356)
* Update Mistral client class to support new Mistral v1.0.1 package

* Remove comments

* Refactored assistant/system role order, tidied imports and comments

---------

Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>
2024-08-16 20:55:36 +00:00
Henry Kobin 3fc708d53e
Missing backticks breaking documentation (#3357) 2024-08-16 05:53:11 +00:00
Li Jiang 08fa1b6d08
Remove dependency on RetrieveAssistantAgent for RetrieveChat (#3320)
* Remove deps on RetrieveAssistantAgent for getting human input

* Terminate when no more context

* Add deprecation warning message

* Clean up RetrieveAssistantAgent, part 1

* Update version

* Clean up docs and notebooks
2024-08-15 16:03:06 +00:00
Chaitanya Belwal 736d5e72bc
Updated Program.cs for Autogen.BasicSample to give a menu driven window making it easier to run variou Agent config. (#3346) 2024-08-13 17:04:04 +00:00
Wael Karkoub 6682b6d2d0
Removes Support For `TransformChatHistory` and `CompressibleAgent` (#3313)
* remove old files

* removes ci

* removes faq

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-08-13 03:28:02 +00:00
Qingyun Wu afdaa4c7cb
version (#3343) 2024-08-12 19:34:47 +00:00
Umer Mansoor 2a436c90e6
Add latest gpt-4o model: `gpt-4o-2024-08-06` (#3329)
Co-authored-by: Xiaoyun Zhang <bigmiao.zhang@gmail.com>
2024-08-12 01:42:37 +00:00
Xiaoyun Zhang f49ed29b4e
[.Net][AutoGen.DotnetInteractive] add DotnetInteractiveStdioConnector (#3337)
* add DotnetInteractiveStdioCOnector

* update

* update

* comment out DotnetInteractive test

* add header

* update
2024-08-10 01:53:48 +00:00
Gaoxiang Luo 972b4ed024
Fix message history limiter for tool call (#3178)
* fix: message history limiter to support tool calls

* add: pytest and docs for message history limiter for tool calls

* Added keep_first_message for HistoryLimiter transform

* Update to inbetween to between

* Updated keep_first_message to non-optional, logic for history limiter

* Update transforms.py

* Update test_transforms to match utils introduction, add keep_first_message testing

* Update test_transforms.py for pre-commit checks

---------

Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-08-09 03:14:34 +00:00
Manojkumar Kotakonda fb788c37d2
Fix to issue #3295 related to Anthropic bedrock (#3298)
* Fix to consider session token in request

* Formatted

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-08-09 03:14:17 +00:00
Li Jiang 1971f85ded
Add last_speaker to GroupChatManager (#3318)
* Add last_speaker to GroupChatManager's property

* Add docstring for last_speaker

* Format docstring
2024-08-09 03:06:15 +00:00
Alexander Lundervold dcccaa8b6b
fix broken link to conversational chess example (#3327)
Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
2024-08-09 03:03:26 +00:00
Aamir aac6f05117
Support async nested chats (#3309)
* Allow async nested chats in agent chat

* Fix pre-comit

* Minor fix

* Fix

* Address feedback

* Update

* Fix build error

---------

Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
2024-08-09 01:14:33 +00:00
Xiaoyun Zhang 4dab28c769
[.Net] Add AutoGen.AzureAIInference (#3332)
* add AutoGen.AzureAIInference

* add tests

* update readme

* fix format
2024-08-08 23:33:14 +00:00
Xiaoyun Zhang 5732b3e766
[.Net] add DotnetInteractiveKernelBuilder to AutoGen.DotnetInteractive (#3317)
* add DotnetInteractiveBuilder

* update

* fix workflow

* add pwsh test

* update

* add extract code extension

* update workflow
2024-08-08 17:49:58 +00:00
Xiaoyun Zhang cf2fe4aa78
[.Net] Fix #3306 (#3310)
* break conversation when orchestartor return null

* enable test on different OS
2024-08-06 21:59:44 +00:00
wenngong 2ab74dbfb9
avoid circular import (#3276)
Co-authored-by: gongwn1 <gongwn1@lenovo.com>
Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-08-06 16:08:10 +00:00
Li Jiang b370170faf
Stop retrieve more docs if all docs have been returned (#3282) 2024-08-06 04:02:12 +00:00
Jay 03bfb8fa20
Correcting tool calling with Cohere (#3271)
* Update cohere.py

Key in the directory should be 'message' and not 'content' as it checks for message empty at a later point in code.

* Update cohere.py

Added required comments to the changes made in previous commit.
2024-08-03 15:53:59 +00:00
Xiaoyun Zhang a375d7ac38
[.Net] Remove Azure.AI.OpenAI from AutoGen.DotnetInteractive package (#3274)
* remove Azure.AI.OpenAI dependencies

* fix build error

* revert change
2024-08-02 16:35:07 +00:00
Xiaoyun Zhang 3186bb7610
only add the last message to chat history in SendAsync (#3272) 2024-08-02 16:35:00 +00:00
Prithvi 56007d1164
Fix Issue #2880: Document the usage of the AAD auth (#2941)
* Document the usage of the AAD auth. #2880

Added the document for the usage of AAD !

* Update website/docs/topics/llm_configuration.ipynb

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

* Updated Location and Link to Azure OpenAI documentation

* Update AutoTX Link on Gallery.json (#3082)

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>

* Making the required changes

Updated function description and parameter description as well. Also, created the corresponding cs file for the t4 file. And created the new test case and updated the checks as well.

* Revert "Making the required changes"

By mistake

* Update llm_configuration.ipynb

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
Co-authored-by: Yiran Wu <32823396+yiranwu0@users.noreply.github.com>
2024-08-02 14:45:45 +00:00
wenngong 354dca8035
[Feature]: Add global silent param for ConversableAgent (#3244)
* feat: add is_silent param

* modify param name

* param doc

* fix: silent only overwrite agent own

* fix: change _is_silent to static method and receive verbose print

* fix test failure

* add kwargs for ConversableAgent subclass

---------

Co-authored-by: gongwn1 <gongwn1@lenovo.com>
Co-authored-by: Li Jiang <bnujli@gmail.com>
Co-authored-by: Umer Mansoor <umermk3@gmail.com>
2024-08-02 14:39:42 +00:00
Rajan 466c851743
[CAP] Added a factory for runtime (#3216)
* Added Runtime Factory to support multiple implementations

* Rename to ComponentEnsemble to ZMQRuntime

* rename zmq_runtime

* rename zmq_runtime

* pre-commit fixes

* pre-commit fix

* pre-commit fixes and default runtime

* pre-commit fixes

* Rename constants

* Rename Constants

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-08-02 00:36:04 +00:00
Umer Mansoor a246a79cda
Add additional tests to capture edge cases and more error conditions (#3237)
* Add additional unit tests to capture additional edge cases

* fix formatting issue (pre-commit)
2024-07-30 13:57:32 +00:00
Xiaoyun Zhang 04be2ee930
bump version and add release note (#3246) 2024-07-29 18:32:26 +00:00
Xiaoyun Zhang 2cfaf73ad8
[.Net] add SendAsync api to iterate group chat step by step (#3214)
* add SendAsync api and tests

* update example to use new sendAsync API
2024-07-29 16:32:45 +00:00
Mark Sze cf29a2fac1
Recreated doc for Local LLMs - LiteLLM and Ollama - native function calling in Ollama (#3197)
* Recreated documentation for Local LLMs - LiteLLM and Ollama

* Added Docker = False for code execution example

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-07-29 15:04:44 +00:00
Umer Mansoor 36ead68c9a
Improve error messaging (#3236)
* Update error language and corresponding tests

* Updated another test to use the new error message
2024-07-29 14:50:46 +00:00
Umer Mansoor d3d4cc0c2f
Fix reference links (#3239)
* fix broken reference links that's pointing to a page that doesn't exists

* Fix 2 broken links and use the correct format

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-07-29 14:44:52 +00:00
Li Jiang f8663e3581
Update Microsoft Fabric notebook (#3243)
Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>
2024-07-29 10:02:19 +00:00
Jib 56979a1105
[Typo] Update MongoDB Notebook to acknlowedge >=M10 support (#3220)
* [Typo] Update MongoDB Notebook to acknlowedge >=M10 support

The notebook instructions state we support only >=M30 clusters for AutoGen. This is slightly misleading. We support >=M10 clusters or any cluster that allows for index creation from client code. This support is continually updating so this PR updates the language to reflect that.

* Add link!

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-07-29 08:20:41 +00:00
Qingyun Wu 277e535b7a
bump version (#3231)
* bump version

* update

* format

---------

Co-authored-by: kevin666aa <yrwu000627@gmail.com>
Co-authored-by: Yiran Wu <32823396+yiranwu0@users.noreply.github.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-07-28 23:28:59 +00:00
Alex Reibman 61b9e8bae2
Observability blog post styling hot fix (#3234)
* 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

* created blog

* replace flow images with fewer shadows

* reformat line

* add authors

* updated discord link and direct paths to image URLS

* removed images since they are not stored in the AgentOps github

* remove trailing whitespaces

* removed newline

* removed whitespace

* Update website/blog/2024-07-25-AgentOps/index.mdx

Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>

* single quotes with double quotes

* fix widths

---------

Co-authored-by: Braelyn Boynton <bboynton97@gmail.com>
Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
2024-07-27 22:14:05 +00:00
Umer Mansoor 33f29cbb59
Add gpt-4o-mini to model list (#3169)
* Add gpt-4o-mini to model list

* Fix formatting issue and verify with pre-commit

* Remove extra space

* Minor change to make pre-commit (formatting checks) pass

---------

Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>
Co-authored-by: Ian <ArGregoryIan@gmail.com>
2024-07-27 16:09:46 +00:00