Step-1: Create RAG app
We provide a command line utility calledec in embedchain that inherits the template for streamlit.io platform and help you deploy the app. Follow the instructions to create a streamlit.io app using the template provided:
Install embedchain
Create application
app.py: Contains API app code.streamlit/secrets.toml: Contains secrets for your applicationembedchain.json: Contains embedchain specific configuration for deployment (you donโt need to configure this)requirements.txt: Contains python dependencies for your application
OPENAI_API_KEY in .streamlit/secrets.toml file to run and deploy the app.
Step-2: Test app locally
You can run the app locally by simply doing:Run locally
Step-3: Deploy to streamlit.io
Seeking help?
If you run into issues with deployment, please feel free to reach out to us via any of the following methods:Talk to founders
Schedule a call
Slack
Join our slack community
Discord
Join our discord community