Moonshot AI¶
Setup¶
Get your API key from Moonshot AI and export it as an environment variable:
Examples¶
from toolfront import Database
db = Database("postgresql://user:pass@host/db")
# Moonshot v1 model
result = db.ask(..., model="moonshot:moonshot-v1-8k")
Moonshot Model Names
Always specify a Moonshot model with the moonshot:
prefix.