Examples for @moss-dev/moss-web - in-browser semantic search powered by WASM.
-
Install dependencies:
npm install
-
Start the dev server:
npm run dev
-
Open the URL printed by Vite and enter your Moss project credentials in the UI.
Load an existing index and run semantic searches entirely in-browser.
End-to-end walkthrough of every SDK operation: create index, get info, list indexes, add docs, get docs, load, query, delete docs, delete index.
Query with $eq, $and, $or, $in, and $near filters on metadata fields.
- A modern browser (Chrome, Firefox, Safari, Edge)
- Valid Moss project credentials (project ID + key)