OpenAITextToAudioService Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
GetEndpoint(IAIService) |
Gets the endpoint from |
GetModelId(IAIService) |
Gets the model identifier from |
GetAudioContentAsync(ITextToAudioService, String, PromptExecutionSettings, Kernel, CancellationToken) |
Get audio content from text. |