filmov
tv
How to install and use PrivateGPT - Privately Chat with your own documents
Показать описание
PrivateGPT is a really useful new project that you’ll find really useful.
You can basically load your private text files, PDF documents, powerpoint and use the power of Ai to interact with those documents. And it’s private and on your own computer.
It doesn’t have access to the internet and runs locally on your computer.
I’ll show you exactly how to set it up and use it and I’ll simplify it, so you can do this, even if you don’t know anything about computer programming.
First, you need a program called Visual Studio. You can download that here:
Then go to file, new window. Then, make sure you can see the terminal section on the bottom of the page.
Next, you need the code from Github. You can copy the URL of the Github repo here.
Go back to Visual Studio. Type cd desktop to access your computer desktop.
That should take a few seconds to install.
Then, go inside that folder by typing cd PrivateGPT
The install should take a few minutes. If you have issues, you can type pip3 to use a specific version of python. If you don’t have python installed, you’ll need to install that first.
Back in Github, download the LLM model.
Now, you can make a new folder called LLM models and move the downloads to it. You can use the finder window to make it easier.
You should see a folder called source-documents. This is where you will add your private documents. There is a test file there by default you can practice with.
You can check the Python version in your terminal or command prompt by using the following command: python --version
Or, for Python 3 specifically:python3 --version
To use it, use this command. python privateGPT.py
(Or python3 privateGPT.py)
The answer typically takes 20-30 seconds.
Remember to run the ingest prompt when you add new files to your folder.
You can basically load your private text files, PDF documents, powerpoint and use the power of Ai to interact with those documents. And it’s private and on your own computer.
It doesn’t have access to the internet and runs locally on your computer.
I’ll show you exactly how to set it up and use it and I’ll simplify it, so you can do this, even if you don’t know anything about computer programming.
First, you need a program called Visual Studio. You can download that here:
Then go to file, new window. Then, make sure you can see the terminal section on the bottom of the page.
Next, you need the code from Github. You can copy the URL of the Github repo here.
Go back to Visual Studio. Type cd desktop to access your computer desktop.
That should take a few seconds to install.
Then, go inside that folder by typing cd PrivateGPT
The install should take a few minutes. If you have issues, you can type pip3 to use a specific version of python. If you don’t have python installed, you’ll need to install that first.
Back in Github, download the LLM model.
Now, you can make a new folder called LLM models and move the downloads to it. You can use the finder window to make it easier.
You should see a folder called source-documents. This is where you will add your private documents. There is a test file there by default you can practice with.
You can check the Python version in your terminal or command prompt by using the following command: python --version
Or, for Python 3 specifically:python3 --version
To use it, use this command. python privateGPT.py
(Or python3 privateGPT.py)
The answer typically takes 20-30 seconds.
Remember to run the ingest prompt when you add new files to your folder.
Комментарии