ChatClientBuilder クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
IChatClientのパイプラインを作成するためのビルダー。
public ref class ChatClientBuilder sealed
public sealed class ChatClientBuilder
type ChatClientBuilder = class
Public NotInheritable Class ChatClientBuilder
- 継承
-
ChatClientBuilder
コンストラクター
| 名前 | 説明 |
|---|---|
| ChatClientBuilder(Func<IServiceProvider,IChatClient>) |
ChatClientBuilder クラスの新しいインスタンスを初期化します。 |
| ChatClientBuilder(IChatClient) |
ChatClientBuilder クラスの新しいインスタンスを初期化します。 |
メソッド
拡張メソッド
| 名前 | 説明 |
|---|---|
| ConfigureOptions(ChatClientBuilder, Action<ChatOptions>) |
パイプライン内の次のクライアントに渡される ChatOptions を構成するコールバックを追加します。 |
| UseChatReducer(ChatClientBuilder, IChatReducer, Action<ReducingChatClient>) |
チャット パイプラインに ReducingChatClient を追加します。 |
| UseDistributedCache(ChatClientBuilder, IDistributedCache, Action<DistributedCachingChatClient>) |
パイプラインの次のステージとして DistributedCachingChatClient を追加します。 |
| UseFunctionInvocation(ChatClientBuilder, ILoggerFactory, Action<FunctionInvokingChatClient>) |
チャット パイプラインでの関数呼び出しの自動呼び出しを有効にします。 |
| UseImageGeneration(ChatClientBuilder, IImageGenerator, Action<ImageGeneratingChatClient>) |
チャット クライアント パイプラインにイメージ生成機能を追加します。 |
| UseLogging(ChatClientBuilder, ILoggerFactory, Action<LoggingChatClient>) |
チャット クライアント パイプラインにログ記録を追加します。 |
| UseOpenTelemetry(ChatClientBuilder, ILoggerFactory, String, Action<OpenTelemetryChatClient>) |
Generative AI システムの OpenTelemetry セマンティック規則に従って、チャット クライアント パイプラインに OpenTelemetry サポートを追加します。 |