Skip to main content

Overview

Generate text embeddings from the command line. Both embed and embedding commands work identically.
Both praisonai embed and praisonai embedding work the same way - use whichever you prefer.

Commands

Basic Embedding

With Model Selection

With Custom Dimensions

Options

Examples

Output

The command outputs:
  • Number of embedding vectors generated
  • Dimensions of each vector
  • Token usage statistics

Supported Models

All LiteLLM-supported embedding models work:
  • text-embedding-3-small (default)
  • text-embedding-3-large
  • text-embedding-ada-002
  • cohere/embed-english-v3.0
  • And many more