~/talk

From Natural Language to Structured Solr Queries using LLMs

Talkat Berlin Buzzwords 2024 · 2024-06-09..06-11· [large-language-models]
links:none on file
links:none on file
slides:none on file

Prototype converts natural-language questions into structured Solr queries by using an instruction-tuned LLM to do two steps: JSON field-extraction from a Solr schema/dictionary and query expansion (synonyms/variations) then assemble filters into a Solr query. Implementation uses the dpy library for prompt modules and Apache Solr for index/testing with an OECD statistical dataset; experiments show useful disambiguation but frequent hallucinated fields/values, token-limit latency, and no production benchmarks yet.

AI-written summary · about

  1. 0:00Introduction and context
  2. 2:08Use case and LLM basics
  3. 4:00Lexical search limitations
  4. 7:13LLM-enhanced search strategy
  5. 10:04Architecture and workflow
  6. 16:06DSPy framework exploration
  7. 18:31Findings and benefits
  8. 23:07Challenges and limitations
  9. 31:31Path to production
  10. 34:19Q&A and conclusion
~/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.