3039 Commits

Author SHA1 Message Date
Qingyun Wu
65c14e2332 add figures 2023-09-02 20:37:51 -04:00
Qingyun Wu
45b3f1d80d change back name to flaml 2023-09-02 14:46:20 -04:00
“skzhang1”
2eab9a358e update 2023-09-02 12:15:54 -04:00
Qingyun Wu
87f76f837c wording 2023-09-01 19:57:09 -04:00
Qingyun Wu
1a51ab57b7 update main page 2023-09-01 17:55:32 -04:00
Chi Wang
d835f48632 doc update 2023-08-31 15:37:45 +00:00
Chi Wang
5d8ba794b3 .gitignore 2023-08-31 04:12:20 +00:00
Chi Wang
e8dc1999d5 discord link 2023-08-31 04:10:10 +00:00
Qingyun Wu
8b74d7a698 wording 2023-08-30 17:48:31 -04:00
Qingyun Wu
f687a6c57d naming 2023-08-30 17:27:35 -04:00
Qingyun Wu
95dcd39b08 add autogen documentation 2023-08-30 17:14:48 -04:00
Qingyun Wu
f750e0037f add documentation files 2023-08-30 16:50:59 -04:00
Qingyun Wu
c5fc2fed82 add a tentitive autogen log 2023-08-30 12:03:49 -04:00
Chi Wang
44932712c4
Prompt improvement (#1203)
* prompt improvement

* image None for unsupported lang

* notebook update

* prompt improvement
2023-08-30 00:54:09 +00:00
Li Jiang
f0731e2240
Update readme and AutoGen docs (#1183)
* Update readme and AutoGen docs

* Update Autogen#notebook-examples, Add link to AutoGen arxiv

* Update website/docs/Use-Cases/Autogen.md

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

* Update link

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2023-08-29 13:52:33 +00:00
Kosta Petan
d6b917faf4 Add service to enable github issues workflow (#1)
* big bang gitub workflows

* add missing settings in local.settings.json

* config refactor

* fix devlead plan response

* swap cosmos to table storage for metadata storage

* unify config via options

* azd-ify WIP

* add qdrant bicep WIP

* working azd provision setup

* consolidate SK version in projects

* replace localhost :)

* add fqdn to options

* httpclient fixes

* add managed identity to the function and assign contrib role

* qdrant endpoint setting

* add container instances cleanup code + wait on termination to upload to Github

* formatting fixes

* add tables in bicep

* local getting started WIP

* add azure setup instructions

* add the load-waf bits

* docs WIP

---------

Co-authored-by: Kosta Petan <Kosta.Petan@microsoft.com>
2023-08-28 20:57:56 +02:00
Chi Wang
3a3e11535f
document response fields (#1199) 2023-08-28 03:01:41 +00:00
“skzhang1”
9cfe8c6268 update readme 2023-08-27 21:32:15 -04:00
“skzhang1”
6f5ef68fec web-template 2023-08-27 21:30:54 -04:00
Chi Wang
57a2bea95a
prompt improvement (#1188)
* test

* chart

* plan

* separate

* bump version to 2.0.1

* explain plan and code/lang

* notebook update

* notebook update

* typo

* plan

* match can be None
2023-08-27 22:16:52 +00:00
Yiran Wu
87c2361040
fix generate_reply when sender is None. (#1186)
* fix generate_reply

* code format

* add test case

* update

* update

* Update test/autogen/agentchat/test_responsive_agent.py

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

* Update test/autogen/agentchat/test_responsive_agent.py

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

* Update flaml/autogen/agentchat/responsive_agent.py

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

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-08-25 10:50:22 +00:00
Yiran Wu
07b97eb469
cover function calls with no arguments (#1185) 2023-08-20 05:28:29 +00:00
Microsoft Open Source
d179357881 README.md committed 2023-08-18 04:43:50 -07:00
Microsoft Open Source
a5f2118764 SECURITY.md committed 2023-08-18 04:43:50 -07:00
Microsoft Open Source
67e5956dcb LICENSE committed 2023-08-18 04:43:49 -07:00
Microsoft Open Source
6bb9ef477c LICENSE-CODE committed 2023-08-18 04:43:49 -07:00
Microsoft Open Source
6feef45b00 CODE_OF_CONDUCT.md committed 2023-08-18 04:43:48 -07:00
Chi Wang
7ab4d114d7
silent; code_execution_config; exit; version (#1179)
* silent; code_execution_config; exit; version

* url

* url

* readme

* preview

* doc

* url

* endpoints

* timeout

* chess

* Fix retrieve chat

* config

* mathchat

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
2023-08-14 07:09:45 +00:00
Li Jiang
700ff05874
Add RetrieveChat (#1158)
* Add RetrieveChat notebook, RetrieveAssistantAgent and RetrieveUserProxyAgent

* Update according to comments

* Add output

* Add tests, merge main, address comments

* Fix tests

* Merge main

* Remove unnecessary code

* Update test

* Update notebook, some functions

* Fix print issue

* Update notebook

* Update notebook

* Update notebook

* Improve retrieve utils and update notebook

* Update vector db creation method

* Update notebook

* Update notebook

* Add terminate if no more context

* Update prompt and notebook, add example for update context

* Update results

* Update results

* Update results of update context

* Fix typo

* Add table of contents

* Update table of contents
2023-08-13 12:51:54 +00:00
Sayan Roy
55d2ebb289
Update README.md (#1180)
Updated Readme with installation link
2023-08-12 05:12:22 +00:00
Chi Wang
c44d2f4a01
support async in agents (#1178)
* Make auto reply method pluggable

* support async

* async

* allow richer trigger types

* test list

* rename key
2023-08-08 01:34:47 +00:00
Chi Wang
a603e6dddc
Make auto reply method pluggable (#1177)
* Make auto reply method pluggable

* allow richer trigger types

* test list
2023-08-07 18:41:58 +00:00
Chi Wang
2208dfb79e
Improve auto reply registration (#1170)
* Improve auto reply registration

* object key

* fix test error

* bug fix in math user proxy agent

* allow send/receive without reply

* reset -> stop
2023-08-04 14:26:58 +00:00
Chi Wang
45b7d908e4
consecutive auto reply, history, template, group chat, class-specific reply (#1165)
* max consecutive auto reply

* chess notebook

* link to notebook

* clear history

* filter

* **context -> context

* format str template

* groupchat

* register class specific reply

* groupchat notebook

* move human reply into generate_reply

* arg in config

* colab link

* remove room

* rename
2023-08-03 09:17:20 +00:00
Chi Wang
c48babd02f
raise error when msg is invalid; fix docstr; improve ResponsiveAgent; update doc and packaging; capture ipython output; find code blocks with llm when regex fails. (#1154)
* autogen.agent -> autogen.agentchat

* bug fix in portfolio

* notebook

* timeout

* timeout

* infer lang; close #1150

* timeout

* message context

* context handling

* add sender to generate_reply

* clean up the receive function

* move mathchat to contrib

* contrib

* last_message

* Add OptiGuide: agent and notebook

* Optiguide notebook: add figures and URL
1. figures and code points to remote URL
2. simplify the prompt for the interpreter, because
all information is already in the chat history.

* Update name: Agent -> GenericAgent

* Update notebook

* Rename: GenericAgent -> ResponsiveAgent

* Rebase to autogen.agentchat

* OptiGuide: Comment, sytle, and notebook updates

* simplify optiguide

* raise error when msg is invalid; fix docstr

* allow return None for generate_reply()

* update_system_message

* test update_system_message

* simplify optiguide

* simplify optiguide

* simplify optiguide

* simplify optiguide

* move test

* add test and fix bug

* doc update

* doc update

* doc update

* color

* optiguide

* prompt

* test danger case

* packaging

* docker

* remove path in traceback

* capture ipython output

* simplify

* find code blocks with llm

* find code with llm

* order

* order

* fix bug in context handling

* print executing msg

* print executing msg

* test find code

* test find code

* disable find_code

* default_auto_reply

* default auto reply

* remove optiguide

* remove -e

---------

Co-authored-by: Beibin Li <beibin79@gmail.com>
2023-08-01 02:22:30 +00:00
minghao
da92238ffe
Commenting use_label_encoder - xgboost (#1122)
* Commenting use_label_encoder - xgboost

* format change

* moving the import xgboost version to the head

* Shfit params for use_label to outside maxdept

* Keep the original logic

---------

Co-authored-by: Shaokun <shaokunzhang529@gmail.com>
Co-authored-by: Li Jiang <bnujli@gmail.com>
2023-08-01 01:58:30 +00:00
Yiran Wu
9d857d988b
MathChat blog post (#1096)
* mathchat blog

* Update website/blog/2023-06-28-MathChat/index.mdx

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

* Update website/blog/2023-06-28-MathChat/index.mdx

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

* Update website/blog/2023-06-28-MathChat/index.mdx

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

* Update website/blog/2023-06-28-MathChat/index.mdx

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

* Update website/blog/2023-06-28-MathChat/index.mdx

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

* Update website/blog/2023-06-28-MathChat/index.mdx

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

* update

* forrmat

* update

* delete image

* change link

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2023-07-29 13:13:43 +00:00
Chi Wang
7ddb171cd9
autogen.agent -> autogen.agentchat (#1148)
* autogen.agent -> autogen.agentchat

* bug fix in portfolio

* notebook

* timeout

* timeout

* infer lang; close #1150

* timeout

* message context

* context handling

* add sender to generate_reply

* clean up the receive function

* move mathchat to contrib

* contrib

* last_message
2023-07-29 04:17:51 +00:00
dependabot[bot]
c0580a835b
Bump semver from 5.7.1 to 5.7.2 in /website (#1119)
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Shaokun <shaokunzhang529@gmail.com>
Co-authored-by: Li Jiang <bnujli@gmail.com>
2023-07-27 17:57:07 +00:00
Chi Wang
ecf51f41bb
rename GenericAgent -> ResponsiveAgent (#1146)
* rename GenericAgent -> ResponsiveAgent

* always
2023-07-26 05:22:25 +00:00
Chi Wang
3e7aac6e8b
unify auto_reply; bug fix in UserProxyAgent; reorg agent hierarchy (#1142)
* simplify the initiation of chat

* version update

* include openai

* completion

* load config list from json

* initiate_chat

* oai config list

* oai config list

* config list

* config_list

* raise_error

* retry_time

* raise condition

* oai config list

* catch file not found

* catch openml error

* handle openml error

* handle openml error

* handle openml error

* handle openml error

* handle openml error

* handle openml error

* close #1139

* use property

* termination msg

* AIUserProxyAgent

* smaller dev container

* update notebooks

* match

* document code execution and AIUserProxyAgent

* gpt 3.5 config list

* rate limit

* variable visibility

* remove unnecessary import

* quote

* notebook comments

* remove mathchat from init import

* two users

* import location

* expose config

* return str not tuple

* rate limit

* ipython user proxy

* message

* None result

* rate limit

* rate limit

* rate limit

* rate limit

* make auto_reply a common method for all agents

* abs path

* refactor and doc

* set mathchat_termination

* code format

* modified

* emove import

* code quality

* sender -> messages

* system message

* clean agent hierarchy

* dict check

* invalid oai msg

* return

* openml error

* docstr

---------

Co-authored-by: kevin666aa <yrwu000627@gmail.com>
2023-07-25 23:46:11 +00:00
microsoft-github-policy-service[bot]
69a203ba07 Update issue template for JIT access 2023-07-25 18:24:39 +00:00
startrightprod[bot]
b153352d36 Scaffolding .github/compliance/inventory.yml 2023-07-25 18:24:35 +00:00
startrightprod[bot]
4655a90224 Scaffolding .github/ISSUE_TEMPLATE/JitAccess.yml 2023-07-25 18:24:35 +00:00
startrightprod[bot]
a962cb79ef Scaffolding .github/policies/jit.yml 2023-07-25 18:24:34 +00:00
startrightprod[bot]
57a800f35a Scaffolding .github/policies/branch-protection.yml 2023-07-25 18:24:33 +00:00
Chi Wang
2406e69496
Json config list, agent refactoring and new notebooks (#1133)
* simplify the initiation of chat

* version update

* include openai

* completion

* load config list from json

* initiate_chat

* oai config list

* oai config list

* config list

* config_list

* raise_error

* retry_time

* raise condition

* oai config list

* catch file not found

* catch openml error

* handle openml error

* handle openml error

* handle openml error

* handle openml error

* handle openml error

* handle openml error

* close #1139

* use property

* termination msg

* AIUserProxyAgent

* smaller dev container

* update notebooks

* match

* document code execution and AIUserProxyAgent

* gpt 3.5 config list

* rate limit

* variable visibility

* remove unnecessary import

* quote

* notebook comments

* remove mathchat from init import

* two users

* import location

* expose config

* return str not tuple

* rate limit

* ipython user proxy

* message

* None result

* rate limit

* rate limit

* rate limit

* rate limit
2023-07-23 13:23:09 +00:00
LeoLjl
559fcb4879
Update docs on how to interact with local LLM (#1128)
* Update docstring for oai.completion.

Specify the details of how **config is used in Completion.

* Update docs about how to interact with local LLMs

* Update docs about how to interact with local LLMs

* Reformat file.

* Fix issues.

* Update website/blog/2023-07-14-Local-LLMs/index.mdx

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

* Update website/blog/2023-07-14-Local-LLMs/index.mdx

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

* Update website/docs/Use-Cases/Auto-Generation.md

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

* Add documents about multiple workers.

* Update user instructions.

* Label big fix as optional

* Update website/blog/2023-07-14-Local-LLMs/index.mdx

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

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-07-21 16:12:49 +00:00
Ryan Sweet
e9c4ebe414 update readme 2023-07-19 03:14:11 +00:00
Ryan Sweet
9cead11baf Update README.md 2023-07-18 13:58:28 -07:00