privateGPT
gpt4-pdf-chatbot-langchain
Our great sponsors
privateGPT | gpt4-pdf-chatbot-langchain | |
---|---|---|
1 | 32 | |
50,198 | 14,548 | |
- | - | |
- | 3.9 | |
about 1 month ago | about 1 month ago | |
Python | TypeScript | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
privateGPT
-
PrivateGPT exploring the Documentation
# install developer tools xcode-select --install # create python sandbox mkdir PrivateGTP cd privateGTP/ python3 -m venv . # actiavte local context source bin/activate # privateGTP uses poetry for python module management privateGTP> pip install poetry # sync privateGTP project privateGTP> git clone https://github.com/imartinez/privateGPT # enable MPS for model loading and processing privateGTP> CMAKE_ARGS="-DLLAMA_METAL=on" pip install --force-reinstall --no-cache-dir llama-cpp-python privateGTP> cd privateGPT # Import configure python dependencies privateGTP> poetry run python3 scripts/setup # launch web interface to confirm operational on default model privateGTP> python3 -m private_gpt # navigate safari browser to http://localhost:8001/ # To bulk import documentation needed to stop the web interface as vector database not in multi-user mode privateGTP> [control] + "C" # import some PDFs privateGTP> curl "https://docs.intersystems.com/irislatest/csp/docbook/pdfs.zip" -o /tmp/pdfs.zip privateGTP> unzip /tmp/pdfs.zip -d /tmp # took a few hours to process privateGTP> make ingest /tmp/pdfs/pdfs/ # launch web interface again for query documentation privateGTP> python3 -m private_gpt
gpt4-pdf-chatbot-langchain
-
Back and forth conversations before a vector search?
I am playing around with this github project, which takes a user question as input and immediately runs a vector search on it to find relevant storied information before delivering an answer.
-
How do I ask a meta question to a document? (Retrieval augmented generation, langchain, pinecone)
I am using this https://github.com/mayooear/gpt4-pdf-chatbot-langchain as a reference to ingest PDFs into pinecone and chat with a document, but my results aren’t good. Since it’s looking for related documents, there’s no good relation to the meta question: “What questions were asked in this interview?”
-
Recently I launched dataspot Ai tool for students and academics, that turns any type of content such as research paper, website, or YouTube video into interactive chatbot. You can effortlessly retrieve information, obtain summaries. Google "dataspot ai" & let me know what you think :)
Anyone can already do this locally with their own API keys for free, with no technical knowledge by cloning a github repo (e.g. https://github.com/mayooear/gpt4-pdf-chatbot-langchain - this one can also chat with multiple pdfs which is much better). Even with gpt-4, I just don't find the responses useful usually. I find the model doesn't do great with scientific stuff aside from asking very basic things. Might have to wait for gpt-5.
-
Chat with Documents using Open source LLMs
https://github.com/mayooear/gpt4-pdf-chatbot-langchain this repo uses gpt-3.5/4 which uses OpenAI API. Is there any work donw with free/open-source LLMs
- Using ChatGPT to read multiple PDFs and create writing using them as sources
-
How do you train GPT on your own documents?
Follow this guide https://github.com/mayooear/gpt4-pdf-chatbot-langchain
-
Best GPT-based tool for summarizing PDFs/long docs
I am using this one on windows 10. Took 2 evenings to set up: https://github.com/mayooear/gpt4-pdf-chatbot-langchain
-
Earthling Ed ChatGPT type AI
Thanks for your take on the subject. I agree that starting from scratch would be too much. I think my post above might be misleading in regard to training. I wouldn't suggest to start from scratch but to provide additional data to a pretrained AI. But you can use GPT-4 (through API) in combination with pinecone to provide data. Here is a project, where someone implemented this to work with large PDF files. I don't think it would be too hard, to start from there and adapt the project to the requirements of OP. Obviously this would require paid for API keys. LLama could be also a good starting point, with a lot of resources available.
-
Seeking Cost-Effective Alternatives and Optimization Tips for a GPT-based PDF Chatbot
I'm currently developing a chatbot application that interacts with PDF documents using GPT API, Langchain, and a Pinecone vector database. The project is built on this repository: mayooear/gpt4-pdf-chatbot-langchain.
- ChatGPT for your files - Discovered an AI research tool that allows you to ask questions across multiple files all at once and get instant answers with highlighted references
What are some alternatives?
localGPT - Chat with your documents on your local device using GPT models. No data leaves your device and 100% private.
openai-cookbook - Examples and guides for using the OpenAI API
anything-llm - The all-in-one Desktop & Docker AI application with full RAG and AI Agent capabilities.
gpt4all - gpt4all: run open-source LLMs anywhere
private-gpt - Interact with your documents using the power of GPT, 100% privately, no data leaks
h2ogpt - Private chat with local GPT with document, images, video, etc. 100% private, Apache 2.0. Supports oLLaMa, Mixtral, llama.cpp, and more. Demo: https://gpt.h2o.ai/ https://codellama.h2o.ai/
marqo - Unified embedding generation and search engine. Also available on cloud - cloud.marqo.ai
ollama - Get up and running with Llama 3, Mistral, Gemma, and other large language models.
vault-ai - OP Vault ChatGPT: Give ChatGPT long-term memory using the OP Stack (OpenAI + Pinecone Vector Database). Upload your own custom knowledge base files (PDF, txt, epub, etc) using a simple React frontend.
langchain - 🦜🔗 Build context-aware reasoning applications
chatpdf-gpt - ChatPDF-GPT is an innovative chat interface application powered by LangChain and OpenAI, allowing users to upload and chat with PDF documents, stored in Pinecone vector database and Supabase storage.