Method Compose
- Namespace
- MailFathom.Application.Discovery.Planning
- Assembly
- MailFathom.Application.dll
Compose(DiscoveryIntent, RetrievalPlan)
Composes the plan for an intent and the retrieval it implies.
public static DiscoveryRunPlan Compose(DiscoveryIntent intent, RetrievalPlan retrieval)
Parameters
intentDiscoveryIntentWhat the question is asking for.
retrievalRetrievalPlanHow the question is looked for.
Returns
- DiscoveryRunPlan
The plan, with the composition derived from the intent.
Exceptions
- ArgumentException
intentis the default of its struct and names nothing.