0% found this document useful (0 votes)
38 views17 pages

Mini Project Docubot Power Point

The document presents a project titled 'Docubot,' which aims to enable users to interact with multiple PDFs using natural language queries to retrieve context-aware responses. It discusses the system's architecture, methodology, hardware and software requirements, and various applications across fields like education, research, and business. Additionally, it addresses challenges such as handling complex PDFs and ensuring data privacy, while outlining future enhancements for improved functionality.

Uploaded by

learnwithme7979
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views17 pages

Mini Project Docubot Power Point

The document presents a project titled 'Docubot,' which aims to enable users to interact with multiple PDFs using natural language queries to retrieve context-aware responses. It discusses the system's architecture, methodology, hardware and software requirements, and various applications across fields like education, research, and business. Additionally, it addresses challenges such as handling complex PDFs and ensuring data privacy, while outlining future enhancements for improved functionality.

Uploaded by

learnwithme7979
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 17

Brindavan College of Engineering

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

A project presentation on
“Docubot”

Presentation By: Group- 2

Name USN Under The Guidance of


PRATIKSHA 1BO22CS052 Prof. CHAITRASHREE
PRIYA D 1BO22CS053
Asst.Prof Dept of CSE, BrCE
SINDHU UDAY NAIK 1BO22CS071
SOUNDHARYA T 1BO22CS073
CONTENT

 INTRODUCTION
 OBJECTIVE OR AIM OF THE PROJECT
 LITERATURE SURVEY
 SYSTEM ARCHITECTURE
 EXISTING SYSTEM
 METHODOLOGY
 USE CASE DIAGRAM
 HARDWARE AND SOFTWARE REQUIREMENTS
 USES OF DOCUBOT
 CHALLENGES
 FUTURE ENHANCEMENT
INTRODUCTION

• This project, "DOCUBOT" aims to build a system where users can


upload multiple PDFs, ask natural language questions, and receive
precise answers based on the content of the documents.

• Traditional methods of searching through multiple documents


involve either manual reading or keyword-based searches, both of
which are time-consuming and inefficient.

• Docubot provide a solution by enabling users to interact with their


documents in a conversational format. Instead of searching through
PDFs manually, users can ask natural language questions and
receive targeted answers. This approach is powered by
advancements in natural language processing (NLP), machine
learning, and information retrieval.
OBJECTIVE OR AIM OF THE PROJECT

•To enable users to interact with multiple


PDFs in a conversational manner and
retrieve context- aware responses.

•To create a system that leverages


GROQ's capabilities for handling complex
queries efficiently.

•To ensure the platform is scalable, user-


friendly, and adaptable to various
domains like education, research, and
enterprise solutions.
LITERATURE
SURVEY

YEAR AUTHOR TITLE METHODOLOGY ADVANTAGE DISADVANTAGE

Uses Groq for


Multiple PDF Supports multiple PDF Requires API
question-
Chat uploads, accurate keys, dependency
2023 TechBot505 answering based
Application answers, model on external AI
on multiple
using Groq selection, intuitive UI. models.
PDFs.

Uses Llama3 Supports multiple PDF Requires setup


with Groq and uploads, displays context and installation,
Groq-Llama3-
2023 eersnington Streamlit UI for and document references, dependency on
PDF-RAG various Groq AI models,
interacting with Groq AI and
efficient similarity search. FAISS.
PDFs.
SYSTEM ARCHITECTURE
EXISTING SYSTEM

• Multi-document query systems have been an area of research for


several years. Traditional systems relied heavily on keyword-based
search algorithms, which were simple but lacked contextual
awareness.
• For instance, searching for "market trends" in a set of PDFs may return
irrelevant results if the term is mentioned in a different context.
• Limitations of traditional systems:
i) They retrieve results based only on keyword matches without
understanding the context of the query.
ii) Often fail when dealing with ambiguous terms or phrases.
iii) Struggle to process and retrieve information from large-scale data
efficiently.
iv) Modern systems, such as vector-based search engines like FAISS
(Facebook AI Similarity Search), have addressed some of these issues by
embedding document content into high-dimensional vectors. These
METHODOLOGY

1. PDF Text Extraction


