887 Commits

Author SHA1 Message Date
Qingyun Wu
24adfb0c05 bump version to 0.1.8 v0.1.8 2023-10-08 12:20:55 -04:00
Manish Kumar
50d6d9e0b8
move citation before contributing (#154) 2023-10-08 14:45:54 +00:00
mrauter1
5ff85a3feb
Title: Adjust shell language switch in execute_code for Docker usage (#139)
Description:
This commit modifies the conditional check in execute_code to ensure the switch to PowerShell on Windows only occurs when Docker is not being used. This keeps shell script execution consistent within a Docker container across all platforms, aligning with the function's intended behavior.

Co-authored-by: Xiaoyun Zhang <bigmiao.zhang@gmail.com>
2023-10-07 13:29:52 +00:00
Chi Wang
5510e87c0a
bump version to 0.1.7 (#141) v0.1.7 2023-10-07 09:18:04 +00:00
Sagar Desai
09c9dbe944
typo fixed (#127)
Co-authored-by: Sagar Desai <60027013+sagardesai-ml-mlops@users.noreply.github.com>
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2023-10-07 04:35:48 +00:00
Tristan Murphy
f863e97b94
fix doc typo (#123)
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2023-10-07 04:32:05 +00:00
Hyung-Taik Choi
a087347d19
Fix broken link in README.md (#134)
The link to the documentation's FAQ#code-execution was broken because the 'docs' directory was missing in the original URL.

Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2023-10-07 04:16:29 +00:00
lars.gersmann
62b6357294
docs: typo fixed (#129) 2023-10-07 04:04:22 +00:00
Chi Wang
20d77a1039
document about docker (#119)
* document about docker

* clarify

* dev container
2023-10-05 19:48:24 +00:00
Aaron
5c2a268d95
openai_utils.py - functionality for instantiating config_list with a .env file (#68)
* FORMATTING

* UPDATE - OAI __init__.py

* ruff

* ADD - notebook covering oai API configuration options and their different purposes

* ADD openai util updates so that the function just assumes the same environment variable name for all models, also added functionality for adding API configurations like api_base etc.

* ADD - updates to config_list_from_dotenv and tests for openai_util testing, update example notebook

* UPDATE - added working config_list_from_dotenv() with passing tests, and updated notebook

* UPDATE - code and tests to potentially get around the window build permission error, used different method of producing temporary files

---------

Co-authored-by: Ward <award40@LAMU0CLP74YXVX6.uhc.com>
2023-10-05 04:45:11 +00:00
Ujjwal gupta
dc70b804ad
Docs: fixed typos and grammar (#94) 2023-10-03 23:50:42 +00:00
Chi Wang
305dffebca
show github stars (#92) 2023-10-03 23:45:55 +00:00
dependabot[bot]
6ef0124251
Bump postcss from 8.4.18 to 8.4.31 in /website (#93)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.18 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.18...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  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-03 23:43:26 +00:00
Mohamed Attia
a3547f82c4
Replace the use of assert in non-test code (#80)
* Replace `assert`s in the `conversable_agent` module with `if-log-raise`.

* Use a `logger` object in the `code_utils` module.

* Replace use of `assert` with `if-log-raise` in the `code_utils` module.

* Replace use of `assert` in the `math_utils` module with `if-not-raise`.

* Replace `assert` with `if` in the `oai.completion` module.

* Replace `assert` in the `retrieve_utils` module with an if statement.

* Add missing `not`.

* Blacken `completion.py`.

* Test `generate_reply` and `a_generate_reply` raise an assertion error
when there are neither `messages` nor a `sender`.

* Test `execute_code` raises an `AssertionError` when neither code nor
filename is provided.

* Test `split_text_to_chunks` raises when passed an invalid chunk mode.

* * Add `tiktoken` and `chromadb` to test dependencies as they're used in
the `test_retrieve_utils` module.

* Sort the test requirements alphabetically.
2023-10-03 17:52:50 +00:00
Al-Ekram Elahee Hridoy
39c145dd53
Format issue (#69)
* Fixed formating issue in the README

* Fixed the formating issue in the README

* Updated formatting as per review comments

* Refactor README.md to highlight use cases and features

* Updated README as per feedback

* Updated README as per feedback

---------

Co-authored-by: Al-Iqram Elahee <hridoy@Al-Iqrams-MacBook-Pro.local>
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
v0.1.6
2023-10-03 02:36:23 +00:00
Shaurya Rohatgi
1131943a5d
spelling error (#84) 2023-10-03 02:32:13 +00:00
Chi Wang
50cb53cfe6
bump version to 0.1.6 (#85) 2023-10-03 02:16:30 +00:00
Xiaoyun Zhang
3b5e627746
enable openai workflow on fork branch (#82)
* update

* update

* Update openai.yml
2023-10-02 19:46:46 +00:00
Yiran Wu
4d85f4db0a
fix append_oai_message (#47)
* fix append_oai_message

* add testcase for groupchat

* add test_oai to openai workflow

* code formate

* update

* formate

* update
2023-10-02 18:52:38 +00:00
Hiftie
0481483faa
Fixed MD Issue (#72) 2023-10-02 13:01:14 +00:00
Xiaoyun Zhang
b642f69005
minor fix (#31)
* minor fix for stablility

* fix format

* fix format

* update run_code logic

* format

* Update conversable_agent.py

* fix format

* Update conversable_agent.py

* add tests

* fix format

* revert changes
2023-10-02 12:15:25 +00:00
Chi Wang
49ad771052
expand faq (#66)
* expand faq

* models

* fix format error
2023-10-02 01:34:59 +00:00
Priyanshu Yashwant Deshmukh
bf65b59b79
Updated readme.md : seprated AutoGen and EcoOptGen also removed bibtex (#43)
* Updated README.md added required changes to previous pull 

new changes :
1. A section containing citation to AutoGen and EcoOptiGen
2. Another section contain citation to MathChat
## Citation  
[AutoGen](https://arxiv.org/abs/2308.08155). 
AND  [EcoOptiGen](https://arxiv.org/abs/2303.04673).
``` 
bibtex
@inproceedings{wu2023autogen,
      title={AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation Framework},
      author={Qingyun Wu and Gagan Bansal and Jieyu Zhang and Yiran Wu and Shaokun Zhang and Erkang Zhu and Beibin Li and Li Jiang and Xiaoyun Zhang and Chi Wang},
      year={2023},
      eprint={2308.08155},
      archivePrefix={arXiv},
      primaryClass={cs.AI}
}

bibtex
@inproceedings{wang2023EcoOptiGen,
    title={Cost-Effective Hyperparameter Optimization for Large Language Model Generation Inference},
    author={Chi Wang and Susan Xueqing Liu and Ahmed H. Awadallah},
    year={2023},
    booktitle={AutoML'23},
}
```

 [MathChat](https://arxiv.org/abs/2306.01337). 

```
bibtex
@inproceedings{wu2023empirical,
    title={An Empirical Study on Challenging Math Problem Solving with GPT-4},
    author={Yiran Wu and Feiran Jia and Shaokun Zhang and Hangyu Li and Erkang Zhu and Yue Wang and Yin Tat Lee and Richard Peng and Qingyun Wu and Chi Wang},
    year={2023},
    booktitle={ArXiv preprint arXiv:2306.01337},
}
```

* Seperated AutoGen and EcoOptGen and removed 'bibtex'

## Citation  
[AutoGen](https://arxiv.org/abs/2308.08155). 
``` 
@inproceedings{wu2023autogen,
      title={AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation Framework},
      author={Qingyun Wu and Gagan Bansal and Jieyu Zhang and Yiran Wu and Shaokun Zhang and Erkang Zhu and Beibin Li and Li Jiang and Xiaoyun Zhang and Chi Wang},
      year={2023},
      eprint={2308.08155},
      archivePrefix={arXiv},
      primaryClass={cs.AI}
}
```

[EcoOptiGen](https://arxiv.org/abs/2303.04673).
```
@inproceedings{wang2023EcoOptiGen,
    title={Cost-Effective Hyperparameter Optimization for Large Language Model Generation Inference},
    author={Chi Wang and Susan Xueqing Liu and Ahmed H. Awadallah},
    year={2023},
    booktitle={AutoML'23},
}
```
2023-10-01 21:18:55 +00:00
Chi Wang
c39bfcaa6e
typing & docstr update (#59)
* typing & docstr update

* bump version to 0.1.5
v0.1.5
2023-10-01 11:57:21 +00:00
Li Jiang
e4eb7aed97
Bump version to 0.1.5 (#60) 2023-10-01 11:56:49 +00:00
Aaron
4adbffa94b
retrieve_utils.py - Updated.py to have the ability to parse text from PDF Files (#50)
* UPDATE - Updated retrieve_utils.py to have the ability to parse text from pdf files

* UNDO - change to recursive condition

* UPDATE - updated agentchat_RetrieveChat.ipynb to clarify which file types are accepted to be in the docs path

* ADD - missing import

* UPDATE - setup.py to have PyPDF2 in retrievechat

* RE-ADD - urls

* ADD - tests for retrieve utils, and removed deprecated PyPdf2

* Update agentchat_RetrieveChat.ipynb

* Update retrieve_utils.py

Fix format

* Update retrieve_utils.py

Replace print with logger

* UPDATE - added more specific exception to PDF decryption try/catch

* FIX - typo, return statement at wrong indentation in extract_text_from_pdf

---------

Co-authored-by: Ward <award40@LAMU0CLP74YXVX6.uhc.com>
Co-authored-by: Li Jiang <bnujli@gmail.com>
2023-10-01 10:22:58 +00:00
Ali Eren SALKIM
7112da6b7a
Update README.md (#54)
README update for my profile <3
2023-10-01 02:17:58 +00:00
Li Jiang
b06919bb76
Update no_update_context, fix upsert docs (#52)
* Update no_update_context, fix upsert docs

* Recreate only once

* Add comments to get_or_create

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-10-01 02:00:00 +00:00
Chi Wang
904b293aa4
make retry_time configurable, add doc (#53)
* make retry_time configurable, add doc

* in seconds

* retry_wait_time

* bump version to 0.1.4

* remove .json

* rename

* time
v0.1.4
2023-09-30 16:21:07 +00:00
Juanma Cuevas
d802b7ae04
Improves clarity and fixes punctuation in README and Multi-agent documentation (#40)
* Improves clarity and fixes punctuation in README and Multi-agent documentation

* fix broken colab link to agentchat_groupchat_research.ipynb (others are fine)

* fix typos, improves readability
2023-09-29 17:59:30 +00:00
Ikko Eltociear Ashimine
5550803ed6
Fix typo in README.md (#37)
functionalites -> functionalities
v0.1.3
2023-09-28 20:18:57 +00:00
Chi Wang
402c5bf8d1
Fix bug for windows and improve sample code (#38)
* fix bug for windows

* fix bug for windows

* more clear example

* link to example

* add test

* format

* comment

* fix assertion error

* fix test error and links

---------

Co-authored-by: Chi Wang (MSR) <chiw@microsoft.com>
2023-09-28 20:14:36 +00:00
Danizord
d3d5dca159
Remove duplicated sentence (#35) 2023-09-28 14:54:15 +00:00
Chi Wang
0dff1237c1 cleanup 2023-09-27 21:14:21 +00:00
Chi Wang
e549fc4f80 cleanup 2023-09-27 21:01:09 +00:00
Chi Wang
38639fcf12 cleanup 2023-09-27 17:54:32 +00:00
Chi Wang
5c86bfaf35 cleanup 2023-09-27 17:43:27 +00:00
Chi Wang
8fbfa8b1c2 cleanup 2023-09-27 17:00:53 +00:00
Chi Wang
ddf10044a1 cleanup 2023-09-27 16:29:12 +00:00
Chi Wang
eef911d39b cleanup 2023-09-27 12:57:39 +00:00
Chi Wang
8e9cda716e Merge branch 'main' of https://github.com/microsoft/autogen v0.1.2 2023-09-27 04:22:54 +00:00
Chi Wang
0dca217f4d Merge branch 'cleanup' 2023-09-27 04:20:37 +00:00
Chi Wang
9f3af1ef80 cleanup 2023-09-27 04:20:22 +00:00
Li Jiang
11088181b6
Improve RetrieveChat (#6)
* Upsert in batch

* Improve update context, support customized answer prefix

* Update tests

* Update intermediate answer

* Fix duplicate intermediate answer, add example 6 to notebook

* Add notebook results

* Works better without intermediate answers in the context

* Bump version to 0.1.2

* Remove commented code and add descriptions to _generate_retrieve_user_reply

---------

Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2023-09-27 01:22:50 +00:00
Qingyun Wu
f619eccda3
update link (#20) 2023-09-26 18:32:50 +00:00
Chi Wang
5d209d0f7d Merge branch 'cleanup' 2023-09-25 21:42:33 +00:00
Chi Wang
23ceac0fe0 cleanup 2023-09-25 21:42:24 +00:00
Chi Wang
2eddcf80df Merge branch 'cleanup' 2023-09-23 22:07:03 +00:00
Chi Wang
552c30f4c0 cleanup 2023-09-23 22:06:52 +00:00
Beibin Li
3627ca4f2c
Extact_code can detect single-line code now (#2)
* Extact_code can detect single-line code now

* Add comments for RE

* Add test case and adjust UNKNOWN behavior

* Remove tmp test files

* Update autogen/code_utils.py

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-09-21 16:50:44 +00:00