Skip to content

An intelligent chatbot powered by LLM for Infosys knowledge

Notifications You must be signed in to change notification settings

Supriya2903/Infosys-knowledge-bot

Repository files navigation

Infosys Knowledge Bot

An intelligent chatbot powered by LLM (Large Language Model) technology that provides comprehensive knowledge about Infosys. The bot uses advanced vector storage and natural language processing to deliver accurate and contextual responses.

Features

  • 🎯 Modern, responsive chat interface
  • 💡 Intelligent responses using LLM technology
  • 🔍 Vector-based semantic search using Qdrant
  • 🔄 Real-time text processing
  • 💾 PDF document integration
  • 🎨 Glass-morphism UI design

Technologies Used

  • Frontend: Streamlit
  • Vector Store: Qdrant
  • Embeddings: Sentence Transformers (all-MiniLM-L6-v2)
  • LLM: FLAN-T5
  • Data Processing: PyPDF2, LangChain

Prerequisites

  • Python 3.8+
  • Docker (for Qdrant)
  • Git

Installation

  1. Clone the repository:
git clone https://github.com/Supriya2903/infosys-knowledge-bot.git
cd infosys-knowledge-bot
  1. Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install required packages:
pip install -r requirements.txt
  1. Start Qdrant server using Docker:
docker run -p 6333:6333 qdrant/qdrant

Usage

  1. Process and index the PDF document:
python integration.py
  1. Start the chatbot interface:
streamlit run streamlitUI.py
  1. Access the chatbot in your browser at http://localhost:8501

Project Structure

  • streamlitUI.py: Main chatbot interface with Streamlit
  • integration.py: PDF processing and vector store integration
  • interactive.py: Interactive components and utilities
  • scrapping.py: Data scraping utilities
  • formatted30042024.pdf: Source data file

Features in Detail

Vector Search

The chatbot uses Qdrant vector database to store and search through document embeddings, enabling semantic search capabilities that understand the context of user queries.

Modern UI

  • Glass-morphism design
  • Responsive chat bubbles
  • Real-time message updates
  • Professional color scheme
  • Smooth animations

Document Processing

  • Automatic PDF text extraction
  • Text chunking for optimal processing
  • Vector embeddings generation
  • Efficient storage and retrieval

Contributing

Feel free to submit issues and enhancement requests!

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

An intelligent chatbot powered by LLM for Infosys knowledge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages