Skip to main content

Overview

SambaNova provides high-performance embedding inference with their custom hardware.

Quick Start

from praisonaiagents import embedding

result = embedding(
    input="Hello world",
    model="sambanova/E5-mistral-7b-instruct"
)
print(f"Dimensions: {len(result.embeddings[0])}")

CLI Usage

praisonai embed "Hello world" --model sambanova/E5-mistral-7b-instruct

Setup

export SAMBANOVA_API_KEY="your-sambanova-api-key"