Skip to content

Releases

v0.2.0

Choose a tag to compare

@mkaratayev mkaratayev released this 01 Nov 23:33

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_decide and drex_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.
  • VARCHAR overloads cover text input, and a single image URL in drex_decide_image.
  • drex_decide and drex_decide_image return OBJECT, so a row without an answer is SQL NULL.
  • Optional OpenRouter routing is available, with app attribution set by the drex_openrouter_referer and drex_openrouter_title secrets.
  • 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.