Skip to main content

Create Virtual Assistant

Create an assistant with a model and instructions. An assistant can call models and use tools to perform tasks.

External Documentation

To learn more, visit the OpenAI documentation.

Basic Parameters

ParameterDescription
Assistant NameThe name of the assistant. The maximum length is 256 characters.
InstructionsThe system instructions that the assistant uses. The maximum length is 256,000 characters.For example: "You are a personal math tutor. When asked a question, write and run Python code to answer the question.".
Model IDID of the model to use. Can be obtained by using the List Models action.For further explanation see OpenAI documentation.

Advanced Parameters

ParameterDescription
MetadataSet of key-value pairs that can be attached to an object.Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.
Response FormatSpecifies the format that the model must output. Compatible with GPT-4o, GPT-4 Turbo, and all GPT-3.5 Turbo models since gpt-3.5-turbo-1106.For more information regarding models refer to OpenAI's Documentation.
TemperatureThe sampling temperature to use, is between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
Tool ResourcesA set of resources that are used by the assistant's tools.For more information refer to OpenAI's Documentation.
ToolsA list of tools enabled on the assistant. There can be a maximum of 128 tools per assistant.
Example:  [    {        "type": "code_interpreter"    },    {        "type": "file_search"    }  ]

Example Output

{
"id": "asst_abc123",
"object": "assistant",
"created_at": 1698984975,
"name": "Math Tutor",
"description": null,
"model": "gpt-4-turbo",
"instructions": "You are a personal math tutor. When asked a question, write and run Python code to answer the question.",
"tools": [
{
"type": "code_interpreter"
}
],
"metadata": {},
"top_p": 1.0,
"temperature": 1.0,aj
"response_format": "auto"
}

Workflow Library Example

Create Virtual Assistant with Openai and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop