Interface IAIRequestFeatureService
Optional capability for reasoning and provider-hosted search. Existing IAIService implementations need not implement it.
public interface IAIRequestFeatureService
Properties
LastCitations
A snapshot of source references collected by the most recent request.
IReadOnlyList<AICitation> LastCitations { get; }
Property Value
Methods
BeginRequestFeaturesScope(Message)
Captures options before wrapper preparation. Dispose after the logical request; nested calls share the scope.
IDisposable BeginRequestFeaturesScope(Message message)
Parameters
messageMessage
Returns
Remarks
For orchestration adapters such as RAG. Call synchronously inside the adapter's async request method.
ConfigureRequestFeatures(AIRequestFeatures)
Merges and copies non-null settings for the next logical request.
void ConfigureRequestFeatures(AIRequestFeatures features)
Parameters
featuresAIRequestFeatures
ValidatePendingRequestFeatures()
Validates pending settings without consuming them or changing conversation history.
void ValidatePendingRequestFeatures()