mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 04:30:11 +01:00
Update as per the feedback.
- moved args parser inside main - assigned empty list to docs. - Updated README.md.
This commit is contained in:
parent
9fb7f07e3c
commit
f8805c80f8
2 changed files with 15 additions and 33 deletions
20
README.md
20
README.md
|
|
@ -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?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue