次の方法で共有


ConfigureOptionsTextToSpeechClient クラス

定義

パイプラインの残りの部分で使用される TextToSpeechOptions インスタンスを構成する音声クライアントへのテキストの委任を表します。

public ref class ConfigureOptionsTextToSpeechClient sealed : Microsoft::Extensions::AI::DelegatingTextToSpeechClient
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public sealed class ConfigureOptionsTextToSpeechClient : Microsoft.Extensions.AI.DelegatingTextToSpeechClient
public sealed class ConfigureOptionsTextToSpeechClient : Microsoft.Extensions.AI.DelegatingTextToSpeechClient
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type ConfigureOptionsTextToSpeechClient = class
    inherit DelegatingTextToSpeechClient
type ConfigureOptionsTextToSpeechClient = class
    inherit DelegatingTextToSpeechClient
Public NotInheritable Class ConfigureOptionsTextToSpeechClient
Inherits DelegatingTextToSpeechClient
継承
ConfigureOptionsTextToSpeechClient
属性

コンストラクター

名前 説明
ConfigureOptionsTextToSpeechClient(ITextToSpeechClient, Action<TextToSpeechOptions>)

指定したConfigureOptionsTextToSpeechClient コールバックを使用して、configure クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
InnerClient

内部 ITextToSpeechClientを取得します。

(継承元 DelegatingTextToSpeechClient)

メソッド

名前 説明
Dispose()

アンマネージド リソースの解放、解放、またはリセットに関連付けられているアプリケーション定義のタスクを実行します。

(継承元 DelegatingTextToSpeechClient)
Dispose(Boolean)

アンマネージ リソースを解放するためのメカニズムを提供します。

(継承元 DelegatingTextToSpeechClient)
GetAudioAsync(String, TextToSpeechOptions, CancellationToken)

パイプラインの残りの部分で使用される TextToSpeechOptions インスタンスを構成する音声クライアントへのテキストの委任を表します。

GetService(Type, Object)

指定した型ITextToSpeechClientのオブジェクトをserviceTypeに要求します。

(継承元 DelegatingTextToSpeechClient)
GetStreamingAudioAsync(String, TextToSpeechOptions, CancellationToken)

パイプラインの残りの部分で使用される TextToSpeechOptions インスタンスを構成する音声クライアントへのテキストの委任を表します。

拡張メソッド

名前 説明
AsBuilder(ITextToSpeechClient)

TextToSpeechClientBuilderを内部クライアントとして使用して、新しいinnerClientを作成します。

GetService<TService>(ITextToSpeechClient, Object)

ITextToSpeechClient型のオブジェクトをTServiceに求めます。

適用対象