Ask a question to get started
Enter to sendā¢Shift+Enter new line
acreate_assistant( cls, name: str, instructions: str, tools: Sequence[BaseTool
name
str
Assistant name.
instructions
Assistant instructions.
tools
Sequence[BaseTool | dict]
Assistant tools. Can be passed in OpenAI format or as BaseTools.
model
async_client
openai.AsyncOpenAI | openai.AsyncAzureOpenAI | None
None
**kwargs
Any
{}
Async create an AsyncOpenAI Assistant and instantiate the Runnable.
Assistant model to use.
AsyncOpenAI client. Will create default async_client if not specified.
Additional arguments.