Embedchain has a nice and simple abstraction on top of the render.com tools to let developers deploy RAG application to render.com platform seamlessly.
Follow the instructions given below to deploy your first application quickly:
render command line
brew tap render-oss/render
brew install render
In case you run into issues, refer to official render.com docs.
Step-2 Create RAG application:
We provide a command line utility called
ec in embedchain that inherits the template for
render.com platform and help you deploy the app. Follow the instructions to create a render.com app using the template provided:
pip install embedchain
ec create --template=render.com
create command will open a browser window and ask you to login to your render.com account and will generate a directory structure like this:
Feel free to edit the files as required.
app.py: Contains API app code
.env: Contains environment variables for production
render.yaml: Contains render.com specific configuration for deployment (configure this according to your needs, follow this for more info)
embedchain.json: Contains embedchain specific configuration for deployment (you don’t need to configure this)
requirements.txt: Contains python dependencies for your application
Step-3: Test app locally
You can run the app locally by simply doing:
pip install -r requirements.txt
Step-4: Deploy to render.com
Before deploying to render.com, you only have to set up one thing.
After that, you’re ready to deploy on render.com.
When you run this, it should open up your render dashboard and you can see the app being deployed. You can find your hosted link over there only.
You can also check the logs, monitor app status etc on their dashboard by running command
If you run into issues with deployment, please feel free to reach out to us via any of the following methods: