Skip to main content

embeddings

Function
This function is defined in the embeddings module.

Signature

def embeddings(texts: string[], config?: EmbeddingConfig) -> BatchEmbeddingResult

Returns

Returns
BatchEmbeddingResult
The result of the operation.

Uses

  • getDimensions
  • fill
  • random

Used By

Source

View on GitHub

src/embeddings/index.ts at line 124