Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
SummaryEnricher Class
Definition
- Namespace:
- Microsoft.Extensions.DataIngestion
- Assembly:
- Microsoft.Extensions.DataIngestion.dll
- Package:
- Microsoft.Extensions.DataIngestion v10.7.0-preview.1.26309.5
- Source:
- SummaryEnricher.cs
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.
Enriches chunks with summary text using an AI chat model.
public ref class SummaryEnricher sealed : Microsoft::Extensions::DataIngestion::IngestionChunkProcessor<System::String ^>
public sealed class SummaryEnricher : Microsoft.Extensions.DataIngestion.IngestionChunkProcessor<string>
type SummaryEnricher = class
inherit IngestionChunkProcessor<string>
Public NotInheritable Class SummaryEnricher
Inherits IngestionChunkProcessor(Of String)
- Inheritance
Remarks
It adds "summary" text metadata to each chunk.
Constructors
| Name | Description |
|---|---|
| SummaryEnricher(EnricherOptions, Nullable<Int32>) |
Initializes a new instance of the SummaryEnricher class. |
Properties
| Name | Description |
|---|---|
| MetadataKey |
Gets the metadata key used to store the summary. |
Methods
| Name | Description |
|---|---|
| ProcessAsync(IAsyncEnumerable<IngestionChunk<String>>, CancellationToken) |
Processes chunks asynchronously. |
| ProcessAsync(IAsyncEnumerable<IngestionChunk<T>>, CancellationToken) |
Processes chunks asynchronously. (Inherited from IngestionChunkProcessor<T>) |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
Was this page helpful?
