Skip to content

Retrieval-augmented generation implementation with first Spring AI release

Notifications You must be signed in to change notification settings

badrkacimi/demo-rag-spring-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project RAG with Spring AI

RAG implementation with Spring AI 0.8.1

Table of Contents

Installation

  1. Clone the repository:

    git clone https://github.com/badrkacimi/demo-rag-spring-ai.git
  2. Navigate to the project directory:

    cd emo-rag-spring-ai
  3. Install dependencies:

    Change the openAI key in applications properties by yours:

    spring.ai.openai.api-key=your api key

    You need docker in your machine:

    docker compose up

Usage

  1. Run the project:

    Run the project in your editor or in command shell after generating the jar

    Check your postgres database, the user/password are in the compose yaml file

        http://localhost:5050/browser/
  2. Access the project UI:

    Open a web browser and go to http://localhost:9090/index

License

This project is licensed under the MIT License.

About

Retrieval-augmented generation implementation with first Spring AI release

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published