OpenAI
Requisites
To use OpenAI models, you need to have the following credential information. You can get them by signing up at OpenAI.
Required credentials:
- OPENAI_API_KEY: Your OpenAI API Key for authentication.
Optional credentials:
- OPENAI_ORG_ID: Your OpenAI Organization ID, which can be found on your organization settings page.
Supported Models
Text Embedding Ada 002
- Model schema id: openai/text-embedding-ada-002
Properties:
- Embedding size: 1535
- Input token limit: 8192
- Max batch size: 2048
Text Embedding 3 Small
- Model schema id:
openai/text-embedding-3-small-512
for 512 dimensions,openai/text-embedding-3-small-1536
for 1536 dimensions - Embedding size: 512 or 1536
- Input token limit: 8192
- Max batch size: 2048
Text Embedding 3 Large
- Model schema id:
openai/text-embedding-3-large-256
for 256 dimensions,openai/text-embedding-3-large-1024
for 1024 dimensions - Embedding size: 256 or 1024
- Input token limit: 8192
- Max batch size: 2048