Lightlines
By giuseppe-trisciuoglio

langchain4j-rag-implementation-patterns

giuseppe-trisciuoglio3.6k installs

Build Java apps that answer from your documents.

What it does

Builds Java applications that answer questions and search documents using LangChain4j.

When to use it

Use when building document Q&A, knowledge-base assistants, semantic or hybrid search, or domain-specific AI with source attribution.

How to use it

Give it a document-search or question-answering application to build; it creates a Spring Boot project with ingestion, retrieval, and an AI service.

Uses

Good to know

  • cannot be undone: OpenAI

Latest review

What you need · 2

Requires Java to run the generated application.

The generated embedding-model configuration reads the OpenAI API key from the environment.


Access · 1

This skill

OpenAI

Write

Sends document text to OpenAI (irreversible)