~/talk

"You can't use AI directly in Java!" Hold my prompt...

Talkat Java ON 2024 · 2024-11-12..11-14· [ai-assisted-development, java]
links:none on file
slides:none on file

Demonstrates that Java calls LLMs with no HttpResponse parsing by showing three approaches: raw HTTP to OpenAI, Google Vertex AI JDK, and Spring AI / LangChain4j as adapters so the model can be swapped without changing business code. Shows chat session keeps history so follow-ups use prior context, converts model outputs into Java types including Boolean returned from model and a custom Person object extracted from free text, and builds a working AI car-recommender backend (budget int, fuel enum, brand list, features list) that behaves but still exhibits hallucinations and token-limit considerations.

AI-written summary · about

  1. 0:00Introduction
  2. 1:11Java can use AI directly
  3. 3:49Python dominates AI
  4. 5:59First AI in Java
  5. 7:26Google Vertex AI with Java
  6. 9:52Context handling in AI
  7. 11:37Simulating UI with Java
  8. 13:24Spring AI framework
  9. 17:11LangChain4J benefits
  10. 19:24AI sentiment analysis
  11. 22:57Extracting structured data
  12. 28:53AI car recommender
  13. 41:17AI cost and models
  14. 44:07Summary
  15. 44:50Q&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.