Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Mistral AI provides a high-quality embedding model optimized for retrieval and semantic search.
Quick Start
from praisonaiagents import embedding
result = embedding(
input="Hello world",
model="mistral/mistral-embed"
)
print(f"Dimensions: {len(result.embeddings[0])}")
CLI Usage
praisonai embed "Hello world" --model mistral/mistral-embed
Setup
export MISTRAL_API_KEY="your-mistral-api-key"
Available Models
| Model | Dimensions | Use Case |
|---|
mistral/mistral-embed | 1024 | General purpose |
Batch Embeddings
from praisonaiagents import embedding
texts = ["Document 1", "Document 2", "Document 3"]
result = embedding(
input=texts,
model="mistral/mistral-embed"
)
print(f"Generated {len(result.embeddings)} embeddings")