Hello LLM enthusiasts!
I wanted to share the details about a project that I put together while exploring LLMs and trying out some ideas.
What is it?โ
Imagine an experience where you can engage with your text documents ๐ in a conversational ๐ฌ manner! This is exactly what it is. A PDF Bot ๐ค. It is a chatbot that accepts PDF documents and lets you have conversation over it.
How is this helpful?โ
โข Talk to your documents: Interact with your PDFs and extract the information in a way that youโd like ๐โจ. This could prove helpful in summarising the PDF, or to fetch specific details from a long document or to list/format data in a structure youโd like and much more! โข Choose your LLM: Switch to a different model that works for your needs. You control the system according to your requirements. โข Local Setup: The LLMs and the chat app is setup locally. Your data does not leave your computer!
How does it work?โ
The system consists of an app, LLM and a question-answering module. The app is the interface for the user โ where the user can upload PDF document and then ask questions. (built with StreamLit). The app connects to a module (built with LangChain) that loads the PDF, extracts text, splits it into smaller chunks, generates embeddings from the text using LLM served via Ollama (a tool to manage and run LLMs locally) and creates a vectorstore for information retrieval. It then sets up a question-answering system that enables user to have a conversation with the system.
๐ Try it out now: https://github.com/amithkoujalgi/ollama-pdf-bot
Feel free to explore and share your thoughts! ๐ก
#DocumentInteraction #ConversationalAI #LLM #PDFBot #AI #GenAI #GenerativeAI #Ollama #OpenSource #LangChain #StreamLit #ChatBot