rags
rags copied to clipboard
Metaphor Key - for cloud deploy - no .toml and no .env
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 - https://github.com/run-llama/rags/pull/54