embedding
Function
This function is defined in the llm module.Get embedding vector for text. .. deprecated:: Use
from praisonai import embed or from praisonai.capabilities import embed instead.
This function returns raw vectors; the new embed() returns EmbeddingResult with metadata.
Signature
Parameters
Text string or list of strings to embed
Embedding model name (default: text-embedding-3-small) **kwargs: Additional arguments passed to litellm.embedding()
Returns
List[float] for single text, or List[List[float]] for multiple texts

