Skip to content

OpenAI

Terminal window
dotnet add package AgentCircuits.Providers.OpenAI

Use either:

  • OpenAI.LanguageModel("gpt-4o")
  • OpenAI.Create(new OpenAIProviderOptions { ... })
Terminal window
OPENAI_API_KEY=...

The generic config mapper currently supports:

  • api_key
  • base_url
  • organization

The runtime also supports Project, but the current file-config and portal mappers do not expose it. If you need that option today, pass it programmatically.