Class EmbeddingWorkload
- Namespace
- MailFathom.Application.Emails.Embeddings.Administration
- Assembly
- MailFathom.Application.dll
How much of the mail a search may reach one vector space still has to pay for.
public sealed record EmbeddingWorkload : IEquatable<EmbeddingWorkload>
- Inheritance
-
EmbeddingWorkload
- Implements
- Inherited Members
Remarks
One value answering two questions, because they are the same count read at different moments. Before an activation it is the estimate ADR 0006 puts in front of the operator; while a reindex runs it is how far that run has come. A second type for the second reading would let the two drift apart and would leave an operator comparing an estimate against a progress figure that was counted differently.
Counts and character totals only. No subject, address, passage, or vector is describable from any of them, which is what makes this safe to serve from an administrative endpoint and to write into a log line.
Constructors
- EmbeddingWorkload(int, int, long, long)
How much of the mail a search may reach one vector space still has to pay for.
Fields
- CharactersPerApproximateToken
The characters one token is taken to be worth when an estimate is expressed in tokens.
Properties
- ApproximateTokenCount
Gets the approximate tokens the outstanding passages would be charged as.
- EmbeddedEmailCount
Gets how many searchable messages this vector space already covers.
- IsComplete
Gets whether this vector space covers every passage a search may reach.
- Nothing
A vector space with nothing left to do, which is also what an instance holding no mail reports.
- OutstandingCharacterCount
The characters those passages carry, which is the unit the spend ceiling is counted in.
- OutstandingEmailCount
How many of those messages hold a passage this vector space has no vector for.
- OutstandingPassageCount
The passages that would be sent to a provider.
- SearchableEmailCount
The messages a search may reach at all, which is what the outstanding count is measured against.