Skip to content

Commit

Permalink
Minor API doc update for openai assistant agent (#4986)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekzhu authored Jan 10, 2025
1 parent b6c3df2 commit 001f026
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -160,6 +162,7 @@ async def example():
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
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
response_format (Optional[AssistantResponseFormatOptionParam]): Response format settings
temperature (Optional[float]): Temperature for response generation
Expand Down

0 comments on commit 001f026

Please sign in to comment.