Skip to content

flying-007/python-llm-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿค– Basic Chatbot in Python using LLM with GUI

A beginner-friendly chatbot application built using Python, Large Language Models (LLMs), and a simple Graphical User Interface (GUI).


๐Ÿ“Œ Features

  • Simple and user-friendly GUI
  • LLM-powered chatbot responses
  • Real-time conversation interface
  • Lightweight and easy to understand
  • Beginner-friendly project structure

๐Ÿ› ๏ธ Technologies Used

  • Python
  • Tkinter (GUI)
  • LLM API Integration
  • Prompt Engineering Basics

๐Ÿ“‚ Project Structure

Basic-chatbot-on-python-using-LLM.-with-basic-GUI-/
โ”‚
โ”œโ”€โ”€ chatbot.py
โ”œโ”€โ”€ requirements.txt
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ assets/

โš™๏ธ Installation

  1. Clone the repository:
    git clone https://github.com/flying-007/Basic-chatbot-on-python-using-LLM.-with-basic-GUI-.git
  2. Navigate to the project directory:
    cd Basic-chatbot-on-python-using-LLM.-with-basic-GUI-
  3. Install dependencies:
    pip install -r requirements.txt
  4. Configure your LLM API key if required.

๐Ÿš€ Usage

Run the chatbot application:

python chatbot.py

The GUI window will open, allowing you to interact with the chatbot through a simple chat interface.

๐Ÿ’ฌ Example

You: Hello!
Bot: Hi there! How can I help you today?

You: What is Python?
Bot: Python is a high-level programming language known for its simplicity and readability.

๐ŸŽฏ Learning Objectives

  • Understand GUI development with Python
  • Learn how to integrate LLM APIs
  • Handle user input and chatbot responses
  • Build basic AI-powered desktop applications

๐Ÿ”ฎ Future Improvements

  • Conversation history support
  • Dark mode interface
  • Voice input and output
  • Support for multiple LLM providers
  • Improved memory and context handling

๐Ÿค Contributing

Contributions are welcome! Feel free to fork the repository, make improvements, and submit a pull request.

๐Ÿ“„ License

This project is open-source and available under the MIT License.


โญ If you found this project useful, consider giving it a star on GitHub!

About

A simple Python chatbot powered by Groq LLM with a user-friendly Tkinter GUI for real-time conversations.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors