OpenAI Embeddings
OpenAI embedding is used for converting text into numerical representations, enabling machines to understand and process language efficiently in various natural language processing tasks such as sentiment analysis, text classification, and language translation.
Getting started with OpenAI Embedding
When you sign up for OpenAI, you'll get $5 in free credits. This credit limit is more than sufficient to run a simple example.To increase a usage limit,visit OpenAI Billing section
-
From the side navigation menu, choose
API Keys
and create a new API key.
Setting up the OpenAI Embedding model in Unstract
Now that we have an API key from OpenAI, we can use it to set up an Embedding profile on the Unstract platform. For this:
-
Sign into the Unstract Platform
-
From the side navigation menu, choose
Settings
🞂Embedding
-
Click on the
New Embedding Profile
button -
From the list of Embeddings, choose
OpenAI
. You should see a dialog box where you enter details. -
For
Name
, enter a name for this connector. -
In the
API Key
field, paste the API key we created on the OpenAI website. -
Leave the
Embed Batch Size
field and theAPI Base
field to their default values. -
Click on
Test Connection
and ensure it succeeds. You can finally click onSubmit
and that should create a new Embedding Profile for use in your Unstract projects.