Skip to content

[SpringAI] - Simple AI chatbot application built using Spring Boot, Spring AI, Next.js, TailwindCSS, and Ollama.

Notifications You must be signed in to change notification settings

dev4hk/SpringAI-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Chatbot with Spring AI & Ollama

This is a simple AI chatbot application built using Spring Boot, Spring AI, Next.js, TailwindCSS, and Ollama.
The purpose of this project is to experiment with Spring AI and various AI models locally without incurring any cost.

🚀 Features

  • 🌐 Chat with multiple AI models: Supports LLaVA, Gemma 3, and Deepseek-R1
  • 🎨 Google Gemini-like UI built with Next.js, TailwindCSS, AceternityUI, Axios & Recoil
  • 🔄 Streaming AI responses (to simulate real-time typing)
  • 🖼️ Supports text and image-based queries
  • 🔒 Safe rendering of AI-generated responses using DOMPurify and React-Markup

🏗️ Tech Stack

  • Frontend: Next.js, TailwindCSS
  • Backend: Spring Boot, Spring Web, Spring AI
  • AI Runtime: Ollama

📌 Prerequisites

Before running this project, ensure you have:

  1. Installed Ollama on your local machine
  2. Pulled the required AI models using Ollama:
    • Gemma3
    • DeepSeek-R1
    • LLaVA

🎥 Demo

🗨️ Chatting with AI

Chat Demo

🖼️ Image Query Example

Image Query Demo

About

[SpringAI] - Simple AI chatbot application built using Spring Boot, Spring AI, Next.js, TailwindCSS, and Ollama.

Resources

Stars

Watchers

Forks

Languages