~/talk

Harry Potter and the Elastic Python Clients

Talkat PyCon Sweden 2023 · 2023-11-09..11-10· [data-visualization, machine-learning]
slides:none on file

Indexed the first three Harry Potter subtitles into an Elasticsearch Cloud index and runs queries from a notebook using the Elasticsearch Python client and the higher‑level DSL while importing models with Eland for model import. Pulls Hugging Face containers via Docker, creates ingest pipelines that add sentiment labels and sentence-transformer embeddings to each sentence, then performs vector (cosine) and combined semantic+filter searches. Shows that embeddings surface synonyms and surprising antonym proximity, demonstrates live inference latency, and mentions Elser (enterprise) vs open models and ANN/performance tradeoffs.

AI-written summary · about

  1. 0:00Introduction to Elastic Python
  2. 1:16Why Harry Potter theme
  3. 2:39Python clients overview
  4. 4:23Eland for machine learning
  5. 6:29Elastic interface demo
  6. 8:16Python client in notebooks
  7. 9:42Movie subtitles dataset
  8. 10:49Sentiment analysis with Eland
  9. 14:03Vector search basics
  10. 15:46Semantic search examples
  11. 17:54Combining sentiment and vectors
  12. 19:39Practical applications beyond HP
  13. 20:45Elser and licensing notes
  14. 21:27Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.