Partager via


OpenAIAudioToTextService Class

Definition

OpenAI text-to-audio service.

public sealed class OpenAIAudioToTextService : Microsoft.SemanticKernel.AudioToText.IAudioToTextService
type OpenAIAudioToTextService = class
    interface IAudioToTextService
    interface IAIService
Public NotInheritable Class OpenAIAudioToTextService
Implements IAudioToTextService
Inheritance
OpenAIAudioToTextService
Implements

Constructors

OpenAIAudioToTextService(String, OpenAIClient, ILoggerFactory)

Initializes a new instance of the OpenAIAudioToTextService class.

OpenAIAudioToTextService(String, String, String, HttpClient, ILoggerFactory)

Initializes a new instance of the OpenAIAudioToTextService class.

Properties

Attributes

Gets the AI service attributes.

Methods

GetTextContentsAsync(AudioContent, PromptExecutionSettings, Kernel, CancellationToken)

Get text contents from audio content.

Extension Methods

GetTextContentAsync(IAudioToTextService, AudioContent, PromptExecutionSettings, Kernel, CancellationToken)

Get text content from audio content.

GetApiVersion(IAIService)

Gets the API version from service's Attributes

GetEndpoint(IAIService)

Gets the endpoint from service's Attributes.

GetModelId(IAIService)

Gets the model identifier from service's Attributes.

Applies to