Build from Source#
This guide shows how to build the Live Video Captioning RAG sample application from the source.
Build the Image#
Ensure you are in the project directory:
cd edge-ai-suites/metro-ai-suite/live-video-analysis/live-video-captioning-rag
(Optional) To include third-party copyleft source packages in the built images, export the environment variable before building:
export COPYLEFT_SOURCES=true
Generate the environment file:
# Generate .env from .env.example. # To customize models or device, edit .env after running this command. bash scripts/setup_env.sh
Build the Docker image:
docker compose build