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
dimensionintThe width of the space, which the identity records.
inputCharacterLimitintThe width a passage is cut to before it is hashed.
Exceptions
- ArgumentOutOfRangeException
Thrown when a bound is not positive.