← All courses

EDGE FDE

Intermediate

Search private files on the phone

Let users get answers from their own notes without sending data to a public cloud.

Chunk + BM25 + dense search + rerank for on-device / Core AI embeddings path (honest about APIs).

Index private notes on the device. Combine word search, Core AI embeddings, and a rerank step. Be honest about Spotlight versus a stack you own. iOS 27 and macOS 27 only.

Lessons

  1. Keep search on the phone
  2. Chunk notes you can retrieve
  3. Use BM25 for exact words
  4. Add dense search with Core AI
  5. Rerank and hand hits to the session

Key concepts

Takeaways

Agent briefs

Related courses

Build a context packer for on-device AI · Reuse answers that are almost the same · Route work to the right Apple model