Skip to content

AlphaChat is a chatbot with a GUI and console interface for real-time conversations, Q&A management, and AI-driven features like voice interaction, image generation, and PDF summarization.

Notifications You must be signed in to change notification settings

DarshanScripts/alphachat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 AlphaChat: A Chatbot Application

📝 Overview

AlphaChat is a chatbot with a GUI and console interface for real-time conversations, Q&A management, and AI-driven features like voice interaction, image generation, and PDF Summarization.


🌟 Features

🛠️ For Service Providers

Admin.Features.Demo.mp4
  • Console App for Testing: A straightforward console-based chatbot for feature testing.
  • Customizable Q&A Content: Import questions and answers via CSV files. Edit and manage questions/answers using CLI arguments.
  • Basic Functionalities: Handles compound and variant questions. Suggests questions based on keywords.
  • Logging and Debugging: File-based logging with configurable levels (INFO, WARNING). Unit testing to isolate and debug potential issues.
  • Web Management Interface: Centralized web page with actionable elements such as viewing, editing, deleting and searching Q&A lists. Accessing app logs and user activity.

🙋 For End Users

User.Features.Demo.1.mp4
  • Interactive Chatbot: Welcoming messages and opening questions. Handles CLI arguments to skip initial prompts.
  • Trivia Game: Built-in trivia game with multiple-choice questions. Displays progress indicators and ✅/❌ symbols for answers.
  • Weather Integration: Provides weather conditions for specific locations or events.
  • Error Handling: Gracefully handles crashes with detailed logs and chat history.
User.Feature.Demo.2.mp4
  • Audio Assistance: Users can interact with the chatbot using voice commands. Processes spoken input and provides appropriate responses.
  • Image Generation: Generates images based on user-provided text prompts. Leverages an AI-based image generation model.
  • Web Scraping: Extracts data from online sources based on user queries. Collects structured data for analysis or display.
  • Web Search: Enables users to search the web directly from the chatbot. Fetches results using an external search engine API.
  • PDF Summarization: Processes and summarizes the content of PDF documents. Extracts key insights for quick understanding.

🖥️ Raspberry Pi Integration

  • LED Matrix Symbols: Displays app status, trivia progress, and results.
  • Gesture & Sensor Support: Potential support for Raspberry Pi motion and environmental sensors.

Architecture

System Architecture

  • System Administrator: Manages system settings and Q&A.
  • User (Students): Interacts with the chatbot to play games, request weather updates and ask questions.
  • Chatbot System: Processes user interactions, handles questions and manages system logs.

📌 Use Cases

  • Service Providers (Admin): Ideal for testing chatbot features and enhancing user experience. Easily manage and expand the chatbot's knowledge base.
  • End Users (Staff, Student): Engaging tool for Q&A, trivia, and real-time updates. Simple and efficient web-based interaction.
  • Educational Use: Interactive learning and knowledge testing with trivia features. Saves time and effort.

⚙ Technology Highlights

  • Console-based chatbot app.
  • Supports CLI arguments for advanced functionality.
  • CSV import/export for managing Q&A content.
  • Raspberry Pi Sense HAT integration for enhanced UX.
  • Centralized web interface for comprehensive management.
  • Audio assistance for voice interaction.
  • AI-powered image generation.
  • Web scraping and integrated search functionality.
  • Web searching for real-time information retrieval.
  • PDF summarization for quick document insights.

🛠️ How to Use

  1. Unzip / Clone the File: Extract the contents of the downloaded file.

  2. Set Up APIs:

    • OpenWeatherAPI: (Weather Forecast) Sign up at OpenWeatherAPI to get an API key.

    • Hugging Face: (Image Generation) Register at Hugging Face and obtain your API token.

    • ChatGroq: (PDF Summarization) Access the ChatGroq API at ChatGroq.

    • Tavily: (Web Search) Register at Tavily to get access to their APIs.

  3. Install Dependencies: Run the command: pip install -e . (Do not forget the . at the end.)

  4. Run the Project (Console): Execute the command: myproject

  5. Run the User Interface (Web): Navigate to the src directory and run the following command in the terminal: cd src python index.py

  6. Run the Admin Dashboard (Web): Navigate to the src directory and run the following command in the terminal: cd src python dashboard.py


🔧 Requirements

  • Python 3.x
  • Raspberry Pi with Sense HAT (for LED matrix features) (optional)
  • CSV files for importing questions and answers (optional)

👨‍💻 Author

Developed by Darshan Shah. Connect with me:

About

AlphaChat is a chatbot with a GUI and console interface for real-time conversations, Q&A management, and AI-driven features like voice interaction, image generation, and PDF summarization.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy