Preparing your Haystack chatbot for deployment
We will be deploying our application on Google Cloud. The approach we will be talking about is similar from a deployment perspective on all the popular cloud environments. We will be looking at building a docker compose
and running it in the cloud. Google Cloud was chosen because it is convenient rather than having any technical advantage as such. Once we deploy and run the application on Google Cloud, the official documentation links for other clouds to deploy the same docker compose
will be provided. Just repeating those steps in the book will not make much of a difference.
Before jumping into containerization and deployment, it is important to ensure that your Haystack chatbot code is organized in a way that is compatible with serverless deployment. In this section, you will structure your code base appropriately and prepare the essential configuration files needed for deploying to Google Cloud Run.
We will be reusing the...