Class ExtractiveChatClient
The no-LLM floor: answers verbatim from the highest-ranked sources with their citations
attached. Needs no model, no natives and no memory - so the product still answers on a device
that refused the budget or never downloaded a model, and the entire RAG path is tier-1 testable.
It is an IChatClient, so UseRag() over it is the same call, the same
pipeline and the same CitationAnnotations.
public sealed class ExtractiveChatClient : IChatClient, IDisposable
- Inheritance
-
ExtractiveChatClient
- Implements
- Inherited Members
Constructors
- ExtractiveChatClient(ExtractiveChatOptions?, ILoggerFactory?)
Creates the extractive floor.
Methods
- Dispose()
Nothing to release. Declared because IChatClient requires it.
- GetResponseAsync(IEnumerable<ChatMessage>, ChatOptions?, CancellationToken)
Sends chat messages and returns the response.
- GetService(Type, object?)
Asks the IChatClient for an object of the specified type
serviceType.
- GetStreamingResponseAsync(IEnumerable<ChatMessage>, ChatOptions?, CancellationToken)
Sends chat messages and streams the response.