> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Assistant

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

<Note>
  External Documentation

  To learn more, visit the [OpenAI documentation](https://platform.openai.com/docs/api-reference/assistants/createAssistant).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter      | Description                                                                                                                                                                                       |
  | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Assistant Name | The name of the assistant.                                                                                                                                                                        |
  | Instructions   | The system instructions that the assistant uses.<br /><br />For example: "You are a personal math tutor. When asked a question, write and run Python code to answer the question.".               |
  | Model          | The model to use. You can use the `List models` action to get all of your available models, or visit [OpenAI's Model Overview](https://platform.openai.com/docs/models) for descriptions of them. |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter       | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
  | --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Metadata        | Set of key-value pairs that can be attached to an object.<br />Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.                                                                                                                                                                                                                                                                                                                                |
  | Response Format | Specifies 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`.<br />For more information regarding models refer to [OpenAI's Documentation](https://platform.openai.com/docs/api-reference/assistants/createAssistant).                                                                                                                                                                                 |
  | Temperature     | What sampling temperature to use, between `0.0` and `2.0`.<br /><br />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 Resources  | A set of resources that are used by the assistant's tools.<br /><br />Valid format:<br /><pre><code>\{<br />  "\{tool1}":\{<br />    "file\_ids":\[<br />      "file\_id1",<br />      "file\_id2"<br />    ]<br />  },<br />  "\{tool2}":\{<br />    "file\_ids":\[<br />      "file\_id3",<br />      "file\_id4"<br />    ]<br />  }<br />}</code></pre>For more information refer to [OpenAI's Documentation](https://platform.openai.com/docs/api-reference/assistants/createAssistant). |
  | Tools           | A list of tools enabled on the assistant.<br /><br />Valid format:<br /><pre><code>\[<br />  \{<br />      "type": "code\_interpreter"<br />  },<br />  \{<br />      "type": "file\_search"<br />  }<br />]</code></pre>For more information about the `tools` parameter, visit [OpenAI API documentation](https://platform.openai.com/docs/api-reference/assistants/createAssistant).                                                                                                       |
</div>

## Example Output

```json theme={"dark"}
{
	"id": "<string>",
	"object": "<string>",
	"created_at": 653128747,
	"name": "<string>",
	"description": null,
	"model": "<string>",
	"instructions": "<string>",
	"tools": [],
	"top_p": 1,
	"temperature": 2,
	"reasoning_effort": null,
	"tool_resources": {},
	"metadata": {},
	"response_format": "<string>"
}
```

## Workflow Library Example

[Create Assistant with Openai and Send Results Via Email](https://library.blinkops.com/workflows/create-assistant-with-openai-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/create-assistant-with-openai-and-send-results-via-email/canvas" />
</div>
