Skip to content

ryandotclair/practical-ai

Repository files navigation

Spring AI Azure Movee App

How it works

Application Architecture

This application utilizes the following Azure resources:

Here's a high level architecture diagram that illustrates these components. Notice that these are all contained within a single resource group, that will be created for you when you create the resources.

"Application architecture diagram"

Run with Azure CLI

You can run this sample app using the Azure CLI by following these steps.

Prerequisites

  • JDK 17
  • Maven
  • Azure CLI
  • An Azure subscription with access granted to Azure OpenAI (see more here)

Clone and Build the repo

  1. Run git clone https://github.com/rohanmukesh/spring-ai-azure-movee.git
  2. Run cd spring-ai-azure-movee.
  3. Build with ./mvnw clean package -PProduction.

Preprocess the movies

Before running the web app, you need to preprocess the movies and load them into the vector store:

source env.sh
java -jar spring-ai-azure-movee/target/spring-ai-azure-movee-0.0.1-SNAPSHOT.jar --from=/<path>/<to>/<your>/<documents>

Or dowload the pre-built vector store of the public documents of the Azure Spring Apps.

Run in local

To run the demo in the local machine, please follow these steps:

  1. Launch the web app

    ./mvnw clean package
    source env.sh
    java -jar spring-ai-azure-movee/target/spring-ai-azure-movee-0.0.1-SNAPSHOT.jar
  2. Open http://localhost:8080 in your browser.

Reporting Issues and Feedback

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published