This app is an AI-powered customer support application that:
- Has access to terms and conditions (retrieval augmented generation, RAG)
- Can access tools (Java methods) to perform actions
- Uses an LLM to interact with the user
The application includes implementations for:
- LangChain4j in the
langchain4jpackage - Spring AI in the
springaipackage (thanks to @tzolov!)
The UI is built using Vaadin Hilla and the backend is built using Spring Boot.
- Java 17+
- OpenAI API key in
OPENAI_API_KEYenvironment variable
Run the app by running Application.java in your IDE or mvn in the command line.
