次の方法で共有


OpenAITextToAudioService Class

Definition

OpenAI text-to-audio service.

public sealed class OpenAITextToAudioService : Microsoft.SemanticKernel.TextToAudio.ITextToAudioService
type OpenAITextToAudioService = class
    interface ITextToAudioService
    interface IAIService
Public NotInheritable Class OpenAITextToAudioService
Implements ITextToAudioService
Inheritance
OpenAITextToAudioService
Implements

Constructors

OpenAITextToAudioService(String, String, String, HttpClient, ILoggerFactory)

Initializes a new instance of the OpenAITextToAudioService class.

Properties

Attributes

Gets the AI service attributes.

OrganizationKey

Gets the attribute name used to store the organization in the Attributes dictionary.

Methods

GetAudioContentsAsync(String, PromptExecutionSettings, Kernel, CancellationToken)

Get audio contents from text.

Extension Methods

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.

GetAudioContentAsync(ITextToAudioService, String, PromptExecutionSettings, Kernel, CancellationToken)

Get audio content from text.

Applies to