~/talk

News Crawler via Langchain.RB and Gemini APIs

Talkat rubyday 2024 · on Friday, 2024-05-31· [large-language-models, ruby]
slides:none on file

Builds a news crawler that crawls ~10,000 articles into a Rails app, embeds them and runs vector similarity via PGVector, then updates a base LLM using Gemini for multimodal extraction plus RAG and langchainrb gem tooling. Shows four demos: embedding nearest-neighbor search, prompt assembly with retrieved excerpts, calling a News API tool, and function-calling to save articles. Live system mostly works but demos fail about 30% from network, API limits, or parsing quirks.

AI-written summary · about

  1. 0:00News Crawler project intro
  2. 1:02Speaker and Ruby advocacy
  3. 7:25Vector DB challenges in semantic search
  4. 10:13LLM limits with RAG and function calling
  5. 14:29Ruby News Crawler architecture
  6. 17:36Demo: Semantic article similarity
  7. 20:27Demo: RAG with prompt injection
  8. 24:17Demo: LLM tool calling with News API
  9. 27:51Demo: Interactive assistant
  10. 35:13Q&A
  11. 39:18Closing remarks
~/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.