SentimentEnricher クラス

定義

AI チャット モデルを使用してセンチメント分析を使用してチャンクを強化します。

public ref class SentimentEnricher sealed : Microsoft::Extensions::DataIngestion::IngestionChunkProcessor<System::String ^>
public sealed class SentimentEnricher : Microsoft.Extensions.DataIngestion.IngestionChunkProcessor<string>
type SentimentEnricher = class
    inherit IngestionChunkProcessor<string>
Public NotInheritable Class SentimentEnricher
Inherits IngestionChunkProcessor(Of String)
継承

注釈

各チャンクに "センチメント" メタデータを追加します。 信頼度スコアがしきい値を下回る場合は、正、負、中立、または不明にすることができます。

コンストラクター

名前 説明
SentimentEnricher(EnricherOptions, Nullable<Double>)

SentimentEnricher クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
MetadataKey

センチメントの格納に使用するメタデータ キーを取得します。

メソッド

名前 説明
ProcessAsync(IAsyncEnumerable<IngestionChunk<String>>, CancellationToken)

チャンクを非同期的に処理します。

ProcessAsync(IAsyncEnumerable<IngestionChunk<T>>, CancellationToken)

チャンクを非同期的に処理します。

(継承元 IngestionChunkProcessor<T>)

適用対象