PrivateGPT 2.0 Windows Install Guide (Chat to Docs) CPU, OPENAI, GPU Configuration & Demo

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 มิ.ย. 2024
  • 🚀 PrivateGPT Latest Version Setup Guide Jan 2024 | AI Document Ingestion & Graphical Chat - Windows Install Guide🤖
    Welcome to the latest version of PrivateGPT! In this video, we'll explore the new features, including a sleek GUI web interface, LLM chat option using Mistral 7B, and the exciting Graphical Chat with Your Docs tab right in your browser. Windows install instructions for PrivateGPT.
    🌐 New Features Overview.
    Discover the power of PrivateGPT with its latest features. Dive into the intuitive GUI web interface, explore the LLM chat option, and learn how to engage in a graphical chat with your own documents. Unleash the potential of AI like never before!
    🔨 Building PrivateGPT on Windows.
    Ready to get hands-on? Follow our step-by-step guide on how to build PrivateGPT from the open-source GitHub repository on your Windows PC. We'll walk you through the installation process, making it easy for you to set up PrivateGPT on Windows.
    🖥️ Configuring for CPU, GPU, or OPENAI API.
    Tailor PrivateGPT to your preferences! Learn how to configure PrivateGPT to run on your CPU, leverage your NVIDIA GPU for enhanced performance, or integrate it with the OPENAI API for an even more powerful AI experience.
    👍 Like, Share, Subscribe!
    If you found this guide helpful, give it a thumbs up, share it with your friends, and don't forget to subscribe for more tech tutorials and AI insights. Stay tuned for future updates on StuffAboutStuff4045!
    🔗 Links.
    GitHub Repository: github.com/imartinez/privateGPT
    Private GPT Docs: docs.privategpt.dev/
    Git for Windows: gitforwindows.org/
    Python 3.11: www.python.org/downloads/rele...
    Anaconda: www.anaconda.com/download
    VS Community : visualstudio.microsoft.com/fr...
    📌 Timestamps
    0:00 Introduction to PrivateGPT.
    0:30 New Private GPT Features Overview
    1:20 Building PrivateGPT on Windows
    6:55 Configuring PrivateGPT CPU, GPU, or OPENAI API
    Like, Share, Subscribe!
    Get ready to revolutionize your AI Document analysis with PrivateGPT! 🌐🤖💻
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 158

  • @stuffaboutstuff4045
    @stuffaboutstuff4045  2 หลายเดือนก่อน +1

    Hi Everyone,
    I uploaded a new PrivateGPT v 0.4.0 build Video, This Video shows how to build PrivateGPT on Windows with Ollama support. Check it out on the link below.
    🔗PrivateGPT 0.4.0 with Ollama Support.
    th-cam.com/video/Ww2oelybDz8/w-d-xo.html
    🔗

    • @firatguven6592
      @firatguven6592 หลายเดือนก่อน

      I've installed both 2.0 version and the 4.0 version and both works. But even though the ollama version is really very practical compared to this one, the upload of the files are taking tooo much time around 15-20 times longer for each file. With version 2.0 is also not fast, but at least the cpu load shows around 80% almost full load and the parsing of the embeddings are taking for example for 600 pages pdf document around 10-12 min whereas with 4.0 (ollama) 2 hours only for one file. A huge 2700 page Book could not even be finished even after 6 hours. The reason seems to be that the cpu has almost no load during the upload 5% => of courese it will take 16 times more time if consider the load propotional with parsing. With 4.0 version something is wrong. I am wondering whether the failure is in my system or not, if someone could share here his experience regarding the upload time and load, this would help me understand where the failure could be

  • @jcr4745
    @jcr4745 3 หลายเดือนก่อน +19

    If you get this error when using this command poetry install --with ui,local
    Group(s) not found: local (via --with), ui (via --with)
    Use this command
    poetry install --extras "ui vector-stores-qdrant llms-ollama embeddings-huggingface"
    You're Welcome :)

    • @edwardleyco9880
      @edwardleyco9880 3 หลายเดือนก่อน +1

      Bro thank you!

    • @danda3688
      @danda3688 3 หลายเดือนก่อน +2

      As i installed the poetry install --extras "ui vector-stores... it installed only 12 packages, in the video he got a lot more than that. Now when I run the poetry run python-m private_gpt (in the video 7:15) it shows me that I am missing --extras llms-llama-cpp. after I got this installed, something different went wrong and is missing and it is in this circle that I am downloading something and something other is missing. Is there any way to get this running?

    • @jcr4745
      @jcr4745 3 หลายเดือนก่อน +3

      poetry install --extras "llms-llama-cpp ui vector-stores-qdrant embeddings-huggingface"

    • @jcr4745
      @jcr4745 3 หลายเดือนก่อน

      Said that to me, use command above ​@@danda3688

    • @desperbamboo
      @desperbamboo 3 หลายเดือนก่อน +1

      bro you're a life saver thank you

  • @user-zw6od8rm9w
    @user-zw6od8rm9w 3 หลายเดือนก่อน +1

    Thumbs up man, really great demonstration. Thanks a lot, cuz helped a lot.

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  3 หลายเดือนก่อน

      Glad to hear it! Thanks for the feedback!

  • @desperbamboo
    @desperbamboo 3 หลายเดือนก่อน +9

    to anyone who gets hit with this error:
    ImportError: Local dependencies not found, install with `poetry install --extras llms-llama-cpp`
    you need to continue adding the dependency errors it throws at you into the install command. since you cant install llms-llama-cpp, here is what you would use
    poetry install --extras "llms-llama-cpp ui"
    and continue adding any more it throws at you. for example, the next error i got said ImportError: Local dependencies not found, install with `poetry install --extras embeddings-huggingface`
    so my next command was poetry install --extras "llms-llama-cpp ui embeddings-huggingface"
    this kept going until the command that got it working was poetry install --extras "llms-llama-cpp ui vector-stores-qdrant embeddings-huggingface"
    try to just keep adding the dependency names to the install command until it works

    • @Jonnybeat
      @Jonnybeat 3 หลายเดือนก่อน

      Thanks dude! This helps me a lot

    • @bradcasper4823
      @bradcasper4823 3 หลายเดือนก่อน

      YOOO, IT WORKS: poetry install --extras "llms-llama-cpp ui vector-stores-qdrant embeddings-huggingface"
      Thank you, in the cmd it says:
      uvicorn.error - Uvicorn running on 0.0.0.0:8001 (Press CTRL+C to quit)
      just change it to 127.0.0.1:8001

    • @MasterOfDisasterInAl
      @MasterOfDisasterInAl 3 หลายเดือนก่อน

      after adding the extras. is cuda working? do you see BLAS = 1 ?. Everyting runs on cpu on WSL

    • @greenwardon
      @greenwardon 3 หลายเดือนก่อน

      this line also got me going! thank you:
      poetry install --extras "llms-llama-cpp ui vector-stores-qdrant embeddings-huggingface"

    • @stephanv48v
      @stephanv48v 3 หลายเดือนก่อน +1

      This might help as well, this resolved my issue.
      set PGPT_PROFILES=ollama
      poetry install --extras "ui llms-sagemaker embeddings-sagemaker vector-stores-qdrant"
      poetry run python -m uvicorn private_gpt.main:app --reload --port 8001

  • @senorchavo5572
    @senorchavo5572 3 หลายเดือนก่อน +1

    Awsome...got it working awome video

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 หลายเดือนก่อน

      Thanks for the feedback! If you are interested updated build video released today.
      I created an updated PrivateGPT video, Welcome to check it out. PrivateGPT with Ollama support. Build the latest version 0.4.0.
      th-cam.com/video/Ww2oelybDz8/w-d-xo.html

  • @Reality_Check_1984
    @Reality_Check_1984 4 หลายเดือนก่อน +1

    This works. Thanks

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  3 หลายเดือนก่อน

      Glad the video helped out! Thanks for the feedback..

  • @jdholbrook33
    @jdholbrook33 3 หลายเดือนก่อน

    Impressive. I loaded the instruction manual for my HAAS VF4SS mill (24meg PDF) and asked multiple questions about g-code. It gave correct answers every time.
    I input some code and asked for a description of what the machine would do if I ran that code. Very detailed and correct answer. I am impressed.
    Thank you.
    P.S. I'm running the Mistral LLM and it's only taking up about 7gig of VRAM and is pretty fast with the answers.

    • @wagaca
      @wagaca 3 หลายเดือนก่อน

      in boosting the speed, did you use the Nvidia method or openai key?

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 หลายเดือนก่อน

      Glad to hear, thanks for the feedback. There is a new video that offloads the LLM and GPU's to Ollama. Have a look on the channel if you want to check out the new version. Thanks for reaching out. Updated video PrivateGPT. th-cam.com/video/Ww2oelybDz8/w-d-xo.html

  • @marouahamdi4293
    @marouahamdi4293 3 หลายเดือนก่อน

    thank you for the explantation ! can we change the inteface design ?

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 หลายเดือนก่อน

      Pleasure! Updated version should you want to check it out...
      I created an updated PrivateGPT video, Welcome to check it out. PrivateGPT with Ollama support. Build the latest version 0.4.0.
      th-cam.com/video/Ww2oelybDz8/w-d-xo.html

  • @ROKKor-hs8tg
    @ROKKor-hs8tg 4 หลายเดือนก่อน +1

    Thank you

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 หลายเดือนก่อน

      You're welcome, glad the video helped. Thanks for the feedback.

  • @Reality_Check_1984
    @Reality_Check_1984 3 หลายเดือนก่อน +1

    I built this up for both the recommended ollama and llama. Ollama didnt seem to utilize much if any of the GPU and documents worked but were too slow to be useful. Llamma works much better. I am sure the ollama issues will be resolved and long term may turn out to be the better method but as of today the llama profile works better

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 หลายเดือนก่อน

      Hi, thanks for the feedback! I dont know if you checked out the new version running on Ollama as backend.
      Hi,
      I created an updated PrivateGPT video, Welcome to check it out. PrivateGPT with Ollama support. Build the latest version 0.4.0.
      th-cam.com/video/Ww2oelybDz8/w-d-xo.html

  • @user-ic8jv7fd1h
    @user-ic8jv7fd1h 4 หลายเดือนก่อน

    Thank you. tired of looking for normal instructions

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  3 หลายเดือนก่อน

      Thanks for reaching out. Glad the video helped!

  • @nunomlucio5789
    @nunomlucio5789 3 หลายเดือนก่อน

    It works thanks for the sharing. Just a question...is it possible to increase/force the use of the GPU... mine only uses aroung/no more than 20% of the GPU capacity?

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  3 หลายเดือนก่อน

      Hi,
      Looks like there is a new build again with a lot more options. I will look at building it the weekend. If you want you can check the new options available.
      docs.privategpt.dev/installation/getting-started/main-concepts

    • @nunomlucio5789
      @nunomlucio5789 3 หลายเดือนก่อน

      @@stuffaboutstuff4045 I've reseted the PC and done a new build, and it's quite fast now, although still not all PC resources are being used (CPU and GPU). The only change made now was:
      Before:
      poetry install --with ui
      Now:
      poetry install --extras "ui llms-llama-cpp embeddings-huggingface vector-stores-qdrant"

  • @GPTDavid
    @GPTDavid 3 หลายเดือนก่อน +2

    Heads up, things may have changed since this video was released.
    Would you be able to recreate the process for installing privateGPT again?

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 หลายเดือนก่อน

      Done, Thanks! Link to the new video below....
      I created an updated PrivateGPT video, Welcome to check it out. PrivateGPT with Ollama support. Latest version 0.4.0.
      th-cam.com/video/Ww2oelybDz8/w-d-xo.html

  • @Martin-bx1et
    @Martin-bx1et 3 หลายเดือนก่อน

    SUCCESS! I managed to get the server running by following the video until 6:07 at which point (as noted in other comments), instead of *poetry install --with ui,local* I used:
    *poetry install --extras "llms-llama-cpp ui vector-stores-qdrant embeddings-huggingface"*
    After that, carrying on from 9:58 (running locally with an nvidia gpu) I had an error:
    "The CUDA Toolkit v12.4 directory '' does not exist. Please verify the CUDA Toolkit is installed properly or define the CudaToolkitDir property to resolve this error."
    To fix that I needed to use regedit to add a new key called *InstallDir* under *computer\HKEY_LOCAL_MACHINE\SOFTWARE\NVIDIA Corporation\GPU Computing Toolkit\CUDA\v12.4* (or whichever is your cuda toolkit version) and set the value to *C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4* (this location is your cuda_path which can be found in environment variables within control panel).

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 หลายเดือนก่อน +1

      Hi,
      I created an updated PrivateGPT video, Welcome to check it out. PrivateGPT with Ollama support. Build the latest version 0.4.0.
      th-cam.com/video/Ww2oelybDz8/w-d-xo.html
      Thanks for the feedback above!

  • @Reality_Check_1984
    @Reality_Check_1984 3 หลายเดือนก่อน +1

    Video is still valid up until 6:07. A lot of what comes after that has changed in the project. You are going to have to go to the project docs and follow the instructions there for the remainder of the install. You now have more options and it branches after the 6:07 time stamp. If you did everything correctly up until this time stamp and then follow the recommended local,ollama-powered setup you should be fine. When I did this on windows the ollama serve command failed due to an error. You can skip that command and just open the ollama application and proceed with the next step. Note: windows you probably need to break the PGPT_Profiles=ollama make run into two lines. Breakpoint after ollama

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 หลายเดือนก่อน

      Hi, thanks for the feedback. I created an updated PrivateGPT video, Welcome to check it out. PrivateGPT with Ollama support. Build the latest version 0.4.0.
      th-cam.com/video/Ww2oelybDz8/w-d-xo.html

    • @Reality_Check_1984
      @Reality_Check_1984 2 หลายเดือนก่อน

      I watched it and it is a good video. I appreciate the work you put into your content. How was your file ingestion with ollama? I couldn't get good performance and had to switch to llama to get it back to reasonable speed.@@stuffaboutstuff4045

  • @wagaca
    @wagaca 3 หลายเดือนก่อน

    Improving performance using openai API key is not working on my PC. It does not give me answers when I try to ask questions. What do I do? Should I generate another API key?

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  3 หลายเดือนก่อน

      Hi, It looks like there is a new build again with a lot more options. I will look at building it the weekend. If you want you can check the new options available.
      docs.privategpt.dev/installation/getting-started/main-concepts

  • @georgemgallo3080
    @georgemgallo3080 3 หลายเดือนก่อน +2

    please help ! 6:33 , following everything step by step, but after >poetry install --with ui,local it says Group(s) not found: local (via --with), ui (via --with)

    • @georgemgallo3080
      @georgemgallo3080 3 หลายเดือนก่อน +2

      I changed "poetry install --with ui,local" to "poetry install --extras "ui vector-stores-qdrant llms-ollama embeddings-huggingface"" (found on page - Private GPT Docs) and it started installing, hope the rest will go smoothly

    • @georgemgallo3080
      @georgemgallo3080 3 หลายเดือนก่อน

      Damn it ! it doesn't work.... it has bunch of errors after >>>>>>>>>>>>>>> poetry run python scripts/setup.....

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  3 หลายเดือนก่อน +6

      Hi,
      It looks like the install procedure was updated. I will look at making updated video to support the new install options..

    • @georgemgallo3080
      @georgemgallo3080 3 หลายเดือนก่อน +1

      @stuffaboutstuff4045 yes please, that would help a lot 🍻

    • @pieterjdw
      @pieterjdw 3 หลายเดือนก่อน +1

      @stuffaboutstuff4045: if you could type the neccasary new commands in a post

  • @user-us6wv9yr3y
    @user-us6wv9yr3y 3 หลายเดือนก่อน

    not sure if theirs more i need to do followed step by step and pipx isn't recognized as a command in cmd.

    • @PollyMwangi-cp3jn
      @PollyMwangi-cp3jn 3 หลายเดือนก่อน

      me too

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 หลายเดือนก่อน

      Hi, I created an updated PrivateGPT video, Welcome to check it out. PrivateGPT with Ollama support. Latest version 0.4.0.
      th-cam.com/video/Ww2oelybDz8/w-d-xo.html

  • @ofiasdfnosdf
    @ofiasdfnosdf 4 หลายเดือนก่อน

    Thank you so much! It took me a couple of tries, but following your instructions carefully proved successful! I just ran into an issue with CUDA when running the command:
    $env:CMAKE_ARGS='-DLLAMA_CUBLAS=on'; poetry run pip install --force-reinstall --no-cache-dir llama-cpp-python
    The filename, directory name, or volume label syntax is incorrect.

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  3 หลายเดือนก่อน

      Hi, thanks for reaching out. Are you running this command in an Admin mode Anaconda PowerShell Terminal.

  • @Walker-sh9jh
    @Walker-sh9jh 4 หลายเดือนก่อน

    Pipx not installing on Win10 (64bit). After I enter command " pip install pipx ", nothing happens and it reverts to " C:\WINDOWS\System32> " and awaits new commands.

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 หลายเดือนก่อน

      Hi, difficult one it should not do nothing. I assume you are in a privileged mode command prompt? if you run pipx is it not maybe installed already. What happens when you run pipx ensurepath. Is your pip working? What happens when you try and upgrade pip does it return anything? python -m pip install --upgrade pip. Let me know and I will try and assist..

  • @panteliskouridakis1854
    @panteliskouridakis1854 2 หลายเดือนก่อน

    Hello,
    While executing the last code in order to open the app, doesn't showing something.

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 หลายเดือนก่อน +1

      Hi,
      I created an updated PrivateGPT video, Welcome to check it out. PrivateGPT with Ollama support. Build the latest version 0.4.0.
      th-cam.com/video/Ww2oelybDz8/w-d-xo.html

  • @eitaigameing1046
    @eitaigameing1046 2 หลายเดือนก่อน

    6:39 after typing (privategpt) C: \pgpt \privateGPT>poetry install --with ui, local
    I’m getting this error Group(5) not found: local (via --with), ui (via --with)
    what should I do

    • @Andalison
      @Andalison 2 หลายเดือนก่อน

      just use "poetry install --extras ui" and follow the advice from the @DesperBamBoo comment

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 หลายเดือนก่อน

      Hi,
      I created an updated PrivateGPT video, Welcome to check it out. PrivateGPT with Ollama support. Build the latest version 0.4.0.
      th-cam.com/video/Ww2oelybDz8/w-d-xo.html

  • @minimal2224
    @minimal2224 4 หลายเดือนก่อน

    My system keeps saying im on Python 12.0 and wont complete the install :( . Any work around? I tried removing my version and installing 11.5.

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 หลายเดือนก่อน

      Hi, thanks for making contact. Yes it must be Python 3.11.x. I picked this up as well. Try using the version I have in the video description. Let me know if resolved...

  • @arvindagaran7829
    @arvindagaran7829 4 หลายเดือนก่อน

    I have installed PrivateGPT on my machine, it worked fine and I am able to ask questions as well.. once I closed cmd. I don't know how to again lunch PrivateGPT. You have any idea how to relaunch the PrivateGPT in cmd or uvicorn? Thanks in advance

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 หลายเดือนก่อน

      Hi, you must just make sure you reactivate the Conda environment again that you created for it (if using conda) and then run the launch command.

    • @arvindagaran7829
      @arvindagaran7829 4 หลายเดือนก่อน

      OPENAI_API_KEY ENTER-YOUR-KEY sk-z52... how to findout Setx key?

  • @MrAndronalin
    @MrAndronalin 3 หลายเดือนก่อน +2

    I I tried it last week and it worked great. Now i got a graphics card and wanted to reinstall it. Unfortunately I keep getting an error that I haven't been able to fix for hours.:
    (privategpt) PS C:\pgpt\privateGPT> poetry install --with ui,local
    Group(s) not found: local (via --with), ui (via --with)
    what am I doing wrong?

    • @jsnavely76
      @jsnavely76 3 หลายเดือนก่อน +2

      I'm trying to get this installed too as I type, but I believe the instuctions on this video are already outdated. It looks like the developer changed the syntax and added more options. I got past this point in the instructions with the following command based on the installation instructions on the privateGPT documentation website:
      poetry install --extras “ui llms-ollama embeddings-ollama vector-stores-qdrant”
      It then installed numerous libraries similar to the video, but then gave me an error on the next step, but the documentation website says I need to set an environment variable, install Ollama, and download a model, which I haven't done yet, so that is probably the cause of my error.

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  3 หลายเดือนก่อน +2

      Hi,
      It looks like the install procedure was updated. I will look at making updated video to support the new install options..

    • @sibeejeyachandran8174
      @sibeejeyachandran8174 3 หลายเดือนก่อน

      @@stuffaboutstuff4045 I've too strucked at the same part can't install 'poetry install --with ui,local'... Help me out !

    • @MrAndronalin
      @MrAndronalin 3 หลายเดือนก่อน

      ok thanks
      @@stuffaboutstuff4045

  • @mrxtreme005
    @mrxtreme005 3 หลายเดือนก่อน

    Hi.
    The part i typed (git clone https) it says git is not recognised. What should i do??

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 หลายเดือนก่อน

      Hi,
      I created an updated PrivateGPT video, Welcome to check it out. PrivateGPT with Ollama support. Build the latest version 0.4.0.
      th-cam.com/video/Ww2oelybDz8/w-d-xo.html

  • @danda3688
    @danda3688 3 หลายเดือนก่อน +1

    I got an error after: poetry run python -m private_gpt
    it stopped generating, did not give me the website and I got this: ImportError: Local dependencies not found, install with `poetry install --extras llms-llama-cpp`
    is there any chance to get it working?

    • @danda3688
      @danda3688 3 หลายเดือนก่อน

      File "C:\pgpt\privateGPT\private_gpt\components\llm\llm_component.py", line 37, in __init__
      raise ImportError(
      ImportError: Local dependencies not found, install with `poetry install --extras llms-llama-cpp` >whole error

    • @sibeejeyachandran8174
      @sibeejeyachandran8174 3 หลายเดือนก่อน

      exactly the same problem arises for me too !!! if you found the solution to fix it Please let me know bruhh

    • @desperbamboo
      @desperbamboo 3 หลายเดือนก่อน +1

      @@sibeejeyachandran8174 @danda3688 you need to continue adding the dependency errors it throws at you into the install command. since you cant install llms-llama-cpp, here is what you would use
      poetry install --extras "llms-llama-cpp ui"
      and continue adding any more it throws at you. for example, the next error i got said ImportError: Local dependencies not found, install with `poetry install --extras embeddings-huggingface`
      so my next command was poetry install --extras "llms-llama-cpp ui embeddings-huggingface"
      this kept going until the command that got it working was poetry install --extras "llms-llama-cpp ui vector-stores-qdrant embeddings-huggingface"
      try to just keep adding the dependency names to the install command until it works

    • @sibeejeyachandran8174
      @sibeejeyachandran8174 3 หลายเดือนก่อน

      ​@@desperbambooThank you so much for your guidance ✌️

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 หลายเดือนก่อน

      Hi, I created an updated PrivateGPT video, Welcome to check it out. PrivateGPT with Ollama support. Latest version 0.4.0.
      th-cam.com/video/Ww2oelybDz8/w-d-xo.html

  • @publicalias8172
    @publicalias8172 4 หลายเดือนก่อน

    Doesn't using openAI's model defeat the purpose of an offline 'Private' gpt session? Otherwise.. why would you need an API key? Maybe the authentication is safe once you verify but it's still a little sketchy to my ignorance.

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 หลายเดือนก่อน +1

      Hi, I think at this stages it helps out when someone has technical constraints on CPU's and GPU's. Agreed the whole idea is to run offline but I think there are scenarios where using OpenAI comes in handy. Thanks for the feedback!

  • @user-xi4mw9rx1l
    @user-xi4mw9rx1l 2 หลายเดือนก่อน

    when i type this,
    poetry install --with ui,local
    i will get this,
    Group(s) not found: local (via --with), ui (via --with)

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 หลายเดือนก่อน

      Hi,
      I created an updated PrivateGPT video, Welcome to check it out. PrivateGPT with Ollama support. Build the latest version 0.4.0.
      th-cam.com/video/Ww2oelybDz8/w-d-xo.html

  • @bradcasper4823
    @bradcasper4823 3 หลายเดือนก่อน

    7:21 I dealt with the previous error reading your comment, but this one... Installing what it says in cmd doesn't do anything.
    return callable(*full_args, **dependencies)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\pgpt\privateGPT\private_gpt\components\llm\llm_component.py", line 37, in __init__
    raise ImportError(
    ImportError: Local dependencies not found, install with `poetry install --extras llms-llama-cpp`

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 หลายเดือนก่อน

      Hi, I created an updated PrivateGPT video, Welcome to check it out. PrivateGPT with Ollama support. Latest version 0.4.0.
      th-cam.com/video/Ww2oelybDz8/w-d-xo.html

  • @bradcasper4823
    @bradcasper4823 3 หลายเดือนก่อน

    6:33 I've got an error:
    (privategpt) C:\pgpt\privateGPT>poetry install --with ui,local
    Group(s) not found: local (via --with), ui (via --with)

    • @sanstheskeleton-lo4zj
      @sanstheskeleton-lo4zj 3 หลายเดือนก่อน +4

      Use poetry install --extras "ui embeddings-huggingface llms-llama-cpp vector-stores-qdrant"
      This is due to a update to the extra yaml files

    • @KR1ML0N
      @KR1ML0N 3 หลายเดือนก่อน

      @@sanstheskeleton-lo4zjthat works

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 หลายเดือนก่อน

      Hi, I created an updated PrivateGPT video, Welcome to check it out. PrivateGPT with Ollama support. Latest version 0.4.0.
      th-cam.com/video/Ww2oelybDz8/w-d-xo.html

  • @zabertauhidabir
    @zabertauhidabir 4 หลายเดือนก่อน

    I see the error says, 'poetry' is not recognized as an internal or external command, operable program or batch file. - what to do?

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 หลายเดือนก่อน

      Hi, sounds like poetry might not be globally available. Check 3:47 into the video. Did you configure it globally by following the steps from there exactly? From the bit of upgrading pipx in a admin command prompt (Not Conda) up to running pipx ensurepath. Let me know if this shines light on your issue. Thanks for reaching out!

    • @hamiltonguerra4783
      @hamiltonguerra4783 4 หลายเดือนก่อน

      @@stuffaboutstuff4045 I re-try and multiple times and stil give me the same error. How do I get it to recognized the command? Please help🙏

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 หลายเดือนก่อน

      Hi, did you see this reply? Hi, sounds like poetry might not be globally available. Check 3:47 into the video. Did you configure it globally by following the steps from there exactly? From the bit of upgrading pipx in a admin command prompt (Not Conda) up to running pipx ensurepath. Let me know if this shines light on your issue. Thanks for reaching out! Please confirm if those were followed...? Let me know if resolved or if you still stuck with the error.

    • @42svb58
      @42svb58 4 หลายเดือนก่อน

      you can install pipx and poetry again after you activate the local environment

    • @42svb58
      @42svb58 4 หลายเดือนก่อน

      also close your conda prompt and open a new conda prompt

  • @sajidrollins5456
    @sajidrollins5456 3 หลายเดือนก่อน +2

    (privategpt) C:\pgpt\private-gpt>poetry install --with ui,local
    Group(s) not found: local (via --with), ui (via --with)
    plz help

    • @MyPc-rw3fb
      @MyPc-rw3fb 3 หลายเดือนก่อน +1

      use this command instead poetry install --extras "ui"

    • @sajidrollins5456
      @sajidrollins5456 3 หลายเดือนก่อน

      @MyPc-rw3fb ok, I'll try. Thanks

    • @greenwardon
      @greenwardon 3 หลายเดือนก่อน

      @@MyPc-rw3fb thank you this command worked for me when I got that not found error

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 หลายเดือนก่อน +1

      Hi,
      I created an updated PrivateGPT video, Welcome to check it out. PrivateGPT with Ollama support. Build the latest version 0.4.0.
      th-cam.com/video/Ww2oelybDz8/w-d-xo.html

    • @sajidrollins5456
      @sajidrollins5456 2 หลายเดือนก่อน

      @stuffaboutstuff4045 thanks man ill try it out

  • @jarad4621
    @jarad4621 4 หลายเดือนก่อน

    Get the llama.cpp wheel error on windows?

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 หลายเดือนก่อน

      Hi, did you run in admin mode prompts? Correct version of Python 3.11.x. That is what usually would cause a build fail.

  • @TheMovieCure
    @TheMovieCure 3 หลายเดือนก่อน

    I get an Erro:
    poetry install --with ui,local
    Group(s) not found: local (via --with), ui (via --with)

    • @passalapasa
      @passalapasa 3 หลายเดือนก่อน

      instead of --with use --extras
      was moved to extras from some weird reason

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 หลายเดือนก่อน +1

      Hi, I created an updated PrivateGPT video, Welcome to check it out. PrivateGPT with Ollama support. Latest version 0.4.0.
      th-cam.com/video/Ww2oelybDz8/w-d-xo.html

  • @Bbentley81
    @Bbentley81 3 หลายเดือนก่อน

    I am stuck on the GPU install step:
    $env:CMAKE_ARGS='-DLLAMA_CUBLAS=on'; poetry run pip install --force-reinstall --no-cache-dir llama-cpp-python
    The filename, directory name, or volume label syntax is incorrect.
    Any help is much appreciated

    • @Bbentley81
      @Bbentley81 3 หลายเดือนก่อน

      removed the CMAKE the rest ran but still very slow so I am unsure if it is running on my GPU. Any way to check. Thanks again for the amazing walkthrough!

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  3 หลายเดือนก่อน

      Hi, glad you got the environment variable loaded!

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  3 หลายเดือนก่อน

      Hi, You can open your task manager or resource manager on windows. Execute a search in PrivateGPT and see what takes the hit the CPU or GPU. One of them should spike and show you where the processing is being handled.

    • @oniseikeji6023
      @oniseikeji6023 3 หลายเดือนก่อน

      @@Bbentley81 I re installed CUDA, And Cmake ...that worked

    • @Bbentley81
      @Bbentley81 3 หลายเดือนก่อน

      @@oniseikeji6023 that worked! thank you! cheers!

  • @JurassicPark513
    @JurassicPark513 4 หลายเดือนก่อน

    Hopefully someone can help with this.
    So I installed everything no errors and private gpt worked fine until I installed the Cuda stuff to get GPU support. Now I get these errors:
    When trying to do the 'conda activate privategpt' I get 'conda is not recognized as an internal or external command, operable program or batch file.
    Then when trying to run private gpt with 'poetry run python -m private_gpt' I get this:
    C:\JGPT\privateGPT>poetry run python -m private_gpt
    Traceback (most recent call last):
    File "", line 198, in _run_module_as_main
    File "", line 88, in _run_code
    File "C:\JGPT\privateGPT\private_gpt\__main__.py", line 3, in
    import uvicorn
    ModuleNotFoundError: No module named 'uvicorn'
    Any ideas? Thanks.

    • @Kapibravo
      @Kapibravo 4 หลายเดือนก่อน

      did you clone the folder?

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 หลายเดือนก่อน

      Hi, Make sure you run the command in a conda terminal and not a command prompt window. Otherwise conda is not in your windows path anymore. Let me know if resolved?

    • @JurassicPark513
      @JurassicPark513 4 หลายเดือนก่อน

      @stuffaboutstuff4045 Yes this worked lol. Thank you. Can't believe I was in the wrong command prompt.🙂

  • @bikhard0
    @bikhard0 3 หลายเดือนก่อน

    Issue with
    poetry install --with ui,local
    Error: Group(s) not found: local (via --with), ui (via --with)
    Solution: ????????????????

    • @pako4555
      @pako4555 3 หลายเดือนก่อน +1

      do:
      poetry install --extras "ui vector-stores-qdrant llms-ollama embeddings-huggingface"

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 หลายเดือนก่อน

      Hi, I created an updated PrivateGPT video, Welcome to check it out. PrivateGPT with Ollama support. Latest version 0.4.0.
      th-cam.com/video/Ww2oelybDz8/w-d-xo.html

  • @publicalias8172
    @publicalias8172 4 หลายเดือนก่อน

    Following the tutorial to the letter, fails at:
    Building wheel for llama-cpp-python (pyproject.toml) ... /
    ERROR: Failed building wheel for llama-cpp-python
    Failed to build llama-cpp-python
    ERROR: Could not build wheels for llama-cpp-python, which is required to install pyproject.toml-based projects

    • @jenisgadhiya1865
      @jenisgadhiya1865 4 หลายเดือนก่อน

      same error here!!

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 หลายเดือนก่อน

      Hi, these build errors are usually due to missing required SW or privileges. To resolve privilege issues run all commands in Admin mode terminals. Make sure your Python is within 3.11.x This is important. Installed and added to path. Install VS community and make sure you selected Desktop Dev with C++ and Universal Windows platform development. As confirmed make sure all steps are follwed from 3:52 in the video. Let me know if any of the above resolved the issue..

  • @niranjansuryaprasad3727
    @niranjansuryaprasad3727 4 หลายเดือนก่อน

    Hi, Can you help me with this error? I have downloaded the tool kit and it is able to find it, But still it gives this error.
    Found CUDAToolkit: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.3/include (found version "12.3.107")
    -- cuBLAS found
    CMake Error at C:/Windows/System32/privateGPT/myenv/Lib/site-packages/cmake/data/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:529 (message):
    No CUDA toolset found.

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 หลายเดือนก่อน

      It might be trying to use the VS Build tools. Can you check if this article is applicable to your problem.
      stackoverflow.com/questions/56636714/cuda-compile-problems-on-windows-cmake-error-no-cuda-toolset-found

  • @user-xi4mw9rx1l
    @user-xi4mw9rx1l 2 หลายเดือนก่อน

    File "C:\Users\INTEL\anaconda3\envs\privateGPT\Lib\site-packages\llama_index\llms\llama_cpp\base.py", line 104, in __init__
    raise ValueError(
    ValueError: Provided model path does not exist. Please check the path or provide a model_url to download.

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 หลายเดือนก่อน

      Hi,
      I created an updated PrivateGPT video, Welcome to check it out. PrivateGPT with Ollama support. Build the latest version 0.4.0.
      th-cam.com/video/Ww2oelybDz8/w-d-xo.html

  • @ROKKor-hs8tg
    @ROKKor-hs8tg 4 หลายเดือนก่อน

    My computer
    i3
    16ram
    1g viga
    Any privategpt not work

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 หลายเดือนก่อน

      Hi, is it starting? Did you configure it for GPU, CPU or OpenAI?

    • @user-cb7yl4nr6h
      @user-cb7yl4nr6h 4 หลายเดือนก่อน

      How do I turn it on? Cpu

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 หลายเดือนก่อน

      If you follow all the steps in the video up to 7:00 mark it should be configure for local LLM and CPU. Did you make sure all steps were followed up to that point? Incl setting it up as local and executing the scripts to download the LLM.

  • @luisdiegovillarreal3315
    @luisdiegovillarreal3315 3 หลายเดือนก่อน

    How solve:
    (privategpt) C:\pgpt\privateGPT>poetry install --with ui,local
    Group(s) not found: local (via --with), ui (via --with)
    (privategpt) C:\pgpt\privateGPT>
    I did all the steps to "(privategpt) C:\pgpt\privateGPT>poetry install --with ui,local" with no error

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 หลายเดือนก่อน

      Hi,
      I created an updated PrivateGPT video, Welcome to check it out. PrivateGPT with Ollama support. Build the latest version 0.4.0.
      th-cam.com/video/Ww2oelybDz8/w-d-xo.html

  • @ROKKor-hs8tg
    @ROKKor-hs8tg 4 หลายเดือนก่อน

    Everything was done, but page 8001 did not open

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 หลายเดือนก่อน

      Hi, can you verify the webserver starting in your terminal when you launch Private GPT. Have a look from 7:25 in the video. Let me know..

    • @StoryFBMizostory
      @StoryFBMizostory 4 หลายเดือนก่อน

      @@stuffaboutstuff4045i have tha same problem, i even changed it to localhost:8001 still dnt open
      20:24:18.638 [INFO ] private_gpt.ui.ui - Mounting the gradio UI, at path=/
      20:24:18.689 [INFO ] uvicorn.error - Started server process [6736]
      20:24:18.689 [INFO ] uvicorn.error - Waiting for application startup.
      20:24:18.690 [INFO ] uvicorn.error - Application startup complete.
      20:24:18.692 [INFO ] uvicorn.error - Uvicorn running on 0.0.0.0:8001 (Press CTRL+C to quit)

    • @StoryFBMizostory
      @StoryFBMizostory 4 หลายเดือนก่อน

      found it : //127.0.0.1:8001/

    • @rgsouza2004
      @rgsouza2004 2 หลายเดือนก่อน

      I was unable to access the host ":8001". Then I realized that it is necessary for Anaconda PowerShell to remain open. Correct?

  • @leosamqui
    @leosamqui หลายเดือนก่อน

    o comando: poetry install --extras "ui"

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  หลายเดือนก่อน

      Hi, can I suggest you check out the new video on the below link. Let me know if you are up and running.
      th-cam.com/video/Ww2oelybDz8/w-d-xo.html

  • @BlackMagic6KPro
    @BlackMagic6KPro 3 หลายเดือนก่อน +1

    do not follow this tutorial - it is sadly outdated and does not work. check rest of comments to verify

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 หลายเดือนก่อน

      Hi, I created an updated PrivateGPT video, Welcome to check it out. PrivateGPT with Ollama support. Latest version 0.4.0.
      th-cam.com/video/Ww2oelybDz8/w-d-xo.html

  • @photogphred792
    @photogphred792 3 หลายเดือนก่อน +1

    This doesn't work now. According to your own comment below the install process has changed and you'll need to make a new video. Waste of time!

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 หลายเดือนก่อน

      Hi, I created an updated PrivateGPT video, Welcome to check it out. PrivateGPT with Ollama support. Latest version 0.4.0.
      th-cam.com/video/Ww2oelybDz8/w-d-xo.html

  • @RpaMedatron
    @RpaMedatron หลายเดือนก่อน

    Thank you so much I appreciate.
    Hi this project is working on my pc but 1 thing is not missing which is "LLM chat" why it is not responding" the answer I have download the model:
    TheBloke/Llama-2-7B-Chat-GGUF
    llama-2-7b-chat.Q4_K_M.gguf
    but not working i have changed the name in setting.yaml and setting-local.yaml in it.
    llamacpp:
    llm_hf_repo_id: TheBloke/Llama-2-7B-Chat-GGUF
    llm_hf_model_file: llama-2-7b-chat.Q4_K_M.gguf?
    please tell me the solution or any video reference tutorial
    Thank you so much in advance.

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  หลายเดือนก่อน

      Hi, just checking in to see if you were able to resolve this issue. I have released an updated video to build the latest version correctly. You can check out PrivateGPT v0.4.x using this link. Let me know if you are sorted and got it up and running correctly. Thanks for reaching out. th-cam.com/video/Ww2oelybDz8/w-d-xo.html

    • @RpaMedatron
      @RpaMedatron หลายเดือนก่อน

      Hi, Thanks v4 was very very helpful for me. Now
      Please make the video on that we could find the specific text to draw the live rectangular bounding boxes on doc with accuracy where the text locate in page or line... Regex may also be use in that but please make video on it.
      Thank you.