1184 Commits

Author SHA1 Message Date
gfggithubleet
f51301f9a1
Update TRANSPARENCY_FAQS.md (#492)
fixed grammatical error
FAQ--->FAQs

Co-authored-by: gagb <gagb@users.noreply.github.com>
2023-11-05 18:08:35 +00:00
Li Jiang
f052977e24
Add support to unstructrued (#501)
* Add support to unstructrued

* Fix tests

* Add test and documents

* Fix tests

* Fix tests

* Test unstructured on linux and mac
2023-11-05 13:30:28 +00:00
hung_ng__
0dd0fc5aa2
Fix typo import autogen (#549) 2023-11-04 17:12:41 +00:00
afourney
1c4a5e6a1a
Added a simple Testbed tool for repeatedly running templated Autogen scenarios with tightly-controlled initial conditions. (#455)
* Initial commit of the autogen testbed environment.

* Fixed some typos in the Testbed README.md

* Added some stricter termination logic to the two_agent scenario, and swiched the logo task from finding Autogen's logo, to finding Microsoft's (it's easier)

* Added documentation to testbed code in preparation for PR

* Added a variation of HumanEval to the Testbed. It is also a reasonable example of how to integrate other benchmarks.

* Removed ChatCompletion.start_logging and related features. Added an explicit TERMINATE output to HumanEval to save 1 turn in each conversation.

* Added metrics utils script for HumanEval

* Updated the requirements in the README.

* Added documentation for HumanEval csv schemas

* Standardized on how the OAI_CONFIG_LIST is handled.

* Removed dot-slash from 'includes' path for cross-platform compatibility

* Missed a file.

* Updated readme to include known-working versions.
2023-11-04 10:38:43 +00:00
Chi Wang
c4f8b1c761
Dev/v0.2 (#393)
* api_base -> base_url (#383)

* InvalidRequestError -> BadRequestError (#389)

* remove api_key_path; close #388

* close #402 (#403)

* openai client (#419)

* openai client

* client test

* _client -> client

* _client -> client

* extra kwargs

* Completion -> client (#426)

* Completion -> client

* Completion -> client

* Completion -> client

* Completion -> client

* support aoai

* fix test error

* remove commented code

* support aoai

* annotations

* import

* reduce test

* skip test

* skip test

* skip test

* debug test

* rename test

* update workflow

* update workflow

* env

* py version

* doc improvement

* docstr update

* openai<1

* add tiktoken to dependency

* filter_func

* async test

* dependency

* migration guide (#477)

* migration guide

* change in kwargs

* simplify header

* update optigude description

* deal with azure gpt-3.5

* add back test_eval_math_responses

* timeout

* Add back tests for RetrieveChat (#480)

* Add back tests for RetrieveChat

* Fix format

* Update dependencies order

* Fix path

* Fix path

* Fix path

* Fix tests

* Add not run openai on MacOS or Win

* Update skip openai tests

* Remove unnecessary dependencies, improve format

* Add py3.8 for testing qdrant

* Fix multiline error of windows

* Add openai tests

* Add dependency mathchat, remove unused envs

* retrieve chat is tested

* bump version to 0.2.0b1

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
v0.2.0b1
2023-11-04 04:01:49 +00:00
Aditya
5089525ecc
Update README.md (#506)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-11-02 19:29:41 +00:00
Jason Holtkamp
55d27cccc9
Added example .txt file for agentchat_langchain sample notebook (#373)
* Added example .txt file for agentchat_langchain sample notebook

* Update radius.txt

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-11-02 05:34:05 +00:00
bonadio
957ec00edd
Adding async support to get_human_input (#466)
* Adding async support to get_human_input

* Adjust code for Code formatting testing fail

* Adjust the test_async_get_human_input.py to run async on test

* Adjust the test_async_get_human_input.py for pre-commit-check error

* Adjust the test_async_get_human_input.py for pre-commit-check error v2

* Adjust remove unnecessary register_reply

* Adjust test to use asyncio call

* Adjust go back to not use asyncio
2023-11-01 04:30:22 +00:00
Aayush Chhabra
503c2430f9
Fix/async function and tool execution (#87)
* async run group chat

* conversible agent allow async functions to generate reply

* test for async execution

---------

Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-10-31 16:04:32 +00:00
Ikko Eltociear Ashimine
b432c1b108
Fix typo in README.md (#481)
Contributers -> Contributors
2023-10-30 16:10:22 +00:00
Marc Green
46e8948d81
Update FAQ with workaround for Issue #251 (#405)
* Update FAQ with workaround for Issue #251

* Update website/docs/FAQ.md

* Update website/docs/FAQ.md

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-10-30 01:49:00 +00:00
gagb
5694486272
Update Installation.md (#456)
* Update Installation.md

Replace autogen->pyautogen in env setup to avoid confusion

Related issue: #211

* Update Installation.md

Add deactivation instructions

* Update website/docs/Installation.md

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

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-10-28 05:51:28 +00:00
Chi Wang
dd90756bdb
bump version to 0.1.14 (#400)
* bump version to 0.1.14

* endpoint

* test

* test

* add ipython to retrievechat dependency

* constraints

* target
v0.1.14
2023-10-28 00:24:04 +00:00
rajpal
12150179fb
spelling fix for Update math_user_proxy_agent.py (#431)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-10-27 13:36:06 +00:00
Yiran Wu
8c3401dd6a
Add token_count_util (#421)
* add token_count_util

* remove token_count from retrieval util

* format

* update dependency

* update test
2023-10-27 12:57:35 +00:00
Aaron
cde99e05c5
Update FAQ section in documentation (#390)
* UPDATE - FAQ section in documentation

* FIX - formatting test failure

* FIX - added disclaimer

* pre-commit

* Update website/docs/FAQ.md

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

* Update website/docs/FAQ.md

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

* Update website/docs/FAQ.md

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

* UPDATE - notebook and FAQ information for config_list_from_models

---------

Co-authored-by: Ward <award40@LAMU0CLP74YXVX6.uhc.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Li Jiang <bnujli@gmail.com>
2023-10-27 12:52:26 +00:00
Craig Presti
37deabefcf
Adds jupyter as a vscode extension, fix validation errors in devcontainer.json (#433)
* Adds jupyter as a vscode extension, fix validation errors in vscode (see https://containers.dev/supporting#visual-studio-code)

* Trim trailing whitespace

* Add newline to end of file

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
2023-10-27 12:49:41 +00:00
Ricky Loynd
09bf41a1ed
TeachableAgent blog post (#436)
* Authors

* initial checkin

* completed blog post

* trim trailing whitespace

* date

* Address reviewer feedback.
2023-10-27 12:49:21 +00:00
Li Jiang
27e619e46e
[Blocking Issue] Add tests dependencies for qdrant and fix chromadb errors (#435)
* Add tests dependencies for qdrant

* Update chromadb API

* Update chromadb API version

* Fix typehint

* Add py 3.9 condition

* Fix client creation error
2023-10-27 02:52:38 +00:00
Anush
50ac547637
feat: Qdrant vector store support (#303)
* feat: QdrantRetrieveUserProxyAgent

* fix: QdrantRetrieveUserProxyAgent docstring

* chore: batch of 500 all CPU cores

* chore: conditional import for tests

* chore: config parallel, batch 100

* chore: collection creation params

* chore: conditonal payload indexing
fastembed import check

* docs: notebook for QdrantRetrieveUserProxyAgent

* docs: update docs link

* docs: notebook examples update

* chore: hnsw, payload index reference

* docs: notebook docs_path update

* Update test/agentchat/test_qdrant_retrievechat.py

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

* chore: update notebook output

* Fix format

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
2023-10-25 05:08:43 +00:00
Li Jiang
80954e4b8d
Fix tmp dir not exists (#401)
* Fix tmp dir not exists

* Update tests to make it more clear

* Add check if save path is not None
2023-10-24 16:09:25 +00:00
Ragy Abraham
3991f860e4
using thread safe timeout to allow code execution to be compatible with multi-threading/multi-processing (#224)
Co-authored-by: Li Jiang <lijiang1@microsoft.com>
Co-authored-by: Victor Dibia <chuvidi2003@gmail.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-10-24 14:29:14 +00:00
Beibin Li
9932945765
Supporting MultiModal Models: an example with LLaVA Notebook (#286)
* LMM notebook

* Use "register_reply" instead.

* Loop check LLaVA non-empty response

* Run notebook

* Make the llava_call function more flexible

* Include API for LLaVA from Replicate

* LLaVA data format update x2
1. prompt formater function
2. conversation format with SEP

* Coding example added

* Rename "ImageAgent" -> "LLaVAAgent"

* Docstring and comments updates

* Debug notebook: Remote LLaVA tested

* Example 1: remove system message

* MultimodalConversableAgent added

* Add gpt4v_formatter

* LLaVA: update example 1

* LLaVA: Add link to "Table of Content"
2023-10-24 05:26:41 +00:00
Chi Wang
9ed6c8e5d0
config list for test (#395) 2023-10-24 03:54:45 +00:00
Li Jiang
f9acb69aea
Update docs in RetrieveChat notebook and Installation (#379)
* Update comments to make it more clear

* Update Installation
2023-10-23 22:28:38 +00:00
Sheetali Maity
6438625063
Add link to OptiGuide #371 (#376)
* OptiGuide Link

* Update AutoGen-AgentChat.md

* fixes
2023-10-23 16:16:53 +00:00
Chi Wang
6e74e2d51a
headsup about dependency change (#378)
* headsup about dependency change

* more change
2023-10-23 15:34:32 +00:00
Shruti Patel
a8da3854c0
Update agentchat_langchain.ipynb (#355)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-10-22 04:58:01 +00:00
Shruti Patel
b43d2649cd
Fix the grammar and spelling in agentchat_human_feedback.ipynb (#354)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-10-22 04:57:57 +00:00
Shruti Patel
22635af482
Fix grammar and spelling in agentchat_planning.ipynb (#356)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-10-22 04:56:53 +00:00
Shruti Patel
4c8d4b0b53
Fix grammar in agentchat_stream.ipynb (#357)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-10-22 04:49:49 +00:00
Shruti Patel
1c7fbe5acf
Improve readability for agentchat_two_users.ipynb (#361)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-10-22 04:46:07 +00:00
Shruti Patel
5c2cd99ce8
Fix grammar for agentchat_web_info.ipynb (#362)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-10-22 04:35:29 +00:00
Shruti Patel
a2aa911647
Improve readability in oai_completion.ipynb (#364)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-10-22 04:28:35 +00:00
Shruti Patel
da88d6379c
Improve readability in oai_openai_utils.ipynb (#365) 2023-10-22 04:20:04 +00:00
Qingyun Wu
c2e0ddf667
format (#358) 2023-10-22 04:08:59 +00:00
Shruti Patel
61ac64081f
Improve readability in agentchat_groupchat_research.ipynb (#350)
* Improve readability in agentchat_groupchat_research.ipynb

* Undo updates to system message.
2023-10-22 00:46:04 +00:00
Shruti Patel
ec423ddf07
Improve readability for agentchat_function_call.ipynb (#347) 2023-10-22 00:26:34 +00:00
Shruti Patel
15ff52a52c
Fix grammar and spelling in agentchat_chess.ipynb (#346) 2023-10-22 00:22:25 +00:00
Shruti Patel
ca2e0b889e
Update agentchat_MathChat.ipynb (#341) 2023-10-21 23:56:46 +00:00
Shruti Patel
58b8c52851
Update agentchat_auto_feedback_from_code_execution.ipynb (#342)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-10-21 23:56:01 +00:00
Ansh Babbar
ec52087c95
Updating Examples to follow new categorical structure. #273 (#327)
* Updating Examples to follow new categorical structure. #273

Addressing the remaining task for #273, I have copied over the changes from /Usecases to /Examples to follow the new categorical example notebooks structure.

* Add the new example notebook

---------

Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2023-10-21 23:00:50 +00:00
Ishita Pathak
5c4edcd8bc
Update README.md (#321)
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2023-10-21 19:14:46 +00:00
Sean Connelly
df4882524f
Resolves Typo Correction #336 (#338)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-10-21 18:46:14 +00:00
Gourav
15d85aa1ad
Added Roadmap to Getting-Started.md (#324) 2023-10-21 17:35:31 +00:00
Chi Wang
fc59da5113
add downloads stats in readme (#334) v0.1.13 2023-10-21 04:58:45 +00:00
Chi Wang
176987f6e9
bump version to 0.1.13 (#333) 2023-10-21 04:58:27 +00:00
Ricky Loynd
d22b6b2006
TeachableAgent (#278)
* Initial commit.

* Disable LLM response caching.

* Add teachability option to setup.py

* Modify test to use OAI_CONFIG_LIST as suggested in the docs.

* Expand unit test.

* Complete unit test.

* Add filter_dict

* details

* AnalysisAgent

* details

* More documentation and debug output.

* Support retrieval of any number of relevant memos, including zero.

* More robust analysis separator.

* cleanup

* teach_config

* refactoring

* For robustness, allow more flexibility on memo storage and retrieval.

* de-dupe the retrieved memos.

* Simplify AnalysisAgent. The unit tests now pass with gpt-3.5

* comments

* Add a verbosity level to control analyzer messages.

* refactoring

* comments

* Persist memory on disk.

* cleanup

* Use markdown to format retrieved memos.

* Use markdown in TextAnalyzerAgent

* Add another verbosity level.

* clean up logging

* notebook

* minor edits

* cleanup

* linter fixes

* Skip tests that fail to import openai

* Address reviewer feedback.

* lint

* refactoring

* Improve wording

* Improve code coverage.

* lint

* Use llm_config to control caching.

* lowercase notebook name

* Sort out the parameters passed through to ConversableAgent, and supply full docstrings for the others.

* lint

* Allow TextAnalyzerAgent to be given a different llm_config than TeachableAgent.

* documentation

* Modifications to run openai workflow.

* Test on just python 3.10.
Replace agent with agent teachable_agent as recommended.

* Test on python 3.9 instead of 3.10.

* Remove space from name -> teachableagent

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-10-21 02:27:10 +00:00
Chi Wang
b1e1f416b0
guidance for contribution (#320) 2023-10-20 23:50:18 +00:00
Yiran Wu
26ff2ce0c1
update oai models (#316) 2023-10-20 17:27:14 +00:00