# OpenAI

On Epsilla Cloud, you can enable OpenAI integration by providing your OpenAI API key (we securely manage your keys using AWS KMS):

<figure><img src="https://2532879721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM0ZX7fId7ifK45ldHWEp%2Fuploads%2FEXaeMrkavel4mfrs81QB%2FScreenshot%202024-05-18%20at%208.51.21%20AM.png?alt=media&#x26;token=99799877-23e7-40cd-a0fc-84e02be4913c" alt=""><figcaption></figcaption></figure>

## Embeddings

Epsilla integrates with OpenAI with the following embedding models:

<table><thead><tr><th width="311">Name</th><th width="171">Dimensions</th><th>Support Dimension Reduction</th></tr></thead><tbody><tr><td><strong>openai/text-embedding-3-large</strong></td><td>3072</td><td>Yes</td></tr><tr><td><strong>openai/text-embedding-3-small</strong></td><td>1536</td><td>Yes</td></tr><tr><td><strong>openai/text-embedding-ada-002</strong></td><td>1536</td><td>No</td></tr></tbody></table>

For Epsilla open source vector db, you just need to add a header in the data ingestion and semantic search queries [like this](../../advanced-topics/embeddings#openai-embedding).

Then you can start using the openai embedding model during vector table schema creation:

<figure><img src="https://2532879721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM0ZX7fId7ifK45ldHWEp%2Fuploads%2F5aatxhqTu3xfkUp9lnpY%2FScreenshot%202024-01-31%20at%2012.10.57%20PM.png?alt=media&#x26;token=62f03747-ee95-4933-a1ca-2110c585c9ee" alt=""><figcaption></figcaption></figure>

For models that support dimension reduction, you can optionally provide a dimensions parameter to reduce the embedding response size:

<figure><img src="https://2532879721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM0ZX7fId7ifK45ldHWEp%2Fuploads%2FeSvOp5BpVqrAi8EFsxfN%2FScreenshot%202024-02-13%20at%205.29.51%20PM.png?alt=media&#x26;token=cee6968c-8933-46cf-9e6a-8c0130134a5c" alt=""><figcaption></figcaption></figure>
