A programming framework for agentic AI
Minor API doc update for openai assistant agent (#4986)
Eric Zhu001f0262babf
diff --git a/python/packages/autogen-ext/src/autogen_ext/agents/openai/_openai_assistant_agent.py b/python/packages/autogen-ext/src/autogen_ext/agents/openai/_openai_assistant_agent.pyindex e4d359cf3..d738a5fae 100644--- a/python/packages/autogen-ext/src/autogen_ext/agents/openai/_openai_assistant_agent.py+++ b/python/packages/autogen-ext/src/autogen_ext/agents/openai/_openai_assistant_agent.py@@ -109,6 +109,8 @@ class OpenAIAssistantAgent(BaseChatAgent):* Vector store integration for efficient file search* Automatic file parsing and embedding+ You can use an existing thread or assistant by providing the `thread_id` or `assistant_id` parameters.+Example:.. code-block:: python@@ -160,6 +162,7 @@ class OpenAIAssistantAgent(BaseChatAgent):instructions (str): System instructions for the assistanttools (Optional[Iterable[Union[Literal["code_interpreter", "file_search"], Tool | Callable[..., Any] | Callable[..., Awaitable[Any]]]]]): Tools the assistant can useassistant_id (Optional[str]): ID of existing assistant to use+ thread_id (Optional[str]): ID of existing thread to usemetadata (Optional[object]): Additional metadata for the assistantresponse_format (Optional[AssistantResponseFormatOptionParam]): Response format settingstemperature (Optional[float]): Temperature for response generation