Files
WrenAI/docker
HoupusandChih-Yu Yeh 7decf5fbc4 Support 3rd party openai api (#365)
* Support for specifying third-party OPENAI proxy services

* Remove unnecessary changes

* Support for specifying third-party OPENAI proxy services

* update get_generator method

---------

Co-authored-by: Chih-Yu Yeh <chihyu.jimmy.yeh@gmail.com>
2024-06-04 21:38:23 +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.