FakeEmbeddings constructor
Fake embeddings model for testing.
By default, the embeddings are deterministic (the same text will always have the same embedding vector). You can change this behavior by setting deterministic to false.
Implementation
FakeEmbeddings({
this.size = 10,
this.deterministic = true,
});