kaarthik108 / snowChat

Chat snowflake database - Text to SQL
https://snowchat.streamlit.app/
435 stars 243 forks source link

Intallation Build #4

Open Arush04 opened 1 year ago

Arush04 commented 1 year ago

I am facing a problem setting up the environment mainly in step 4 of the installation guide, can someone guide what to do specifically there?

isrsal commented 1 year ago

@Arush04 create a .streamlit/secrets.toml file in the project directory. The contents should look like below (add the actual values within the quotes)

OPENAI_API_KEY = ""
ACCOUNT = ""
USER_NAME = ""
PASSWORD = ""
DATABASE = ""
SCHEMA = ""
WAREHOUSE = ""
ROLE = ""

See Streamlit Secrets management

FarazJamaleSpark commented 1 year ago

Screenshot from 2023-06-14 18-14-36

@isrsal could you please provide secrets.toml file as I'm keep getting this error , although I've already filled OPENAI_API_KEY = "" ACCOUNT = "" USER_NAME = "" PASSWORD = "" DATABASE = "" SCHEMA = "" WAREHOUSE = "" ROLE = ""

esanketkulkarni commented 1 year ago

@FarazJamaleSpark can you paste the contents of the error as text here? The screenshot has cut off the text