Skip to main content

OpenAI

Requisites

To use Azure OpenAI models, you need to have the following credential information. You can get them by signing up at Azure OpenAI's website.

Required credentials:

  • AZURE_OPENAI_RESOURCE_NAME: The name of your Azure OpenAI Resource.
  • AZURE_OPENAI_DEPLOYMENT_ID: The deployment name you chose when you deployed the model.
  • AZURE_OPENAI_API_KEY: Your Azure OpenAI API Key for authentication.

Optional credentials:

  • AZURE_OPENAI_API_VERSION: The Azure API version follows the YYYY-MM-DD format.

Supported Models

Text Embedding Ada 002

  • Model schema id: azure_openai/text-embedding-ada-002

Properties:

  • Embedding size: 1535
  • Input token limit: 8191
  • Max batch size: 2048