run-llama / rags

Build ChatGPT over your data, all with natural language
MIT License
6.17k stars 629 forks source link

metaphor to requirements.txt #52

Open nickknyc opened 8 months ago

nickknyc commented 8 months ago

deploying to azure app services, during setup it uses requirements.txt to load up the virtual environment. believe that metaphor-python needs to be in there.

Or am I missing something ;^)

anoopshrma commented 8 months ago

Metaphor is not a mandatory requirement. If you want to use it you can install it and add the keys in streamlit secrets.toml file

nickknyc commented 8 months ago

Metaphor is not a mandatory requirement. If you want to use it you can install it and add the keys in streamlit secrets.toml file

I am submitting a pr that removes all dependence on st.secrets and the sectrets.toml

But this issue is about the fact that if you ask rags to add the web tool, it will fail because metaphor-python is not installed in your environment and rags does not auto install it for you