embed • TypeScript AI Agent SDK
embed: API reference for embed
embed
Function
</div>
This function is defined in the embeddings module.
Signature
def embed(text: string, config?: EmbeddingConfig) -> EmbeddingResultReturns
ResponseField
EmbeddingResultThe result of the operation.
Uses
getDimensionssynchronouslyembed
Used By
Source
View on GitHubsrc/embeddings/index.ts at line 97