TextSummarizer.SummarizeConversationAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously summarizes the text of a conversation.
public:
virtual IAsyncOperationWithProgress<LanguageModelResponseResult ^, Platform::String ^> ^ SummarizeConversationAsync(IVectorView<ConversationItem ^> ^ messages, ConversationSummaryOptions ^ options) = SummarizeConversationAsync;
IAsyncOperationWithProgress<LanguageModelResponseResult, winrt::hstring const&> SummarizeConversationAsync(IVectorView<ConversationItem> const& messages, ConversationSummaryOptions const& options);
public IAsyncOperationWithProgress<LanguageModelResponseResult,string> SummarizeConversationAsync(IReadOnlyList<ConversationItem> messages, ConversationSummaryOptions options);
function summarizeConversationAsync(messages, options)
Public Function SummarizeConversationAsync (messages As IReadOnlyList(Of ConversationItem), options As ConversationSummaryOptions) As IAsyncOperationWithProgress(Of LanguageModelResponseResult, String)
Parameters
- messages
The collection of conversation posts and responses to summarize.
- options
- ConversationSummaryOptions
The configuration options for summarizing a conversation.
Returns
IAsyncOperationWithProgress<LanguageModelResponseResult,String>
IAsyncOperationWithProgress<LanguageModelResponseResult,Platform::String>
IAsyncOperationWithProgress<LanguageModelResponseResult,winrt::hstring>
The summarized text.