mirror of
https://github.com/microsoft/autogen.git
synced 2025-06-26 22:30:10 +00:00
Minor API doc update for openai assistant agent
This commit is contained in:
parent
b6c3df2920
commit
cfee01fc7f
@ -109,6 +109,8 @@ class OpenAIAssistantAgent(BaseChatAgent):
|
|||||||
* Vector store integration for efficient file search
|
* Vector store integration for efficient file search
|
||||||
* Automatic file parsing and embedding
|
* Automatic file parsing and embedding
|
||||||
|
|
||||||
|
You can use an existing thread or assistant by providing the `thread_id` or `assistant_id` parameters.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
@ -160,6 +162,7 @@ class OpenAIAssistantAgent(BaseChatAgent):
|
|||||||
instructions (str): System instructions for the assistant
|
instructions (str): System instructions for the assistant
|
||||||
tools (Optional[Iterable[Union[Literal["code_interpreter", "file_search"], Tool | Callable[..., Any] | Callable[..., Awaitable[Any]]]]]): Tools the assistant can use
|
tools (Optional[Iterable[Union[Literal["code_interpreter", "file_search"], Tool | Callable[..., Any] | Callable[..., Awaitable[Any]]]]]): Tools the assistant can use
|
||||||
assistant_id (Optional[str]): ID of existing assistant to use
|
assistant_id (Optional[str]): ID of existing assistant to use
|
||||||
|
thread_id (Optional[str]): ID of existing thread to use
|
||||||
metadata (Optional[object]): Additional metadata for the assistant
|
metadata (Optional[object]): Additional metadata for the assistant
|
||||||
response_format (Optional[AssistantResponseFormatOptionParam]): Response format settings
|
response_format (Optional[AssistantResponseFormatOptionParam]): Response format settings
|
||||||
temperature (Optional[float]): Temperature for response generation
|
temperature (Optional[float]): Temperature for response generation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user