embeddings • TypeScript AI Agent SDK

embeddings: API reference for embeddings

embeddings

Function

</div>

This function is defined in the embeddings module.

Signature

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

Returns

ResponseField BatchEmbeddingResult

The result of the operation.

Uses

  • getDimensions
  • embed
  • text
  • synchronously
  • embedMany

Source

View on GitHub

src/embeddings/index.ts at line 124


Related Documentation