mlx-bun library API
    Preparing search index...
    • Build the entity-extraction prompt: inlined Entities.md policy + the chunk text + the fixed question. The policy block is passed in so callers can cache it across many chunks (loadMetaPolicy does disk IO).

      Parameters

      • text: string
      • policy: string

      Returns string