1. Abstract
The College Knowledge-Base Chatbot is an AI-powered application designed to answer students’ and faculty members’ questions about college information. It uses Natural Language Processing (NLP) and Generative AI to provide relevant responses based on college documents, FAQs, academic schedules, admission details, course information, and campus facilities. The system helps users access information quickly without manually searching multiple documents or contacting college staff.
2. Objectives
- Develop an AI chatbot to answer college-related queries.
- Provide accurate information about admissions, courses, fees, examinations, and events.
- Use NLP to understand user questions in natural language.
- Retrieve relevant information from college documents and databases.
- Reduce the workload of college administrative staff.
- Provide a user-friendly interface for students, faculty, and visitors.
3. Existing System
In the existing system, students generally obtain college information through websites, notice boards, brochures, office staff, or email inquiries.
Disadvantages
- Information may be scattered across multiple sources.
- Students may experience delays in receiving answers.
- Administrative staff must repeatedly answer common questions.
- Traditional FAQ systems may not understand differently phrased questions.
- Information retrieval can be time-consuming.
4. Proposed System
The proposed system uses an AI-powered chatbot connected to a college knowledge base. It processes user questions, retrieves relevant information, and generates contextual responses.
Key features include:
- AI chatbot for college-related queries.
- Knowledge-base creation using PDFs, documents, FAQs, and text files.
- Semantic search for retrieving relevant information.
- Retrieval-Augmented Generation (RAG) for document-grounded answers.
- Admin dashboard to upload and manage college documents.
- Chat history and user-friendly conversation interface.
- Source references for supporting answers, where available.
5. Implementation Procedure
- Requirement Analysis: Identify common college queries and the information sources required.
- Data Collection: Gather college brochures, academic calendars, admission guidelines, FAQs, and other approved documents.
- Data Preprocessing: Extract text, clean the content, and split it into smaller chunks.
- Embedding Generation: Convert text chunks into vector embeddings using an embedding model.
- Knowledge-Base Storage: Store the embeddings in a vector database such as FAISS or ChromaDB.
- Query Processing: Accept user questions and retrieve semantically relevant document chunks.
- Response Generation: Use an LLM with retrieved context to generate relevant answers through a RAG pipeline.
- Frontend Development: Build a chatbot interface using Streamlit or React.
- Admin Module: Implement document upload, knowledge-base updates, and basic access controls.
- Testing and Deployment: Test response relevance, retrieval accuracy, and performance before deployment.
6. Software Requirements
- Programming Language: Python
- Frontend: Streamlit or React.js
- Backend: Flask or FastAPI
- AI Framework: LangChain or LlamaIndex
- LLM: OpenAI API or a compatible open-source language model
- Embedding Model: Sentence Transformers or an API-based embedding model
- Vector Database: FAISS or ChromaDB
- Document Processing: PyPDF, python-docx
- Development Environment: VS Code or Jupyter Notebook
- Operating System: Windows or Linux
7. Hardware Requirements
- Processor: Intel Core i3 or equivalent and above
- RAM: Minimum 8 GB; 16 GB recommended
- Storage: At least 10 GB of free space
- Internet: Required for hosted LLM APIs and online deployment
- GPU: Optional when using hosted AI APIs; useful for locally running larger models
8. Advantages of the Project
- Provides quick responses to frequently asked college questions.
- Makes college information available through a conversational interface.
- Reduces repetitive administrative work.
- Supports natural-language queries.
- Allows administrators to update information by uploading documents.
- Can be expanded to support multiple departments and languages.
- Improves access to college information for students and visitors.