Constructor DiscoveryRun
- Namespace
- MailFathom.Application.Discovery.Runs
- Assembly
- MailFathom.Application.dll
DiscoveryRun(MailAnsweringCapability, PlannedMailRetrieval, AccessAuthorization, SensitiveContentEgressGuard, DiscoveryCoverageReader, IMailAnsweringSpendLedger, IUserLanguages, IDiscoveryRunPlanner?, IDiscoveryResultComposer?)
Creates the use case one Discover run is performed through.
public DiscoveryRun(MailAnsweringCapability capability, PlannedMailRetrieval retrieval, AccessAuthorization authorization, SensitiveContentEgressGuard egressGuard, DiscoveryCoverageReader coverageReader, IMailAnsweringSpendLedger spendLedger, IUserLanguages languages, IDiscoveryRunPlanner? planner, IDiscoveryResultComposer? composer)
Parameters
capabilityMailAnsweringCapabilityWhether this deployment answers questions about mail, and whether it currently can.
retrievalPlannedMailRetrievalThe retrieval a derived plan is run through.
authorizationAccessAuthorizationAnswers which principal reached this use case.
egressGuardSensitiveContentEgressGuardWithholds from a provider whatever this user's posture withholds.
coverageReaderDiscoveryCoverageReaderReads which accounts the run drew on and how current each one's local copy was.
spendLedgerIMailAnsweringSpendLedgerAdmits the run against what the current period may still spend, and is what stops the next question.
languagesIUserLanguagesResolves the language the person asking reads, which the result's own sentences are written in.
plannerIDiscoveryRunPlannerThe derivation, absent on a deployment that composes no chat agent.
composerIDiscoveryResultComposerThe composition, absent on the same deployments the derivation is.