~/talk

Avoid common LLM pitfalls

slides:none on file

Covers concrete fixes: use frameworks like LangChain with PDF splitting into 500‑char chunks and 100‑char overlap, embed into a vector DB (example uses Firestore) and run Retrieval-Augmented Generation (RAG) so a PDF yields the correct cargo capacity (13.5 cu ft) instead of hallucination; enable grounding via Google Search or Vertex AI Search; grant models realtime data with Function Calling; exploit Gemini 1.5 Pro’s 2 million token context window and batch generation for ~50% cost savings.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:26LLM landscape overview
  3. 6:20Common LLM pitfalls
  4. 13:05Solutions for pitfalls
  5. 15:27Pre and post-processing fixes
  6. 16:42Grounding LLM responses
  7. 21:25Retrieval Augmented Generation
  8. 27:00Function calling for realtime data
  9. 31:18Controlling LLM output format
  10. 34:45Optimizing LLM costs
  11. 38:35Observability for LLM calls
  12. 41:44Evaluating LLM outputs
  13. 45:19Securing LLM applications
  14. 49:53Talk summary 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.