rags icon indicating copy to clipboard operation
rags copied to clipboard

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

Open nickknyc opened this issue 1 year ago • 2 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?

nickknyc avatar Dec 05 '23 02:12 nickknyc

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

nickknyc avatar Dec 06 '23 13:12 nickknyc

PR Submitted - https://github.com/run-llama/rags/pull/54

nickknyc avatar Dec 07 '23 16:12 nickknyc