This repository contains a documentation bot powered by a large language model (LLM) using LangChain4j to quickly find answers to your Spring Boot questions. It allows easy browsing of Spring documentation and leverages retrieve and gather (RAG) to extract relevant details on demand. The bot is built with Spring Boot and uses LangChain4j to ingest Spring documentation URLs into the model for enhanced question answering about Spring frameworks and the overall Spring ecosystem.
- Java 20
- Maven
- API keys for Open API
-
Clone the repository on your local machine.
git clone https://github.com/miliariadnane/spring-boot-doc-rag-bot cd spring-boot-doc-rag-bot
-
Open the
application.yml
file and replaceOPEN_API_KEY
with your own Open API key. For demo purposes, you can use the key "demo". -
Build the project.
mvn clean install
-
Run your Spring Boot application.
mvn spring-boot:run
- Spring Boot - The web framework used
- Maven - Dependency Management
- LangChain4j - Used for integration of AI/LLM models into Java applications
This project is licensed under the MIT License - see the LICENSE.md file for details
If you find this project useful or interesting, please consider giving it a star ⭐ on GitHub. Your support is greatly appreciated! Also, if you have a moment, don't forget to make a duaa 🤲 for me and my parents. Thank you for your support!