Mistral¶
Setup¶
Get your API key from the Mistral AI Platform, and export it as an environment variable:
Examples¶
from toolfront import Database
db = Database("postgresql://user:pass@host/db")
# Latest Mistral Large version
result = db.ask(..., model="mistral:mistral-large-latest")
Mistral Model Names
Always specify a Mistral model with the mistral:
prefix.