mminella / playground-flight-booking

Spring AI powered expert system demo

Home Page:https://docs.spring.io/spring-ai/reference/0.8-SNAPSHOT/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AI powered expert system demo

Spring AI re-implementation of https://github.com/marcushellberg/java-ai-playground

This app shows how you can use Spring AI to build an AI-powered system that:

  • Has access to terms and conditions (retrieval augmented generation, RAG)
  • Can access tools (Java methods) to perform actions (Function Calling)
  • Uses an LLM to interact with the user

Requirements

  • Java 17+
  • OpenAI API key in OPENAI_API_KEY environment variable

Running

Run the app by running Application.java in your IDE or mvn in the command line.

Build Jar

./mvnw clean install -Pproduction
java -jar ./target/playground-flight-booking-0.0.1-SNAPSHOT.jar

About

Spring AI powered expert system demo

https://docs.spring.io/spring-ai/reference/0.8-SNAPSHOT/index.html


Languages

Language:Java 73.2%Language:TypeScript 13.0%Language:Shell 10.1%Language:Smalltalk 2.2%Language:HTML 1.6%