~/talk

Building Your Own Private GenAI Chatbot With Java Tools – A Step-by-Step Adventure

Talkat IntelliJ IDEA Conf 2024 · 2024-03-06..03-07· [large-language-models, java]
links:none on file
slides:none on file

Argument: Java can build a private GenAI chatbot that keeps company data off external servers by combining OpenAI LLMs via a Java wrapper, embeddings, and a vector database. Tools used: Theo’s Java client to call OpenAI, babbage-002 for cheap tests, cosine similarity over 1,536‑dim embedding vectors, Milvus-style vector storage and sentence chunking. Surprises: the ecosystem lists about 500,000 models. Built system ingests URLs/PDFs/MP3 transcripts, runs RAG retrieval, and the prototype demos work though latency and context-window limits require tuning.

AI-written summary · about

  1. 0:00Introduction to AI
  2. 1:00Patterns and AI basics
  3. 4:45Predictive vs Generative AI
  4. 6:28Understanding Neural Networks
  5. 8:47The Transformer Revolution
  6. 11:04What are Language Models?
  7. 13:28Prompt Engineering Concepts
  8. 15:37Interacting with LLM APIs
  9. 17:58Prompt Techniques
  10. 20:51Context and Windows
  11. 24:25OpenAI Service Examples
  12. 28:00Java Client for OpenAI
  13. 31:23Building Chatbot State
  14. 33:25Data Security and RAG
  15. 35:27RAG Architecture
  16. 39:21Embeddings and Vectors
  17. 42:56Similarity Calculations
  18. 45:07Vector Databases and Demos
  19. 50:53Final Demos and Q&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.