Skip to content

Commit

Permalink
Merge branch 'main' into chore/ai-service/pull-ollama-models
Browse files Browse the repository at this point in the history
  • Loading branch information
cyyeh authored Jul 15, 2024
2 parents 723b6b6 + 36506cd commit c80c4d6
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions wren-ai-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

Please read the [documentation](https://docs.getwren.ai/concept/wren_ai_service) here to understand the concepts of Wren AI Service.

## Environment Setup
## Setup for Local Development

### Environment Setup

- Python 3.12.*, recommended to use [`pyenv`](https://github.com/pyenv/pyenv?tab=readme-ov-file#installation) to manage the Python versions
- install `poetry` with version 1.8.3: `curl -sSL https://install.python-poetry.org | python3 - --version 1.8.3`
Expand All @@ -13,7 +15,7 @@ Please read the [documentation](https://docs.getwren.ai/concept/wren_ai_service)
- [for development] execute `poetry run pre-commit install` to install the pre-commit hooks and `poetry run pre-commit run --all-files` to run the pre-commit checks at the first time to check if everything is set up correctly
- [for development] to run the tests, execute `make test`

## Start the service for development
### Start the service for development

The following commands can quickly start the service for development:

Expand All @@ -24,7 +26,9 @@ The following commands can quickly start the service for development:
- go to `http://WREN_UI_HOST:WREN_UI_PORT`(default is http://localhost:3000) to interact interact from the UI
- `make dev-down` to stop the needed containers

## Pipeline Evaluation(Deprecated, will introduce new way to evaluate the speed in the future)
## Others

### Pipeline Evaluation(Deprecated, will introduce new way to evaluate the speed in the future)

- install `psql`
- fill in environment variables: `.env.dev` in the src folder and `config.properties` in the src/eval/wren-engine/etc folder
Expand Down Expand Up @@ -54,7 +58,7 @@ The following commands can quickly start the service for development:
- .html: test report in html format, showing tables and charts
- .log: test log

## Demo(Deprecated)
### Demo

- go to the `demo` folder and run `poetry install` to install the dependencies
- in the `wren-ai-service` folder, open three terminals
Expand Down

0 comments on commit c80c4d6

Please sign in to comment.