API reference
API reference
Select your platform
No SDKs available
No versions available

OpenAIProvider Class

Properties

bool IChatTask. SupportsVision[Get]
bool SupportsVision[Get]
override InferenceType DefaultSupportedTypes[Get]

Member Functions

async Task< ChatResponse > ChatAsync
( ChatRequest req,
IProgress< ChatDelta > stream,
CancellationToken ct )
Parameters
audioBytes
Encoded audio (e.g., WAV/MP3/OGG).
Providers decide supported formats.
Parameters
language
Optional BCP-47 / ISO code like "en" (implementations may ignore).
ct
Cancellation token.
Parameters
text
Text to synthesize.
Parameters
voice
Optional voice name/id. Implementations may map/ignore.
onReady
Invoked with a decoded AudioClip when audio is ready.