Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 863 Bytes

README.md

File metadata and controls

21 lines (18 loc) · 863 Bytes

Spring AI Demo App

A demo app for the Get Started with the Spring AI Integration tutorial in the Atlas documentation.

This application demonstrates how to add Spring beans to set up Spring AI, then creates endpoints which you can access to add vector embeddings to MongoDB Atlas and perform semantic (similarity) searches on this data.

Run the Application

You can clone this repository, then replace the placeholders in the application.properties file with your values. You can run the application by using the build/run tools in your IDE, or see the following section for shell commands.

Shell Commands

Build the project

mvn clean install

Run the application

mvn spring-boot:run

The application should now be running on http://localhost:8080.