Skip to content

Batman0603/AI-Chatbot-using-llama

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 

Repository files navigation

# ๐Ÿค–โœจ Friendly AI Chatbot

Typing SVG

Made with Flask Bolt AI LLM Open Source


๐ŸŽฏ Project Overview

A modern, intelligent chatbot that brings AI conversations to life!

This project demonstrates the perfect harmony between frontend design, backend architecture, and cutting-edge AI technology.

๐Ÿง  What Makes This Special?

Our chatbot leverages:

  • ๐ŸŽจ Frontend: Beautiful, responsive UI crafted with Bolt AI
  • โš™๏ธ Backend: Robust Flask server handling seamless API communication
  • ๐Ÿš€ AI Engine: Powerful LLaMA model via Together AI for intelligent responses
  • ๐Ÿ’ฌ Experience: Natural, context-aware conversations that feel human-like

โœจ Key Features

๐Ÿค– AI-Powered Conversations

Smart responses powered by LLaMA

๐ŸŒ Responsive Design

Beautiful UI that works on all devices

โšก Real-time Communication

Instant message flow between user and AI

๐Ÿ”’ Secure API Integration

Protected endpoints and safe data handling

๐ŸŽจ Modern Interface

Clean, intuitive chat experience

๐Ÿ”ง Easy to Extend

Modular architecture for future enhancements


๐Ÿ› ๏ธ Tech Stack

Technology Purpose Icon
Python + Flask Backend API Server
Together AI LLaMA Model API ๐Ÿง 
Bolt AI Frontend Generation โšก
HTML/CSS/JS User Interface

๐Ÿš€ Quick Start Guide

๐Ÿ“‹ Prerequisites

  • Python 3.8+
  • Git
  • Together AI API key

โšก Installation

1. Clone the Repository

git clone https://github.com/your-username/friendly-chatbot.git
cd friendly-chatbot

2. Set Up Virtual Environment

python -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate

3. Install Dependencies

pip install -r requirements.txt

4. Configure Environment

# Create .env file
touch .env

# Add your API key
echo "TOGETHER_API_KEY=your_api_key_here" > .env

5. Launch the Application

# Start backend server
python app.py

# Open frontend in browser
# Navigate to frontend folder and open index.html

๐Ÿ—๏ธ Project Architecture

friendly-chatbot/
โ”‚
โ”œโ”€โ”€ backend/
โ”‚   โ”œโ”€โ”€ app.py
โ”‚   โ”œโ”€โ”€ .env
โ”‚   โ”œโ”€โ”€ requirements.txt
โ”‚
โ”œโ”€โ”€ frontend/
โ”‚   โ”œโ”€โ”€ index.html
โ”‚   โ”œโ”€โ”€ script.js
โ”‚   โ””โ”€โ”€ styles.css
โ”‚
โ””โ”€โ”€ README.md


๐Ÿ”Œ API Reference

Chat Endpoint

POST /chat

Request Body:

{
  "message": "Hello, how are you?"
}

Response:

{
  "response": "Hello! I'm doing great, thank you for asking. How can I help you today?",
  "timestamp": "2024-01-15T10:30:00Z",
  "status": "success"
}

๐ŸŽจ Building Your Frontend with Bolt AI

Step-by-step Guide:

  1. Visit Bolt AI
  2. Prompt: "Create a modern chat interface for an AI chatbot with dark theme, message bubbles, and typing indicators"
  3. Customize the generated UI to match your brand
  4. Export and integrate with your Flask backend


๐Ÿ”ฎ Future Roadmap

  • ๐Ÿ” User Authentication - Personalized chat experiences
  • ๐Ÿ’พ Chat History - Database integration for message persistence
  • ๐ŸŒ Multi-language Support - Global accessibility
  • ๐Ÿ“ฑ Mobile App - Native iOS and Android applications
  • ๐ŸŽ™๏ธ Voice Integration - Speech-to-text and text-to-speech
  • ๐Ÿ” Advanced Search - Search through chat history
  • ๐ŸŽจ Theme Customization - Multiple UI themes
  • ๐Ÿ“Š Analytics Dashboard - Usage statistics and insights

๐Ÿค Contributing

We love contributions! Here's how you can help:

  1. ๐Ÿด Fork the repository
  2. ๐ŸŒฟ Create a feature branch (git checkout -b amazing-feature)
  3. ๐Ÿ’Ž Commit your changes (git commit -m 'Add amazing feature')
  4. ๐Ÿ“ค Push to the branch (git push origin amazing-feature)
  5. ๐ŸŽ‰ Open a Pull Request

๐Ÿ“œ License

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


๐Ÿ’Œ Support

Enjoyed this project? Give it a โญ!

Made with ๐Ÿ’œ by Karthikeyan K R

Building the future, one conversation at a time.


๐ŸŽ‰ Thank you for checking out Friendly Chatbot!

Star โญ this repo if you found it helpful!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published