Browse Source

Update OpenAIAssistantAgent doc (#6870)

tags/python-v0.7.1.post1
Eric Zhu GitHub 11 months ago
parent
commit
e85eea88f2
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 7 deletions
  1. +2
    -7
      python/packages/autogen-ext/src/autogen_ext/agents/openai/_openai_assistant_agent.py

+ 2
- 7
python/packages/autogen-ext/src/autogen_ext/agents/openai/_openai_assistant_agent.py View File

@@ -93,17 +93,12 @@ class OpenAIAssistantAgentState(BaseModel):
class OpenAIAssistantAgent(BaseChatAgent):
"""An agent implementation that uses the Assistant API to generate responses.

.. warning::

This module is deprecated starting v0.7.0 and will be removed in a future version.
Please use :class:`~autogen_ext.agents.openai.OpenAIAgent` instead.

Installation:

.. code-block:: bash

pip install "autogen-ext[openai<1.83]" # For OpenAI Assistant
# pip install "autogen-ext[openai<1.83,azure]" # For Azure OpenAI Assistant
pip install "autogen-ext[openai]" # For OpenAI Assistant
# pip install "autogen-ext[openai,azure]" # For Azure OpenAI Assistant


This agent leverages the Assistant API to create AI assistants with capabilities like:


Loading…
Cancel
Save