Extract text using PyPDF2 or LangChain for handling various
document structures.
Tools Used: PyPDF2, LangChain
2. Text Preprocessing & Chunking
Clean and chunk the text for efficient analysis by breaking it into
smaller, manageable parts.
Goal: Prepare text for LLM processing
3. Text Embedding & Vectorization
Convert text chunks into embeddings and store them in a vector
database for fast search.
1.GROQ: Groq is an AI company that builds high-speed inference hardware and software platforms, known for
their Language Processing Unit (LPU), which accelerates AI workloads2.
2.LLM (Large Language Model): A type of AI model designed for natural language processing tasks, such
as language generation and understanding. LLMs learn from vast amounts of text data to predict and generate
human-like text4.
3.Streamlit App UI: Streamlit is an open-source Python framework that allows data scientists and AI/ML
engineers to create interactive web applications with minimal code. It simplifies the process of building and sharing
data apps6.
4.NLP (Natural Language Processing): A field of AI that focuses on the interaction between computers
and human language. It involves understanding, interpreting, and generating human language using computational
techniques8.
5.FAISS (Facebook AI Similarity Search): A library developed by Facebook AI for efficient similarity
search and clustering of dense vectors. It is used for tasks like nearest neighbor search and clustering in large
datasets10.
6.LLAMA3: A large language model developed by Meta (formerly Facebook). It is designed for various natural
language processing tasks and is known for its high performance and scalability
USE CASE
DIAGRAM
• The process begins with the Start
action, where the user initiates the
workflow by uploading multiple PDFs
through the Upload PDF function.
• The system then performs the
Process ID step, extracting and
organizing the text from the
uploaded files.
• Once the documents are processed,
the user can Send Query in natural
language, which triggers the system
to Process Query by leveraging
GROQ for optimization and FAISS for
similarity search. The system
Returns Results to the user,
HARDWARE AND SOFTWARE REQUIREMENTS

Hardware requirements
• Processor
• RAM: Minimum 8 GB of RAM
• Storage: At least 10 GB
• Graphics Card: A dedicated GPU
• Network
Software requirements
• Operating System
• Python
• Python Libraries: Install the following
dependencies using pip
1. LangChain
2. FAISS
3. PyPDF2
USES OF DOCUBOT

• Academic Research: Researchers can quickly extract relevant information from


multiple research papers, journals, and books without manually going through each document.
• Corporate and Business Analysis: Businesses can analyze financial reports,
proposals, and presentations by querying specific details or trends across multiple documents.
• Legal Documentation: Lawyers and legal professionals can retrieve laws, case
precedents, or contracts from large collections of legal documents efficiently.
• Healthcare and Medical Research: Doctors and researchers can analyze multiple
medical records, case studies, or research papers to find insights and references.
• Education: Students and educators can use the system to study and retrieve notes,
textbooks, or course materials based on specific queries.
• Government and Policy Analysis: Policymakers can extract insights from
legislative documents, regulations, or policy briefs for informed decision-making.
CHALLENGES

Handling Large and Complex PDFs: Processing large, multi-page PDFs with complex
layouts (tables, images, etc.) can be challenging, as text extraction tools like PyPDF2 may not
always retain formatting accurately.
Query Contextuality and Accuracy: Ensuring that user queries are interpreted correctly
and retrieving contextually accurate answers requires advanced embedding models and precise
query optimization with GROQ.
Performance and Scalability: Real-time performance can be affected by the size of the
document, especially when handling simultaneous queries.
Data Privacy and Security: Uploaded documents may contain sensitive information;
ensuring secure data handling and preventing unauthorized access is critical.
Ethical and Legal Compliance: Adhering to legal requirements like copyright laws and
ethical standards for processing uploaded documents is essential to avoid misuse.
User Experience: Maintaining a simple yet efficient interface while incorporating advanced
features is vital for adoption across different user demographics.
FUTURE ENHANCEMENT

• Support for Additional File Formats: Expand the system to handle other document
types, such as Word, Excel, or PowerPoint files, to make it versatile for various use cases.
• Advanced Embedding Models: Integrate more sophisticated models, such as OpenAI's
GPTor BERT variations, for improved contextual understanding and query accuracy.
• Multi-Language Support: Enable processing of documents and queries in multiple
languages to cater to a global user base.
• Real-Time Multi-User Support: Develop the system to handle multiple users
simultaneously, with personalized data and query management.
• Enhanced Data Visualization: Add interactive charts, graphs, and visual reports to
present retrieved data more effectively.
• Mobile and Cross-Platform Compatibility: Create mobile and tablet-friendly
versions to allow users to query documents on the go.
• Voice-Assisted Querying: Enable voice input for querying documents to improve
accessibility for users.
OUTPUT

User Interface (Streamlit)


User Query and file uploaded

You might also like