Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve doc: update optional installation dependencies #13

Merged
merged 13 commits into from
Aug 27, 2024
3 changes: 3 additions & 0 deletions website/docs/Getting-Started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ Microsoft, Penn State University, and University of Washington.
```sh
pip install pyautogen
```
:::tip
You can also install with different [optional dependencies](/docs/installation/Optional-Dependencies).
:::

<Tabs>
<TabItem value="nocode" label="No code execution" default>
Expand Down
25 changes: 14 additions & 11 deletions website/docs/installation/Optional-Dependencies.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Optional Dependencies

## Different LLMs

AutoGen installs OpenAI package by default. To use LLMs by other providers, you can install the following packages:

```bash
pip install pyautogen[gemini,anthropic,mistral,together,groq,cohere]
```

Check out the [notebook](https://github.com/autogen-ai/autogen/blob/main/notebook/autogen_uniformed_api_calling.ipynb) and
sonichi marked this conversation as resolved.
Show resolved Hide resolved
[blogpost](../../blog/2024/06/24/AltModels-Classes) for more details.
sonichi marked this conversation as resolved.
Show resolved Hide resolved

## LLM Caching

To use LLM caching with Redis, you need to install the Python package with
Expand Down Expand Up @@ -36,11 +47,7 @@ proxy = UserProxyAgent(name="proxy", code_execution_config={"executor": "ipython
pip install "pyautogen[blendsearch]<0.2"
```

Example notebooks:

[Optimize for Code Generation](https://github.com/autogen-ai/autogen/blob/main/notebook/oai_completion.ipynb)

[Optimize for Math](https://github.com/autogen-ai/autogen/blob/main/notebook/oai_chatgpt_gpt4.ipynb)
Checkout [Optimize for Code Generation](https://github.com/autogen-ai/autogen/blob/main/notebook/oai_completion.ipynb) and [Optimize for Math](https://github.com/autogen-ai/autogen/blob/main/notebook/oai_chatgpt_gpt4.ipynb) for details.

## retrievechat

Expand Down Expand Up @@ -95,9 +102,7 @@ We offered Multimodal Conversable Agent and LLaVA Agent. Please install with the
pip install "pyautogen[lmm]"
```

Example notebooks:

[LLaVA Agent](https://github.com/autogen-ai/autogen/blob/main/notebook/agentchat_lmm_llava.ipynb)
Example notebook: [LLaVA Agent](/docs/notebooks/agentchat_lmm_llava.ipynb)

## mathchat

Expand All @@ -107,9 +112,7 @@ Example notebooks:
pip install "pyautogen[mathchat]<0.2"
```

Example notebooks:

[Using MathChat to Solve Math Problems](https://github.com/autogen-ai/autogen/blob/main/notebook/agentchat_MathChat.ipynb)
Example notebook: [Using MathChat to Solve Math Problems](https://github.com/autogen-ai/autogen/blob/main/notebook/agentchat_MathChat.ipynb)

## Graph

Expand Down
Loading