3039 Commits

Author SHA1 Message Date
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
Xiaoyun Zhang
edb2f92b0d
[.Net] rename Autogen.Ollama to AutoGen.Ollama and add more test cases to AutoGen.Ollama (#2772)
* update test

* add llava test

* add more tests

* rm Autogen.Ollama

* add AutoGen.ollama

* update

* rename to temp

* remove ollama

* rename

* update

* rename

* rename

* update
2024-05-23 19:15:25 +00:00
Alessandro Avila
3fe0bbf994 Fixes to parent number safe access (#66) 2024-05-23 17:38:34 +02:00
Eric Zhu
d77390dc07 First draft for chat layer. (#10) 2024-05-23 08:23:24 -07:00
Wael Karkoub
4ebfb82186
Ignore Some Messages When Transforming (#2661)
* works

* spelling

* returned old docstring

* add cache fix

* spelling?

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-05-22 20:22:17 +00:00
pk673
3e11b07d1d
logger fix (#2659)
Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-05-22 20:04:50 +00:00
Nikolaytv
8b15d44083
added Gemini safety setting and Gemini generation config (#2429)
* added Gemini safety setting and Gemini generation config

* define params_mapping as a constant as a class variable

* fixed formatting issues

---------

Co-authored-by: nikolay tolstov <datatraxer@gmail.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-05-22 19:58:43 +00:00
Wael Karkoub
2bad145738
Update Deprecation Warning for CompressibleAgent and TransformChatHistory (#2685)
* improved deprecation warnings

* compressible_agent test fix

* fix retrieve chat history test

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-05-22 19:58:35 +00:00
Mark Sze
3d8fd5cc91
Added ability to ignore the addition of the select speaker prompt for a group chat (#2726)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-05-22 19:55:26 +00:00
jtoy
4b5f5996a2
add warning if duplicate function is registered (#2159)
* add warning if duplicate function is registereed

* check _function_map and llm_config

* check function_map and llm_config

* use register_function and  llm_config

* cleanups

* cleanups

* warning test

* warning test

* more test coverage

* use a fake config

* formatting

* formatting

---------

Co-authored-by: Jason <jtoy@grids.local>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-05-22 19:53:39 +00:00
Ian
b698a98eb0
fix openai compatible changes (#2718)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-05-22 19:53:09 +00:00
Rob
fb74624376
Add silent option in nested chats and group chat (#2712)
* feat: respect silent request in nested chats and group chat

* fix: address plugin test

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-05-22 17:39:37 +00:00
Krishna Shedbalkar
918244e98e
[Add] Fix invoking Assistant API (#2751)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-05-22 17:38:23 +00:00
Beibin Li
732450d38a
Debug: Gemini client was not logged and causing runtime error (#2749)
* Debug: gemini client was not logged

* Resolve docker issue in LMM test

* Resolve comments

---------

Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>
2024-05-22 17:35:19 +00:00
Jack Gerrits
1a9dddbcda Update README.md (#9) 2024-05-22 13:25:51 -04:00
Eric Zhu
eedd94707b
Avoid requests 2.32.0 to fix build (#2761)
* Avoid requests 2.32.0 to fix build

* comment

* quote
2024-05-22 17:17:17 +00:00
Carlos Garcia Lalicata
71ed485d5b [Marketing] Github pipelines to build and deploy the project (#65)
* initial pipeline

* setting branches

* renaming workflow to workflows

* no needed permissions for building

* testing pipeline

* testing pipeline

* testing pipeline

* tweak marketing workflow

* tweak paths

* change to pwsh

* updating run-names

* trying if I can pass --no-state as a param

* setting --no-state second try

* renaming

* powershell

* add PR number to the run-name

* run-name

* run name test # 2000

* Confident that this will be the last try

---------

Co-authored-by: Kosta Petan <kostapetan@gmail.com>
2024-05-22 14:47:34 +02:00
Rajan
9f337248e2
[CAP] Refactor: Better Names for classes and methods (#2734)
* Bug fix

* Refactor: Better class names, method names

* pypi version

* pre-commit fixes
2024-05-21 19:46:10 +00:00
Michael
e208f7c20a
Update human-in-the-loop.ipynb (#2724) 2024-05-21 17:44:12 +00:00
Xiaoyun Zhang
b134506dfa
Update README.md (#2736) 2024-05-21 17:27:24 +00:00
Xiaoyun Zhang
90ca2ca64b
[.Net] Mark Message as obsolete and add ToolCallAggregateMessage type (#2716)
* make Message obsolete

* add ToolCallAggregateMessage

* update message.md

* address comment

* fix tests

* set round to 1 temporarily

* revert change

* fix test

* fix test
2024-05-21 05:48:19 +00:00
Xiaoyun Zhang
3e6f073373
[.Net] fix #2722 (#2723)
* fix bug and add tests

* update
2024-05-21 03:19:07 +00:00
Jack Gerrits
77c8cca9ae Implement intervention (#8) 2024-05-20 16:30:45 -07:00
Jack Gerrits
5afbadbe43 Add support for task cancellation (#7)
* Add support for task cancellation

* add tests to CI

* matrix for python testing
2024-05-20 15:32:08 -04:00
Jack Gerrits
f80c42e668 fix spelling error (#6) 2024-05-20 09:49:47 -04:00
Jack Gerrits
b4b1fd5bdd Make responses flow through the message queue (#5) 2024-05-19 17:12:49 -06:00