Skip to content

A programming framework for agentic AI

Merge remote-tracking branch 'upstream/main' into code

Chi Wang4685f27d02ec
diff --cc .github/workflows/deploy-website.yml
index 89b08f679,90cdb13f0..28df0eea2
--- a/.github/workflows/deploy-website.yml
+++ b/.github/workflows/deploy-website.yml
@@@ -4,11 -4,13 +4,13 @@@ on
pull_request:
branches: [main]
path:
- - 'flaml/*'
++ - 'autogen/*'
- 'website/*'
- '.github/workflows/deploy-website.yml'
push:
branches: [main]
path:
- - 'flaml/*'
++ - 'autogen/*'
- 'website/*'
- '.github/workflows/deploy-website.yml'
workflow_dispatch:
@@@ -31,6 -35,13 +33,13 @@@ jobs
uses: actions/setup-python@v4
with:
python-version: "3.8"
+ - name: pydoc-markdown install
+ run: |
+ python -m pip install --upgrade pip
- pip install pydoc-markdown==4.5.0
++ pip install pydoc-markdown
+ - name: pydoc-markdown run
+ run: |
+ pydoc-markdown
- name: Test Build
run: |
if [ -e yarn.lock ]; then
@@@ -58,6 -71,13 +67,13 @@@
uses: actions/setup-python@v4
with:
python-version: "3.8"
+ - name: pydoc-markdown install
+ run: |
+ python -m pip install --upgrade pip
- pip install pydoc-markdown==4.5.0
++ pip install pydoc-markdown
+ - name: pydoc-markdown run
+ run: |
+ pydoc-markdown
- name: Build website
run: |
if [ -e yarn.lock ]; then
diff --cc .gitignore
index 608aa2a98,3e16e374a..bb99e22a6
--- a/.gitignore
+++ b/.gitignore
@@@ -1,2 -1,167 +1,161 @@@
+.docusaurus/
- node_modules/
++node_modules/
+ # Project
+ /.vs
+ .vscode
+
+ # Log files
+ *.log
+
+ # Python virtualenv
+ .venv
+
+ # Byte-compiled / optimized / DLL files
+ __pycache__/
+ *.py[cod]
+ *$py.class
+
+ # C extensions
+ *.so
+
+ # Distribution / packaging
+ .Python
+ build/
+ develop-eggs/
+ dist/
+ downloads/
+ eggs/
+ .eggs/
+ lib/
+ lib64/
+ parts/
+ sdist/
+ var/
+ wheels/
+ share/python-wheels/
+ *.egg-info/
+ .installed.cfg
+ *.egg
+ MANIFEST
+
+ # PyInstaller
+ # Usually these files are written by a python script from a template
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
+ *.manifest
+ *.spec
+
+ # Installer logs
+ pip-log.txt
+ pip-delete-this-directory.txt
+
+ # Unit test / coverage reports
+ htmlcov/
+ .tox/
+ .nox/
+ .coverage
+ .coverage.*
+ .cache
+ nosetests.xml
+ coverage.xml
+ *.cover
+ *.py,cover
+ .hypothesis/
+ .pytest_cache/
+ cover/
+
+ # Translations
+ *.mo
+ *.pot
+
+ # Django stuff:
+ *.log
+ local_settings.py
+ db.sqlite3
+ db.sqlite3-journal
+
+ # Flask stuff:
+ instance/
+ .webassets-cache
+
+ # Scrapy stuff:
+ .scrapy
+
+ # Sphinx documentation
+ docs/_build/
+
+ # PyBuilder
+ .pybuilder/
+ target/
+
+ # Jupyter Notebook
+ .ipynb_checkpoints
+
+ # IPython
+ profile_default/
+ ipython_config.py
+
+ # pyenv
+ # For a library or package, you might want to ignore these files since the code is
+ # intended to run in multiple environments; otherwise, check them in:
+ # .python-version
+
+ # pipenv
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
+ # install all needed dependencies.
+ #Pipfile.lock
+
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
+ __pypackages__/
+
+ # Celery stuff
+ celerybeat-schedule
+ celerybeat.pid
+
+ # SageMath parsed files
+ *.sage.py
+
+ # Environments
+ .env
+ .venv
+ env/
+ venv/
+ ENV/
+ env.bak/
+ venv.bak/
+
+ # Spyder project settings
+ .spyderproject
+ .spyproject
+
+ # Rope project settings
+ .ropeproject
+
+ # mkdocs documentation
+ /site
+
+ # mypy
+ .mypy_cache/
+ .dmypy.json
+ dmypy.json
+
+ # Pyre type checker
+ .pyre/
+
+ # pytype static type analyzer
+ .pytype/
+
+ # Cython debug symbols
+ cython_debug/
+
-catboost_info
-notebook/*.pkl
-notebook/.azureml
-mlruns
+ logs
-automl.pkl
+
+ .idea/*
+ .DS_Store
+
-test/nlp/testtmp.py
-test/nlp/testtmpfl.py
+ output/
-flaml/tune/spark/mylearner.py
+ *.pkl
+
+ # local config files
+ *.config.local
diff --cc README.md
index 50ad99183,75dd39e34..6aecdb3f3
--- a/README.md
+++ b/README.md
@@@ -1,9 -1,142 +1,117 @@@
-[![PyPI version](https://badge.fury.io/py/FLAML.svg)](https://badge.fury.io/py/FLAML)
-![Conda version](https://img.shields.io/conda/vn/conda-forge/flaml)
-[![Build](https://github.com/microsoft/FLAML/actions/workflows/python-package.yml/badge.svg)](https://github.com/microsoft/FLAML/actions/workflows/python-package.yml)
+
+# Contributing
+
+This project welcomes contributions and suggestions. Most contributions require you to agree to a
+Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
+the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
++[![PyPI version](https://badge.fury.io/py/pyautogen.svg)](https://badge.fury.io/py/pyautogen)
++<!-- ![Conda version](https://img.shields.io/conda/vn/conda-forge/flaml) -->
++[![Build](https://github.com/microsoft/autogen/actions/workflows/python-package.yml/badge.svg)](https://github.com/microsoft/autogen/actions/workflows/python-package.yml)
+ ![Python Version](https://img.shields.io/badge/3.8%20%7C%203.9%20%7C%203.10-blue)
-[![Downloads](https://pepy.tech/badge/flaml)](https://pepy.tech/project/flaml)
++<!-- [![Downloads](https://pepy.tech/badge/flaml)](https://pepy.tech/project/flaml) -->
+ [![](https://img.shields.io/discord/1025786666260111483?logo=discord&style=flat)](https://discord.gg/Cppx2vSPVP)
+ <!-- [![Join the chat at https://gitter.im/FLAMLer/community](https://badges.gitter.im/FLAMLer/community.svg)](https://gitter.im/FLAMLer/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) -->
+
+
-# A Fast Library for Automated Machine Learning & Tuning
++# AutoGen
+
-<p align="center">
++<!-- <p align="center">
+ <img src="https://github.com/microsoft/FLAML/blob/main/website/static/img/flaml.svg" width=200>
+ <br>
-</p>
++</p> -->
+
-:fire: Heads-up: We're preparing to migrate [autogen](https://microsoft.github.io/FLAML/docs/Use-Cases/Autogen) into a dedicated github repository. Alongside this move, we'll also launch a dedicated Discord server and a website for comprehensive documentation.
++<!-- :fire: Heads-up: We're preparing to migrate [autogen](https://microsoft.github.io/FLAML/docs/Use-Cases/Autogen) into a dedicated github repository. Alongside this move, we'll also launch a dedicated Discord server and a website for comprehensive documentation.
+
+ :fire: The automated multi-agent chat framework in [autogen](https://microsoft.github.io/FLAML/docs/Use-Cases/Autogen) is in preview from v2.0.0.
+
+ :fire: FLAML is highlighted in OpenAI's [cookbook](https://github.com/openai/openai-cookbook#related-resources-from-around-the-web).
+
+ :fire: [autogen](https://microsoft.github.io/FLAML/docs/Use-Cases/Autogen) is released with support for ChatGPT and GPT-4, based on [Cost-Effective Hyperparameter Optimization for Large Language Model Generation Inference](https://arxiv.org/abs/2303.04673).
+
-:fire: FLAML supports Code-First AutoML & Tuning – Private Preview in [Microsoft Fabric Data Science](https://learn.microsoft.com/en-us/fabric/data-science/).
++:fire: FLAML supports Code-First AutoML & Tuning – Private Preview in [Microsoft Fabric Data Science](https://learn.microsoft.com/en-us/fabric/data-science/). -->
++
+
++## What is AutoGen
+
-## What is FLAML
-FLAML is a lightweight Python library for efficient automation of machine
-learning and AI operations. It automates workflow based on large language models, machine learning models, etc.
-and optimizes their performance.
++AutoGen is a framework that enables development of LLM applications using multiple agents that can converse with each other to solve task. AutoGen agents are customizable, conversable, and seamlessly allow human participation. They can operate in various modes that employ combinations of LLMs, human inputs, and tools.
+
-* FLAML enables building next-gen GPT-X applications based on multi-agent conversations with minimal effort. It simplifies the orchestration, automation and optimization of a complex GPT-X workflow. It maximizes the performance of GPT-X models and augments their weakness.
-* For common machine learning tasks like classification and regression, it quickly finds quality models for user-provided data with low computational resources. It is easy to customize or extend. Users can find their desired customizability from a smooth range.
-* It supports fast and economical automatic tuning (e.g., inference hyperparameters for foundation models, configurations in MLOps/LMOps workflows, pipelines, mathematical/statistical models, algorithms, computing experiments, software configurations), capable of handling large search space with heterogeneous evaluation cost and complex constraints/guidance/early stopping.
++![AutoGen Overview](https://github.com/microsoft/autogen/blob/main/website/static/img/autogen_agentchat.png)
+
-FLAML is powered by a series of [research studies](/docs/Research) from Microsoft Research and collaborators such as Penn State University, Stevens Institute of Technology, University of Washington, and University of Waterloo.
++* AutoGen enables building next-gen LLM applications based on **multi-agent conversations** with minimal effort. It simplifies the orchestration, automation and optimization of a complex LLM workflow. It maximizes the performance of LLM models and overcome their weaknesses.
++* It supports **diverse conversation patterns** for complex workflows. With customizable and conversable agents, developers can use AutoGen to build a wide range of conversation patterns concerning conversation autonomy,
++the number of agents, and agent conversation topology.
++* It provides a collection of working systems with different complexities. These systems span a **wide range of applications** from various domains and complexities. They demonstrate how AutoGen can easily support different conversation patterns.
++* AutoGen provides a drop-in replacement of `openai.Completion` or `openai.ChatCompletion` as an **enhanced inference API**. It allows easy performance tuning, utilities like API unification & caching, and advanced usage patterns, such as error handling, multi-config inference, context programming etc.
+
-FLAML has a .NET implementation in [ML.NET](http://dot.net/ml), an open-source, cross-platform machine learning framework for .NET.
++AutoGen is powered by collaborative [research studies](/docs/Research) from Microsoft, Penn State University, and University of Washington.
+
+ ## Installation
+
-FLAML requires **Python version >= 3.8**. It can be installed from pip:
++AutoGen requires **Python version >= 3.8**. It can be installed from pip:
+
+ ```bash
-pip install flaml
++pip install pyautogen
+ ```
+
-Minimal dependencies are installed without extra options. You can install extra options based on the feature you need. For example, use the following to install the dependencies needed by the [`autogen`](https://microsoft.github.io/FLAML/docs/Use-Cases/Autogen) package.
++<!-- Minimal dependencies are installed without extra options. You can install extra options based on the feature you need.
++For example, use the following to install the dependencies needed by the [`autogen`](https://microsoft.github.io/FLAML/docs/Use-Cases/Autogen) package.
+ ```bash
+ pip install "flaml[autogen]"
+ ```
+
-Find more options in [Installation](https://microsoft.github.io/FLAML/docs/Installation).
-Each of the [`notebook examples`](https://github.com/microsoft/FLAML/tree/main/notebook) may require a specific option to be installed.
++Find more options in [Installation](https://microsoft.github.io/autogen/docs/Installation).
++Each of the [`notebook examples`](https://github.com/microsoft/FLAML/tree/main/notebook) may require a specific option to be installed. -->
+
+ ## Quickstart
+
-* (New) The [autogen](https://microsoft.github.io/FLAML/docs/Use-Cases/Autogen) package enables the next-gen GPT-X applications with a generic multi-agent conversation framework.
-It offers customizable and conversable agents which integrate LLMs, tools and human.
++* Autogen enables the next-gen LLM applications with a generic multi-agent conversation framework. It offers customizable and conversable agents which integrate LLMs, tools and human.
+ By automating chat among multiple capable agents, one can easily make them collectively perform tasks autonomously or with human feedback, including tasks that require using tools via code. For example,
+ ```python
-from flaml import autogen
-assistant = autogen.AssistantAgent("assistant")
-user_proxy = autogen.UserProxyAgent("user_proxy")
-user_proxy.initiate_chat(assistant, message="Show me the YTD gain of 10 largest technology companies as of today.")
++from autogen import AssistantAgent, UserProxyAgent
++assistant = AssistantAgent("assistant")
++user_proxy = UserProxyAgent("user_proxy")
++user_proxy.initiate_chat(assistant, message="Plot a chart of META and TESLA stock price change YTD.")
+ # This initiates an automated chat between the two agents to solve the task
+ ```
+
-Autogen also helps maximize the utility out of the expensive LLMs such as ChatGPT and GPT-4. It offers a drop-in replacement of `openai.Completion` or `openai.ChatCompletion` with powerful functionalites like tuning, caching, templating, filtering. For example, you can optimize generations by LLM with your own tuning data, success metrics and budgets.
++The figure below shows an example conversation flow with AutoGen.
++![Agent Chat Example](https://github.com/microsoft/autogen/blob/main/website/static/img/chat_example.png)
++
++* Autogen also helps maximize the utility out of the expensive LLMs such as ChatGPT and GPT-4. It offers a drop-in replacement of `openai.Completion` or `openai.ChatCompletion` with powerful functionalites like tuning, caching, error handling, templating. For example, you can optimize generations by LLM with your own tuning data, success metrics and budgets.
+ ```python
+ # perform tuning
+ config, analysis = autogen.Completion.tune(
+ data=tune_data,
+ metric="success",
+ mode="max",
+ eval_func=eval_func,
+ inference_budget=0.05,
+ optimization_budget=3,
+ num_samples=-1,
+ )
+ # perform inference for a test instance
+ response = autogen.Completion.create(context=test_instance, **config)
+ ```
-* With three lines of code, you can start using this economical and fast
-AutoML engine as a [scikit-learn style estimator](https://microsoft.github.io/FLAML/docs/Use-Cases/Task-Oriented-AutoML).
-
-```python
-from flaml import AutoML
-automl = AutoML()
-automl.fit(X_train, y_train, task="classification")
-```
-
-* You can restrict the learners and use FLAML as a fast hyperparameter tuning
-tool for XGBoost, LightGBM, Random Forest etc. or a [customized learner](https://microsoft.github.io/FLAML/docs/Use-Cases/Task-Oriented-AutoML#estimator-and-search-space).
-
-```python
-automl.fit(X_train, y_train, task="classification", estimator_list=["lgbm"])
-```
-
-* You can also run generic hyperparameter tuning for a [custom function](https://microsoft.github.io/FLAML/docs/Use-Cases/Tune-User-Defined-Function).
-
-```python
-from flaml import tune
-tune.run(evaluation_function, config={…}, low_cost_partial_config={…}, time_budget_s=3600)
-```
-
-* [Zero-shot AutoML](https://microsoft.github.io/FLAML/docs/Use-Cases/Zero-Shot-AutoML) allows using the existing training API from lightgbm, xgboost etc. while getting the benefit of AutoML in choosing high-performance hyperparameter configurations per task.
-
-```python
-from flaml.default import LGBMRegressor
-
-# Use LGBMRegressor in the same way as you use lightgbm.LGBMRegressor.
-estimator = LGBMRegressor()
-# The hyperparameters are automatically set according to the training data.
-estimator.fit(X_train, y_train)
-```
+
+ ## Documentation
+
-You can find a detailed documentation about FLAML [here](https://microsoft.github.io/FLAML/).
++You can find a detailed documentation about AutoGen [here](https://microsoft.github.io/autogen/).
+
+ In addition, you can find:
+
-- [Research](https://microsoft.github.io/FLAML/docs/Research) and [blogposts](https://microsoft.github.io/FLAML/blog) around FLAML.
++- [Research](https://microsoft.github.io/autogen/docs/Research) and [blogposts](https://microsoft.github.io/autogen/blog) around AutoGen.
+
+ - [Discord](https://discord.gg/Cppx2vSPVP).
+
-- [Contributing guide](https://microsoft.github.io/FLAML/docs/Contribute).
-
-- ML.NET documentation and tutorials for [Model Builder](https://learn.microsoft.com/dotnet/machine-learning/tutorials/predict-prices-with-model-builder), [ML.NET CLI](https://learn.microsoft.com/dotnet/machine-learning/tutorials/sentiment-analysis-cli), and [AutoML API](https://learn.microsoft.com/dotnet/machine-learning/how-to-guides/how-to-use-the-automl-api).
++- [Contributing guide](https://microsoft.github.io/autogen/docs/Contribute).
+
+ ## Contributing
+
+ This project welcomes contributions and suggestions. Most contributions require you to agree to a
+ Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
+ the rights to use your contribution. For details, visit <https://cla.opensource.microsoft.com>.
+
+ If you are new to GitHub [here](https://help.github.com/categories/collaborating-with-issues-and-pull-requests/) is a detailed help source on getting involved with development on GitHub.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
diff --cc website/docs/Contribute.md
index e9a89d3ae,28f918d1f..0b255191d
--- a/website/docs/Contribute.md
+++ b/website/docs/Contribute.md
@@@ -57,8 -57,67 +56,65 @@@ There is currently no formal reviewer s
## Developing
- Please find the a general developing guide for AutoGen in FLAML [here](https://microsoft.github.io/FLAML/docs/Contribute#developing).
- Detailed guidence for developing with AutoGen will be added soon.
+ ### Setup
+
+ ```bash
-git clone https://github.com/microsoft/FLAML.git
-pip install -e FLAML[notebook,autogen]
++git clone https://github.com/microsoft/autogen.git
++pip install -e autogen
+ ```
+
-In case the `pip install` command fails, try escaping the brackets such as `pip install -e FLAML\[notebook,autogen\]`.
-
+ ### Docker
+
-We provide a simple [Dockerfile](https://github.com/microsoft/FLAML/blob/main/Dockerfile).
++We provide a simple [Dockerfile](https://github.com/microsoft/autogen/blob/main/Dockerfile).
+
+ ```bash
-docker build https://github.com/microsoft/FLAML.git#main -t flaml-dev
-docker run -it flaml-dev
++docker build https://github.com/microsoft/autogen.git#main -t autogen-dev
++docker run -it autogen-dev
+ ```
+
+ ### Develop in Remote Container
+
-If you use vscode, you can open the FLAML folder in a [Container](https://code.visualstudio.com/docs/remote/containers).
-We have provided the configuration in [devcontainer](https://github.com/microsoft/FLAML/blob/main/.devcontainer).
++If you use vscode, you can open the autogen folder in a [Container](https://code.visualstudio.com/docs/remote/containers).
++We have provided the configuration in [devcontainer](https://github.com/microsoft/autogen/blob/main/.devcontainer).
+
+ ### Pre-commit
+
+ Run `pre-commit install` to install pre-commit into your git hooks. Before you commit, run
+ `pre-commit run` to check if you meet the pre-commit requirements. If you use Windows (without WSL) and can't commit after installing pre-commit, you can run `pre-commit uninstall` to uninstall the hook. In WSL or Linux this is supposed to work.
+
+ ### Coverage
+
-Any code you commit should not decrease coverage. To run all unit tests, install the [test] option under FLAML/:
++Any code you commit should not decrease coverage. To run all unit tests, install the [test] option:
+
+ ```bash
+ pip install -e."[test]"
+ coverage run -m pytest test
+ ```
+
+ Then you can see the coverage report by
+ `coverage report -m` or `coverage html`.
+
+ ### Documentation
+
+ To build and test documentation locally, install [Node.js](https://nodejs.org/en/download/). For example,
+
+ ```bash
+ nvm install --lts
+ ```
+
+ Then:
+
+ ```console
+ npm install --global yarn # skip if you use the dev container we provided
-pip install pydoc-markdown==4.5.0 # skip if you use the dev container we provided
++pip install pydoc-markdown # skip if you use the dev container we provided
+ cd website
+ yarn install --frozen-lockfile --ignore-engines
+ pydoc-markdown
+ yarn start
+ ```
+
+ The last command starts a local development server and opens up a browser window.
+ Most changes are reflected live without having to restart the server.
Note:
- some tips in this guide are based off the contributor guide from [ray](https://docs.ray.io/en/latest/ray-contribute/getting-involved.html), [scikit-learn](https://scikit-learn.org/stable/developers/contributing.html), [hummingbird](https://github.com/microsoft/hummingbird/blob/main/CONTRIBUTING.md), or [FLAML](https://microsoft.github.io/FLAML/docs/Contribute).
-some tips in this guide are based off the contributor guide from [ray](https://docs.ray.io/en/latest/ray-contribute/getting-involved.html), [scikit-learn](https://scikit-learn.org/stable/developers/contributing.html), or [hummingbird](https://github.com/microsoft/hummingbird/blob/main/CONTRIBUTING.md).
++some tips in this guide are based off the contributor guide from [flaml](https://microsoft.github.io/FLAML/docs/Contribute).
diff --cc website/docs/Getting-Started.md
index 27c723b52,a8889d711..7f83ec645
--- a/website/docs/Getting-Started.md
+++ b/website/docs/Getting-Started.md
@@@ -20,17 -16,20 +20,17 @@@ AutoGen is powered by collaborative [re
### Quickstart
-Install FLAML from pip: `pip install flaml`. Find more options in [Installation](/docs/Installation).
-
-There are several ways of using flaml:
+Install AutoGen from pip: `pip install "flaml[autogen]"`. Find more options in [Installation](/docs/Installation).
-#### (New) [Autogen](/docs/Use-Cases/Autogen)
-Autogen enables the next-gen GPT-X applications with a generic multi-agent conversation framework.
-It offers customizable and conversable agents which integrate LLMs, tools and human.
+#### Multi-Agent Conversation Framework
+Autogen enables the next-gen LLM applications with a generic multi-agent conversation framework. It offers customizable and conversable agents which integrate LLMs, tools and human.
By automating chat among multiple capable agents, one can easily make them collectively perform tasks autonomously or with human feedback, including tasks that require using tools via code. For example,
```python
-from flaml import autogen
-assistant = autogen.AssistantAgent("assistant")
-user_proxy = autogen.UserProxyAgent("user_proxy")
-user_proxy.initiate_chat(assistant, message="Show me the YTD gain of 10 largest technology companies as of today.")
+from flaml.autogen import AssistantAgent, UserProxyAgent
+assistant = AssistantAgent("assistant")
+user_proxy = UserProxyAgent("user_proxy")
- user_proxy.initiate_chat(assistant, message="PLot a chart of META and TESLA stock price change YTD.")
++user_proxy.initiate_chat(assistant, message="Plot a chart of META and TESLA stock price change YTD.")
# This initiates an automated chat between the two agents to solve the task
```
@@@ -65,4 -125,4 +65,4 @@@ response = autogen.Completion.create(co
If you like our project, please give it a [star](https://github.com/microsoft/FLAML/stargazers) on GitHub. If you are interested in contributing, please read [Contributor's Guide](/docs/Contribute).
--<iframe src="https://ghbtns.com/github-btn.html?user=microsoft&amp;repo=FLAML&amp;type=star&amp;count=true&amp;size=large" frameborder="0" scrolling="0" width="170" height="30" title="GitHub"></iframe>
++<!-- <iframe src="https://ghbtns.com/github-btn.html?user=microsoft&amp;repo=FLAML&amp;type=star&amp;count=true&amp;size=large" frameborder="0" scrolling="0" width="170" height="30" title="GitHub"></iframe> -->
diff --cc website/docs/Installation.md
index 4f94b4d4f,8e03f927c..d4a6a0eb4
--- a/website/docs/Installation.md
+++ b/website/docs/Installation.md
@@@ -2,13 -2,130 +2,13 @@@
## Python
-FLAML requires **Python version >= 3.7**. It can be installed from pip:
+AutoGen requires **Python version >= 3.8**. It can be installed from pip:
```bash
- pip install "flaml[autogen]"
-pip install flaml
++pip install "pyautogen"
```
--
++<!--
or conda:
```
-conda install flaml -c conda-forge
-```
-
-### Optional Dependencies
-
-#### [Autogen](Use-Cases/Autogen)
-
-```bash
-pip install "flaml[autogen]"
-```
-
-#### [Task-oriented AutoML](Use-Cases/Task-Oriented-AutoML)
-
-```bash
-pip install "flaml[automl]"
-```
-
-#### Extra learners/models
-
-* openai models
-```bash
-pip install "flaml[openai]"
-```
-* catboost
-```bash
-pip install "flaml[catboost]"
-```
-* vowpal wabbit
-```bash
-pip install "flaml[vw]"
-```
-* time series forecaster: prophet, statsmodels
-```bash
-pip install "flaml[forecast]"
-```
-* huggingface transformers
-```bash
-pip install "flaml[hf]"
-```
-
-#### Notebook
-
-To run the [notebook examples](https://github.com/microsoft/FLAML/tree/main/notebook),
-install flaml with the [notebook] option:
-
-```bash
-pip install "flaml[notebook]"
-```
-
-#### Distributed tuning
-
-* ray
-```bash
-pip install "flaml[ray]"
-```
-* spark
-> *Spark support is added in v1.1.0*
-```bash
-pip install "flaml[spark]>=1.1.0"
-```
-
-For cloud platforms such as [Azure Synapse](https://azure.microsoft.com/en-us/products/synapse-analytics/), Spark clusters are provided.
-But you may also need to install `Spark` manually when setting up your own environment.
-For latest Ubuntu system, you can install Spark 3.3.0 standalone version with below script.
-For more details of installing Spark, please refer to [Spark Doc](https://spark.apache.org/docs/latest/api/python/getting_started/install.html).
-```bash
-sudo apt-get update && sudo apt-get install -y --allow-downgrades --allow-change-held-packages --no-install-recommends \
- ca-certificates-java ca-certificates openjdk-17-jdk-headless \
- && sudo apt-get clean && sudo rm -rf /var/lib/apt/lists/*
-wget --progress=dot:giga "https://www.apache.org/dyn/closer.lua/spark/spark-3.3.0/spark-3.3.0-bin-hadoop2.tgz?action=download" \
- -O - | tar -xzC /tmp; archive=$(basename "spark-3.3.0/spark-3.3.0-bin-hadoop2.tgz") \
- bash -c "sudo mv -v /tmp/\${archive/%.tgz/} /spark"
-export SPARK_HOME=/spark
-export PYTHONPATH=/spark/python/lib/py4j-0.10.9.5-src.zip:/spark/python
-export PATH=$PATH:$SPARK_HOME/bin
-```
-
-* nni
-```bash
-pip install "flaml[nni]"
-```
-* blendsearch
-```bash
-pip install "flaml[blendsearch]"
-```
-
-* synapse
-> *To install flaml in Azure Synapse and similar cloud platform*
-```bash
-pip install flaml[synapse]
-```
-
-#### Test and Benchmark
-
-* test
-```bash
-pip install flaml[test]
-```
-* benchmark
-```bash
-pip install flaml[benchmark]
-```
-
-## .NET
-
-FLAML has a .NET implementation in [ML.NET](http://dot.net/ml), an open-source, cross-platform machine learning framework for .NET.
-
-You can use FLAML in .NET in the following ways:
-
-**Low-code**
-
-- [*Model Builder*](https://dotnet.microsoft.com/apps/machinelearning-ai/ml-dotnet/model-builder) - A Visual Studio extension for training ML models using FLAML. For more information on how to install the, see the [install Model Builder](https://docs.microsoft.com/dotnet/machine-learning/how-to-guides/install-model-builder?tabs=visual-studio-2022) guide.
-- [*ML.NET CLI*](https://docs.microsoft.com/dotnet/machine-learning/automate-training-with-cli) - A dotnet CLI tool for training machine learning models using FLAML on Windows, MacOS, and Linux. For more information on how to install the ML.NET CLI, see the [install the ML.NET CLI](https://docs.microsoft.com/dotnet/machine-learning/how-to-guides/install-ml-net-cli?tabs=windows) guide.
-
-**Code-first**
-
-- [*Microsoft.ML.AutoML*](https://www.nuget.org/packages/Microsoft.ML.AutoML/0.20.0-preview.22313.1) - NuGet package that provides direct access to the FLAML AutoML APIs that power low-code solutions like Model Builder and the ML.NET CLI. For more information on installing NuGet packages, see the install and use a NuGet package in [Visual Studio](https://docs.microsoft.com/nuget/quickstart/install-and-use-a-package-in-visual-studio) or [dotnet CLI](https://docs.microsoft.com/nuget/quickstart/install-and-use-a-package-using-the-dotnet-cli) guides.
-
-To get started with the ML.NET API and AutoML, see the [csharp-notebooks](https://github.com/dotnet/csharp-notebooks#machine-learning).
+conda install "flaml[autogen]" -c conda-forge
- ```
++``` -->
diff --cc website/docusaurus.config.js
index 3eb677bf5,715727bd4..56bd7fb6c
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@@ -26,15 -26,21 +26,21 @@@ module.exports =
position: 'left',
label: 'Docs',
},
- // {to: 'blog', label: 'Blog', position: 'left'},
- // {
- // type: 'doc',
- // docId: 'FAQ',
- // position: 'left',
- // label: 'FAQ',
- // },
{
- href: 'https://github.com/microsoft/FLAML',
+ type: 'doc',
- docId: 'reference/automl/automl',
++ docId: 'reference/agentchat/conversable_agent',
+ position: 'left',
+ label: 'SDK',
+ },
+ {to: 'blog', label: 'Blog', position: 'left'},
+ {
+ type: 'doc',
+ docId: 'FAQ',
+ position: 'left',
+ label: 'FAQ',
+ },
+ {
- href: 'https://github.com/microsoft/FLAML',
++ href: 'https://github.com/microsoft/autogen',
label: 'GitHub',
position: 'right',
},
@@@ -63,10 -69,23 +69,10 @@@
label: 'Discord',
href: 'https://discord.gg/Cppx2vSPVP',
},
- // // {
- // // label: 'Twitter',
- // // href: 'https://twitter.com/docusaurus',
- // // },
],
},
- // {
- // title: 'More',
- // items: [
- // {
- // label: 'GitHub',
- // href: 'https://github.com/microsoft/FLAML',
- // },
- // ],
- // },
],
- copyright: `Copyright © ${new Date().getFullYear()} AutoGen Authors. Built with Docusaurus.`,
- copyright: `Copyright © ${new Date().getFullYear()} FLAML Authors. Built with Docusaurus.`,
++ copyright: `Copyright © ${new Date().getFullYear()} AutoGen Authors.`,
},
},
presets: [
diff --cc website/src/pages/index.js
index 029394980,75c668aae..fdbdb6cd0
--- a/website/src/pages/index.js
+++ b/website/src/pages/index.js
@@@ -17,7 -17,7 +17,7 @@@ function HomepageHeader()
<Link
className="button button--secondary button--lg"
to="/docs/getting-started">
- AutoGen Getting Started - 5min ⏱️
- FLAML Getting Started - 5min ⏱️
++ Getting Started - 5min ⏱️
</Link>
</div>
</div>