Installing Private GPT to interact with your own documents!!

  Рет қаралды 51,205

Novaspirit Tech

Novaspirit Tech

Күн бұрын

Пікірлер: 123
@emammadov
@emammadov Жыл бұрын
Legend! Thanks a lot! I spent a ton of time trying to find a set of instructions that actually work but to no avail. Until I stumbled across your video. Thanks again!
@explosiveenterprises1479
@explosiveenterprises1479 10 ай бұрын
7:39 Timestamp: poetry install --with ui, local: Group(s) not found: local (via --with), ui (via --with) Seems that these commands no longer work
@fierylight2009
@fierylight2009 10 ай бұрын
try poetry install -E ui
@lampmanjosh
@lampmanjosh 10 ай бұрын
That worked for me. Thank you!@@fierylight2009
@vipinpg
@vipinpg 10 ай бұрын
Framework updated. Check the official website.
@lokomokoyo
@lokomokoyo 9 ай бұрын
Any luck finding direction with this?
@WINHK
@WINHK 9 ай бұрын
@@fierylight2009 thank you so much!!!!!!!😁
@dgm1949
@dgm1949 10 ай бұрын
Thank you for your videos. As a subscriber to your channel, I look forward to each new one. I would like to make a comment, and perhaps a suggestion for a future video. As a Finance Manager for the last 40+ years, I have come to find these three areas important as it relates to the retrieval of information. What every office need is a way to search: 1) URL's , EXCEL, and PDF on the internet. 2) EXCEL and CSV files locally. (and Securely) 3) PDF and DOC documents locally. (and Securely) And nowadays, you could never get a NON GUI program adopted by the office staff. And of course, all three of the search types would be incorporated into the same GUI. Python based program would be the preferred language. Ollama based. No wrapper programs like streamlit, etc. Thanks for your time, and keep up the good work.
@JohnWick-r3c
@JohnWick-r3c 7 ай бұрын
I followed the how you instructions until on the part where or at 7:40 min on the video , that to type in ---> poetry install --with ui,local and man i got this error ---> Group(s) not found: local (via --with), ui (via --with). Need help on this part
@ArisTheMage
@ArisTheMage 4 ай бұрын
do poetry install --extras "ui embeddings-huggingface llms-llama-cpp vector-stores-qdrant"
@JohnWick-r3c
@JohnWick-r3c 7 ай бұрын
I got the issue fixed and want to share it here - i type poetry install --extras "ui embeddings-huggingface llms-llama-cpp vector-stores-qdrant" instead and it works.
@HiHi-hh4fo
@HiHi-hh4fo 23 күн бұрын
you js saved mine, thank you!!!!
@HiHi-hh4fo
@HiHi-hh4fo 23 күн бұрын
you js saved mine, thank you!!!!
@kearneyIT
@kearneyIT Жыл бұрын
this is gold, thank you very much and keep up the brilliant work man
@Reality_Check_1984
@Reality_Check_1984 11 ай бұрын
@Novaspirit Tech I am having issues with the poetry install --with ui command. I keep getting an error stating that Poetry could not find a pyproject.toml file. Any ideas on how to resolve that?
@dukeseb
@dukeseb Жыл бұрын
It took a bit, I had some hurdles that you didnt have in the video with permissions an installs that didnt exist, but I got through and it was running. then i rebooted and its not running anymore. not sure how to start it back up again also how to make it start on boot. can you help?
@Danda_505
@Danda_505 10 ай бұрын
I don´t know what is wrong but I cannot install the segment with: python3 -m pip install pip, it just doesn´t work, even after changing the: export PATH ="~/.local/bin:$PATH" and i have python3.11.8
@alxt111
@alxt111 Жыл бұрын
Why do you change the python version system wide? Can't you just install 3.11 and create the virtual environment like this "python3.11 -m venv venv"?
@JimWolfe-qe3lu
@JimWolfe-qe3lu 7 ай бұрын
That's a good question. When I did "sudo update-alternatives --config python3" and set the system version to 3.11, Terminal stopped working. When I set it back to 3.12 (the apparent default for 24.04), Terminal worked again.
@RocktCityTim
@RocktCityTim Жыл бұрын
Thanks!🎉
@ewookiis
@ewookiis Жыл бұрын
I am a bit wondering why this did not go into a container instead of a venv, since there's dependency twists before this?
@lokomokoyo
@lokomokoyo 9 ай бұрын
Thanks for the video! 5 minutes in and already super helpful. sub'd
@SchoolforHackers
@SchoolforHackers Жыл бұрын
Don: thanks for this! Personally I’m deeply into this topic, so I’ll devour everything you produce on this topic. Obviously, don’t please me personally, but I think you’re at the beginning of a big incoming wave. Hack til it hurts, yes!
@maxacting
@maxacting 8 ай бұрын
Hey, huge thanks for all the work. I just have question at 7:30. My result is Group(s) not found: local (via --with), ui (via --with). Can somebody help please?
@LatvianGangsta
@LatvianGangsta 8 ай бұрын
yes they changed that a bit with is now extras. Look here in the comments or search for the error on google.
@maxacting
@maxacting 8 ай бұрын
@@LatvianGangsta Thanks mate
@piyushverma614
@piyushverma614 4 ай бұрын
how can we fix a path of folder, so that it automatically captures the files in that folder. Instead of manually uploading all the files ?
@iomarian13
@iomarian13 Жыл бұрын
why didn't you use a venv for installing python 3.11 ?
@Namikaze420
@Namikaze420 10 ай бұрын
Thank you so much man,,,, this is incredibly useful ... fire content.. a definite subs and follower
@KevinPL10
@KevinPL10 Жыл бұрын
i am relatively new to this topic and have a question. how can i run this on a server, so that it runs independent from a specific PC? I want to employ it companywide
@pranavr1099
@pranavr1099 Жыл бұрын
How well does it work with datasheets? I'm thinking about uploading datasheets of some electronic component and get help with writing drivers
@shephusted2714
@shephusted2714 Жыл бұрын
this is huge and will continue to improve and spread...particularly for commercial apps like lawyer firms and medical practices - expect the LLM ecosystem o expand a ton and things like cxl to kick in and turbocharge the growth in a couple of years - things like models being uncensored, real time and p2p model sharing and datasets will happen and also turbocharge growth - we really aren't there yet - it is going to take 4-5 years to really roll out to entire sme/smb mkt but it should be an interesting ride to say the least. why the limits on tokens? i would like to see things api independent especially with local builds - also it limits the amount of info you can pile into it which is a major limitation
@_BangDroid_
@_BangDroid_ Жыл бұрын
The implications are revolutionary, and I don't think people especially government realize this. Government will clamp down on AI as soon as they realize the economic effects, I can already smell the stench of lobbyists. Corporations want all the data, especially personal data. I can't see them giving up easy. It's hard enough to lobby in favor of right to repair, fixing phone screens is easy for anyone to understand, but AI is like magic and just so easy to use fear to manipulate policymakers.
@icarus901
@icarus901 Жыл бұрын
Could you share the hardware and OS specs used in this demo? Or link to a vid where you built it?
@NovaspiritTech
@NovaspiritTech Жыл бұрын
i mention it in the video, nvidia 1070, amd 1700x, and 22.04 ubuntu
@iclonethefirst
@iclonethefirst Жыл бұрын
I followed your steps on Linux Mint 21.3, but now that I'm running it the Browser, I get this Error when trying to use prompts: "NoneType' object has no attribute 'split". What could I have done wrong?
@KarthikMumadi
@KarthikMumadi Жыл бұрын
how to eject ingested files
@iblackfeathers
@iblackfeathers Жыл бұрын
what hardware are you using for this demo? i see an rpi keyboard but those could be used as an external keyboard. the documentation mentions using llama.cpp for mac os or nvidia gpu support for windows & linux. this looks promising.
@ewookiis
@ewookiis Жыл бұрын
Actually looks to me like a 400, guessing he's simply using that to access the web gui :).
@nneeerrrd
@nneeerrrd Жыл бұрын
Care to watch the video? Answer is there
@JDSchuitemaker
@JDSchuitemaker Жыл бұрын
Realizing upfront this would not work in my environment (Linux VM within ProxMox on Intel N100) I followed your steps. Low and behold it worked up to uploading a document. When I submit a prompt I see that the program in the terminal crashes immediately. Probably because of no NVIDIA CUDA available in my config. If you know of an alternative that doesn't need a GPU, I would love to try.
@NovaspiritTech
@NovaspiritTech Жыл бұрын
you will need to use a llm that is for your CPU and compile the llama.cpp for cpu instead of cuda
@Numenor7
@Numenor7 Жыл бұрын
Please elaborate on that. How do we compile llama.cpp for CPU instead?
@vipinpg
@vipinpg 10 ай бұрын
CMAKE_ARGS="-DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS" pip install llama-cpp-python
@JDSchuitemaker
@JDSchuitemaker 10 ай бұрын
@@vipinpg Thank you! I am going to try that!
@vipinpg
@vipinpg 10 ай бұрын
@@JDSchuitemaker try new version of privategpt. It uses ollama insted of llamacpp it is easy. I alreaddy developed few apps in production.
@Rewe4life
@Rewe4life 7 ай бұрын
with poetry run scripts/setup I am getting authentication errors. It says that I am not allowed to access the mistral7b. even with "poetry run huggingface-cli login --token mytoken" I am unable to finish that step. is there a way around it?
@Rewe4life
@Rewe4life 7 ай бұрын
figured it out myself: 1. create account at huggingface 2. under settings create a read access token 3. accept the message at mistral7b 4. edit setup file: hf_hub_download( repo_id=settings().llamacpp.llm_hf_repo_id, filename=settings().llamacpp.llm_hf_model_file, cache_dir=models_cache_path, local_dir=models_path, resume_download=resume_download, token="mytoken", # add this ) AutoTokenizer.from_pretrained( pretrained_model_name_or_path=settings().llm.tokenizer, cache_dir=models_cache_path, token="mytoken", # add this ) 5. run scipts/setup again
@ersineser7610
@ersineser7610 Жыл бұрын
Thank you for sharing.
@Cookiemantv
@Cookiemantv 7 ай бұрын
i think its updated...some of tutorial in this i have an error and i fixed it one by one... for instance the installation of poetry ui is changed to --extras
@GracieDo-ni8in
@GracieDo-ni8in 8 ай бұрын
Thank you for the tutorial. Could you give a hint, though, how should fix the ERROR "Current Python version (3.12.3) is not allowed by the project (>=3.11,
@Sebastian-oz1lj
@Sebastian-oz1lj 8 ай бұрын
you need python 11
@aketo8082
@aketo8082 11 ай бұрын
Thank you. Any special when Python is already installed, for other issues?
@dougle03
@dougle03 Жыл бұрын
Is this available in a container?
@jean-michelb7290
@jean-michelb7290 4 ай бұрын
this is an alternative to ollama ? i'm new to this ai thing
@DavidHerron
@DavidHerron Жыл бұрын
Very interesting. I don't have available any kind of tower PC with graphics card though. I have a Dell Lattitude laptop running Ubuntu. Given the complexity of the setup I'd rather do stuff in a Docker container, or LXD container. Any thoughts on that? I see on Docker Hub several privategpt containers but they haven't been updated anytime recently or else do not have documentation.
@renobodyrenobody
@renobodyrenobody Жыл бұрын
That's exactly what I was thinking. Some containers and installation process is done.
@ChargedPulsar
@ChargedPulsar 9 ай бұрын
Did this work for anyone who tried? I'm having installation problems with exact steps on a clean install.
@ramsakal1
@ramsakal1 6 ай бұрын
Thanks a lot When we are asking to summarise it summarising only few pages where as i have uplodede pdf of 20 pages.
@maciofacio364
@maciofacio364 Жыл бұрын
it's working, thanks for that. But... how to do this to work after reboot? do i have to start those few commands after every reboot? Maybe someone have this sorted out?
@al-ihsan-institute
@al-ihsan-institute Жыл бұрын
I ran into this error. Cuda out of memory. how to solve this. Please help
@vipinpg
@vipinpg 10 ай бұрын
What is your card?
@_Sepherial
@_Sepherial Жыл бұрын
Do you have this installed on a Windows 11 VirtualBox that hasn't been licensed yet. If you can pre-install it and make it available for download. I can get my own Windows license.
@sebastianknapek1467
@sebastianknapek1467 Жыл бұрын
i followed your video. worked well, however after restart i cannot run it anymore... when i execute PGPT_PROFILES=local make run i got following error... poetry run python -m private_gpt make: poetry: No such file or directory make: *** [Makefile:36: run] Error 127 working on OpenSuse. any idea??
@AndreiPetrescu
@AndreiPetrescu Жыл бұрын
Having the same issue... did you manage to figure it out?
@sebastianknapek1467
@sebastianknapek1467 11 ай бұрын
yes i did. i have installed once again poetry . but i am running OpenSuse Thumbleweed and its a rolling distro... @@AndreiPetrescu
@vipinpg
@vipinpg 10 ай бұрын
​@@AndreiPetrescu add poetry to path variable.
@xsy9093
@xsy9093 Жыл бұрын
Nice video! I got it installed, but is there a way to improve the performance of the response? It's often very slow, even if I run it on an RTX 4090 and an i9 13k.
@Numenor7
@Numenor7 Жыл бұрын
Do you have to have a GPU to run the model?
@Numenor7
@Numenor7 Жыл бұрын
I actually got it working on an old laptop without a GPU. It was slow but it worked. I just did all the other steps except the GPU steps and it worked.
@moviesync3131
@moviesync3131 5 ай бұрын
Not offline?
@davidaliaga4708
@davidaliaga4708 8 ай бұрын
why you dont just use pyenv? it is much simpler
@user-mfsc-2024
@user-mfsc-2024 Жыл бұрын
no amd gpu supported
@scotttoward
@scotttoward Жыл бұрын
What an absolute nightmare to install this is impossible unless you are a dev I followed this to the letter over 3 different guides and got the furthest with this one but what a nightmare
@MrPeterJMilner
@MrPeterJMilner Жыл бұрын
Evening Don, This is interesting and I may well follow your lead on this. Also, just so you are aware, I followed your previous PiMox install video to the letter but could not make it work. It came up with two package missing errors and failed to run, even though it wasnt immediately apparent there were problems with the install process. Cheers, Peter.
@NovaspiritTech
@NovaspiritTech Жыл бұрын
not sure if the pimox works with current kernel for the pi and might have to ignore the install of the kernel in the install script, i was just looking into that to get prox 8 on pi
@MrPeterJMilner
@MrPeterJMilner Жыл бұрын
@@NovaspiritTech Well done Don, I have a network of currently 5 or so Pi 4B 8 Gb in Pi NAS Server cases and one NUC 12 Pro i7. The NUC is running Proxmox 8 and the Pi's the traditional Docker and Portainer via DietPi. I would really like all servers to be running Proxmox and be controllable from one console. Ta, Peter.
@Pure_Science_and_Technology
@Pure_Science_and_Technology 11 ай бұрын
What embedding model is it using?
@vipinpg
@vipinpg 10 ай бұрын
By default version use BAAI/bge-large-en New one useses nomic-embed-text with ollama
@Un_Pour_Tous
@Un_Pour_Tous Жыл бұрын
The 1080 still delivers in 2023
@zparihar
@zparihar Жыл бұрын
Hey bud, I appreciate you showing us however, could you explain more about what private GPT is? And what are the benefits? Is it proxy to chatgpt? What are the hardware requirements? NVIDIA?
@hsnorh8180
@hsnorh8180 Жыл бұрын
does it support other languages besides english?
@NovaspiritTech
@NovaspiritTech Жыл бұрын
yes depends on your model
@hsnorh8180
@hsnorh8180 Жыл бұрын
@@NovaspiritTech thanks...👍
@g.s.3389
@g.s.3389 Жыл бұрын
does it work without nvidia card?
@BCBUD
@BCBUD Жыл бұрын
Yes
@juanamon761
@juanamon761 10 ай бұрын
Excelente explicación. Gracias a tu aporte lo tengo funcionando en WLS Ubuntu-22.04 Si alguien desea revisar archivos de tipo docx Tan solo debe ejecutar el siguiente comando, dentro del (venv) poetry add docx2txt
@YASSINELAOUADI-u4o
@YASSINELAOUADI-u4o 4 ай бұрын
Are these the world's most crispy fries ? Let's find out 13:01
@dmbrv
@dmbrv Жыл бұрын
great video
@bradleywoolf3351
@bradleywoolf3351 Жыл бұрын
thank you
@Sebastian-oz1lj
@Sebastian-oz1lj 8 ай бұрын
10:15 No arguments expected for "install" command, got "ui"
@naveedshariff1723
@naveedshariff1723 9 ай бұрын
bro free ah idhu ?
@nils-erikolsson3539
@nils-erikolsson3539 Жыл бұрын
What does this do except make you own computer use more electricity? I mean compared to the free ChatGPT that run on thousands of GPUs on some supercomputer gpu cluster. Why use local resources for something that ChatGPT does and is free (3.5)?
@NovaspiritTech
@NovaspiritTech Жыл бұрын
privacy
@SchoolforHackers
@SchoolforHackers Жыл бұрын
So I can draw from my own documents to train output. Like: Write a new novel in the style of my old novels, about the era of …
@ewookiis
@ewookiis Жыл бұрын
The same reason you had your own locker at school and not a shared one.
@gabscar1
@gabscar1 Жыл бұрын
Other than privacy: fun, learning, tinkering, etc.
@JohnWick-r3c
@JohnWick-r3c 7 ай бұрын
if you can come back on me on this or anyone for me to fix this i highly appreciate it
@ScottPlude
@ScottPlude Жыл бұрын
this just broke my terminal after installing python 3.11
@DonStrenz
@DonStrenz 8 ай бұрын
3 minutes in we find out this is for a MAC. 😞
@HackerHoodie
@HackerHoodie 10 ай бұрын
Send me the coffee
@chrstory
@chrstory 7 ай бұрын
poetry install -E ui
@Atrivion
@Atrivion 11 ай бұрын
Watching this all confused, I really wish PrivateGPT could just make a 1 click installer that does everything. I am so lost lol
@ChargedPulsar
@ChargedPulsar 9 ай бұрын
Do you want free cookies delivered to your address as well?
@Atrivion
@Atrivion 9 ай бұрын
@@ChargedPulsar Preferably yes. Predipped in milk too. Do you enjoy being an ass online? Is real life hard for you so that you feel the need to act like an ass online to feel big and strong again?
@Un_Pour_Tous
@Un_Pour_Tous Жыл бұрын
What i do for alt python is just name it python310 or python311 and i even still even use python2 lol
@thinkdomotic4915
@thinkdomotic4915 Жыл бұрын
👍❤️
@gmog7857
@gmog7857 Жыл бұрын
You are confusing everybody, you could have just downloaded the latest version instead of all these confusing mombo jombo
@michaelkrailo5725
@michaelkrailo5725 9 ай бұрын
The newest version of what? This is a project on github and not much has changed that I can tell from the documentation. What exactly are you talking about? After reading the documentation, it's not confusing at all.
@Sebastian-oz1lj
@Sebastian-oz1lj 8 ай бұрын
Sorry but this guide is garbage i followed it step by step and had multiple issules. aftr 3 days i give up
Run your own AI (but private)
22:13
NetworkChuck
Рет қаралды 1,8 МЛН
UFC 287 : Перейра VS Адесанья 2
6:02
Setanta Sports UFC
Рет қаралды 486 М.
Ozoda - Alamlar (Official Video 2023)
6:22
Ozoda Official
Рет қаралды 10 МЛН
FortiGate & Cisco: Build Your Home/Small Business Network in EVE-NG
28:39
host ALL your AI locally
24:20
NetworkChuck
Рет қаралды 1,6 МЛН
Gaming On Linux In 2024 with Linux Mint, Gamescope, FSR and More!
23:47
Problems You will Encounter on Linux (and How to Solve Them)
23:01
Rob Braxman Tech
Рет қаралды 184 М.
FydeOS: ChromiumOS with Android, Linux & no Google!
23:26
ExplainingComputers
Рет қаралды 249 М.
Sync Your Files With SyncThing Over LAN or WAN
14:11
Novaspirit Tech
Рет қаралды 9 М.
The Free and Open Source Software I Use in 2024 - Part 1
28:31
Awesome Open Source
Рет қаралды 348 М.
How to Make Your Own VPN (And Why You Would Want to)
25:54
Wolfgang's Channel
Рет қаралды 2,3 МЛН
UFC 287 : Перейра VS Адесанья 2
6:02
Setanta Sports UFC
Рет қаралды 486 М.