~/talk

Using Apache OpenNLP with OpenSearch K-NN Vector Search

slides:none on file

Shows a working pipeline that exports a pre-trained sentence-transformers model to ONNX export, calls it from Java via ONNX Runtime inside Apache OpenNLP to produce 384‑dim vectors, indexes them into OpenSearch using the K-NN plugin and runs k‑NN queries. Demonstrates with three example sentences, indexes vectors of dimension 384, and retrieves results with scores 1, 0.75, 0.41 so the two presidential sentences cluster together while the unrelated sentence scores lower. Code and Docker compose are provided and the end‑to‑end demo runs successfully.

AI-written summary · about

  1. 0:00Introduction
  2. 0:27Apache OpenNLP overview
  3. 2:18Sentence transformers basics
  4. 3:22Exporting models to ONNX
  5. 5:55ONNX runtime integration
  6. 7:31Vector search with OpenSearch
  7. 19:39Conclusion and call to action
~/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.