Skip to content

Latest commit

Β 

History

History
39 lines (24 loc) Β· 963 Bytes

File metadata and controls

39 lines (24 loc) Β· 963 Bytes

πŸ€– AI Chatbot with Flask and Cohere

This is a simple AI chatbot web application built using Flask (Python) and powered by Cohere's LLM API. It allows users to interact with an AI assistant, view chat history, and reset conversations. The chat history is stored locally in a JSON file.


🌐 Features

  • πŸ’¬ Chat with AI using Cohere's command-r model
  • πŸ—ƒοΈ View full chat history
  • ♻️ Reset or delete chat
  • 🎨 Responsive UI with CSS styling
  • πŸ“ Local storage using chat_history.json

🧰 Tech Stack

  • Frontend: HTML, CSS, JavaScript
  • Backend: Python (Flask)
  • AI Model: Cohere API (command-r)
  • Storage: JSON File (chat_history.json)

πŸš€ Getting Started

βœ… Prerequisites

πŸ”§ Installation

  1. Clone or Download

Download or clone this repository and unzip it: