HuggingFace¶
Setup¶
Get your access token from Hugging Face and export it as an environment variable:
Examples¶
from toolfront import Database
db = Database("postgresql://user:pass@host/db")
# Use any HuggingFace model
result = db.ask(..., model="huggingface:Qwen/Qwen3-235B-A22B")
HuggingFace Model Names
Always specify a HuggingFace model with the huggingface:
prefix.