Overtrained / contextual-qa-chat-app

0 stars 0 forks source link

fix user provided openai credentials #10

Closed mcnewcp closed 10 months ago

mcnewcp commented 10 months ago

When the OpenAI api key is not provided in st.secrets and instead needs to be provided by the user, the app errors out. There needs to be a check for OpenAI credentials and only after that check has succeeded, the vector store and model connections are established.