Update as per the feedback.

- moved args parser inside main
- assigned empty list to docs.
- Updated README.md.
This commit is contained in:
abhiruka 2023-05-20 07:40:05 +08:00
parent 9fb7f07e3c
commit f8805c80f8
2 changed files with 15 additions and 33 deletions

View file

@ -83,25 +83,7 @@ Type `exit` to finish the script.
### Script Arguments
The script also supports optional command-line arguments to modify its behavior:
- `--hide-source` or `-S`: Use this flag to disable printing of the source documents used for answers. By default, the source documents are printed.
```shell
python privateGPT.py --hide-source
```
- `--mute-stream` or `-M`: Use this flag to disable LLM standard output streaming response, which by default prints progress to the console.
```shell
python privateGPT.py --mute-stream
```
You can combine these options if needed:
```shell
python privateGPT.py --hide-source --mute-callback
```
The script also supports optional command-line arguments to modify its behavior. You can see a full list of these arguments by running the command ```python privateGPT.py --help``` in your terminal
# How does it work?