From 0d7a133b1559b8c77e8908e7260912e810398131 Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Fri, 11 Aug 2023 08:29:19 -0700 Subject: [PATCH 1/2] Update `README.md` for `privategpt` --- examples/privategpt/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/privategpt/README.md b/examples/privategpt/README.md index 96cd96e1..768a4a1c 100644 --- a/examples/privategpt/README.md +++ b/examples/privategpt/README.md @@ -4,7 +4,7 @@ ### Setup -Optionally set up a virtual environment: +Set up a virtual environment (optional): ``` 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 ``` -### Ingesting data +### Ingesting files ```shell 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 ``` -### Ask Questions! +### Ask questions ```shell python privateGPT.py @@ -67,7 +67,7 @@ ollama pull llama2:13b MODEL=llama2:13b python privateGPT.py ``` -## Adding your own data +## Adding more files Put any and all your files into the `source_documents` directory From f7d4947573f52d7ebaa303a52c88eb11c8bee1ac Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Fri, 11 Aug 2023 08:52:26 -0700 Subject: [PATCH 2/2] update header note for `privategpt` example --- examples/privategpt/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/privategpt/README.md b/examples/privategpt/README.md index 768a4a1c..5dbd0ec5 100644 --- a/examples/privategpt/README.md +++ b/examples/privategpt/README.md @@ -1,6 +1,6 @@ # privateGPT with Llama 2 Uncensored -> Note: this example is a simplified version of [PrivateGPT](https://github.com/imartinez/privateGPT) that works with Llama 2 Uncensored. +> Note: this example is a slightly modified version of PrivateGPT using models such as Llama 2 Uncensored. All credit for PrivateGPT goes to Iván Martínez who is the creator of it, and you can find his GitHub repo [here](https://github.com/imartinez/privateGPT). ### Setup