Files
WrenAI/docker
Chih-Yu Yeh e96c928b36 Chore/ai service/minor updates (#377)
* restructure test folder

* fix WREN_ENGINE_ENDPOINT issue

* add async timer

* update

* use logger.info

* use asyncio.sleep

* use asyncio.sleep

* fix timer to async_timer

* add dummy endpoint

* fix time.sleep

* add WORKER

* add timer

* add LOGGING_LEVEL env

* simplify code

* change to async text/document embedder

* simplify code

* update configs and fix timer
2024-06-05 14:40:35 +08:00
..
2024-03-25 17:42:20 +08:00

Service

  • wren-engine: the engine service. check out example here: wren-engine /example
  • wren-ai-service: the AI service. check out example here: wren-ai-service docker-compose example
  • qdrant: the vector store ai service is using.
  • wren-ui: the UI service.
  • bootstrap: put required files to volume for engine service.

Volume

Shared data using data volume.

Path structure as following:

  • /mdl
    • *.json (will put sample.json during bootstrap)
  • accounts
  • config.properties

Network

How to start

  1. copy .env.example to .env.local and modify the OpenAI API key.
  2. (optional) if your port 3000 is occupied, you can modify the HOST_PORT in .env.local.
  3. run docker-compose --env-file .env.local up to start all services.