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.
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.
Build the project
mvn clean install
Run the application
mvn spring-boot:run
The application should now be running on http://localhost:8080.