Table of Contents

Interface IChatGenerationPlanSource

Namespace
MailFathom.AI.Chat
Assembly
MailFathom.AI.dll

Supplies the chat plan a new operation runs against.

public interface IChatGenerationPlanSource

Remarks

The declaration behind a plan is reloadable, so the plan an operation runs against is a value with a publication time rather than a constant of the process. Reading it here is what lets a corrected model reach the next question instead of the next restart.

Read once per operation and use that instance for its duration. A run that re-read this mid-flight could answer half a question with one model and half with another, which is the one thing the single-endpoint rule exists to prevent — so a run resolves the plan from its own scope and the plan is what it holds.

Declared here and implemented by the composition root, for the reason IProviderEndpointCredentialSource is: binding configuration, validating a reloaded candidate, and deciding when one becomes current all belong to the host, and nothing in this boundary knows what a configuration section is.

Properties

Current

Gets the plan built from the most recent declaration proven usable.