~/talk

Calling AI Tools from Java

Talkat Devnexus 2024 · 2024-04-09..04-11· [java]
links:none on file
slides:none on file

Demos use Java 11+ HTTP client, Apache HTTP client and Spring HTTP-exchange interfaces to call OpenAI, Claude, Gemini, Mistral and local Olama; JSON maps to records and sealed interfaces with compact constructors for validation. Image generation returns base64 saved to files, text-to-MP3 is shown, and a full book is submitted to Gemini as 880,000 tokens and summarized successfully against a 1,000,000-token context window. Pricing, streaming defaults, multipart upload quirks and LangChain-for-J / Spring AI tooling are demonstrated and work end-to-end.

AI-written summary · about

  1. 0:00Introduction to AI tools in Java
  2. 8:11Java REST API basics for AI services
  3. 13:08Mistral API demo with Java
  4. 21:17Ollama local AI models setup
  5. 33:26Claude API with Java records
  6. 43:01Image generation with Dolly and Stable Diffusion
  7. 52:57RAG and context window limits
  8. 1:00:06Frameworks and next steps
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.