/sbdocs

Spring AI + Open AI + PgVector RAG Tutorial

Primary LanguageJava

Spring Boot Reference Documentation Assistant

This is a little demo I put together to show off the features of Spring AI. This is a command line utility that utilizes Open AI. To augment GPT-4 I am using a technique called Retrieval Augmented Generation (RAG) to provide up to date information about Spring Boot using the Spring Boot Reference documentation. If you want to see how I built this application you can check out the video below.

YouTube Tutorial

Dependencies

  • Web
  • Shell
  • JDBC API
  • Open AI
    • spring-ai-pdf-document-reader (not available in the Spring Initializr)
  • PgVector
  • Docker Compose
  • GraalVM Native Support

Spring Initiliazr