~/talk

Building Your own AI Assistant with JavaScript, LLMs, and Rag

slides:none on file

JavaScript code ties local or hosted LLMs to a vector database via embeddings so private docs get pulled into a retrieval augmented generation pipeline; LM Studio and containerized models give an OpenAI‑style API, and a Llama 3.2 2‑billion‑parameter model runs on a laptop with ~3GB safe‑tensor slices. Recommendation: aim for ~1–2B params for useful accuracy; tiny models (0.5B) hallucinate confidently (example: answers “Florence” for Italy’s capital). The prototype works but needs RAG to be reliable for private data.

AI-written summary · about

  1. 0:00Building an AI assistant
  2. 1:49AI buzzword overwhelm
  3. 3:36AI engineers vs AI chefs
  4. 5:23AI model request processing
  5. 7:09AI model fundamentals
  6. 9:13Model parameters and resources
  7. 12:01Model knowledge cutoffs and private data
  8. 13:07Embeddings and vector spaces
  9. 14:29Retrieval augmented generation
  10. 15:33Hosted AI models like ChatGPT
  11. 16:37JavaScript demo small model
  12. 18:02Live demo inaccuracies
  13. 20:10LM Studio local models
  14. 21:57Model accuracy versus cost
  15. 23:09Q&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.