run-llama / rags

Build ChatGPT over your data, all with natural language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Metaphor Key - for cloud deploy - no .toml and no .env

nickknyc opened this issue · comments

I am trying to deploy to Azure App Serivices. I have ARM templates that work fine. The one issue I am having is that i need to set API keys as if they are stored as environment variables.
For OpenAI -
os.environ["OPENAI_API_KEY"] = st.secrets.openai_key
from utils.py makes sense

but am not seeing anything that straightforward for metaphor

Am I missing something?

with some sage guidance from @logan-markewich -i have tbis figured out - will get pr together today

PR Submitted - #54