Repository navigation
Releases
Releases · nace-ai/drex-snowflake
v0.2.0
The first public release of Drex for Snowflake: five SQL functions that send each row to Drex and return calibrated probabilities as Snowflake values.
- Five functions in
DREX.PUBLIC:drex_noul,drex_choice,drex_score,drex_decideanddrex_decide_image. They are vectorized Python UDFs on Python 3.12 that call Drex through an external access integration, and the API key is kept in a Snowflake secret. VARCHARoverloads cover text input, and a single image URL indrex_decide_image.drex_decideanddrex_decide_imagereturnOBJECT, so a row without an answer is SQL NULL.- Optional OpenRouter routing is available, with app attribution set by the
drex_openrouter_refereranddrex_openrouter_titlesecrets. - Requests send
X-Nace-Client: drex-snowflake/0.2.0.
Install it with docs/INSTALL.md; the full reference is docs/API.md. You need a Snowflake account with external access (trial accounts don't have it by default) and a Drex API key.