AI customer support agent demo using LangChain4j and Spring AI

I’ve been exploring AI libraries for Java recently and built a demo to showcase how to build a AI-powered full-stack app on Spring Boot.

Features:

  • RAG (Retrieval-Augmented Generation): uses a terms of service doc for context
  • Function calling: can fetch, modify, and cancel reservations as allowed by the terms of service
  • Hilla UI with streaming answers and live database view
  • LangChain4j and Spring AI implementations

Repo: GitHub - marcushellberg/java-ai-playground

I hope it can be helpful to folks who want to explore AI tools in Java but haven’t had a chance yet. Let me know what you think.

4 Likes

Wow this is super nice! Thank you for sharing the code as well.

1 Like

Thank you for sharing :heart_hands:

1 Like