For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

OpenAI

Configure OpenAI as an AI provider for chat, embedding, speech-to-text, and image generation capabilities.

OpenAI provides access to GPT, text-embedding, and image models, supporting Chat, Embedding, Speech-to-Text, and Image Generation capabilities. Image Generation is experimental. See Enabling image generation.

Installation

Package Manager Console
Install-Package Umbraco.AI.OpenAI

Or via .NET CLI:

Terminal
dotnet add package Umbraco.AI.OpenAI

Connection Settings

Setting
Required
Description

API Key

Yes

Your OpenAI API key from platform.openai.com

Organization ID

No

Optional organization identifier for usage tracking

Endpoint

No

Custom endpoint URL (defaults to https://api.openai.com/v1)

Getting an API Key

  1. Navigate to API keys in the sidebar

  2. Click Create new secret key

  3. Copy the key (it won't be shown again)

Azure OpenAI

OpenAI models are also available through Azure OpenAI Service. To use Azure:

  1. Set the Endpoint to your Azure OpenAI resource URL: https://{resource-name}.openai.azure.com/

  2. Use your Azure API key instead of an OpenAI key

  3. Model names may differ (deployment names vs model names)

Azure OpenAI provides data residency, enterprise compliance, and integration with Azure security features.

OpenAI connection detail showing API Key and Organization fields

Last updated

Was this helpful?