RAG implementation with Spring AI 0.8.1
-
Clone the repository:
git clone https://github.com/badrkacimi/demo-rag-spring-ai.git
-
Navigate to the project directory:
cd emo-rag-spring-ai
-
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
-
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/
-
Access the project UI:
Open a web browser and go to http://localhost:9090/index
This project is licensed under the MIT License.