~/talk

Java Meets AI: Integrating LLMs into Your Applications with LangChain4j

TalkinFrenchat Devoxx France 2024 · 2024-04-17..04-19· [ai-assisted-development, java]
name:Lize Raes
github:LizeRaes
slides:none on file

LangChain4j, a Java library, provides concrete glue code to connect LLM providers (OpenAI, Google Vertex, HuggingFace, and local models) to a unified Java API. It shows how to load documents and create embeddings for vector stores (in-memory, SQL/Postgres vectors, etc.) to support RAG, and how agents can call external actions or Java tools to execute functions, query databases, or run dynamic JavaScript. Live demos include a Spring Boot booking assistant that enforces cancellation policy and a feedback analyzer that ingests docs, builds vectors, and returns typed Java objects end-to-end.

AI-written summary · about

  1. 0:00Introduction
  2. 1:24LangChain4j overview
  3. 8:35Reservation assistant demo
  4. 13:15Hello World with LangChain4j
  5. 15:25Conversation memory
  6. 19:21Java objects and AI services
  7. 25:33Using Tools
  8. 28:23RAG basics
  9. 35:34Advanced RAG optimizations
  10. 38:45Feedback analyzer demo
  11. 44:52RAG tips and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.