# playground-flight-booking **Repository Path**: jerrycell/playground-flight-booking ## Basic Information - **Project Name**: playground-flight-booking - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: chat-client-advisors - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-06-19 - **Last Updated**: 2025-06-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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](https://github.com/spring-projects/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 ```shell ./mvnw clean install -Pproduction ``` ```shell java -jar ./target/playground-flight-booking-0.0.1-SNAPSHOT.jar ``` ``` docker run -it --rm --name postgres -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres ankane/pgvector ```