言語

TextSummarizer クラス

定義

テキスト入力を要約できる特殊なラナージュ モデルを表します。

public ref class TextSummarizer sealed
/// [Windows.Foundation.Metadata.Activatable(Microsoft.Windows.AI.Text.ITextSummarizerFactory, 131072, "Microsoft.Windows.AI.Text.TextIntelligenceContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.AI.Text.TextIntelligenceContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class TextSummarizer final
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.Windows.AI.Text.ITextSummarizerFactory), 131072, "Microsoft.Windows.AI.Text.TextIntelligenceContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.AI.Text.TextIntelligenceContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class TextSummarizer
function TextSummarizer(languageModel)
Public NotInheritable Class TextSummarizer
継承
Object Platform::Object IInspectable TextSummarizer
属性

コンストラクター

名前 説明
TextSummarizer(LanguageModel)

TextSummarizer オブジェクトの新しいインスタンスを初期化します。

メソッド

名前 説明
IsPromptLargerThanContext(ConversationItem[], ConversationSummaryOptions, UInt64)

会話のテキストがコンテキスト ウィンドウに対して大きすぎるかどうかを返します。

IsPromptLargerThanContext(String, UInt64)

テキスト入力がコンテキスト ウィンドウに対して大きすぎるかどうかを返します。

SummarizeAsync(String)

テキスト入力を非同期的に集計します。

SummarizeConversationAsync(IVectorView<ConversationItem>, ConversationSummaryOptions)

会話のテキストを非同期的に要約します。

SummarizeParagraphAsync(String)

テキスト入力の段落を非同期的に集計します。

適用対象