Commit Graph

1864 Commits

Author SHA1 Message Date
gagb e6101c7a72
Update README.md (#3424)
* Update README.md

* Fix formatting errors
2024-08-26 23:04:26 +00:00
gagb efc5ac8afb
Add studio pre-print (#3423)
* Add studio pre-print

* Fix formatting
2024-08-26 22:11:04 +00:00
Jack Gerrits 294c50db9f
Update privacy link in readme and add Consumer Health Privacy notice on website (#3422) 2024-08-26 19:17:00 +00:00
Davor Runje c3c2126561
update contributors (#3420) 2024-08-26 16:57:30 +00:00
Kirushikesh DB f44309bc00
Update gallery.json (#3414)
Co-authored-by: Li Jiang <bnujli@gmail.com>
Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-08-26 08:31:40 +00:00
Mark Sze ed47ec9d4b
Transform to add an agent's name into the message content (#3334)
* Initial commit with ability to add name into content with a transform

* Transforms documentation

* Fix transform links in documentation

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-08-26 07:35:27 +00:00
zcipod 3aa0528a12
fix `ImportFromModule` is unhashable issue (#3362)
* ImportFromModule is unhashable
This fix makes the conversion to string prior to the deduplication to avoid this issue

* add type annotation for global_imports

* meet code formatting check

---------

Co-authored-by: zcipod <zcipod@gmail.com>
Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-08-26 07:31:36 +00:00
HRUSHIKESH DOKALA 34b34d0203
Amazon Bedrock Client for AutoGen (#3232)
* intial commit for aws-bedrock

* format

* converse setup for model req-response

* Renamed to bedrock.py, updated parameter parsing, system message extraction, client class incorporation

* Established Bedrock class based on @astroalek and @ChristianT's code, added ability to disable system prompt separation

* Image parsing and removing access credential checks

* Added tests, added additional parameter support

* Amazon Bedrock documentation

* Moved client parameters to init, align parameter names with Anthropic, spelling fix, remove unnecessary imports, use base and additional parameters, update documentation

* Tidy up comments

* Minor typo fix

* Correct comment re aws_region

---------

Co-authored-by: Mark Sze <mark@sze.family>
Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-08-26 07:28:53 +00:00
Aamir 30b79ae071
Add None back to remove_termination_string (#3410)
Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-08-26 07:07:51 +00:00
New-World-2019 0b361dc37c
Update agent_chat.md;Fix broken URL (#3416)
This pull request includes a minor update to the agent_chat.md file to correct the link to the Enhanced Inference.

Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-08-26 06:54:46 +00:00
Mark Sze 4c147435db
Fix for group chat resume - full chat history for each agent (#3412) 2024-08-26 05:37:33 +00:00
Mark Sze 4451632784
Ability to add MessageTransforms to the GroupChat's Select Speaker nested chat (speaker_selection_method='auto') (#2719)
* Initial commit with ability to add transforms to GroupChat

* Added tests

* Tidy up

* Tidy up of variable names and commented out test

* Tidy up comment

* Update import to relative

* Added documentation topic for transform messages for speaker selection.

* Added handling of non-core module, transforms, in groupchat

* Adjusted parameter if module not loaded.

* Updated groupchat test which failed during CI/CD

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-08-26 03:47:48 +00:00
Li Jiang 663092b5e1
Add mongodb to topic guide (#3400) 2024-08-22 09:58:08 +00:00
Eddy Fidel 8aea367558
Fix QdrantVectorDB to use custom embedding_function when provided, defaulting to FastEmbedEmbeddingFunction() otherwise (#3396)
Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-08-22 09:38:34 +00:00
New-World-2019 395af4e258
Update Docker.md;fix broken URL (#3399)
This pull request includes a minor update to the CONTRIBUTORS.md file to correct the link to the Dockerfile README.
2024-08-22 09:24:25 +00:00
Xiaoyun Zhang eb160d9d4a
[.Net] Rename AutoGen.OpenAI to AutoGen.OpenAI.V1 (#3358)
* fix build error

* rename AutoGen.OpenAI to AutoGen.OpenAI.V1
2024-08-21 20:45:15 +00:00
Xiaoyun Zhang 7b5c5eee6d
[.Net] Release 0.1.0 (#3398)
* update version and release note

* Update MetaInfo.props

* update release note
2024-08-21 20:20:13 +00:00
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