Installing Private GPT to interact with your own documents!!

Поделиться
HTML-код
  • Опубликовано: 19 янв 2025

Комментарии • 123

  • @emammadov
    @emammadov Год назад +6

    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!

  • @dgm1949
    @dgm1949 10 месяцев назад +3

    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 месяцев назад +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 19 дней назад

      you js saved mine, thank you!!!!

    • @HiHi-hh4fo
      @HiHi-hh4fo 19 дней назад

      you js saved mine, thank you!!!!

  • @explosiveenterprises1479
    @explosiveenterprises1479 10 месяцев назад +13

    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 месяцев назад +6

      try poetry install -E ui

    • @lampmanjosh
      @lampmanjosh 10 месяцев назад

      That worked for me. Thank you!@@fierylight2009

    • @vipinpg
      @vipinpg 9 месяцев назад +1

      Framework updated. Check the official website.

    • @lokomokoyo
      @lokomokoyo 9 месяцев назад

      Any luck finding direction with this?

    • @WINHK
      @WINHK 9 месяцев назад

      @@fierylight2009 thank you so much!!!!!!!😁

  • @JohnWick-r3c
    @JohnWick-r3c 7 месяцев назад +3

    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"

  • @kearneyIT
    @kearneyIT Год назад +3

    this is gold, thank you very much and keep up the brilliant work man

  • @Reality_Check_1984
    @Reality_Check_1984 10 месяцев назад +2

    @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 Год назад +2

    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?

  • @alxt111
    @alxt111 Год назад +6

    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.

  • @iomarian13
    @iomarian13 Год назад +2

    why didn't you use a venv for installing python 3.11 ?

  • @Danda_505
    @Danda_505 10 месяцев назад +1

    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

  • @ewookiis
    @ewookiis Год назад +2

    I am a bit wondering why this did not go into a container instead of a venv, since there's dependency twists before this?

  • @dougle03
    @dougle03 Год назад +13

    Is this available in a container?

  • @iblackfeathers
    @iblackfeathers Год назад +6

    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

  • @RocktCityTim
    @RocktCityTim Год назад

    Thanks!🎉

  • @lokomokoyo
    @lokomokoyo 9 месяцев назад

    Thanks for the video! 5 minutes in and already super helpful. sub'd

  • @SchoolforHackers
    @SchoolforHackers Год назад +1

    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!

  • @shephusted2714
    @shephusted2714 Год назад +2

    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.

  • @KevinPL10
    @KevinPL10 Год назад +1

    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

  • @icarus901
    @icarus901 Год назад +2

    Could you share the hardware and OS specs used in this demo? Or link to a vid where you built it?

    • @NovaspiritTech
      @NovaspiritTech  Год назад +1

      i mention it in the video, nvidia 1070, amd 1700x, and 22.04 ubuntu

  • @pranavr1099
    @pranavr1099 Год назад +1

    How well does it work with datasheets? I'm thinking about uploading datasheets of some electronic component and get help with writing drivers

  • @DavidHerron
    @DavidHerron Год назад +1

    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.

  • @Namikaze420
    @Namikaze420 10 месяцев назад

    Thank you so much man,,,, this is incredibly useful ... fire content.. a definite subs and follower

  • @piyushverma614
    @piyushverma614 3 месяца назад

    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 ?

  • @aketo8082
    @aketo8082 11 месяцев назад

    Thank you. Any special when Python is already installed, for other issues?

  • @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

  • @jean-michelb7290
    @jean-michelb7290 4 месяца назад

    this is an alternative to ollama ?
    i'm new to this ai thing

  • @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 месяцев назад +1

      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

  • @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.

  • @JDSchuitemaker
    @JDSchuitemaker Год назад +2

    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  Год назад +5

      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 9 месяцев назад

      CMAKE_ARGS="-DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS" pip install llama-cpp-python

    • @JDSchuitemaker
      @JDSchuitemaker 9 месяцев назад

      @@vipinpg Thank you! I am going to try that!

    • @vipinpg
      @vipinpg 9 месяцев назад

      @@JDSchuitemaker try new version of privategpt. It uses ollama insted of llamacpp it is easy. I alreaddy developed few apps in production.

  • @ersineser7610
    @ersineser7610 Год назад +2

    Thank you for sharing.

  • @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.

  • @Numenor7
    @Numenor7 Год назад +1

    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.

  • @KarthikMumadi
    @KarthikMumadi 11 месяцев назад +1

    how to eject ingested files

  • @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?

  • @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

  • @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

  • @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,

  • @ChargedPulsar
    @ChargedPulsar 9 месяцев назад

    Did this work for anyone who tried? I'm having installation problems with exact steps on a clean install.

  • @_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.

  • @davidaliaga4708
    @davidaliaga4708 8 месяцев назад

    why you dont just use pyenv? it is much simpler

  • @scotttoward
    @scotttoward Год назад +1

    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

  • @maciofacio364
    @maciofacio364 11 месяцев назад

    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?

  • @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  Год назад +2

      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.

  • @zparihar
    @zparihar Год назад +3

    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?

  • @user-mfsc-2024
    @user-mfsc-2024 Год назад +1

    no amd gpu supported

  • @moviesync3131
    @moviesync3131 5 месяцев назад

    Not offline?

  • @Un_Pour_Tous
    @Un_Pour_Tous Год назад +2

    The 1080 still delivers in 2023

  • @Pure_Science_and_Technology
    @Pure_Science_and_Technology 11 месяцев назад

    What embedding model is it using?

    • @vipinpg
      @vipinpg 9 месяцев назад

      By default version use BAAI/bge-large-en
      New one useses nomic-embed-text with ollama

  • @al-ihsan-institute
    @al-ihsan-institute Год назад

    I ran into this error. Cuda out of memory. how to solve this. Please help

    • @vipinpg
      @vipinpg 9 месяцев назад

      What is your card?

  • @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 9 месяцев назад

      ​@@AndreiPetrescu add poetry to path variable.

  • @hsnorh8180
    @hsnorh8180 Год назад

    does it support other languages besides english?

  • @Sebastian-oz1lj
    @Sebastian-oz1lj 8 месяцев назад

    10:15 No arguments expected for "install" command, got "ui"

  • @g.s.3389
    @g.s.3389 Год назад

    does it work without nvidia card?

  • @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 11 месяцев назад

    thank you

  • @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  Год назад +10

      privacy

    • @SchoolforHackers
      @SchoolforHackers Год назад +3

      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 Год назад +5

      The same reason you had your own locker at school and not a shared one.

    • @gabscar1
      @gabscar1 Год назад +1

      Other than privacy: fun, learning, tinkering, etc.

  • @DonStrenz
    @DonStrenz 8 месяцев назад +1

    3 minutes in we find out this is for a MAC. 😞

  • @ScottPlude
    @ScottPlude Год назад

    this just broke my terminal after installing python 3.11

  • @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

  • @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

  • @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 месяцев назад +1

      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?

  • @chrstory
    @chrstory 6 месяцев назад

    poetry install -E ui

  • @HackerHoodie
    @HackerHoodie 10 месяцев назад

    Send me the coffee

  • @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