Deploy your RAG application to streamlit.io platform
Embedchain offers a Streamlit template to facilitate the development of RAG chatbot applications in just three easy steps.
Follow the instructions given below to deploy your first application quickly:
We provide a command line utility called ec
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:
This will generate a directory structure like this:
Feel free to edit the files as required.
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 applicationAdd your OPENAI_API_KEY
in .streamlit/secrets.toml
file to run and deploy the app.
You can run the app locally by simply doing:
Use the deploy button from the streamlit website to deploy your app.
You can refer this guide if you run into any problems.
If you run into issues with deployment, please feel free to reach out to us via any of the following methods:
Deploy your RAG application to streamlit.io platform
Embedchain offers a Streamlit template to facilitate the development of RAG chatbot applications in just three easy steps.
Follow the instructions given below to deploy your first application quickly:
We provide a command line utility called ec
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:
This will generate a directory structure like this:
Feel free to edit the files as required.
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 applicationAdd your OPENAI_API_KEY
in .streamlit/secrets.toml
file to run and deploy the app.
You can run the app locally by simply doing:
Use the deploy button from the streamlit website to deploy your app.
You can refer this guide if you run into any problems.
If you run into issues with deployment, please feel free to reach out to us via any of the following methods: