Class

OpenAIOptions

USI.AI

Public SDK type.

public sealed class OpenAIOptions : IEquatable<OpenAIOptions>

Constructors

OpenAIOptions

public OpenAIOptions(string ApiKey, Uri BaseUri = null, string TextModel = "gpt-5-mini", string SpeechModel = "gpt-4o-mini-tts", string SpeechVoice = "ash")

Properties

ApiKey

public string ApiKey { get; set; }

BaseUri

public Uri BaseUri { get; set; }

SpeechModel

public string SpeechModel { get; set; }

SpeechVoice

public string SpeechVoice { get; set; }

TextModel

public string TextModel { get; set; }

Methods

<Clone>$

public OpenAIOptions <Clone>$()

Deconstruct

public void Deconstruct(string ApiKey, Uri BaseUri, string TextModel, string SpeechModel, string SpeechVoice)

Equals

public bool Equals(object obj)

Equals

public bool Equals(OpenAIOptions other)

GetHashCode

public int GetHashCode()

ToString

public string ToString()