Playground project on LLM/AI chatbot and RAG/memory using Java/Quarkus and Langchain4j
This project is web application with a Java & Quarkus backend and a JavaScript (React) frontend. The backend serves a REST API, while the frontend is a SPA (Single Page Application).
- api/ # Java backend application
- client/ # JavaScript frontend ReactJS application
- Java 21+. You can download from and install Oracle. Or you can use a SDKMAN!.
- Maven 3.9+. Installation guide here
- Node.js (v23 or higher) and npm. Download and install from here
- Podman or (Docker)[https://docs.docker.com/get-started/get-docker/]
Clone the repository:
git clone <repository_url>
cd <project_root_directory>Start Quarkus app in (dev mode)[https://quarkus.io/guides/dev-mode-differences]
cd backend
mvn quarkus:dev(Quinoa extension)[https://quarkus.io/extensions/io.quarkiverse.quinoa/quarkus-quinoa/] will automatically start the frontend development server.
Both frontend and backend hot-reloading will be enabled.
Quarkus (dev services)[https://quarkus.io/guides/dev-services] will also start PostgreSQL PGVector database and (ollama)[https://ollama.com/] for local model inference.
TODO