3039 Commits

Author SHA1 Message Date
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
Li Jiang
a456b512d5
Fix format and links in documentations (#310)
* Fix format and links

* Update title

* Sync title

* Add examples to installation
2023-10-20 02:23:29 +00:00
Haseeb Ansari
e20ecfd259
doc: Update FAQ.md (#282)
Isssue #277
2023-10-20 02:23:03 +00:00
Chi Wang
67157ab44f
bump version to 0.1.12 (#301)
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
v0.1.12
2023-10-19 18:58:57 +00:00
gagb
4de81d02bb
Update README.md with Roadmap. (#304)
also removed ugly periods. fixes: https://github.com/microsoft/autogen/issues/289#issuecomment-1771140811

Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2023-10-19 18:58:49 +00:00
Li Jiang
749757aca3
Update docs (#297)
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2023-10-19 17:51:49 +00:00
Victor Dibia
af879bdcda
Organize notebooks into logical groups #273 (#288)
* Organize notebooks into logical groups #273

* update multiagent group to mention >3 agents
2023-10-19 15:54:54 +00:00
Surav Shrestha
1983575520
fix typo in website/blog/2023-05-18-GPT-adaptive-humaneval/index.mdx (#299)
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2023-10-19 15:31:24 +00:00
Chi Wang
8d4afe4263
function call filter in group chat (#294)
* function call filter in group chat

* find agents with function_map
2023-10-19 14:43:36 +00:00
Li Jiang
bed85a332f
Add a blog for RAG agents (#284)
* Init blog

* Update blog

* Add more contents

* Restore notebook
2023-10-18 20:26:42 +00:00
dependabot[bot]
9e876abf23
Bump @babel/traverse from 7.20.1 to 7.23.2 in /website (#283)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.1 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 16:47:21 +00:00
Maxim Saplin
47df9d53be
Update Getting-Started.md (#275)
Co-authored-by: Li Jiang <bnujli@gmail.com>
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2023-10-18 02:43:01 +00:00
Ayush Kumar Pandit
45677e3e08
docs: added virtual environment setup process (#249)
* docs: added virtual environment setup process

* Update website/docs/Installation.md

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-10-17 23:51:24 +00:00
Li Jiang
88ebb77048
Add group chat and retrieve agent example (#227)
* Add group chat and retrieve agent example

* Fix link and models

* Support call rag in a group chat and not init with rag

* Fix n_results logic

* Update notebook

* Fix format

* Improve wording

* Update variable name

* Revert to main

* Update function call

* Update keys

* Update contents

* Update contents
2023-10-17 20:31:27 +00:00
Maxim Saplin
f594333f72
Update FAQ.md, elaborate on how to customise docker image and pick 'python:3' to solve typical errors (#269)
* Update FAQ.md

* Update website/docs/FAQ.md

Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>

* Update website/docs/FAQ.md

Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>

* Update website/docs/FAQ.md

Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>

---------

Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2023-10-17 14:57:31 +00:00
Li Jiang
f2d7553cdc
Add support to custom text spliter (#270)
* Add support to custom text spliter function and a list of files or urls

* Add parameter to retrieve_config, add tests

* Fix tests

* Fix tests
2023-10-17 14:53:40 +00:00
Chi Wang
294e006ac9
Lancgain tool bridge (#262) (#263)
* Added a LangChain tooling bridge example

* Updated Doco

* Update agentchat_langchain.ipynb

remove key

---------

Co-authored-by: Elliot Wood <gigaflare_elliot@hotmail.com>
Co-authored-by: Li Jiang <lijiang1@microsoft.com>
v0.1.11
2023-10-16 23:23:27 +00:00
Sheetali Maity
4fb2f1f449
Added figure to notebook (#246)
Co-authored-by: Li Jiang <lijiang1@microsoft.com>
2023-10-16 17:20:53 +00:00
Olaoluwa Ademola Salami
356f6e599f
document retrieve chat (#258)
* document retrieve chat

* Ran pre commit hook
2023-10-16 16:41:51 +00:00
Gourav
ea8dec7ea9
docstr updated for use_docker in execute_code (#233)
* docstr updated

* fixed line 245

* Fixed line 246

* space_traling error Fix_01

* Revert space in '-'

* Fixed line 245 FIX_02

---------

Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2023-10-16 04:15:03 +00:00
Chi Wang
1394e29326
bump version to 0.1.11 (#242)
* bump version to 0.1.11

* fix format issue
2023-10-15 15:01:05 +00:00