~/talk

React Native Local First Semantic Search

Talkat Chain React 2024 · 2024-07-17..07-19· [react-native, webassembly]
slides:none on file

Builds a local‑first semantic search inside a React Native app using an on‑device ONNX model from Hugging Face (Snowflake Arctic quantized4), ONNX Runtime React Native, and Hugging Face tokenizers, producing 384‑dimension embeddings via token averaging, indexed with hierarchical navigable small world (HNSW) for approximate nearest neighbors. The demo is a restaurant finder, returns results in milliseconds on an emulator, uses cosine distance, and publishes code on GitHub.

AI-written summary · about

  1. 0:00Local first semantic search
  2. 1:25Semantic vs keyword search
  3. 2:49Vector embeddings in AI
  4. 5:18Choosing AI embeddings model
  5. 7:25Local AI inference
  6. 9:57Tokenization and text conversion
  7. 12:44Visualizing AI outputs
  8. 14:30Fast search with HNSW
  9. 16:59Search in React Native
  10. 19:27Live demo: restaurant finder
  11. 21:17Closing and resources
~/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.