~/talk

Building Your Own Private GenAI Chatbot with Java Tools

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

Shows how to build a private GenAI chatbot in Java using OpenAI-style REST calls, a Java wrapper (works with OpenAI GPT‑3.5 (cheap) vs GPT‑4 (expensive)), LangChain for Java and a vector DB for embeddings. Implements RAG retrieval with embeddings (chunking text into sentences, storing metadata, cosine similarity) and keeps conversation state in the app. Demo pulls web docs, answers Java 22 questions and even does voice cloning from MP3; ~500k models exist so choices range from local hosting to cloud.

AI-written summary · about

  1. 0:00Introduction to GenAI chatbots
  2. 2:13GenAI as a long-term tool
  3. 5:49AI patterns and machine learning
  4. 11:13Building a chatbot overview
  5. 13:21LLMs vs search tools
  6. 17:32Prompt techniques basics
  7. 22:55Prompt engineering explained
  8. 28:59OpenAI services and APIs
  9. 31:52Java API for OpenAI
  10. 36:09Alternative Java APIs
  11. 38:57Chatbot architecture and state
  12. 41:07Retrieval augmented generation
  13. 44:38RAG fundamentals and benefits
  14. 48:07Similarity and embeddings
  15. 51:22Vector databases explained
  16. 54:11Demo and closing remarks
~/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.