Skip to content

Commit cba4d0f

Browse files
committed
Update README for stored embedding workflow
1 parent e1ecf56 commit cba4d0f

6 files changed

Lines changed: 42 additions & 676 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ A collection of lightweight browser apps served from a single landing page. Each
1010
- **Cosine Similarity Lab** – Explore the 0.50+ cosine matches across jokes, quotes, and cross-deck blends, tweak the minimum score, and compare entries side by side with vector stats.
1111
- **Value Formatter** – Turn newline-separated entries into formatted key-value pairs for quick copy/paste in code reviews or data preparation.
1212
- **Asset Observatory** – Summarise dataset payloads, embedding stores, and similarity sweeps across the toolbox with nerdy charts and a full ledger view.
13-
- **Embedding Explorer**Paste vectors or browse curated samples to visualise metrics, heatmaps, and notable dimensions of embedding payloads.
13+
- **Embedding Explorer**Browse stored embedding datasets to visualise metrics, heatmaps, and notable dimensions of each vector.
1414

1515
## Usage
1616

@@ -51,7 +51,7 @@ The tests spin up a temporary `python -m http.server` instance and exercise ever
5151
- `tests/similarity-report.spec.js` exercises dataset toggles, thresholds, and similarity overlays.
5252
- `tests/asset-observatory.spec.js` keeps the asset dashboard honest so charts, summaries, and the ledger stay in sync.
5353
- `tests/home-navigation.spec.js` ensures every app exposes the Home shortcut.
54-
- `tests/embedding-explorer.spec.js` checks that the Embedding Explorer loads samples, recomputes statistics, and surfaces the strongest dimensions.
54+
- `tests/embedding-explorer.spec.js` checks that the Embedding Explorer loads stored embeddings, recomputes statistics, and surfaces the strongest dimensions.
5555
- `tests/offline-manifest.spec.js` guards the offline cache manifest so every shipped HTML, JSON, and JavaScript asset remains downloadable.
5656

5757
Use `npm run test:ui` if you want to watch the checks in the Playwright inspector while iterating locally. To focus on a single spec, pass its filename to Playwright, for example:

ai_docs/docs/apps.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ Each mini app lives under `apps/<name>/` with inline styles, a focused script, a
5858
- **Purpose.** Inspect embedding vectors, compare dataset records, and visualise high-impact dimensions.
5959
- **Key files.**
6060
- `index.html` – Dashboard layout with dataset selector, record filter, neighbor list, and dual canvas plots.
61-
- `app.js`Parses sample embeddings, decodes base64 vectors, computes statistics, renders histograms, and highlights the strongest positive/negative dimensions.
62-
- `sample-embeddings.js` – Bundled dataset and metadata sources exposed as `window.embeddingExplorerSamples` and `window.embeddingSources`.
63-
- **Data maintenance.** Update `sample-embeddings.js` when adding new demo vectors. The explorer reads live datasets by decoding the base64 payloads from the embeddings stores in `data/` when available.
61+
- `app.js`Loads dataset metadata, decodes base64 vectors, computes statistics, renders histograms, and highlights the strongest positive/negative dimensions.
62+
- `sample-embeddings.js` – Bundled dataset definitions exposed as `window.embeddingSources`.
63+
- **Data maintenance.** Update `sample-embeddings.js` when adding or renaming embedding datasets. The explorer reads live datasets by decoding the base64 payloads from the embedding stores in `data/` when available.
6464
- **Regression coverage.** `tests/embedding-explorer.spec.js` verifies dataset switching, record filtering, neighbor insights, and chart rendering.
6565

6666
## Value Formatter (`apps/value-formatter`)

0 commit comments

Comments
 (0)