You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code for the SQL Optimizer Cortex App does not appear to be valid for Streamlit in Snowflake. When creating an app and using the source code it cannot import the Complete function.
Traceback:
File "/usr/lib/python_udf/5759b01ddf3c89a7f38cfbfdd013907ebb882e6a2a64eb71d0c9c3880f2d0f2b/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 600, in _run_script
exec(code, module.__dict__)
File "/tmp/appRoot/streamlit_app.py", line 3, in <module>
from snowflake.cortex import Complete```
The text was updated successfully, but these errors were encountered:
calder-holt
changed the title
SQL Optimizer Snowflake Cortex App does not work
SQL Optimizer Snowflake Cortex App cannot import Cortex
Oct 29, 2024
The code for the SQL Optimizer Cortex App does not appear to be valid for Streamlit in Snowflake. When creating an app and using the source code it cannot import the Complete function.
The text was updated successfully, but these errors were encountered: