# Open AI

## Overview

OpenAI integration in LLM Labs lets you connect and manage OpenAI chat-completion models, making them available for evaluation and deployment in LLM Labs.

## **Setup**

1. Click **Manage providers** then select **OpenAI** in the dialog that appears.

   <figure><img src="/files/nOG9tl14VjkPnxbmYUsO" alt=""><figcaption></figcaption></figure>
2. Enter your API key. [Learn more about how to find your OpenAI API key.](https://platform.openai.com/api-keys)

   <figure><img src="/files/EFJ3mFIKqBiHAXqSYEDc" alt=""><figcaption></figcaption></figure>
3. Click **Add Credentials**. After the connection is successful, all models available through your API key will be synced to Datasaur.

## **Disconnect**

1. Click **Manage providers**, then click **View details** on OpenAI provider.

   <figure><img src="/files/4YoeddYFytxouiX7r8vF" alt=""><figcaption></figcaption></figure>
2. In the dialog that opens, click **Disconnect** at the bottom left.

   <figure><img src="/files/4ZLLZ9hbgTbantarLbQw" alt=""><figcaption></figcaption></figure>
3. All OpenAI models linked to that API key will be removed from the workspace.


---

# 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.datasaur.ai/llm-projects/models/open-ai.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.
