~/talk

Using Generative AI with Java: Beyond Simple Chatbots

TalkinFrenchat Devoxx France 2024 · 2024-04-17..04-19· [ai-assisted-development, java]
links:none on file
slides:none on file

Shows concrete Java examples using LangChain4J to call Google Gemini and to run open Gemma models locally via Olama/LocalAI. Demonstrates retrieval-augmented generation by encoding documents into embeddings, storing them in an Apache Cassandra/Astra vector store with a Cassandra vector index, and wiring retrieval into chat flows with prompt templates; also presents a custom Java ANN (jvector) claimed to give higher QPS than Pinecone. Covers running local Gemma, integrating LangChain4J + Gemini, and mentions FLARE and LMM techniques to reduce hallucinations with end-to-end demos.

AI-written summary · about

  1. 0:00Introduction
  2. 2:33Generative AI and LLMs explained
  3. 1:03:14Demos with Vertex AI and Gemma
  4. 1:33:1415-minute break
  5. 1:48:11Vector databases and embeddings
  6. 2:00:53Cassandra and vectors with Java
  7. 2:21:01RAG: Retrieval Augmented Generation
  8. 2:33:04Tools and function calling
  9. 2:43:33Q&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.