Docker

Setup

  1. Option: Use docker-compose (recommended)

    1. 1. Checkout the docker-compose file from github: https://github.com/labsai/EDDI/blob/master/docker-compose.ymlarrow-up-right

      1. 2. Run Docker Command:docker-compose up

  2. Option: Launch docker containers manually

Start a MongoDB instance using the MongoDB docker image:

docker run --name mongodb -e MONGODB_DBNAME=eddi -d mongo

Start EDDI:

docker run --name eddi --link mongodb:mongodb -p 7070:7070 -d labsai/eddi

Environment Variables

You can configure EDDI using environment variables. This is especially useful for configuring AI tools that require API keys.

Web Search Tool (Google):

-e EDDI_TOOLS_WEBSEARCH_PROVIDER=google \
-e EDDI_TOOLS_WEBSEARCH_GOOGLE_API_KEY=your_key \
-e EDDI_TOOLS_WEBSEARCH_GOOGLE_CX=your_cx

Weather Tool (OpenWeatherMap):

Example with tools enabled:

Last updated

Was this helpful?