OpenTelemetryTextToSpeechClient クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
Generative AI システムの OpenTelemetry セマンティック規則を実装する委任テキスト読み上げクライアントを表します。
public ref class OpenTelemetryTextToSpeechClient sealed : Microsoft::Extensions::AI::DelegatingTextToSpeechClient
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public sealed class OpenTelemetryTextToSpeechClient : Microsoft.Extensions.AI.DelegatingTextToSpeechClient
public sealed class OpenTelemetryTextToSpeechClient : Microsoft.Extensions.AI.DelegatingTextToSpeechClient
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type OpenTelemetryTextToSpeechClient = class
inherit DelegatingTextToSpeechClient
type OpenTelemetryTextToSpeechClient = class
inherit DelegatingTextToSpeechClient
Public NotInheritable Class OpenTelemetryTextToSpeechClient
Inherits DelegatingTextToSpeechClient
- 継承
- 属性
注釈
このクラスは、 https://opentelemetry.io/docs/specs/semconv/gen-ai/で定義された Generative AI システム v1.40 のセマンティック規則の実装を提供します。 仕様はまだ実験的であり、変更される可能性があります。そのため、このクライアントによるテレメトリ出力も変更される可能性があります。
コンストラクター
| 名前 | 説明 |
|---|---|
| OpenTelemetryTextToSpeechClient(ITextToSpeechClient, ILogger, String) |
OpenTelemetryTextToSpeechClient クラスの新しいインスタンスを初期化します。 |
プロパティ
| 名前 | 説明 |
|---|---|
| EnableSensitiveData |
潜在的な機密情報をテレメトリに含めるかどうかを示す値を取得または設定します。 |
| InnerClient |
内部 ITextToSpeechClientを取得します。 (継承元 DelegatingTextToSpeechClient) |
メソッド
| 名前 | 説明 |
|---|---|
| Dispose() |
アンマネージド リソースの解放、解放、またはリセットに関連付けられているアプリケーション定義のタスクを実行します。 (継承元 DelegatingTextToSpeechClient) |
| Dispose(Boolean) |
アンマネージ リソースを解放するためのメカニズムを提供します。 (継承元 DelegatingTextToSpeechClient) |
| GetAudioAsync(String, TextToSpeechOptions, CancellationToken) |
テキスト コンテンツをモデルに送信し、生成されたオーディオ音声を返します。 |
| GetService(Type, Object) |
指定した型ITextToSpeechClientのオブジェクトを |
| GetStreamingAudioAsync(String, TextToSpeechOptions, CancellationToken) |
テキスト コンテンツをモデルに送信し、生成されたオーディオ音声をストリーム バックします。 |
拡張メソッド
| 名前 | 説明 |
|---|---|
| AsBuilder(ITextToSpeechClient) |
TextToSpeechClientBuilderを内部クライアントとして使用して、新しい |
| GetService<TService>(ITextToSpeechClient, Object) |
ITextToSpeechClient型のオブジェクトを |