[go: up one dir, main page]

Skip to content

metatype/playground-flight-booking

 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • Java 73.3%
  • TypeScript 12.9%
  • Shell 10.0%
  • Smalltalk 2.2%
  • HTML 1.6%