Ask a question to get started
Enter to sendā¢Shift+Enter new line
acreate_assistant( cls, name: str, instructions: str, tools: Sequence[Union
name
str
Assistant name.
instructions
Assistant instructions.
tools
Sequence[Union[BaseTool, dict]]
tool_resources
Optional[Union[AssistantToolResources, dict, NotGiven]]
None
model
async_client
Optional[Union[openai.OpenAI, openai.AzureOpenAI]]
Create an AsyncOpenAI Assistant and instantiate the Runnable.
Assistant tools. Can be passed in OpenAI format or as BaseTools.
Assistant tool resources. Can be passed in OpenAI format.
Assistant model to use.
OpenAI or