~/talk

Techniques to avoid common LLM pitfalls

slides:none on file

Demonstrates concrete fixes: use Gemini 1.5: 2 million token context for huge inputs, ground outputs with Google Search or Vertex AI Search, or run a RAG pipeline with embeddings and a vector DB (example uses LangChain + Firestore vector store) to answer from private PDFs. Showcases function calling to hit real APIs (weather example), response schemas to force JSON, context caching and batch generation 50% cheaper for cost savings, and evaluation with DeepEval and Promu; 10 tests, 8 failures to catch regressions and safety holes.

AI-written summary · about

  1. 0:00Introduction
  2. 1:28Common LLM pitfalls
  3. 8:13Problems with LLMs and their limitations
  4. 12:05Avoiding LLM pitfalls
  5. 13:28Grounding LLMs
  6. 16:17Retrieval Augmented Generation
  7. 24:08Function calling for data
  8. 27:58Controlling output format
  9. 29:44Reducing costs with caching
  10. 32:33Evaluating LLM performance
  11. 36:03Testing LLM outputs
  12. 39:16Summary
~/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.