Original text(via HN AI)
AI functions
Each AI function returns one answer per row. SQL uses the answer like any other value.
Install
Quail needs Python 3.12 and a supported CUDA GPU.
图表:Terminal
uv pip install quail-engine
The package is quail-engine, and you import it as quail. With no local GPU, run Quail on Modal or connect to Quail Server.
When to use Quail
Use Quail to run AI functions in SQL with open models on your own GPUs or on Modal, for much less than a hosted model costs.