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