Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Generate embeddings using IBM Watsonx.ai
from praisonaiagents import embedding result = embedding( input="Hello world", model="watsonx/ibm/slate-125m-english-rtrvr" ) print(f"Dimensions: {len(result.embeddings[0])}")
praisonai embed "Hello world" --model watsonx/ibm/slate-125m-english-rtrvr
export WATSONX_API_KEY="your-watsonx-api-key" export WATSONX_URL="https://us-south.ml.cloud.ibm.com"
watsonx/ibm/slate-125m-english-rtrvr
watsonx/ibm/slate-30m-english-rtrvr