3039 Commits

Author SHA1 Message Date
Olaoluwa Ademola Salami
a0eb557dd7
change specified api-version (#2955) 2024-06-18 05:37:38 +00:00
Mark Sze
8dd3a8a8f9
Client class utilities (#2949)
* Addition of client utilities, initially for parameter validation

* Corrected test

* update: type checks and few tests

* fix: docs, tests

---------

Co-authored-by: Hk669 <hrushi669@gmail.com>
2024-06-18 04:01:15 +00:00
Eric Zhu
6d7cbe0027 Add repo doc for examples #86 (#88)
* Add repo doc for examples

* fox
2024-06-17 17:54:27 -07:00
Eric Zhu
51c8b678de exception in intervention (#82)
* exception in intervention

* log
2024-06-17 17:34:56 -07:00
Eric Zhu
641d83fd10 add illustrator-critics demo; handle multi-modal messages in agents; refactored examples to use Textual app; equality comparison for AgentId (#87)
* add illustrator-critics demo; handle multi-modal messages in agents

* fix

* Refactored examples to use Textual app. Add equality comparison for AgentId
2024-06-17 17:20:46 -07:00
Jack Gerrits
edb939f4d7 use agent id in apis (#85) 2024-06-17 15:37:46 -04:00
Jack Gerrits
c29218b329 Add agent proxy (#84) 2024-06-17 12:43:51 -04:00
Jack Gerrits
89f1133831 migrate name, desc, subs to metadata (#83)
* migrate name, desc, subs to metadata

* fix quote in f string

* remove file

* add metadata func to runtime

* format
2024-06-17 10:44:46 -04:00
Eric Zhu
40701a5a00 Textual Example; Tool Approver (#81)
* Update example to use textual app. Add tool approver setting to chat completion agent.

* dep

* fix
2024-06-15 18:04:24 -07:00
Zoltan Lux
10b8fa548b
Fix missing messages in Gemini history (#2906)
* fix missing message in history

* fix message handling

* add list of Parts to Content object

* add test for gemini message conversion function

* add test for gemini message conversion

* add message to asserts

* add safety setting support for vertexai

* remove vertexai safety settings
v0.2.29
2024-06-14 18:13:19 +00:00
Qingyun Wu
6d4cf406f9
Filter models with tags instead of model name (#2912)
* identify model with tags instead of model name

* models

* model to tag

* add more model name

* format

* Update test/agentchat/test_function_call.py

Co-authored-by: Chi Wang <wang.chi@microsoft.com>

* Update test/agentchat/test_function_call.py

Co-authored-by: Chi Wang <wang.chi@microsoft.com>

* Update test/agentchat/test_tool_calls.py

Co-authored-by: Chi Wang <wang.chi@microsoft.com>

* Update test/agentchat/test_tool_calls.py

Co-authored-by: Chi Wang <wang.chi@microsoft.com>

* remove uncessary tags

* use gpt-4 as tag

* model to tag

* add tag for teachable agent test

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: AutoGen-Hub <flaml20201204@gmail.com>
2024-06-14 15:58:17 +00:00
LeoLjl
c54e8a5db1
[Autobuild] improve robustness and reduce cost (#2907)
* Update Autobuild.

* merge main into autobuild

* update test for new autobuild

* update author info

* fix pre-commit

* Update autobuild notebook

* Update autobuild_agent_library.ipynb

* Update autobuild_agent_library.ipynb

* Fix pre-commit failures.

---------

Co-authored-by: Linxin Song <rm.social.song1@gmail.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-06-14 14:14:08 +00:00
Xiaoyun Zhang
55b2df8bf9
[.Net] update oai tests by using new OpenAI resources (#2939)
* update oai tests

* Update MetaInfo.props
2024-06-14 13:53:12 +00:00
whichxjy
d020cccf01
Fix repeated comma typo (#2940) 2024-06-14 13:48:45 +00:00
Jack Gerrits
8dad8b0536 Make parenthesis optional for type routed agent message handler (#74) 2024-06-13 16:44:51 -07:00
thetechoddbug (José María Gutiérrez)
7e43935229
Update OAI_CONFIG_LIST_sample (#2867)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-06-13 20:15:38 +00:00
Yiran Wu
39f688778e
Allow passing in custom pricing in config_list (#2902)
* update

* update

* TODO comment removed

* update

---------

Co-authored-by: Yiran Wu <32823396+kevin666aa@users.noreply.github.com>
Co-authored-by: Davor Runje <davor@airt.ai>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-06-13 20:10:47 +00:00
Xiaoyun Zhang
cd8f437a71
update update.md (#2937) 2024-06-13 20:07:18 +00:00
dependabot[bot]
c221eea14e
Bump braces from 3.0.2 to 3.0.3 in /website (#2934)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-13 17:27:01 +00:00
Davor Runje
c873080b0d
changed CRLF to LF (#2935) 2024-06-13 16:44:11 +00:00
Xiaoyun Zhang
ca4f717616
[.Net] Add Gemini samples to AutoGen.Net website + configure Gemini package to be ready for release (#2917)
* update website

* fix buid error

* update
2024-06-13 08:01:16 +00:00
Eric Zhu
387aa6abb7 add pattern docs (#73) 2024-06-13 07:10:35 +00:00
Wael Karkoub
004ba22637
human input mode annotations fixed (#2864)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-06-13 04:53:55 +00:00
Eric Zhu
f754f3ce2f HeadAndTail memory; add group chat manager transitions; update software_consultancy example (#72) 2024-06-12 15:28:00 -07:00
Jack Gerrits
c36ea487e0 Flesh out agent docs more (#71) 2024-06-12 17:10:17 -04:00
Jack Gerrits
92d413e877 Fix links, add index content, move contrib (#70) 2024-06-12 15:21:20 -04:00
Eric Zhu
1dc22d9672 Add documentation (#68)
* initial docs

* update docs

* Update agent.md

* Update memory.md

* Update runtime.md

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-06-12 11:25:42 -04:00
ken-gravilon
f36b658f8f
Docs typo cli-code-executor.ipynb (#2909)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-06-12 14:36:26 +00:00
Li Jiang
11b8c767ca
Improve update context condition checking rule (#2883)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-06-12 14:26:19 +00:00
Davor Runje
a0787aced3
pre-commit version update and a few spelling fixes (#2913) 2024-06-12 06:26:22 +00:00
Davor Runje
53a59ddac6
CRLF changed to LF (#2915) 2024-06-12 06:25:18 +00:00
Kosta Petan
178e209e5f Initial devcontainer scaffolding (#66)
* adds devcontainer setup, docker-compose based

* add python via a feature
2024-06-12 05:23:49 +00:00
Daniel (Neng) Wang
b03fb6d6a3
Change chunk size of vectordb from max_tokens to chunk_token_size (#2896)
* Update retrieve_user_proxy_agent.py

* Update retrieve_user_proxy_agent.py

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-06-11 13:09:24 +00:00
Li Jiang
067fa88b67
Update notebook (#2886) 2024-06-11 13:04:37 +00:00
Audel Rouhi
bf7e4d619c
Bugfix: PGVector/RAG - Calculate the Vector Size based on Model Dimensions (#2865)
* Calculate the dimension size based off model chosen.

* Added example docstring.

* Validated working notebook with sentence models of different dimensions.

* Validated removal of model_name working.

* Second example uses conn object.

* embedding_function no longer directly references .encode

* Fixed pre-commit issue.

* Use try/except to raise error when shape is not found in embedding function.

* Re-ran notebook.

* Update autogen/agentchat/contrib/vectordb/pgvectordb.py

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

* Update autogen/agentchat/contrib/vectordb/pgvectordb.py

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

* Added .encode

* Removed example comment.

* Fix overwrite doesn't work with existing collection when custom embedding function has different dimension from default one

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-06-11 12:16:56 +00:00
Eric Zhu
1b9f4641a7 fix buffered memory; update documentation (#65) 2024-06-11 00:46:52 -07:00
Eric Zhu
7d7992b21e Update group chat example and add a progress bar to chat completion agent (#64)
* update group chat example

* format

* fix
2024-06-10 21:43:06 -07:00
Eric Zhu
1448cbc138 Event-Based GroupChat and Update Examples (#62)
* initial

* convert examples to event-based; add user proxy agent.

* update examples
2024-06-10 19:51:51 -07:00
Chi Wang
2d6c8c012b
version update (#2908)
* version update

* version update
2024-06-10 18:23:51 +00:00
David Luong
d578d0dfd9
Squash changes (#2849) 2024-06-10 17:32:33 +00:00
Xiaoyun Zhang
a16b307dc0
[.Net] Add Goolge gemini (#2868)
* update

* add vertex gemini test

* remove DTO

* add test for vertexGeminiAgent

* update test name

* update IGeminiClient interface

* add test for streaming

* add message connector

* add gemini message extension

* add tests

* update

* add gemnini sample

* update examples

* add test for iamge

* fix test

* add more tests

* add streaming message test

* add comment

* remove unused json

* implement google gemini client

* update

* fix comment
2024-06-10 17:31:45 +00:00
Victor Dibia
7d057a93b2
Autogenstudio docs (#2890)
* add autogenstudio docs

* update ags readme to point to docs page

* update docs

* update docs

* update faqs

* update, fix typos
2024-06-10 03:29:34 +00:00
Eric Zhu
03efb87cd7 Chat room example for event-based agents (#61) 2024-06-09 18:06:51 -07:00
Eric Zhu
7ef502a33e Refactor chat (#60) 2024-06-09 12:11:36 -07:00
Eric Zhu
e99ad511fa Initial chat memory implementation (#59) 2024-06-08 16:29:27 -07:00
Eric Zhu
37cc6bc12a Improve assistant and chess examples to make them more robust and better presentation. (#58)
* Improve assistant and chess examples to make them more robust and better presentation.

* type dep

* format
2024-06-08 01:27:27 -07:00
Eric Zhu
21b730e7c6 oai assistant agent example and custom event handler for streaming mode (#56)
* oai assistant agent example

* wip

* open ai assistant with custom event handler

* doc
2024-06-07 14:46:13 -07:00
Eric Zhu
b4ade8b735 Add examples to showcase patterns (#55)
* add chess example

* wip

* wip

* fix tool schema generation

* fixes

* Agent handle exception

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>

* format

* mypy

* fix test for annotated

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-06-07 13:33:51 -07:00
Braelyn Boynton
85ad929f34
AgentOps Runtime Logging Implementation (#2682)
* add agentops req

* track conversable agents with agentops

* track tool usage

* track message sending

* remove record from parent

* remove record

* simple example

* notebook example

* remove spacing change

* optional dependency

* documentation

* remove extra import

* optional import

* record if agentops

* if agentops

* wrap function auto name

* install agentops before notebook test

* documentation fixes

* notebook metadata

* notebook metadata

* pre-commit hook changes

* doc link fixes

* git lfs

* autogen tag

* bump agentops version

* log tool events

* notebook fixes

* docs

* formatting

* Updated ecosystem manual

* Update notebook for clarity

* cleaned up notebook

* updated precommit recommendations

* Fixed links to screenshots and examples

* removed unused files

* changed notebook hyperlink

* update docusaurus link path

* reverted setup.py

* change setup again

* undo changes

* revert conversable agent

* removed file not in branch

* Updated notebook to look nicer

* change letter

* revert setup

* revert setup again

* change ref link

* change reflink

* remove optional dependency

* removed duplicated section

* Addressed clarity commetns from howard

* minor updates to wording

* formatting and pr fixes

* added info markdown cell

* better docs

* notebook

* observability docs

* pre-commit fixes

* example images in notebook

* example images in docs

* example images in docs

* delete agentops ong

* doc updates

* docs updates

* docs updates

* use agent as extra_kwarg

* add logging tests

* pass function properly

* create table

* dummy function name

* log chat completion source name

* safe serialize

* test fixes

* formatting

* type checks

---------

Co-authored-by: reibs <areibman@gmail.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Howard Gil <howardbgil@gmail.com>
Co-authored-by: Alex Reibman <meta.alex.r@gmail.com>
2024-06-07 06:01:03 +00:00
Jack Gerrits
c6360feeb6 Fix function tools (#57)
* Fix function tools

* lint
2024-06-06 21:58:11 -04:00