Commit Graph

1964 Commits

Author SHA1 Message Date
Eric Zhu 8a8fcd8906
update version (#4122) 2024-11-10 21:51:53 -05:00
Joel Klaverkamp 23c14bc937
fix(oai): fixing a bug when not using the OpenAIWrapper by making rate limiter config optional. (#4066)
Co-authored-by: Joel Klaverkamp <joel.klaverkamp@upfeat.com>
2024-11-05 11:19:28 -08:00
Victor Dibia 9f428880b3
Fix 0.2 Quickstart example llm_config issue (#4060)
* fix bug in getting started guide for 0.2 #2038

* remove uneeded submodule

* remove uneeded submodule

* remove unecessary file
2024-11-04 19:58:01 -08:00
Luke Hsiao 5ad267707d
docs: fix bullet formatting for kubernetes pod executor (#3911)
While the bullets are rendered correctly in GitHub when looking at this
file, the bullet formatting is incorrect on the actual documentation
site [[1]]. This patch adds a newline to fix that formatting.

A screenshot of the incorrect formatting on the site is included in
the PR.

[1]: https://microsoft.github.io/autogen/0.2/docs/topics/code-execution/kubernetes-pod-commandline-code-executor
2024-10-23 13:14:08 -04:00
Eric Zhu 610388945b
Update (#3897) 2024-10-22 21:58:46 -07:00
Rajan 1c5baf020f
[CAP] Abstraction of actor_connector to go along with runtime factory and runtime abstraction (#3296)
* 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

* Create interfaces for connectors

* pre-commit fixes

* pre-commit fixes

* pre-commit fixes

* lower case file names

* rename files to lower _case

* rename files to _lowercase

* removed _

* Refactored to make Actor zmq agnostic

* fix for refactor

* fix refactor, circular dependency

* pre-commit fixes

* document classes

* pre-commit ruff

* fix ruff issues

* ruff fixes

* ruff fixes

* actor connector documentation

* better docs

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-22 16:52:06 +08:00
Wael Karkoub 8a2a40d5d2
[bug] Validates If The Role Tool is Handled Correctly after Transforms (#3875) 2024-10-22 10:30:07 +02:00
Wael Karkoub c345d41446
cache defaults to None (#3872) 2024-10-22 07:14:45 +01:00
Daniel Chalef 76a4bd05d9
Add Zep ecosystem doc and notebook (#3681)
* Add Zep ecosystem doc and notebook

* fix linting and formatting issues

* Fix url

* Update agent-memory-with-zep.md

* add notebook metadata

* newline

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-10-17 10:08:30 -07:00
Lokesh Goel 1960eaba1a
Add Couchbase Vector DB Example Notebook and Minor Bug Fix (#3804) 2024-10-17 14:18:03 +02:00
kiyoung 02977ee250
K8s code executor (#3419)
* remove coding directory from gitignore

* add k8s PodCommandLineCodeExecutor

* add error handlings and custom pod spec parameter

* change parameter name to kube_config_file

* add param container_name

* add test case for PodCommandLineCodeExecutor

* add test guide

* draft for docs notebook

* test code fix indent

* add document

* add license info

* revise documentation

* modify document: install autogen-agentchat

* apply pre-commit

* revert change to gitignore

* error handling: move import block into try block

---------

Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-10-16 12:22:50 -07:00
Victor Dibia 7e297149f8
align tagline buttons (#3788) 2024-10-14 19:00:53 -04:00
Jack Gerrits 28345307ba
Clarify stable package name and version on home page (#3775) 2024-10-14 10:17:28 -04:00
gagb 874985ef97
Fix broken ing URL in README (#3776)
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-10-14 10:08:46 -04:00
Jack Gerrits 0e37b34f7f
Remove path filter for website testing in 0.2 (#3782) 2024-10-14 09:55:53 -04:00
Eric Zhu c179efbb13
update homepage link to 0.4 doc (#3772) 2024-10-12 14:52:00 -07:00
William Espegren 0c4ae702d7
Notebook on web crawling (#2720)
* Web crawling with Spider

* reset run count

* spell correction

* crawl agent

* reset execution counters

* correct return types

* metadat for website

* format

* Update notebook/agentchat_webcrawling_with_spider.ipynb

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>

* Update website/docs/Examples.md

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>

* Update agentchat_webcrawling_with_spider.ipynb

* Update agentchat_webcrawling_with_spider.ipynb

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-11 18:27:15 -07:00
Victor Dibia 8a66f03b41
Update Docs to Point to 0.4 (#3764)
* update docs, add link to v0.4

* update homepage text

* Update website/src/pages/index.js

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-11 18:23:12 -07:00
Krishna Shedbalkar 4f060e5efa
Autobuild Function calling (#3238)
* [Fix] Precommit issues

* [Fix] checks

* [Fix] iterating through list_of_functions

* [Fix] pre-commit checks

* Update test/agentchat/contrib/test_agent_builder.py

Co-authored-by: Chi Wang <4250911+sonichi@users.noreply.github.com>

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Chi Wang <4250911+sonichi@users.noreply.github.com>
2024-10-11 18:09:12 -07:00
Kirushikesh DB 11ef58b98e
Added a demonstartion notebook featuring the usage of Langchain with AutoGen (#3461)
* Added langchain integrated demo  notebook

* Added output

* Update notebook/agentchat_huggingface_langchain.ipynb

Co-authored-by: gagb <gagb@users.noreply.github.com>

* Changed the underlying LLM and lint fix

* lint fix

---------

Co-authored-by: gagb <gagb@users.noreply.github.com>
Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-11 09:15:52 -07:00
Matteo Frattaroli ec4f3c0f19
Fix #2643 - groupchat model registration (#2696)
* remove unused import statement

* fix #2643: register custom model clients within GroupChat

* add docs for fix #2643

* Update website/docs/topics/groupchat/using_custom_models.md

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

* Update website/docs/topics/groupchat/using_custom_models.md

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

* fix: removed unnecessary llm_config from checking agent

* fix: handle missing config or "config_list" key in config

* fix: code formatting

* Isolate method for internal agents creation

* Add unit test to verify that internal agents' client actually registers ModelClient class

* fix: function arguments formatting

* chore: prepend "select_speaker_auto_" to llm_config and model_client_cls attributes in GroupChat

* feat: use selector's llm_config for speaker selection agent if none is passed to GroupChat

* Update test/agentchat/test_groupchat.py

* Update groupchat.py - moved class parameters around, added to docstring

* Update groupchat.py - added selector to async select speaker functions

* Update test_groupchat.py - Corrected test cases for custom model client class

* Update test_groupchat.py pre-commit tidy

---------

Co-authored-by: Matteo Frattaroli <m.frattroli97@gmail.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
2024-10-11 09:05:23 -07:00
Zoltan Lux 32022b2df6
Function Calling Support for Gemini - Part 2 (#3726)
* Added function calling support to GeminiClient

* Appending a continue message from model to alternate between user and model

* Fixed cost calculation to include <128K costing and new 1.5-flash model. Added test case for function_call.

* Add notebook with samples for Gemini

* Updated test case

* Fix to handle not dict response in function call

* Handle non dict function results and append dummy model message between function response and user message

* Fixing message order in gemini

* Append text as multiple parts instead of test concatenation

* Raising error for Union data types in function parameter

* Delete default key

* Update gemini.py for multiple tool calls + pre-commit formatting

* no function role

* start adding function calling config

* do not serialize tool_config

* improve tool config parsing

* add hint

* improve function calling config

* removunnecessary comments

* try removing allowed function names in tool config conversion

* fix tool config parsing with empty tools list

* improve logging and case handling with vertexai tool config parsing

* reset file

* check if text is in part

* fix empty part checking case

* fix bug with attribute handling

* skip test if gemini deps are not installed

---------

Co-authored-by: Arjun G <arjun@arjun-g.com>
Co-authored-by: Beibin Li <BeibinLi@users.noreply.github.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
2024-10-10 13:26:05 -07:00
Jack Gerrits 3ebd7aeec2
Update links on 0.2 website (#3734) 2024-10-10 13:16:25 -04:00
Jack Gerrits bf3414c96f
Add announcement bar for 0.4 (#3717) 2024-10-09 16:41:20 -04:00
Jack Gerrits 11314488cb
update base url of docusaurus site (#3658) 2024-10-04 08:14:12 -07:00
Jack Gerrits 56d2090828
Update CI to target 0.2 branch, remove merge queue (#3656) 2024-10-04 09:54:46 -04:00
Eric Zhu 21a5a13965
Merge pull request #3650 from jknaudt21/main
Fix small typo in the docs
2024-10-03 17:34:36 -07:00
Juan Diego Herrera f32472e9ce Fix small typo in the docs 2024-10-03 17:14:03 -07:00
Jack Gerrits 180c17c1f4
Update issue templates (#3610)
* Update config.yml

* Delete .github/ISSUE_TEMPLATE.md

* Delete .github/ISSUE_TEMPLATE/general_issue.yml

* Update feature_request.yml

* Update feature_request.yml

* Update feature_request.yml

* Update feature_request.yml

* Update bug_report.yml

* Update .github/ISSUE_TEMPLATE/bug_report.yml

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>

* Update .github/ISSUE_TEMPLATE/config.yml

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>

* Update bug_report.yml

* Update config.yml

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-03 16:47:07 +00:00
Jack Gerrits d4a09939d0
Create CI to tag issues with needs triage (#3605) 2024-10-02 21:28:57 +00:00
Jack Gerrits 6ebf49a9b8
Update PR link in blog post (#3602)
* Update PR link in blog post

* Update index.mdx
2024-10-02 18:41:19 +00:00
Jack Gerrits 9b79094891
Add blog post announcing the new architecture preview (#3599) 2024-10-02 18:04:33 +00:00
Henry Tu 249a57bfa2
Fix typos in Cerebras doc (#3590)
* Fix typos in Cerebras doc

Fix typo in Cerebras documentation

* FIx formatting
2024-10-02 15:10:55 +00:00
Jack Gerrits 7431b66cf0
Use trusted publisher for pypi release (#3596) 2024-10-02 00:28:35 +00:00
Jack Gerrits 289e0f4751
Update version to 0.2.36, update package name (#3592)
* Update version to 0.2.36, update package name

* update publish

* Formatting

* Update README.md

* update email
2024-10-02 00:05:11 +00:00
Eric Zhu 32166b5e3e
Use native logger formatter (#3594) 2024-10-01 23:55:31 +00:00
Mark Sze 27c882841f
Updated to v0.3.3 with changes to options handling (#3593) 2024-10-01 23:55:17 +00:00
Mark Sze 3a6b88ef8a
Ollama Client (with tool calling) (#3056)
* Ollama client! With function calling. Initial commit, client, no docs or tests yet.

* Tidy comments

* Cater for missing prompt token count

* Removed use of eval, added json parsing support library

* Fix to the use of the JSON fix library, handling of Mixtral escape sequence

* Fixed 'name' in JSON bug, catered for single function call JSON without []

* removing role='tool' from inner tool result to reduce token usage.

* Added Ollama documentation and updated library versions

* Added Native Ollama tool calling (v0.3.0 req.) as well as hide/show tools support

* Added native tool calling and hide_tools parameter to documentation

* Update to Ollama 0.3.1, added tests

* Tweak to manual function calling prompt to improve number handling.

* Fix formatting

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

* Fix formatting

* Better error message

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: gagb <gagb@users.noreply.github.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-10-01 22:06:52 +00:00
Eric Zhu db287183f2
Disable Azure tests and fix open ai tests (#3587)
* Disable Azure tests

* fix calculator notebook

* use gpt-4o-mini for tests

* use gpt-4o

* use gpt-4o

* fix formatting

* Fix models used in contrib tests

* Fix retrieval test

* WIP

* Skip

* Fix format

* Fix formatting
2024-10-01 21:53:25 +00:00
Jack Gerrits 43b0d59a34
Remove API key warning (#3589) 2024-10-01 18:50:51 +00:00
Arunabh d31a2e4392
add composio notebook (#3567)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-01 05:06:58 +00:00
Henry Tu 3fdf8dea22
Add Cerebras Integration (#3585)
* Cerebras Integration

* Address feedback

* Fix typo

* Run formatter
2024-09-30 21:14:55 +00:00
Rob b8d749daac
async user hook support added (#3583)
* feat: adds async hooks, across all types, and a hookable check

* fix: adds test to other hook types
2024-09-30 19:15:19 +00:00
Jack Gerrits 2f8241d490
Fix line endings of test/browser_utils/test_files/test_serp.html (#3586) 2024-09-30 19:14:48 +00:00
Sahil dbb139d795
Added instructions to launch frontend server when running from source (#3517)
When running the AutoGen Studio from source, one needs to separately launch the frontend server. Updated the docs to include these instructions.

Co-authored-by: Victor Dibia <victordibia@microsoft.com>
2024-09-27 23:27:26 +00:00
Jack Gerrits 766a4a13c0
Remove announcement bar (#3579)
Testing that website deployment via action works
2024-09-27 20:37:46 +00:00
Jack Gerrits da0906b065
Update token permissions for site deployment (#3580) 2024-09-27 19:42:32 +00:00
Jack Gerrits 38cce476d7
Deploy website using action instead of branch (#3578) 2024-09-27 19:24:23 +00:00
afourney d2b750de5d
Removes EasyOCR dependency from mdconvert. (#3573)
* Removes EasyOCR dependency from mdconvert.

* Update mdconvert.py

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-09-26 21:36:03 +00:00
Anush f958f172fc
refactor: Qdrant use Query API (#3428)
Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-09-26 06:40:09 +00:00