Spaces:
Configuration error
Configuration error
Content Analysis Workflow Automation
This Streamlit dashboard integrates OpenAI and Snowflake to generate and run SQL queries for content analysis. Provide a description of the content you want to analyze and the app will:
- Use OpenAI to craft a Snowflake SQL query based on custom instructions.
- Execute the query against your Snowflake warehouse.
- Display the results in an interactive table.
Setup
- Install dependencies:
pip install -r requirements.txt - Set the required environment variables for OpenAI and Snowflake:
OPENAI_API_KEYSNOWFLAKE_USERSNOWFLAKE_PASSWORDSNOWFLAKE_ACCOUNTSNOWFLAKE_WAREHOUSESNOWFLAKE_DATABASESNOWFLAKE_SCHEMA
- Run the app:
streamlit run app.py