DelegatingSpeechToTextClient クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
別のインスタンスへの呼び出しを通過する ISpeechToTextClient の省略可能な基底クラスを提供します。
public ref class DelegatingSpeechToTextClient : IDisposable, Microsoft::Extensions::AI::ISpeechToTextClient
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public class DelegatingSpeechToTextClient : IDisposable, Microsoft.Extensions.AI.ISpeechToTextClient
public class DelegatingSpeechToTextClient : IDisposable, Microsoft.Extensions.AI.ISpeechToTextClient
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type DelegatingSpeechToTextClient = class
interface ISpeechToTextClient
interface IDisposable
type DelegatingSpeechToTextClient = class
interface ISpeechToTextClient
interface IDisposable
Public Class DelegatingSpeechToTextClient
Implements IDisposable, ISpeechToTextClient
- 継承
-
DelegatingSpeechToTextClient
- 派生
- 属性
- 実装
注釈
これは、基になる ISpeechToTextClientの周囲で任意の順序でチェーンできるクライアントを構築する場合に、基本の種類として推奨されます。 既定の実装では、各呼び出しを内部クライアント インスタンスに渡すだけです。
コンストラクター
| 名前 | 説明 |
|---|---|
| DelegatingSpeechToTextClient(ISpeechToTextClient) |
DelegatingSpeechToTextClient クラスの新しいインスタンスを初期化します。 |
プロパティ
| 名前 | 説明 |
|---|---|
| InnerClient |
内部 ISpeechToTextClientを取得します。 |
メソッド
| 名前 | 説明 |
|---|---|
| Dispose() |
アンマネージド リソースの解放、解放、またはリセットに関連付けられているアプリケーション定義のタスクを実行します。 |
| Dispose(Boolean) |
アンマネージ リソースを解放するためのメカニズムを提供します。 |
| GetService(Type, Object) |
指定した型ISpeechToTextClientのオブジェクトを |
| GetStreamingTextAsync(Stream, SpeechToTextOptions, CancellationToken) |
オーディオ音声コンテンツをモデルに送信し、生成されたテキストをストリームバックします。 |
| GetTextAsync(Stream, SpeechToTextOptions, CancellationToken) |
オーディオ音声コンテンツをモデルに送信し、生成されたテキストを返します。 |
拡張メソッド
| 名前 | 説明 |
|---|---|
| AsBuilder(ISpeechToTextClient) |
SpeechToTextClientBuilderを内部クライアントとして使用して、新しい |
| GetService<TService>(ISpeechToTextClient, Object) |
ISpeechToTextClient型のオブジェクトを |
| GetStreamingTextAsync(ISpeechToTextClient, DataContent, SpeechToTextOptions, CancellationToken) |
1 つの音声音声 DataContentを提供する音声からテキストを生成します。 |
| GetTextAsync(ISpeechToTextClient, DataContent, SpeechToTextOptions, CancellationToken) |
1 つの音声音声 DataContentを提供する音声からテキストを生成します。 |