Use Configs to add guardrails, caching, conditional routing, and more.
2
Create Model
CREATE MODEL portkey_modelPREDICT answerUSING engine = 'portkey_engine', temperature = 0.2;
3
Query
SELECT question, answerFROM portkey_modelWHERE question = 'Where is Stockholm located?';
Output:
+-----------------------------+--------------------------------------------------------------------------------+| question | answer |+-----------------------------+--------------------------------------------------------------------------------+| Where is Stockholm located? | Stockholm is the capital of Sweden, located on the south-central east coast... |+-----------------------------+--------------------------------------------------------------------------------+