Table of Contents

Constructor DeterministicTextEmbeddingGenerator

Namespace
MailFathom.AI.Embeddings
Assembly
MailFathom.AI.dll

DeterministicTextEmbeddingGenerator(int, int)

Initializes a generator producing vectors of one width.

public DeterministicTextEmbeddingGenerator(int dimension, int inputCharacterLimit)

Parameters

dimension int

The width of the space, which the identity records.

inputCharacterLimit int

The width a passage is cut to before it is hashed.

Exceptions

ArgumentOutOfRangeException

Thrown when a bound is not positive.