# OpenAI

<figure><img src="/files/sO3F3zPrnjK5yHvu718I" alt="" width="375"><figcaption></figcaption></figure>

## These are OpenAI models available on our platform. Each one offers unique settings and abilities:

**`gpt-3.5-turbo:`** Currently points to `gpt-3.5-turbo-0613`. The `gpt-3.5-turbo` model alias will be automatically upgraded from `gpt-3.5-turbo-0613` to `gpt-3.5-turbo-0125` on February 16th, 2024. Data up to Sep 2021.

* [x] Is Assistant
* [x] Code Interpreter
* [x] User Can Upload Files

**`gpt-3.5-turbo-1106:`** GPT-3.5 Turbo model with improved instruction following, JSON mode, reproducible outputs, parallel function calling, and more. Returns a maximum of 4,096 output tokens. Data up to Sep 2021.

* [x] Is Assistant
* [x] Code Interpreter
* [x] File Retrieval
* [x] User Can Upload Files

**`gpt-4:`** Currently points to `gpt-4-0613`. Data up to Sep 2021.

* [x] Is Assistant
* [x] Code Interpreter
* [x] User Can Upload Files

**`gpt-4-1106-preview:`** GPT-4 Turbo model featuring improved instruction following, JSON mode, reproducible outputs, parallel function calling, and more. Returns a maximum of 4,096 output tokens. This is a preview model. Data up to Apr 2023.

* [x] Is Assistant
* [x] Code Interpreter
* [x] File Retrieval
* [x] User Can Upload Files

**`gpt-4-vision-preview:`** GPT-4 with the ability to understand images, in addition to all other GPT-4 Turbo capabilities. Currently points to `gpt-4-1106-vision-preview`. Data up to Apr 2023.

* [x] Is Assistant
* [x] Code Interpreter
* [x] User Can Upload Files

## **Code Interpreter**

Code interpreter is a function of OpenAI which allows assistants to write python code to generate charts or other mathematical calculations for more information follow the link below.

{% embed url="<https://platform.openai.com/docs/assistants/tools/code-interpreter>" %}

## **Knowledge Retrieval**&#x20;

Knowledge Retrieval allows the assistant to work with data from outside the model including documents that are uploaded to the agent. This must be enabled to allow file uploading. For more information follow the link below.

{% embed url="<https://platform.openai.com/docs/assistants/tools/knowledge-retrieval>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aicrisk.com/admin/ai-agents/adding-a-new-agent/agent-engine-properties/openai.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
