~/talk

AI for Java Developers - From Buzzword to Code

Talkat DevBcn 2025 · 2025-07-08..07-10· [java, ai-assisted-development]
slides:none on file

Demonstration converts book descriptions into embeddings stored first in Postgres (vector extension) and then in a Pinecone index (about 1,600 items), comparing naive word-based vectors to model embeddings from a MiniLM packaged as a jar and loaded by LangChain4J. A local LLM path uses tiny-llama 1.1B via JLlama and a faster option runs Llama 3.2 through Ollama; model generation takes ~73 seconds on a modern laptop (5–6 minutes on older Intel). Retrieval-augmented generation (RAG) returns accurate store results and prevents hallucination.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 3:42What is AI for Java devs
  3. 9:01Demo: Text search with PostgreSQL
  4. 13:24Tokenization and embeddings basics
  5. 17:47Vector distances and similarity search
  6. 23:12Training models and embeddings
  7. 25:24Using models in Java with LangChain4j
  8. 30:47Vector databases like Pinecone
  9. 34:01How LLMs predict next words
  10. 36:09Demo: TinyLlama with Jlama
  11. 39:20Ollama for running models locally
  12. 42:56AI services and agents
  13. 45:43RAG: Retrieval Augmented Generation
  14. 50:39Summary and next steps
~/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.