Ask a question to get started
Enter to sendā¢Shift+Enter new line
create_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
client
openai.OpenAI | openai.AzureOpenAI | None
None
kwargs
Any
{}
Create an OpenAI Assistant and instantiate the Runnable.
Assistant model to use.
OpenAI or AzureOpenAI client. Will create a default OpenAI client if not specified.
Additional arguments.