~/talk

AI in Java? Meet LangChain4j and Build Intelligent Services

TalkinPolishat Confitura 2025 · 2025-09-19..09-20· [java, ai-assisted-development]
links:none on file
slides:none on file

Shows integrating large language models into Java services using LangChain4j with concrete code: OpenAI GPT for text generation and embeddings, Postgres with a vector extension for storing embeddings, and a live-coded mini chatbot that implements Retrieval-Augmented Generation and Function Calling. Demonstrates indexing documents and storing embeddings, returning source fragments, maintaining a message-window chat memory, and using tools that call application methods; demo repo and example outputs (e.g., company policy days, per-user remaining days, contest prize) are provided.

AI-written summary · about

  1. 0:00AI in Java with LangChain4j
  2. 3:37LangChain4j vs Python
  3. 10:20First chatbot with LangChain4j
  4. 15:45Loading RAG documents
  5. 21:09Storing chat context
  6. 29:35Calling functions with AI
  7. 39:13Summary & Q&A
~/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.