mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 12:19:06 +00:00
server: add default uvicorn server + update readme
This commit is contained in:
@@ -33,15 +33,21 @@ Then run the server:
|
||||
|
||||
```
|
||||
# With a config.ini
|
||||
$ poetry run python -m reflector.server
|
||||
$ poetry run python -m reflector.app
|
||||
|
||||
|
||||
# Within a poetry env
|
||||
$ poetry shell
|
||||
$ LLM_URL=http://.../api/v1/generate python -m reflector.server
|
||||
$ LLM_URL=http://.../api/v1/generate python -m reflector.app
|
||||
|
||||
```
|
||||
|
||||
### Using local GPT4All
|
||||
|
||||
- Start GPT4All with any model you want
|
||||
- Ensure the API server is activated in GPT4all
|
||||
- Run with: `LLM_BACKEND=openai LLM_URL=http://localhost:4891/v1/completions LLM_OPENAI_MODEL="GPT4All Falcon" python -m reflector.app`
|
||||
|
||||
# Old documentation
|
||||
|
||||
This is the code base for the Reflector demo (formerly called agenda-talk-diff) for the leads : Troy Web Consulting
|
||||
|
||||
Reference in New Issue
Block a user