Skip to content

This is a sample prototype which takes customer queries , converts them to embeddings using Ollama and then does a semantic search to find similar queries or complaints. On the go it will also send a email to a customer whenever a POST request about a complaint hits the REST controller.

Notifications You must be signed in to change notification settings

Bhuvan588/Customer-Support-Spring-AI-Prototype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

HelpHound ๐Ÿถ - Your loyal companion for customer queries

This project aims to explore Spring AI through a customer support app!!

๐Ÿ’ฝ Project Flow

Customer-Support drawio

NOTE: Since I was having some difficulty in handling vector field in POSTGRES , I treating the embeddings as String type and later handled it accordingly.

Screenshots

Saving 2 tickets ๐Ÿ’

query-1

query-2

Perfoming semantic search for delayed order tickets ๐Ÿ”Ž

similarity-finding

Mail Notification Received ๐Ÿ“ฌ

email

๐Ÿ’ป How to execute Locally

Basic Setup

1. You must have Docker,Ollama installed and configured.

2. Pull any Ollama model of your choice e.g here I have used Lllama 3.2 1B parameter model

For Mail Notification

Go to the Google account from where you want to send the email. Then 
Security --> App Password --> Give any name --> You will get a 16 character code ---> Fill in the application.yml file

Follow-Up Features

1. Adding priority ranking for urgent tickets.
2. Admin Dashboard for viewing status of each ticket.
3. For live support, a chatbot can be integrated.

About

This is a sample prototype which takes customer queries , converts them to embeddings using Ollama and then does a semantic search to find similar queries or complaints. On the go it will also send a email to a customer whenever a POST request about a complaint hits the REST controller.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages