Table of Contents

Method RecordTruncatedEmbeddingInput

Namespace
MailFathom.Infrastructure.Observability
Assembly
MailFathom.Infrastructure.dll

RecordTruncatedEmbeddingInput(int)

Records one message the per-message input ceiling cut short.

public void RecordTruncatedEmbeddingInput(int omittedCharacterCount)

Parameters

omittedCharacterCount int

The characters the ceiling left out of the passages.

Remarks

Two instruments rather than one, because the two questions differ: how many messages are being cut says whether the ceiling is set where an operator meant it, and how much text is being left out says what raising it would cost. A count alone would make one enormous message and a thousand slightly oversized ones look the same.

Exceptions

ArgumentOutOfRangeException

Thrown when the count is negative.