Commit Graph

3414 Commits

Author SHA1 Message Date
Eric Zhu
04c30596ed add tool call to chat completion agent (#35)
* add tool call to chat completion agent

* refactor function executor; tool executor in chat completion agent

* update example

* update orchestrator chat demo

* handle function execution result message type

* format

* temp fix for examples.

* fix

* update chat completion agent
2024-05-30 09:01:35 -07:00
Wei
752cf88f92 Fix initialization of client in retrieve_docs() function (#2830) 2024-05-30 15:45:09 +00:00
Jack Gerrits
2dc7af87ef Add function and code execution (#34)
* WIP code execution

* add tests, reorganize

* fix polars test

* credit statements

* attributions
2024-05-29 17:12:02 -04:00
Jack Gerrits
15268a86dd add structured logging for llm calls (#33)
* add structured logging for llm calls

* fix dep version
2024-05-29 10:38:11 -04:00
Rajan
47f9052672 [CAP] User supplied threads for agents (#2812)
* First pass:  message loop in main thread

* pypi version bump

* Fix readme

* Better example

* Fixed docs

* pre-commit fixes
2024-05-29 14:10:44 +00:00
Eric Zhu
cd147b6eed chat completion agent and state (#32)
* chat completion agent

* use response format enum; use Message type for chat history; remove name from state
2024-05-28 23:18:28 -07:00
Eric Zhu
e3a2f79e65 Orchestrator Chat and OAI Assistant update (#31) 2024-05-28 18:11:55 -07:00
Eric Zhu
ecbc3b7806 oai assistant and pattern fixes (#30) 2024-05-28 22:49:30 +00:00
Xiaoyun Zhang
7f635b4309 [.Net] Update website for AutoGen.SemanticKernel and AutoGen.Ollama (#2814)
* update sk documents

* add ollama doc
2024-05-28 21:55:40 +00:00
Xiaoyun Zhang
f9d3fdaf62 [.Net] Release note for 0.0.14 (#2815)
* update release note

* update trigger
2024-05-28 21:55:30 +00:00
Jack Gerrits
f4a5835772 prevent publish to self (#29) 2024-05-28 20:21:40 +00:00
Chi Wang
413a458f75 print next speaker (#2800)
* print next speaker

* fix test error
2024-05-28 13:35:55 +00:00
Jack Gerrits
7568a7a447 impl state management (#28) 2024-05-27 20:25:25 -04:00
Jack Gerrits
afc1666d5b organize core submodule (#27) 2024-05-27 17:10:56 -04:00
Jack Gerrits
f8f7418ebf ensure agent name is unique, add some docs (#26) 2024-05-27 16:33:28 -04:00
Kosta Petan
c5096a861e Merge branch 'main' into fix/readme-dupe 2024-05-27 21:08:18 +02:00
Kosta Petan
9d5830032d add json_mode to DevLead, simplify AzureGenie (#71) 2024-05-27 12:38:42 +02:00
Mark Ward
73788bdfb7 fix type object 'ConversableAgent' has no attribute 'DEFAULT_summary_prompt' (#2788)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-05-27 03:49:00 +00:00
Chi Wang
2abdbfbbcf fix links and tags from databricks notebook (#2795) 2024-05-26 16:31:18 +00:00
Jack Gerrits
cb55e00819 Remove require_response, rename broadcast to publish, remove publish responses (#25)
* rename broadcast to publish

* remove require response, remove responses from publishing
2024-05-26 08:45:02 -04:00
Jack Gerrits
b6dd861166 Organize model client (#24)
* Organize model client

* update patterns
2024-05-26 12:21:48 +00:00
Li Jiang
c041db6cae Improve the error messge (#2785) 2024-05-26 08:01:43 +00:00
ikarapanca
7457652520 Update Getting-Started.mdx (#2781)
Add missing os import

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-05-26 02:12:31 +00:00
Chi Wang
bbe4b79d7d Blogpost and news (#2790)
* blog and news

* update

* economist

* news update

* bump version to 0.2.28

* link update

* address comments

* address comments

* add quote

* address comment

* address comment

* fix link

* guidance
2024-05-26 01:27:52 +00:00
TJ
5a2900124b DBRX (Databricks LLM) example notebook (#2434)
* Resolving test failures locally

* Resolving test failures locally

* Updates to website resources and docs, author

* Adding image

* Fixes to precommit and doc files for lfd

* Fixing ruff exclusion of new notebook

* Updates to support notebook rendering

* Updates to support notebook rendering

* Removing some results to try to fix docs render issue

* pre-commit to standardize formatting

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-05-25 16:28:46 +00:00
HRUSHIKESH DOKALA
c273862ee5 [fix] file logger import (#2773)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-05-25 05:32:18 +00:00
ReubenBond
6160b6a60b Rename readme.md to README.md 2024-05-24 14:31:17 -07:00
ReubenBond
5de6d78d6b Delete old README.md 2024-05-24 14:30:52 -07:00
Jack Gerrits
39400e74dd Update docs.yml (#23) 2024-05-24 21:28:55 +00:00
Jack Gerrits
00ffb372d1 Update group chat and message types (#20)
* Update group chat and message types

* fix type based router
2024-05-24 21:25:17 +00:00
Jack Gerrits
ce58c5bc72 Update docs.yml (#22) 2024-05-24 17:24:29 -04:00
Jack Gerrits
4435881923 Update docs.yml (#21) 2024-05-24 17:21:45 -04:00
David Luong
5a5c0f2a11 Remove duplicate project declared in AutoGen.sln (#2789)
* remove duplicate project in AutoGen.sln

* Add EndProject
2024-05-24 20:17:41 +00:00
Audel Rouhi
6604ca511b PGVector Support for Custom Connection Object (#2566)
* Added fixes and tests for basic auth format

* User can provide their own connection object. Added test for it.

* Updated instructions on how to use. Fully tested all 3 authentication methods successfully.

* Get password from gitlab secrets.

* Hide passwords.

* Update notebook/agentchat_pgvector_RetrieveChat.ipynb

Co-authored-by: Li Jiang <bnujli@gmail.com>

* Hide passwords.

* Added connection_string test. 3 tests total for auth.

* Fixed quotes on db config params. No other changes found.

* Ran notebook

* Ran pre-commits and updated setup to include psycopg[binary] for windows and mac.

* Corrected list extension.

* Separate connection establishment function. Testing pending.

* Fixed pgvectordb auth

* Update agentchat_pgvector_RetrieveChat.ipynb

Added autocommit=True in example

* Rerun notebook

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
Co-authored-by: Li Jiang <lijiang1@microsoft.com>
2024-05-24 17:58:56 +00:00
Jack Gerrits
fe7de35933 Update docs.yml (#19) 2024-05-24 17:58:13 +00:00
Jack Gerrits
f7353b24ec abs path (#18) 2024-05-24 17:56:13 +00:00
Jack Gerrits
d95084e886 Update docs.yml (#17) 2024-05-24 13:52:39 -04:00
jtoy
129887519d allow serialize_to_str to work with non ascii when dumping via json.dumps (#2714)
Co-authored-by: Jason <jtoy@grids.local>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-05-24 17:51:15 +00:00
Jack Gerrits
fd5ed50a84 Update docs.yml (#16) 2024-05-24 17:49:18 +00:00
Jack Gerrits
0299009244 Add initial docs site (#15)
* Add initial docs site

* add ci and readme

* Update checks.yml

* Update conf.py
2024-05-24 13:45:23 -04:00
HRUSHIKESH DOKALA
c0812f9b60 actions version update for the TransformMessages workflow (#2759)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-05-24 17:44:55 +00:00
David Luong
4fec246342 Introduce AnthropicClient and AnthropicClientAgent (#2769)
* Reference project

Revert "Set up the Agent. Basic Example set up, boilerplate for connector, ran into signing issue."

This reverts commit 0afe04f2

End to end working anthropic agent + unit tests

Set up the Agent. Basic Example set up, boilerplate for connector, ran into signing issue.

* Add pragma warning

* - Remove Message type
- tabbing fix white space in csproj
- Remove redundant inheritance
- Edit Anthropic.Tests' rootnamespace
- Create AutoGen.Anthropic.Samples

* short-cut agent extension method

* Pass system message in the constructor and throw if there's system message in Imessages

---------

Co-authored-by: luongdavid <luongdavid@microsoft.com>
2024-05-24 16:37:16 +00:00
Li Jiang
80b2dba6ab Add packaging explicitly (#2780) 2024-05-24 14:52:56 +00:00
Aretai-Leah
e87a6a424d Create JSON_mode_example.ipynb (#2554)
* Create JSON_mode_example.ipynb

* updated json example

* added metadata to JSON notebook

* fixed details in wrong metadata

* Update JSON_mode_example.ipynb

removed colab cell

* fixed error

* removed cell output

* whitespace fixed

I think its fixed?

* finally fixed whitespace
2024-05-24 13:12:36 +00:00
Xiaoyun Zhang
702c010d77 [.Net] add ollama-sample and adds more tests (#2776)
* add ollama-sample and adds more tests

* Update AutoGen.Ollama.Sample.csproj
2024-05-24 04:14:29 +00:00
Carlos Garcia Lalicata
c226391a29 [Marketing] Carlos trying pipelines 1: Adding Environment name (#67) 2024-05-24 05:49:41 +02:00
Xiaoyun Zhang
8d55334e4d [.Net] add AutoGen.SemanticKernel.Sample project (#2774)
* add AutoGen.SemanticKernel.Sample

* revert change
2024-05-24 01:53:22 +00:00
Eric Zhu
d941a0a733 fix some bugs (#14) 2024-05-23 17:17:07 -07:00
Jack Gerrits
52f6f79591 Add types agnostic to role (#11) 2024-05-23 20:49:01 +00:00
Jack Gerrits
8d1f4aedc0 Add require response and remove generic types (#13) 2024-05-23 13:00:05 -07:00