Build and customize options#
This guide provides build from source and specific customization options provided when building or deploying the microservice.
Manually setup environment variables#
Following environment variables are required for setting up the services. It is recommended that the runner script run.sh
be used to setup the variables. Refer to this section only if any of the variables need to be changed.
Project name:#
PROJECT_NAME: Helps provide a common docker compose project name and create a common container prefix for all services involved.
Secrets and token variables#
HUGGINGFACEHUB_API_TOKEN: This is the token required for running Huggingface based services and models. It is mandatory to set it and
run.sh
script. To set it, exportHUGGINGFACEHUB_API_TOKEN
variable from shell.
Build from source#
# To build DataPrep service image
# image_name:tag in below command are optional. If not provided `intel/document-ingestion:1.1` tag would be used.
source ./run.sh --build dataprep <image_name:tag>
Common Customizations#
Customization options are currently provided in the context of the sample application. Refer to ChatQnA sample application for details like Helm and customization options.