Method AdmitPassages
- Namespace
- MailFathom.Application.Retrieval.AskMail
- Assembly
- MailFathom.Application.dll
AdmitPassages(IReadOnlyList<EmailKnowledgePassage>)
Takes the passages of one lookup that still fit inside what this run may send.
public IReadOnlyList<EmailKnowledgePassage> AdmitPassages(IReadOnlyList<EmailKnowledgePassage> found)
Parameters
foundIReadOnlyList<EmailKnowledgePassage>What the lookup found, in the order retrieval ranked them.
Returns
- IReadOnlyList<EmailKnowledgePassage>
The leading passages that fit, which is every one of them until the ceiling is approached and none once it is reached.
Remarks
Whole passages rather than a cut across the last one. An extract already cut to the per-passage bound is a readable piece of a message, and cutting it again to fill the remaining allowance exactly would hand the model a sentence ending mid-word for the sake of a few hundred characters.
Exceptions
- ArgumentNullException
Thrown when
foundis null.