Skip to main content

aembedding

AsyncFunction
This function is defined in the embed module.
Async: Generate embeddings for text using LiteLLM. This is the async version of embedding() for use in async contexts. See embedding() for full documentation.

Signature

Parameters

Union
required
No description available.
str
default:"'text-embedding-3-small'"
No description available.
Optional
No description available.
str
default:"'float'"
No description available.
float
default:"600.0"
No description available.
Optional
No description available.
Optional
No description available.
Optional
No description available.

Returns

EmbeddingResult
The result of the operation.

Usage

Uses

  • litellm.aembedding
  • EmbeddingResult

Used By

Source

View on GitHub

praisonaiagents/embedding/embed.py at line 100