|
@@ -4,7 +4,7 @@
|
|
|
|
|
|
### Setup
|
|
### Setup
|
|
|
|
|
|
-Optionally set up a virtual environment:
|
|
|
|
|
|
+Set up a virtual environment (optional):
|
|
|
|
|
|
```
|
|
```
|
|
python3 -m venv .venv
|
|
python3 -m venv .venv
|
|
@@ -30,7 +30,7 @@ mkdir source_documents
|
|
curl https://d18rn0p25nwr6d.cloudfront.net/CIK-0001813756/975b3e9b-268e-4798-a9e4-2a9a7c92dc10.pdf -o source_documents/wework.pdf
|
|
curl https://d18rn0p25nwr6d.cloudfront.net/CIK-0001813756/975b3e9b-268e-4798-a9e4-2a9a7c92dc10.pdf -o source_documents/wework.pdf
|
|
```
|
|
```
|
|
|
|
|
|
-### Ingesting data
|
|
|
|
|
|
+### Ingesting files
|
|
|
|
|
|
```shell
|
|
```shell
|
|
python ingest.py
|
|
python ingest.py
|
|
@@ -49,7 +49,7 @@ Using embedded DuckDB with persistence: data will be stored in: db
|
|
Ingestion complete! You can now run privateGPT.py to query your documents
|
|
Ingestion complete! You can now run privateGPT.py to query your documents
|
|
```
|
|
```
|
|
|
|
|
|
-### Ask Questions!
|
|
|
|
|
|
+### Ask questions
|
|
|
|
|
|
```shell
|
|
```shell
|
|
python privateGPT.py
|
|
python privateGPT.py
|
|
@@ -67,7 +67,7 @@ ollama pull llama2:13b
|
|
MODEL=llama2:13b python privateGPT.py
|
|
MODEL=llama2:13b python privateGPT.py
|
|
```
|
|
```
|
|
|
|
|
|
-## Adding your own data
|
|
|
|
|
|
+## Adding more files
|
|
|
|
|
|
Put any and all your files into the `source_documents` directory
|
|
Put any and all your files into the `source_documents` directory
|
|
|
|
|