Documentation
Table of Contents

Property OpenAIApiKey

Namespace
IntentSharp.DependencyInjection
Assembly
IntentSharp.dll

OpenAIApiKey

The OpenAI API key. Defaults to the OPENAI_API_KEY environment variable. When both keys are set, the provider that is not the primary becomes the fallback; null or blank leaves OpenAI out.

public string? OpenAIApiKey { get; set; }

Property Value

string