Skip to content

armgit / sie

Public Imported from GitHub
0

Open-source inference server and production cluster for all the models your agent needs.

port examples and notebooks polish from sie-test PR #99

Filip Makradulidd54ce470a94
diff --git a/README.md b/README.md
index 72bf1d849..44812baad 100644
--- a/README.md
+++ b/README.md
@@ -14,10 +14,10 @@
<p>85+ models. Three functions. From laptop to Kubernetes. All Apache 2.0.</p>
<p>
- <a href="https://sie.dev/docs/">Docs</a> ·
- <a href="https://sie.dev/docs/quickstart/">Quickstart</a> ·
- <a href="https://sie.dev/docs/reference/api/">API Reference</a> ·
- <a href="https://sie.dev/docs/reference/models/">Models</a>
+ <a href="https://superlinked.com/docs">Docs</a> ·
+ <a href="https://superlinked.com/docs/quickstart">Quickstart</a> ·
+ <a href="https://superlinked.com/docs/reference/sdk">API Reference</a> ·
+ <a href="https://superlinked.com/models">Models</a>
</p>
[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](LICENSE)
@@ -94,9 +94,9 @@ print(result["entities"])
# {'text': 'Apple', 'label': 'organization', 'score': 0.91}]
```
-TypeScript: `pnpm add @sie/sdk` — [TypeScript docs ->](https://sie.dev/docs/reference/typescript-sdk/)
+TypeScript: `pnpm add @sie/sdk`, [TypeScript docs ->](https://superlinked.com/docs/reference/typescript-sdk)
-[Full quickstart guide ->](https://sie.dev/docs/quickstart/) · [SDK reference ->](https://sie.dev/docs/reference/sdk/)
+[Full quickstart guide ->](https://superlinked.com/docs/quickstart) · [SDK reference ->](https://superlinked.com/docs/reference/sdk)
---
@@ -112,7 +112,7 @@ helm upgrade --install sie-cluster oci://ghcr.io/superlinked/charts/sie-cluster
-f deploy/helm/sie-cluster/values-{gke|aws}.yaml
```
-[Deployment guide ->](https://sie.dev/docs/deployment/)
+[Deployment guide ->](https://superlinked.com/docs/deployment/docker)
> **Telemetry**: SIE collects anonymous usage data (version, OS, architecture, GPU type) to understand adoption. No IP addresses, hostnames, or request data are collected. Disable with `SIE_TELEMETRY_DISABLED=1` or `DO_NOT_TRACK=1`.
@@ -120,17 +120,17 @@ helm upgrade --install sie-cluster oci://ghcr.io/superlinked/charts/sie-cluster
### Explore
-[**85+ models**](https://sie.dev/docs/reference/models/) — `Stella v5` · `BGE-M3` · `SPLADE v3` · `SigLIP` · `ColQwen2.5` · `BGE-reranker` · `GLiNER` · `Florence-2` · [and more ->](https://sie.dev/docs/reference/models/)
+[**85+ models**](https://superlinked.com/models): `Stella v5` · `BGE-M3` · `SPLADE v3` · `SigLIP` · `ColQwen2.5` · `BGE-reranker` · `GLiNER` · `Florence-2` · [and more ->](https://superlinked.com/models)
Dense, sparse, multi-vector, vision, rerankers, extractors. All pre-configured. All quality-verified against MTEB in CI.
-[**Integrations**](https://sie.dev/docs/integrations/) — LangChain · LlamaIndex · Haystack · DSPy · CrewAI · Chroma · Qdrant · Weaviate
+[**Integrations**](https://superlinked.com/docs/integrations/): LangChain · LlamaIndex · Haystack · DSPy · CrewAI · Chroma · Qdrant · Weaviate
-[**Notebooks**](notebooks/) — Quickstarts and walkthroughs
+[**Notebooks**](notebooks/): Quickstarts and walkthroughs
-[**Examples**](examples/) — End-to-end project gallery
+[**Examples**](examples/): End-to-end project gallery
---
<p align="center">
- <a href="https://sie.dev/docs/"><strong>sie.dev/docs</strong></a> · Apache 2.0
+ <a href="https://superlinked.com/docs"><strong>superlinked.com/docs</strong></a> · Apache 2.0
</p>
diff --git a/examples/README.md b/examples/README.md
index e2277ec8f..1ff562b5f 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -2,6 +2,25 @@
A project gallery of full end-to-end applications built with SIE. Each project lives in its own subdirectory. Clone it, run it, learn from it.
+## Gallery
+
+Use this table to pick the right starting point. "Runnable" means the
+example has code, sample data or data-fetch instructions, and a documented
+local path. "Advanced" examples may require a custom SIE image or third-party
+service keys.
+
+| Example | Best for | SIE primitives | Setup | Status |
+|---|---|---|---|---|
+| [E-Commerce Product Search](./ecommerce-product-search) | Showing the fastest local product-search path with extraction, embeddings, and reranking | `extract`, `encode`, `score` | Local SIE Docker image, Python or TypeScript app | Runnable |
+| [Retrieval Ablation](./retrieval-ablation) | Demonstrating eval-driven model selection for production RAG retrieval | `encode`, `score` | SIE endpoint, Turbopuffer key, optional SIE API key for auth-enabled clusters | Runnable benchmark |
+| [Hugging Face MTEB Semantic Search](./sie-hugging-face-mteb-semantic-search) | Building a semantic-search app over model metadata and benchmark results | `encode`, `score` | Backend seed script plus Vite frontend; falls back without a live SIE endpoint | Runnable |
+| [Regulatory RAG](./regulatory-rag) | Hosting custom adapters and LoRA profiles in SIE | `encode`, `score`, `extract` | Custom SIE Docker image, GPU recommended | Advanced runnable example |
+| [Wine Recommender](./wine-recommender) | Combining recommendation reranking with OCR-style extraction in a UI | `encode`, `score`, `extract` | Docker Compose app plus local SIE endpoint; API key optional for unauthenticated SIE | Runnable demo |
+| [Taxonomy Classification](./taxonomy-classification) | Evaluating text, image, NLI, and reranking approaches for hierarchical product taxonomy classification | `extract`, `encode`, `score` | SIE endpoint, Shopify dataset prep via `uv run` scripts, standalone `uv` project | Runnable evaluation example |
+
+For docs publishing, lead with the quickest runnable demos, then use the
+benchmark and evaluation examples for deeper technical users.
+
## Submit your project
We welcome contributions. To add your project to the gallery:
@@ -19,6 +38,6 @@ Projects can be anything: a search engine, a RAG pipeline, a benchmark, a migrat
## Links
- [SIE overview](../README.md)
-- [API reference](https://sie.dev/docs/reference/sdk)
-- [Deployment guide](https://sie.dev/docs/deployment/docker)
-- [All models](https://sie.dev/docs/reference/models)
+- [API reference](https://superlinked.com/docs/reference/sdk)
+- [Deployment guide](https://superlinked.com/docs/deployment/docker)
+- [All models](https://superlinked.com/models)
diff --git a/examples/ecommerce-product-search/.gitignore b/examples/ecommerce-product-search/.gitignore
new file mode 100644
index 000000000..263884215
--- /dev/null
+++ b/examples/ecommerce-product-search/.gitignore
@@ -0,0 +1,5 @@
+.venv/
+data/products.json
+data/embeddings.npy
+data/metadata.json
+__pycache__/
diff --git a/examples/ecommerce-product-search/README.md b/examples/ecommerce-product-search/README.md
new file mode 100644
index 000000000..470abea34
--- /dev/null
+++ b/examples/ecommerce-product-search/README.md
@@ -0,0 +1,216 @@
+# E-Commerce Product Search
+
+<p align="center">
+ <img src="./assets/hero.png" alt="E-Commerce Product Search: extract, encode, score on a single SIE cluster" width="100%" />
+</p>
+
+Clone this and you have a full product search engine running on your laptop in five minutes. Type `wireless bluetooth headphones`, get ranked Amazon products back with extracted brand, color, and material filters. All three capabilities (extract, encode, score) run on one local SIE server through three SDK calls.
+
+No vector DB to provision. No separate reranker service. No hand-rolled regex for attributes. One Docker container, one SDK, one pipeline.
+
+*Built by [Vipul Maheshwari](https://github.com/viplismism).*
+
+## Try these queries
+
+Once the server is running at `http://localhost:8888`, open it in your browser and try:
+
+| Query | Filter | What it exercises |
+|---|---|---|
+| `wireless bluetooth headphones` | `All Electronics` | Dense retrieval plus cross-encoder rerank |
+| `lightweight waterproof hiking boots` | none | Multi-attribute semantic match |
+| `gold jewelry for women` | none | Style and material phrasing, rerank matters |
+| `ceramic coffee mug` | `Amazon Home` | Category filter applied to extracted attributes |
+| `power drill cordless` | `brand=DEWALT` | Filter on an attribute that was extracted zero-shot |
+
+Each query flows through the full pipeline: `encode()` the query, vector search against the saved matrix, filter by extracted attributes, `score()` rerank with a cross-encoder, return the top 10.
+
+## Run it locally (5 minutes)
+
+You need Docker, Python 3.12, and roughly 3 GB of disk for the model weights. No API keys, no signup, no cluster.
+
+```bash
+# 1. Start a local SIE server on CPU.
+docker run -p 8080:8080 ghcr.io/superlinked/sie-server:latest-cpu-default
+# With an NVIDIA GPU:
+# docker run --gpus all -p 8080:8080 ghcr.io/superlinked/sie-server:latest-cuda12-default
+
+# 2. In another terminal: clone, install, fetch data.
+git clone https://github.com/superlinked/sie
+cd sie/examples/ecommerce-product-search
+
+pip install -r python/requirements.txt
+python data/fetch_dataset.py
+
+# 3. Build the index and start the search server.
+python python/ingest.py
+uvicorn --app-dir python server:app --port 8888
+```
+
+Open `http://localhost:8888` and start searching.
+
+> **What to expect on the first run.** `ingest.py` triggers a one-time pull of three model weights (GLiNER for extraction, Stella for embeddings, BGE-reranker for scoring, roughly 3 GB in total). On CPU this takes 5 to 10 minutes. On GPU it is closer to 2 minutes. Subsequent runs are instant because the models stay loaded.
+>
+> **Want faster feedback?** Edit `config.yaml` and change `dataset.sample_size` from `3000` to `300`. Ingest finishes in about a minute, and the demo still showcases the full pipeline.
+
+### Got a managed SIE cluster?
+
+```bash
+export SIE_CLUSTER_URL="https://your-cluster-url"
+export SIE_API_KEY="your-api-key"
+```
+
+Everything else stays identical. The defaults in `config.yaml` point at `http://localhost:8080` so env vars are only needed when you are hitting something remote.
+
+### Prefer TypeScript?
+
+Same flow, Node 22+ and `pnpm` required. See [`typescript/README.md`](./typescript/README.md) for the Express version.
+
+## How it works
+
+Ingest builds a searchable index once:
+
+1. **`extract()`** pulls structured attributes (`brand`, `color`, `material`, `size`, `product_type`) from raw product descriptions with `urchade/gliner_multi-v2.1`. Zero-shot, no training data, no custom schema work.
+2. **`encode()`** embeds every product's title and description into 1,024-dim dense vectors with `NovaSearch/stella_en_400M_v5`.
+
+The index is just two files on disk (`data/embeddings.npy` and `data/metadata.json`).
+
+Search runs this on every incoming query:
+
+1. **`encode()`** the query with a query-side prefix (Stella is asymmetric).
+2. Cosine similarity against the in-memory matrix gives the top 100 candidates.
+3. Filter by extracted attributes if the request specifies any.
+4. **`score()`** reranks the candidates with the `BAAI/bge-reranker-v2-m3` cross-encoder and returns the top 10.
+
+Three model families, three roles, one endpoint. No per-model container to ship, no GPU scheduling to babysit, no separate reranker service.
+
+## API reference
+
+Both backends expose the same three endpoints.
+
+### `GET /api/search`
+
+| Parameter | Required | Description |
+|---|---|---|
+| `q` | yes | Search query |
+| `category` | no | Category filter (matches against the product category) |
+| `brand` | no | Brand filter (matches against the extracted `brand` attribute) |
+
+```bash
+curl "http://localhost:8888/api/search?q=waterproof+boots&brand=Columbia"
+```
+
+Response:
+
+```json
+{
+ "query": "waterproof boots",
+ "filters": { "brand": "Columbia" },
+ "results": [
+ {
+ "id": "<product-id>",
+ "title": "<product-title>",
+ "description": "<truncated-product-description>",
+ "category": "AMAZON FASHION",
+ "price": "<number-or-null>",
+ "rating": "<number-or-null>",
+ "image": "<image-url-or-null>",
+ "features": ["<feature-text>", "<feature-text>"],
+ "attributes": {
+ "brand": "Columbia",
+ "color": "<extracted-color>"
+ },
+ "scores": {
+ "vector": "<similarity-score>",
+ "rerank": "<rerank-score>"
+ }
+ }
+ ]
+}
+```
+
+### `GET /api/categories`
+
+Returns category counts as `[name, count]` tuples (feeds the dropdown in the UI).
+
+### `GET /api/stats`
+
+Returns index size, embedding dims, and the three model names.
+
+## Troubleshooting
+
+| Symptom | Fix |
+|---|---|
+| `Connection refused` on port 8080 | `docker run` is not running or crashed. Check `docker ps`. |
+| Ingest seems stuck | First run is downloading ~3 GB of model weights. Check `docker logs` for progress. |
+| Port 8888 already in use | Pick another: `uvicorn --app-dir python server:app --port 9000` |
+| Filter returns 0 matches | Server logs a warning and falls back to unfiltered top-k so the UI still shows something. |
+| On CPU, ingest is too slow | Edit `config.yaml`, set `dataset.sample_size: 300`. |
+
+## Customize
+
+Both implementations read the same `config.yaml`. The defaults work out of the box for local Docker. Tune only when you need to.
+
+<details>
+<summary><b>Show full config</b></summary>
+
+```yaml
+cluster:
+ url: "http://localhost:8080"
+ api_key: ""
+ gpu: "" # set to "l4-spot" or similar when targeting a managed multi-GPU cluster
+ provision_timeout_s: 600
+
+models:
+ embedding: "NovaSearch/stella_en_400M_v5"
+ reranker: "BAAI/bge-reranker-v2-m3"
+ extractor: "urchade/gliner_multi-v2.1"
+
+extract_labels:
+ - brand
+ - color
+ - material
+ - size
+ - product_type
+
+search:
+ top_k_candidates: 100
+ top_k_results: 10
+
+ingest:
+ batch_size_extraction: 8
+ batch_size_encoding: 32
+ confidence_threshold: 0.5
+ junk_text_max_len: 15
+
+dataset:
+ name: "milistu/AMAZON-Products-2023"
+ sample_size: 3000
+ min_description_length: 100
+```
+
+Swap any of the three models for another one in the SIE catalog and the pipeline keeps working. That is the point.
+
+</details>
+
+## Project layout
+
+```text
+examples/ecommerce-product-search/
+├── config.yaml
+├── data/
+│ ├── fetch_dataset.py
+│ └── products.json # generated by fetch_dataset.py
+├── python/
+│ ├── ingest.py
+│ ├── search.py
+│ ├── server.py
+│ └── requirements.txt
+├── static/
+│ └── index.html # shared browser UI
+└── typescript/
+ ├── package.json
+ └── src/
+ ├── ingest.ts
+ ├── search.ts
+ └── server.ts
+```
diff --git a/examples/ecommerce-product-search/assets/hero.png b/examples/ecommerce-product-search/assets/hero.png
new file mode 100644
index 000000000..66ad094e9
Binary files /dev/null and b/examples/ecommerce-product-search/assets/hero.png differ
diff --git a/examples/ecommerce-product-search/config.yaml b/examples/ecommerce-product-search/config.yaml
new file mode 100644
index 000000000..8589cb671
--- /dev/null
+++ b/examples/ecommerce-product-search/config.yaml
@@ -0,0 +1,47 @@
+# SIE server (defaults to local Docker: docker run -p 8080:8080 ghcr.io/superlinked/sie-server:latest-cpu-default).
+# Override with SIE_CLUSTER_URL / SIE_API_KEY env vars if you have a managed cluster.
+cluster:
+ url: "http://localhost:8080"
+ api_key: ""
+ gpu: "" # only set for managed multi-GPU clusters (e.g. "l4-spot"); ignored locally
+ provision_timeout_s: 600
+
+# Models
+models:
+ embedding: "NovaSearch/stella_en_400M_v5"
+ reranker: "BAAI/bge-reranker-v2-m3"
+ extractor: "urchade/gliner_multi-v2.1"
+
+# Extraction labels (zero-shot, no training needed)
+extract_labels:
+ - brand
+ - color
+ - material
+ - size
+ - product_type
+
+# Search
+search:
+ top_k_candidates: 100
+ top_k_results: 10
+
+# Ingest tuning
+ingest:
+ batch_size_extraction: 8
+ batch_size_encoding: 32
+ confidence_threshold: 0.5
+ junk_text_max_len: 15
+
+# Dataset
+dataset:
+ name: "milistu/AMAZON-Products-2023"
+ sample_size: 3000
+ min_description_length: 100
+ categories:
+ - "AMAZON FASHION"
+ - "Amazon Home"
+ - "Tools & Home Improvement"
+ - "Sports & Outdoors"
+ - "Cell Phones & Accessories"
+ - "All Electronics"
+ - "Arts, Crafts & Sewing"
diff --git a/examples/ecommerce-product-search/data/fetch_dataset.py b/examples/ecommerce-product-search/data/fetch_dataset.py
new file mode 100644
index 000000000..10c480efc
--- /dev/null
+++ b/examples/ecommerce-product-search/data/fetch_dataset.py
@@ -0,0 +1,71 @@
+"""Fetch and prepare a product subset from the Amazon Products 2023 dataset."""
+
+import json
+import random
+from pathlib import Path
+
+import yaml
+from datasets import load_dataset
+
+
+def main():
+ root = Path(__file__).resolve().parent.parent
+ config = yaml.safe_load((root / "config.yaml").read_text())
+ ds_config = config["dataset"]
+
+ print(f"Loading {ds_config['name']} from HuggingFace...")
+ ds = load_dataset(ds_config["name"], split="train")
+ print(f" Total rows: {len(ds)}")
+
+ # Filter: must have a description, title, and be in our target categories
+ min_len = ds_config["min_description_length"]
+ categories = set(ds_config["categories"])
+
+ products = []
+ for row in ds:
+ desc = row.get("description") or ""
+ title = row.get("title") or ""
+ category = row.get("main_category") or ""
+
+ if len(desc) < min_len:
+ continue
+ if not title:
+ continue
+ if category not in categories:
+ continue
+
+ products.append({
+ "id": row["parent_asin"],
+ "title": title,
+ "description": desc,
+ "category": category,
+ "price": row.get("price"),
+ "rating": row.get("average_rating"),
+ "features": row.get("features") or [],
+ "image": row.get("image"),
+ })
+
+ print(f" After filtering: {len(products)} products")
+
+ # Sample down to target size
+ sample_size = min(ds_config["sample_size"], len(products))
+ random.seed(42)
+ products = random.sample(products, sample_size)
+
+ # Print category distribution
+ cat_counts = {}
+ for p in products:
+ cat_counts[p["category"]] = cat_counts.get(p["category"], 0) + 1
+ print(f"\n Sampled {len(products)} products:")
+ for cat, count in sorted(cat_counts.items(), key=lambda x: -x[1]):
+ print(f" {cat}: {count}")
+
+ # Save
+ out_path = Path(__file__).parent / "products.json"
+ with open(out_path, "w") as f:
+ json.dump(products, f, indent=2)
+ print(f"\n Saved to {out_path}")
+
+
+if __name__ == "__main__":
+ main()
diff --git a/examples/ecommerce-product-search/python/README.md b/examples/ecommerce-product-search/python/README.md
new file mode 100644
index 000000000..82580e2de
--- /dev/null
+++ b/examples/ecommerce-product-search/python/README.md
@@ -0,0 +1,192 @@
+# E-Commerce Product Search (Python)
+
+Python implementation of the gallery example using `sie-sdk`, FastAPI, and NumPy.
+
+Pipeline:
+
+1. `extract()` pulls structured attributes from product descriptions
+2. `encode()` embeds the catalog into dense vectors
+3. `search.py` retrieves by cosine similarity and reranks with `score()`
+4. `server.py` exposes the shared UI and REST endpoints
+
+## Files
+
+- `ingest.py` builds `../data/embeddings.npy` and `../data/metadata.json`
+- `search.py` runs CLI demo searches against the saved index
+- `server.py` serves `/`, `/api/search`, `/api/categories`, and `/api/stats`
+- `requirements.txt` contains the Python dependencies for this path and the shared dataset fetch step
+
+## Requirements
+
+- Python 3.12 (required by `sie-sdk`)
+- A reachable SIE server. Local Docker is the default:
+ ```bash
+ docker run -p 8080:8080 ghcr.io/superlinked/sie-server:latest-cpu-default
+ ```
+ Or a managed SIE cluster via `SIE_CLUSTER_URL` and `SIE_API_KEY` env vars.
+
+## Configuration
+
+This implementation reads `../config.yaml`. The defaults target a local SIE server at `http://localhost:8080`. Tune only when you need to.
+
+See the [top-level README](../README.md#customize) for the full config.
+
+To point at a managed cluster instead:
+
+```bash
+export SIE_CLUSTER_URL="https://your-cluster-url"
+export SIE_API_KEY="your-api-key"
+```
+
+## Run It
+
+From `examples/ecommerce-product-search/`:
+
+```bash
+pip install -r python/requirements.txt
+python data/fetch_dataset.py
+cd python
+python ingest.py
+python search.py
+uvicorn server:app --host 0.0.0.0 --port 8888
+```
+
+Open `http://localhost:8888`.
+
+This also serves the shared browser UI, so you can type a query, choose a category, and explore results interactively without using the API directly.
+
+Generated files:
+
+- `../data/products.json`
+- `../data/embeddings.npy`
+- `../data/metadata.json`
+
+## Exact Verification
+
+After the server starts:
+
+```bash
+curl http://localhost:8888/api/stats
+curl "http://localhost:8888/api/search?q=wireless+bluetooth+headphones&category=All+Electronics"
+```
+
+Expected response shapes:
+
+```json
+{
+ "total_products": 3000,
+ "embedding_dims": 1024,
+ "categories": 7,
+ "models": {
+ "embedding": "NovaSearch/stella_en_400M_v5",
+ "reranker": "BAAI/bge-reranker-v2-m3",
+ "extractor": "urchade/gliner_multi-v2.1"
+ }
+}
+```
+
+```json
+{
+ "query": "wireless bluetooth headphones",
+ "filters": {
+ "category": "All Electronics"
+ },
+ "results": [
+ {
+ "id": "<product-id>",
+ "title": "<product-title>",
+ "description": "<truncated-product-description>",
+ "category": "All Electronics",
+ "price": "<number-or-null>",
+ "rating": "<number-or-null>",
+ "image": "<image-url-or-null>",
+ "features": ["<feature-text>", "<feature-text>"],
+ "attributes": {
+ "brand": "<extracted-brand>"
+ },
+ "scores": {
+ "vector": "<similarity-score>",
+ "rerank": "<rerank-score>"
+ }
+ }
+ ]
+}
+```
+
+## API
+
+### `GET /api/search`
+
+Parameters:
+
+- `q` required query string
+- `category` optional category filter
+- `brand` optional extracted brand filter
+
+Response fields:
+
+- `query`
+- `filters`
+- `results[].id`
+- `results[].title`
+- `results[].description`
+- `results[].category`
+- `results[].price`
+- `results[].rating`
+- `results[].image`
+- `results[].features`
+- `results[].attributes`
+- `results[].scores.vector`
+- `results[].scores.rerank`
+
+### `GET /api/categories`
+
+Returns category counts as `[name, count]` tuples.
+
+Example:
+
+```json
+[
+ ["AMAZON FASHION", 613],
+ ["Amazon Home", 549]
+]
+```
+
+### `GET /api/stats`
+
+Returns:
+
+```json
+{
+ "total_products": 3000,
+ "embedding_dims": 1024,
+ "categories": 7,
+ "models": {
+ "embedding": "NovaSearch/stella_en_400M_v5",
+ "reranker": "BAAI/bge-reranker-v2-m3",
+ "extractor": "urchade/gliner_multi-v2.1"
+ }
+}
+```
+
+## Troubleshooting
+
+### Missing dataset files
+
+From `examples/ecommerce-product-search/`, run:
+
+```bash
+python data/fetch_dataset.py
+```
+
+### Search returns no results
+
+- Verify `../data/metadata.json` and `../data/embeddings.npy` exist
+- Check that the query is broad enough to retrieve candidates
+- Confirm the category filter matches the dataset values
+
+### Cannot connect to the cluster
+
+- Check `cluster.url` and `cluster.api_key` in `../config.yaml`
+- Or set `SIE_CLUSTER_URL` and `SIE_API_KEY`
+- Verify the cluster can serve the configured models
diff --git a/examples/ecommerce-product-search/python/ingest.py b/examples/ecommerce-product-search/python/ingest.py
new file mode 100644
index 000000000..21ea788d6
--- /dev/null
+++ b/examples/ecommerce-product-search/python/ingest.py
@@ -0,0 +1,179 @@
+"""Ingest pipeline: extract attributes + encode embeddings for all products."""
+
+import json
+import os
+import time
+from pathlib import Path
+
+import numpy as np
+import yaml
+
+from sie_sdk import SIEClient
+from sie_sdk.types import Item
+
+
+def load_config():
+ root = Path(__file__).resolve().parent.parent
+ return yaml.safe_load((root / "config.yaml").read_text())
+
+
+def load_products():
+ path = Path(__file__).resolve().parent.parent / "data" / "products.json"
+ with open(path) as f:
+ return json.load(f)
+
+
+def batch_iter(items, batch_size):
+ for i in range(0, len(items), batch_size):
+ yield items[i : i + batch_size]
+
+
+def run_extraction(client, config, products):
+ """Run extract() on all products to get structured attributes."""
+ model = config["models"]["extractor"]
+ labels = config["extract_labels"]
+ gpu = config["cluster"]["gpu"]
+ timeout = config["cluster"]["provision_timeout_s"]
+
+ print(f"\n--- Extraction ({model}) ---")
+ print(f" Labels: {labels}")
+
+ extracted = {}
+ batch_size = config.get("ingest", {}).get("batch_size_extraction", 8)
+ threshold = config.get("ingest", {}).get("confidence_threshold", 0.5)
+ junk_len = config.get("ingest", {}).get("junk_text_max_len", 15)
+ total = len(products)
+
+ for i, batch in enumerate(batch_iter(products, batch_size)):
+ items = [Item(id=p["id"], text=p["description"][:512]) for p in batch]
+ start = time.time()
+
+ results = client.extract(
+ model,
+ items,
+ labels=labels,
+ gpu=gpu,
+ wait_for_capacity=True,
+ provision_timeout_s=timeout,
+ )
+
+ elapsed = time.time() - start
+ done = min((i + 1) * batch_size, total)
+ print(f" [{done}/{total}] batch in {elapsed:.1f}s")
+
+ for result in results:
+ item_id = result.get("id", "")
+ entities = result.get("entities", [])
+ attrs = {}
+ for e in entities:
+ label = e["label"]
+ text = e["text"].strip()
+ if e["score"] < threshold:
+ continue
+ if len(text) > junk_len and " " not in text:
+ continue
+ if label not in attrs or e["score"] > attrs[label]["score"]:
+ attrs[label] = {"text": text, "score": e["score"]}
+ extracted[item_id] = {k: v["text"] for k, v in attrs.items()}
+
+ return extracted
+
+
+def run_encoding(client, config, products):
+ """Run encode() on all products to get dense embeddings."""
+ model = config["models"]["embedding"]
+ gpu = config["cluster"]["gpu"]
+ timeout = config["cluster"]["provision_timeout_s"]
+
+ print(f"\n--- Encoding ({model}) ---")
+
+ embeddings = []
+ batch_size = config.get("ingest", {}).get("batch_size_encoding", 32)
+ total = len(products)
+
+ for i, batch in enumerate(batch_iter(products, batch_size)):
+ items = [Item(id=p["id"], text=f"{p['title']}. {p['description'][:512]}") for p in batch]
+ start = time.time()
+
+ results = client.encode(
+ model,
+ items,
+ gpu=gpu,
+ wait_for_capacity=True,
+ provision_timeout_s=timeout,
+ )
+
+ elapsed = time.time() - start
+ done = min((i + 1) * batch_size, total)
+ print(f" [{done}/{total}] batch in {elapsed:.1f}s")
+
+ # The server preserves input order (encode.py zips results to input by index),
+ # so results[j] corresponds to batch[j], and the final embeddings array is
+ # aligned positionally with the products list.
+ if len(results) != len(batch):
+ raise ValueError(
+ f"encode() returned {len(results)} results for a batch of {len(batch)}"
+ )
+ for result in results:
+ if "dense" not in result:
+ raise ValueError(f"encode() returned no dense vector for item {result.get('id', '<unknown>')}")
+ embeddings.append(result["dense"])
+
+ if not embeddings:
+ raise ValueError("No embeddings were generated; check products list and cluster connection")
+
+ return np.stack(embeddings)
+
+
+def main():
+ config = load_config()
+ products = load_products()
+ print(f"Loaded {len(products)} products")
+
+ cluster_url = os.environ.get("SIE_CLUSTER_URL", config["cluster"]["url"])
+ api_key = os.environ.get("SIE_API_KEY", config["cluster"]["api_key"])
+
+ with SIEClient(cluster_url, api_key=api_key) as client:
+ # Step 1: Extract structured attributes
+ extracted_attrs = run_extraction(client, config, products)
+
+ # Step 2: Encode embeddings
+ embeddings = run_encoding(client, config, products)
+ print(f"\n Embeddings shape: {embeddings.shape}")
+
+ # Step 3: Build metadata (product info + extracted attributes)
+ metadata = []
+ for p in products:
+ entry = {
+ "id": p["id"],
+ "title": p["title"],
+ "description": p["description"][:500],
+ "category": p["category"],
+ "price": p["price"],
+ "rating": p["rating"],
+ "image": p["image"],
+ "features": p.get("features", []),
+ "attributes": extracted_attrs.get(p["id"], {}),
+ }
+ metadata.append(entry)
+
+ # Save
+ data_dir = Path(__file__).resolve().parent.parent / "data"
+ np.save(data_dir / "embeddings.npy", embeddings)
+ with open(data_dir / "metadata.json", "w") as f:
+ json.dump(metadata, f, indent=2)
+
+ print(f"\n Saved embeddings to data/embeddings.npy")
+ print(f" Saved metadata to data/metadata.json")
+
+ # Print a few examples
+ print("\n--- Sample extractions ---")
+ for p in products[:5]:
+ attrs = extracted_attrs.get(p["id"], {})
+ if attrs:
+ print(f" {p['title'][:60]}")
+ print(f" -> {attrs}")
+
+
+if __name__ == "__main__":
+ main()
diff --git a/examples/ecommerce-product-search/python/requirements.txt b/examples/ecommerce-product-search/python/requirements.txt
new file mode 100644
index 000000000..3b75407cf
--- /dev/null
+++ b/examples/ecommerce-product-search/python/requirements.txt
@@ -0,0 +1,6 @@
+sie-sdk==0.1.10
+fastapi>=0.115.0
+uvicorn>=0.30.0
+numpy>=1.26.0
+pyyaml>=6.0
+datasets>=2.19.0
diff --git a/examples/ecommerce-product-search/python/search.py b/examples/ecommerce-product-search/python/search.py
new file mode 100644
index 000000000..9ab1806c2
--- /dev/null
+++ b/examples/ecommerce-product-search/python/search.py
@@ -0,0 +1,164 @@
+"""Search module: encode query, find candidates, rerank with cross-encoder."""
+
+import json
+import os
+from pathlib import Path
+
+import numpy as np
+import yaml
+
+from sie_sdk import SIEClient
+from sie_sdk.types import Item
+
+
+def load_config():
+ root = Path(__file__).resolve().parent.parent
+ return yaml.safe_load((root / "config.yaml").read_text())
+
+
+def load_index():
+ """Load precomputed embeddings and metadata from disk."""
+ data_dir = Path(__file__).resolve().parent.parent / "data"
+ embeddings = np.load(data_dir / "embeddings.npy")
+ with open(data_dir / "metadata.json") as f:
+ metadata = json.load(f)
+ # Normalize embeddings for cosine similarity via dot product
+ norms = np.linalg.norm(embeddings, axis=1, keepdims=True)
+ norms[norms == 0] = 1
+ embeddings = embeddings / norms
+ return embeddings, metadata
+
+
+def search(client, config, embeddings, metadata, query, filters=None):
+ """Full search pipeline: encode → retrieve → filter → rerank."""
+ gpu = config["cluster"]["gpu"]
+ timeout = config["cluster"]["provision_timeout_s"]
+ top_k_candidates = config["search"]["top_k_candidates"]
+ top_k_results = config["search"]["top_k_results"]
+
+ # Step 1: Encode query
+ # is_query=True so the adapter applies the query-side prefix for asymmetric
+ # retrieval models like stella_en_400M_v5. Without it, the query is encoded
+ # with the document prefix and retrieval quality drops.
+ query_result = client.encode(
+ config["models"]["embedding"],
+ Item(text=query),
+ is_query=True,
+ gpu=gpu,
+ wait_for_capacity=True,
+ provision_timeout_s=timeout,
+ )
+ query_vec = query_result["dense"]
+ norm = np.linalg.norm(query_vec)
+ if norm > 0:
+ query_vec = query_vec / norm
+
+ # Step 2: Cosine similarity (dot product on normalized vectors)
+ scores = embeddings @ query_vec
+ top_indices = np.argsort(scores)[::-1][:top_k_candidates]
+
+ candidates = []
+ for idx in top_indices:
+ candidates.append({**metadata[idx], "_vector_score": float(scores[idx])})
+
+ # Step 3: Filter by extracted attributes (optional)
+ if filters:
+ filtered = []
+ for c in candidates:
+ attrs = c.get("attributes", {})
+ match = True
+ for key, value in filters.items():
+ if key == "category":
+ if value.lower() not in c.get("category", "").lower():
+ match = False
+ break
+ else:
+ attr_val = attrs.get(key, "")
+ if value.lower() not in attr_val.lower():
+ match = False
+ break
+ if match:
+ filtered.append(c)
+ if filtered:
+ candidates = filtered
+ else:
+ # No candidate matched the filter. Fall back to the unfiltered pool so the
+ # user still gets results, but warn so the behavior is observable.
+ print(f" [filter] no matches for {filters}, falling back to unfiltered candidates")
+
+ # Step 4: Rerank with cross-encoder
+ rerank_items = [
+ Item(
+ id=c["id"],
+ text=(
+ f"{c['title']}. "
+ f"Category: {c['category']}. "
+ + (", ".join(f"{k}: {v}" for k, v in c.get("attributes", {}).items()) + ". " if c.get("attributes") else "")
+ + c["description"]
+ ),
+ )
+ for c in candidates
+ ]
+ rerank_result = client.score(
+ config["models"]["reranker"],
+ Item(text=query),
+ rerank_items,
+ gpu=gpu,
+ wait_for_capacity=True,
+ provision_timeout_s=timeout,
+ )
+
+ # Map scores back to candidates
+ score_map = {s["item_id"]: s for s in rerank_result["scores"]}
+ results = []
+ for c in candidates:
+ s = score_map.get(c["id"])
+ if s:
+ results.append(
+ {
+ **c,
+ "_rerank_score": s["score"],
+ "_rerank_rank": s["rank"],
+ }
+ )
+
+ results.sort(key=lambda x: x["_rerank_score"], reverse=True)
+ return results[:top_k_results]
+
+
+def print_results(results, query):
+ print(f'\n Query: "{query}"')
+ print(f" Results: {len(results)}\n")
+ for i, r in enumerate(results):
+ attrs = r.get("attributes", {})
+ attr_str = ", ".join(f"{k}={v}" for k, v in attrs.items()) if attrs else "none"
+ print(f" {i + 1}. {r['title'][:70]}")
+ print(f" category={r['category']} price=${r.get('price') or '?'} rating={r.get('rating') or '?'}")
+ print(f" attrs: {attr_str}")
+ print(f" vector={r['_vector_score']:.3f} rerank={r['_rerank_score']:.4f}")
+ print()
+
+
+def main():
+ config = load_config()
+ embeddings, metadata = load_index()
+ print(f"Loaded index: {len(metadata)} products, {embeddings.shape[1]}d embeddings")
+
+ cluster_url = os.environ.get("SIE_CLUSTER_URL", config["cluster"]["url"])
+ api_key = os.environ.get("SIE_API_KEY", config["cluster"]["api_key"])
+
+ queries = [
+ ("lightweight waterproof hiking boots", None),
+ ("gold jewelry for women", None),
+ ("wireless bluetooth headphones", {"category": "All Electronics"}),
+ ("ceramic coffee mug", {"category": "Amazon Home"}),
+ ]
+
+ with SIEClient(cluster_url, api_key=api_key) as client:
+ for query, filters in queries:
+ results = search(client, config, embeddings, metadata, query, filters)
+ print_results(results, query)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/examples/ecommerce-product-search/python/server.py b/examples/ecommerce-product-search/python/server.py
new file mode 100644
index 000000000..9493d10dd
--- /dev/null
+++ b/examples/ecommerce-product-search/python/server.py
@@ -0,0 +1,100 @@
+"""FastAPI backend for product search."""
+
+import os
+from contextlib import asynccontextmanager
+from pathlib import Path
+
+import yaml
+from fastapi import FastAPI, Query
+from fastapi.responses import FileResponse
+from fastapi.staticfiles import StaticFiles
+
+from sie_sdk import SIEClient
+
+from search import load_index, search
+
+config = None
+embeddings = None
+metadata = None
+client = None
+category_counts = None
+
+
+@asynccontextmanager
+async def lifespan(app: FastAPI):
+ global config, embeddings, metadata, client, category_counts
+ config = yaml.safe_load((Path(__file__).resolve().parent.parent / "config.yaml").read_text())
+ embeddings, metadata = load_index()
+ cluster_url = os.environ.get("SIE_CLUSTER_URL", config["cluster"]["url"])
+ api_key = os.environ.get("SIE_API_KEY", config["cluster"]["api_key"])
+ client = SIEClient(cluster_url, api_key=api_key)
+ cats = {}
+ for m in metadata:
+ cats[m["category"]] = cats.get(m["category"], 0) + 1
+ category_counts = sorted(cats.items(), key=lambda x: -x[1])
+ yield
+ client.close()
+
+
+app = FastAPI(title="SIE Product Search", lifespan=lifespan)
+
+static_dir = Path(__file__).resolve().parent.parent / "static"
+app.mount("/static", StaticFiles(directory=str(static_dir)), name="static")
+
+
+def index():
+ return FileResponse(str(static_dir / "index.html"))
+
+
[email protected]("/api/search")
+def api_search(
+ q: str = Query(..., min_length=1),
+ category: str | None = Query(None),
+ brand: str | None = Query(None),
+):
+ filters = {}
+ if category:
+ filters["category"] = category
+ if brand:
+ filters["brand"] = brand
+
+ results = search(client, config, embeddings, metadata, q, filters if filters else None)
+
+ return {
+ "query": q,
+ "filters": filters,
+ "results": [
+ {
+ "id": r["id"],
+ "title": r["title"],
+ "description": r["description"],
+ "category": r["category"],
+ "price": r.get("price"),
+ "rating": r.get("rating"),
+ "image": r.get("image"),
+ "features": r.get("features", []),
+ "attributes": r.get("attributes", {}),
+ "scores": {
+ "vector": round(r["_vector_score"], 4),
+ "rerank": round(r["_rerank_score"], 4),
+ },
+ }
+ for r in results
+ ],
+ }
+
+
[email protected]("/api/categories")
+def api_categories():
+ return category_counts
+
+
[email protected]("/api/stats")
+def api_stats():
+ return {
+ "total_products": len(metadata),
+ "embedding_dims": embeddings.shape[1],
+ "categories": len(category_counts),
+ "models": config["models"],
+ }
diff --git a/examples/ecommerce-product-search/static/index.html b/examples/ecommerce-product-search/static/index.html
new file mode 100644
index 000000000..28a10e8f9
--- /dev/null
+++ b/examples/ecommerce-product-search/static/index.html
@@ -0,0 +1,154 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>SIE Product Search</title>
+ <style>
+ * { box-sizing: border-box; margin: 0; padding: 0; }
+ body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #f5f5f5; color: #333; }
+
+ .header { background: #1a1a2e; color: #fff; padding: 24px; text-align: center; }
+ .header h1 { font-size: 22px; font-weight: 600; }
+ .header p { font-size: 13px; color: #888; margin-top: 4px; }
+
+ .search-bar { max-width: 720px; margin: 24px auto 0; padding: 0 16px; display: flex; gap: 8px; }
+ .search-bar input {
+ flex: 1; padding: 12px 16px; font-size: 15px; border: 1px solid #ddd;
+ border-radius: 8px; outline: none;
+ }
+ .search-bar input:focus { border-color: #4a6cf7; }
+ .search-bar button {
+ padding: 12px 24px; background: #4a6cf7; color: #fff; border: none;
+ border-radius: 8px; font-size: 15px; cursor: pointer;
+ }
+ .search-bar button:hover { background: #3a5ce5; }
+
+ .filters { max-width: 720px; margin: 12px auto; padding: 0 16px; }
+ .filters select { padding: 6px 10px; border: 1px solid #ddd; border-radius: 6px; font-size: 13px; }
+
+ .status { max-width: 720px; margin: 16px auto; padding: 0 16px; font-size: 13px; color: #666; }
+
+ .results { max-width: 720px; margin: 16px auto; padding: 0 16px; }
+ .result-card {
+ background: #fff; border: 1px solid #e0e0e0; border-radius: 8px;
+ padding: 16px; margin-bottom: 12px;
+ }
+ .result-card:hover { border-color: #4a6cf7; }
+ .result-title { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
+ .result-meta { font-size: 12px; color: #888; margin-bottom: 8px; }
+ .result-meta span { margin-right: 12px; }
+ .result-desc { font-size: 13px; color: #555; line-height: 1.5; margin-bottom: 8px; }
+ .result-attrs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
+ .attr-tag {
+ background: #eef2ff; color: #4a6cf7; padding: 2px 8px;
+ border-radius: 4px; font-size: 11px;
+ }
+ .result-scores { font-size: 11px; color: #aaa; }
+ .result-features { margin-bottom: 8px; padding-left: 0; list-style: none; }
+ .result-features li { font-size: 13px; color: #555; line-height: 1.5; padding: 2px 0 2px 14px; position: relative; }
+ .result-features li::before { content: "•"; position: absolute; left: 0; color: #4a6cf7; }
+
+ .empty { text-align: center; padding: 48px; color: #999; font-size: 15px; }
+ .loading { text-align: center; padding: 32px; color: #666; }
+ </style>
+</head>
+<body>
+ <div class="header">
+ <h1>Product Search</h1>
+ <p>Powered by SIE: encode, score, extract</p>
+ </div>
+
+ <div class="search-bar">
+ <input type="text" id="query" placeholder="Search products..." autofocus>
+ <button onclick="doSearch()">Search</button>
+ </div>
+
+ <div class="filters">
+ <select id="category">
+ <option value="">All categories</option>
+ </select>
+ </div>
+
+ <div class="status" id="status"></div>
+ <div class="results" id="results">
+ <div class="empty">Search for something to get started</div>
+ </div>
+
+ <script>
+ const queryInput = document.getElementById("query");
+ const categorySelect = document.getElementById("category");
+ const resultsDiv = document.getElementById("results");
+ const statusDiv = document.getElementById("status");
+
+ // Load categories
+ fetch("/api/categories").then(r => r.json()).then(cats => {
+ cats.forEach(([name, count]) => {
+ const opt = document.createElement("option");
+ opt.value = name;
+ opt.textContent = `${name} (${count})`;
+ categorySelect.appendChild(opt);
+ });
+ });
+
+ // Load stats
+ fetch("/api/stats").then(r => r.json()).then(stats => {
+ statusDiv.textContent = `${stats.total_products} products indexed | ${stats.embedding_dims}d embeddings | models: ${stats.models.embedding}, ${stats.models.reranker}, ${stats.models.extractor}`;
+ });
+
+ queryInput.addEventListener("keydown", e => { if (e.key === "Enter") doSearch(); });
+
+ async function doSearch() {
+ const q = queryInput.value.trim();
+ if (!q) return;
+
+ resultsDiv.innerHTML = '<div class="loading">Searching...</div>';
+ const start = performance.now();
+
+ const params = new URLSearchParams({ q });
+ const cat = categorySelect.value;
+ if (cat) params.set("category", cat);
+
+ try {
+ const resp = await fetch(`/api/search?${params}`);
+ const data = await resp.json();
+ const elapsed = ((performance.now() - start) / 1000).toFixed(1);
+
+ if (!data.results.length) {
+ resultsDiv.innerHTML = '<div class="empty">No results found</div>';
+ return;
+ }
+
+ statusDiv.textContent = `${data.results.length} results in ${elapsed}s`;
+ resultsDiv.innerHTML = data.results.map((r, i) => `
+ <div class="result-card">
+ <div class="result-title">${i + 1}. ${esc(r.title)}</div>
+ <div class="result-meta">
+ <span>${esc(r.category)}</span>
+ ${r.price ? `<span>$${r.price}</span>` : ""}
+ ${r.rating ? `<span>${r.rating} stars</span>` : ""}
+ </div>
+ ${r.features && r.features.length ? '<ul class="result-features">' + r.features.slice(0, 5).map(f => '<li>' + esc(f) + '</li>').join('') + '</ul>' : '<div class="result-desc">' + esc(r.description.slice(0, 200)) + '...</div>'}
+ ${Object.keys(r.attributes).length ? `
+ <div class="result-attrs">
+ ${Object.entries(r.attributes).map(([k, v]) =>
+ `<span class="attr-tag">${esc(k)}: ${esc(v)}</span>`
+ ).join("")}
+ </div>
+ ` : ""}
+ <div class="result-scores">vector: ${r.scores.vector} | rerank: ${r.scores.rerank}</div>
+ </div>
+ `).join("");
+ } catch (err) {
+ resultsDiv.innerHTML = `<div class="empty">Error: ${err.message}</div>`;
+ }
+ }
+
+ function esc(s) {
+ const d = document.createElement("div");
+ d.textContent = s;
+ return d.innerHTML;
+ }
+ </script>
+</body>
+</html>
diff --git a/examples/ecommerce-product-search/typescript/.gitignore b/examples/ecommerce-product-search/typescript/.gitignore
new file mode 100644
index 000000000..6f8086b6a
--- /dev/null
+++ b/examples/ecommerce-product-search/typescript/.gitignore
@@ -0,0 +1,6 @@
+node_modules/
+dist/
+data-ts/
+*.tsbuildinfo
+.DS_Store
+*.log
diff --git a/examples/ecommerce-product-search/typescript/.nvmrc b/examples/ecommerce-product-search/typescript/.nvmrc
new file mode 100644
index 000000000..2bd5a0a98
--- /dev/null
+++ b/examples/ecommerce-product-search/typescript/.nvmrc
@@ -0,0 +1 @@
+22
diff --git a/examples/ecommerce-product-search/typescript/README.md b/examples/ecommerce-product-search/typescript/README.md
new file mode 100644
index 000000000..b713bcddd
--- /dev/null
+++ b/examples/ecommerce-product-search/typescript/README.md
@@ -0,0 +1,211 @@
+# E-Commerce Product Search (TypeScript)
+
+TypeScript implementation of the gallery example using `@superlinked/sie-sdk`, Express, and JSON-based embeddings.
+
+Pipeline:
+
+1. `extract()` pulls structured attributes from product descriptions
+2. `encode()` embeds the catalog into dense vectors
+3. `search.ts` retrieves by cosine similarity and reranks with `score()`
+4. `server.ts` serves the shared UI and REST endpoints
+
+## Files
+
+- `src/ingest.ts` builds `data-ts/embeddings.json` and `data-ts/metadata.json`
+- `src/search.ts` runs CLI demo searches against the saved index
+- `src/server.ts` serves `/`, `/api/search`, `/api/categories`, and `/api/stats`
+- `package.json` contains the TypeScript app dependencies and scripts
+
+## Requirements
+
+- Node.js 22+
+- `pnpm`
+- A reachable SIE server. Local Docker is the default:
+ ```bash
+ docker run -p 8080:8080 ghcr.io/superlinked/sie-server:latest-cpu-default
+ ```
+ Or a managed SIE cluster via `SIE_CLUSTER_URL` and `SIE_API_KEY` env vars.
+- Shared dataset file `../data/products.json` (generated by `python data/fetch_dataset.py` from the example root)
+
+## Configuration
+
+This implementation reads `../config.yaml`. The defaults target a local SIE server at `http://localhost:8080`.
+
+See the [top-level README](../README.md#customize) for the full config.
+
+To point at a managed cluster instead:
+
+```bash
+export SIE_CLUSTER_URL="https://your-cluster-url"
+export SIE_API_KEY="your-api-key"
+```
+
+## Run It
+
+From `examples/ecommerce-product-search/`:
+
+```bash
+pip install -r python/requirements.txt
+python data/fetch_dataset.py
+cd typescript
+pnpm install
+pnpm ingest
+pnpm search
+pnpm dev
+```
+
+Open `http://localhost:3000`.
+
+This also serves the shared browser UI, so you can type a query, choose a category, and explore results interactively without using the API directly.
+
+Generated files:
+
+- `../data/products.json`
+- `data-ts/embeddings.json`
+- `data-ts/metadata.json`
+
+If you want the compiled server path instead of the dev server:
+
+```bash
+pnpm build
+pnpm start
+```
+
+## Exact Verification
+
+After `pnpm dev` starts:
+
+```bash
+curl http://localhost:3000/api/stats
+curl "http://localhost:3000/api/search?q=wireless+bluetooth+headphones&category=All+Electronics"
+```
+
+Expected response shapes:
+
+```json
+{
+ "total_products": 3000,
+ "embedding_dims": 1024,
+ "categories": 7,
+ "models": {
+ "embedding": "NovaSearch/stella_en_400M_v5",
+ "reranker": "BAAI/bge-reranker-v2-m3",
+ "extractor": "urchade/gliner_multi-v2.1"
+ }
+}
+```
+
+```json
+{
+ "query": "wireless bluetooth headphones",
+ "filters": {
+ "category": "All Electronics"
+ },
+ "results": [
+ {
+ "id": "<product-id>",
+ "title": "<product-title>",
+ "description": "<truncated-product-description>",
+ "category": "All Electronics",
+ "price": "<number-or-null>",
+ "rating": "<number-or-null>",
+ "image": "<image-url-or-null>",
+ "features": ["<feature-text>", "<feature-text>"],
+ "attributes": {
+ "brand": "<extracted-brand>"
+ },
+ "scores": {
+ "vector": "<similarity-score>",
+ "rerank": "<rerank-score>"
+ }
+ }
+ ]
+}
+```
+
+## API
+
+### `GET /api/search`
+
+Parameters:
+
+- `q` required query string
+- `category` optional category filter
+- `brand` optional extracted brand filter
+
+Response fields:
+
+- `query`
+- `filters`
+- `results[].id`
+- `results[].title`
+- `results[].description`
+- `results[].category`
+- `results[].price`
+- `results[].rating`
+- `results[].image`
+- `results[].features`
+- `results[].attributes`
+- `results[].scores.vector`
+- `results[].scores.rerank`
+
+### `GET /api/categories`
+
+Returns category counts as `[name, count]` tuples.
+
+Example:
+
+```json
+[
+ ["AMAZON FASHION", 613],
+ ["Amazon Home", 549]
+]
+```
+
+### `GET /api/stats`
+
+Returns:
+
+```json
+{
+ "total_products": 3000,
+ "embedding_dims": 1024,
+ "categories": 7,
+ "models": {
+ "embedding": "NovaSearch/stella_en_400M_v5",
+ "reranker": "BAAI/bge-reranker-v2-m3",
+ "extractor": "urchade/gliner_multi-v2.1"
+ }
+}
+```
+
+## Notes
+
+- This path reads the shared dataset from `../data/products.json`, so generate that file first with `python data/fetch_dataset.py` from the example root.
+- The TypeScript implementation stores embeddings in JSON and normalizes them in memory during search.
+- If reranking fails, the search path falls back to vector-ranked results.
+
+## Troubleshooting
+
+### Missing dataset files
+
+From `examples/ecommerce-product-search/`, run:
+
+```bash
+python data/fetch_dataset.py
+```
+
+### Missing TypeScript index files
+
+Run:
+
+```bash
+cd typescript
+pnpm ingest
+```
+
+### Cannot connect to the cluster
+
+- Check `cluster.url` and `cluster.api_key` in `../config.yaml`
+- Or set `SIE_CLUSTER_URL` and `SIE_API_KEY`
+- Verify the cluster can serve the configured models
diff --git a/examples/ecommerce-product-search/typescript/package.json b/examples/ecommerce-product-search/typescript/package.json
new file mode 100644
index 000000000..c03e5f6e8
--- /dev/null
+++ b/examples/ecommerce-product-search/typescript/package.json
@@ -0,0 +1,31 @@
+{
+ "name": "ecommerce-product-search-ts",
+ "version": "0.1.0",
+ "description": "E-Commerce Product Search using SIE SDK (TypeScript)",
+ "type": "module",
+ "main": "dist/index.js",
+ "scripts": {
+ "dev": "tsx src/server.ts",
+ "build": "tsc",
+ "ingest": "tsx src/ingest.ts",
+ "search": "tsx src/search.ts",
+ "start": "node dist/server.js",
+ "clean": "rm -rf dist node_modules"
+ },
+ "dependencies": {
+ "@superlinked/sie-sdk": "0.1.10",
+ "express": "^4.18.2",
+ "dotenv": "^16.3.1",
+ "js-yaml": "^4.1.0"
+ },
+ "devDependencies": {
+ "@types/express": "^4.17.21",
+ "@types/js-yaml": "^4.0.9",
+ "@types/node": "^20.10.6",
+ "typescript": "^5.7.2",
+ "tsx": "^4.7.0"
+ },
+ "engines": {
+ "node": ">=22.0.0"
+ }
+}
diff --git a/examples/ecommerce-product-search/typescript/pnpm-lock.yaml b/examples/ecommerce-product-search/typescript/pnpm-lock.yaml
new file mode 100644
index 000000000..486e69150
--- /dev/null
+++ b/examples/ecommerce-product-search/typescript/pnpm-lock.yaml
@@ -0,0 +1,1040 @@
+lockfileVersion: '9.0'
+
+settings:
+ autoInstallPeers: true
+ excludeLinksFromLockfile: false
+
+importers:
+
+ .:
+ dependencies:
+ '@superlinked/sie-sdk':
+ specifier: 0.1.10
+ version: 0.1.10
+ dotenv:
+ specifier: ^16.3.1
+ version: 16.6.1
+ express:
+ specifier: ^4.18.2
+ version: 4.22.1
+ js-yaml:
+ specifier: ^4.1.0
+ version: 4.1.1
+ devDependencies:
+ '@types/express':
+ specifier: ^4.17.21
+ version: 4.17.25
+ '@types/js-yaml':
+ specifier: ^4.0.9
+ version: 4.0.9
+ '@types/node':
+ specifier: ^20.10.6
+ version: 20.19.39
+ tsx:
+ specifier: ^4.7.0
+ version: 4.21.0
+ typescript:
+ specifier: ^5.7.2
+ version: 5.9.3
+
+packages:
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg==}
+ engines: {node: '>=18'}
+ cpu: [ppc64]
+ os: [aix]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [android]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ==}
+ engines: {node: '>=18'}
+ cpu: [arm]
+ os: [android]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [android]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [darwin]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-rYnXrKcXuT7Z+WL5K980jVFdvVKhCHhUwid+dDYQpH+qu+TefcomiMAJpIiC2EM3Rjtq0sO3StMV/+3w3MyyqQ==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [darwin]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-B48PqeCsEgOtzME2GbNM2roU29AMTuOIN91dsMO30t+Ydis3z/3Ngoj5hhnsOSSwNzS+6JppqWsuhTp6E82l2w==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [freebsd]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-jOBDK5XEjA4m5IJK3bpAQF9/Lelu/Z9ZcdhTRLf4cajlB+8VEhFFRjWgfy3M1O4rO2GQ/b2dLwCUGpiF/eATNQ==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [freebsd]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-RZPHBoxXuNnPQO9rvjh5jdkRmVizktkT7TCDkDmQ0W2SwHInKCAV95GRuvdSvA7w4VMwfCjUiPwDi0ZO6Nfe9A==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [linux]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-RkT/YXYBTSULo3+af8Ib0ykH8u2MBh57o7q/DAs3lTJlyVQkgQvlrPTnjIzzRPQyavxtPtfg0EopvDyIt0j1rA==}
+ engines: {node: '>=18'}
+ cpu: [arm]
+ os: [linux]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-GA48aKNkyQDbd3KtkplYWT102C5sn/EZTY4XROkxONgruHPU72l+gW+FfF8tf2cFjeHaRbWpOYa/uRBz/Xq1Pg==}
+ engines: {node: '>=18'}
+ cpu: [ia32]
+ os: [linux]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-a4POruNM2oWsD4WKvBSEKGIiWQF8fZOAsycHOt6JBpZ+JN2n2JH9WAv56SOyu9X5IqAjqSIPTaJkqN8F7XOQ5Q==}
+ engines: {node: '>=18'}
+ cpu: [loong64]
+ os: [linux]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-KabT5I6StirGfIz0FMgl1I+R1H73Gp0ofL9A3nG3i/cYFJzKHhouBV5VWK1CSgKvVaG4q1RNpCTR2LuTVB3fIw==}
+ engines: {node: '>=18'}
+ cpu: [mips64el]
+ os: [linux]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-gRsL4x6wsGHGRqhtI+ifpN/vpOFTQtnbsupUF5R5YTAg+y/lKelYR1hXbnBdzDjGbMYjVJLJTd2OFmMewAgwlQ==}
+ engines: {node: '>=18'}
+ cpu: [ppc64]
+ os: [linux]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-hL25LbxO1QOngGzu2U5xeXtxXcW+/GvMN3ejANqXkxZ/opySAZMrc+9LY/WyjAan41unrR3YrmtTsUpwT66InQ==}
+ engines: {node: '>=18'}
+ cpu: [riscv64]
+ os: [linux]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-2k8go8Ycu1Kb46vEelhu1vqEP+UeRVj2zY1pSuPdgvbd5ykAw82Lrro28vXUrRmzEsUV0NzCf54yARIK8r0fdw==}
+ engines: {node: '>=18'}
+ cpu: [s390x]
+ os: [linux]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-hzznmADPt+OmsYzw1EE33ccA+HPdIqiCRq7cQeL1Jlq2gb1+OyWBkMCrYGBJ+sxVzve2ZJEVeePbLM2iEIZSxA==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [linux]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-b6pqtrQdigZBwZxAn1UpazEisvwaIDvdbMbmrly7cDTMFnw/+3lVxxCTGOrkPVnsYIosJJXAsILG9XcQS+Yu6w==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [netbsd]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-OfatkLojr6U+WN5EDYuoQhtM+1xco+/6FSzJJnuWiUw5eVcicbyK3dq5EeV/QHT1uy6GoDhGbFpprUiHUYggrw==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [netbsd]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-AFuojMQTxAz75Fo8idVcqoQWEHIXFRbOc1TrVcFSgCZtQfSdc1RXgB3tjOn/krRHENUB4j00bfGjyl2mJrU37A==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [openbsd]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-+A1NJmfM8WNDv5CLVQYJ5PshuRm/4cI6WMZRg1by1GwPIQPCTs1GLEUHwiiQGT5zDdyLiRM/l1G0Pv54gvtKIg==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [openbsd]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-+KrvYb/C8zA9CU/g0sR6w2RBw7IGc5J2BPnc3dYc5VJxHCSF1yNMxTV5LQ7GuKteQXZtspjFbiuW5/dOj7H4Yw==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [openharmony]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-ikktIhFBzQNt/QDyOL580ti9+5mL/YZeUPKU2ivGtGjdTYoqz6jObj6nOMfhASpS4GU4Q/Clh1QtxWAvcYKamA==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [sunos]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-7yRhbHvPqSpRUV7Q20VuDwbjW5kIMwTHpptuUzV+AA46kiPze5Z7qgt6CLCK3pWFrHeNfDd1VKgyP4O+ng17CA==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [win32]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-SmwKXe6VHIyZYbBLJrhOoCJRB/Z1tckzmgTLfFYOfpMAx63BJEaL9ExI8x7v0oAO3Zh6D/Oi1gVxEYr5oUCFhw==}
+ engines: {node: '>=18'}
+ cpu: [ia32]
+ os: [win32]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-56hiAJPhwQ1R4i+21FVF7V8kSD5zZTdHcVuRFMW0hn753vVfQN8xlx4uOPT4xoGH0Z/oVATuR82AiqSTDIpaHg==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [win32]
+
+ '@msgpack/[email protected]':
+ resolution: {integrity: sha512-47XIizs9XZXvuJgoaJUIE2lFoID8ugvc0jzSHP+Ptfk8nTbnR8g788wv48N03Kx0UkAv559HWRQ3yzOgzlRNUA==}
+ engines: {node: '>= 18'}
+
+ '@superlinked/[email protected]':
+ resolution: {integrity: sha512-Sx50tRC3bU27incGltuBAXtvRgdgAFq2fgh//Akz2WmLMuPos9FGBzsntgpxT0wdEoXerOm9XlgQlQaDKpyDkA==}
+ engines: {node: '>=22.0.0'}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-HLFeCYgz89uk22N5Qg3dvGvsv46B8GLvKKo1zKG4NybA8U2DiEO3w9lqGg29t/tfLRJpJ6iQxnVw4OnB7MoM9g==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-02S5fmqeoKzVZCHPZid4b8JH2eM5HzQLZWN2FohQEy/0eXTq8VXZfSN6Pcr3F6N9R/vNrj7cpgbhjie6m/1tCA==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-dVd04UKsfpINUnK0yBoYHDF3xu7xVH4BuDotC/xGuycx4CgbP48X/KF/586bcObxT0HENHXEU8Nqtu6NR+eKhw==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-orrrD74MBUyK8jOAD/r0+lfa1I2MO6I+vAkmAWzMYbCcgrN4lCrmK52gRFQq/JRxfYPfonkr4b0jcY7Olqdqbw==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-JawvT8iBVWpzTrz3EGw9BTQFg3BQNmwERdKE22vlTxawwtbyUSlMppvZYKLZzB5zgACXdXxbD3m1bXaMqP/9ow==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-Uqt8rPBE8SY0RK8JB1EzVOIZ32uqy8HwdxCnoCOsYrvnswqmFZ/k+9Ikidlk/ImhsdvBsloHbAlewb2IEBV/Og==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-arsCikDvlU99zl1g69TcAB3mzZPpxgw0UQnaHeC1Nwb015xp8bknZv5rIfri9xTOcMuaVgvabfIRA7PSZVuZIQ==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-tRs1dB+g8Itk72rlSI2ZrW6vZg0YrLI81iQSTkMmOqnqCaNr/8Ek4VwWcN5vZgCYWbg/JJSGBlUaYGAOP73qBw==}
+
+ resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
+
+ resolution: {integrity: sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==}
+
+ resolution: {integrity: sha512-ZTgYYLMOXY9qKU/57FAo8F+HA2dGX7bqGc71txDRC1rS4frdFI5R7NhluHxH6M0YItAP0sHB4uqAOcYKxO6uGA==}
+ engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16}
+
+ resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-NXdYc3dLr47pBkpUCHtKSwIOQXLVn8dZEuywboCOJY/osA0wFSLlSawr3KN8qXJEyX66FcONTH8EIlVuK0yyFA==}
+
+ resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==}
+ peerDependencies:
+ supports-color: '*'
+ peerDependenciesMeta:
+ supports-color:
+ optional: true
+
+ resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==}
+ engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16}
+
+ resolution: {integrity: sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==}
+
+ resolution: {integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-IxpibTjyVnmrIQo5aqNpCgoACA/dTKLTlhMHihVHhdkxKyPO1uBBthumT0rdHmcsk9uMonIWS0m4FljWzILh3w==}
+ engines: {node: '>=18'}
+ hasBin: true
+
+ resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==}
+
+ resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-F2X8g9P1X7uCPZMA3MVf9wcTqlyNp7IhH5qPCI0izhaOIYXaW9L535tGA3qmjRzpH+bZczqq7hVKxTR4NWnu+g==}
+ engines: {node: '>= 0.10.0'}
+
+ resolution: {integrity: sha512-aA4RyPcd3badbdABGDuTXCMTtOneUCAYH/gxoYRTZlIJdF0YPWuGqiAsIrhNnnqdXGswYk6dGujem4w80UJFhg==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}
+ engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
+ os: [darwin]
+
+ resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==}
+
+ resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-yTb+8DXzDREzgvYmh6s9vHsSVCHeC0G3PI5bEXNBHtmshPnO+S5O7qgLEOn0I5QvMy6kpZN8K1NKGyilLb93wA==}
+
+ resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
+
+ resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==}
+ engines: {node: '>= 0.10'}
+
+ resolution: {integrity: sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==}
+ hasBin: true
+
+ resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==}
+
+ resolution: {integrity: sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==}
+ engines: {node: '>=4'}
+ hasBin: true
+
+ resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==}
+
+ resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
+
+ resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-A/AGNMFN3c8bOlvV9RreMdrv7jsmF9XIfDeCd87+I8RNg6s78BhJxMu69NEMHBSJFxKidViTEdruRwEk/WIKqA==}
+
+ resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==}
+ engines: {node: '>= 0.10'}
+
+ resolution: {integrity: sha512-V/yCWTTF7VJ9hIh18Ugr2zhJMP01MY7c5kh4J870L7imm6/DIzBsNLTXzMwUA3yZ5b/KBqLx8Kp3uRvd7xSe3Q==}
+ engines: {node: '>=0.6'}
+
+ resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-s4VSOf6yN0rvbRZGxs8Om5CWj6seneMwK3oDb4lWDH0UPhWcxwOWw5+qk24bxq87szX1ydrwylIOp2uG1ojUpA==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==}
+
+ resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==}
+
+ resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==}
+
+ resolution: {integrity: sha512-VMbMxbDeehAxpOtWJXlcUS5E8iXh6QmN+BkRX1GARS3wRaXEEgzCcB10gTQazO42tpNIya8xIyNx8fll1OFPrg==}
+ engines: {node: '>= 0.8.0'}
+
+ resolution: {integrity: sha512-x0RTqQel6g5SY7Lg6ZreMmsOzncHFU7nhnRWkKgWuMTu5NN0DR5oruckMqRvacAN9d5w6ARnRBXl9xhDCgfMeA==}
+ engines: {node: '>= 0.8.0'}
+
+ resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==}
+
+ resolution: {integrity: sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==}
+ engines: {node: '>=0.6'}
+
+ resolution: {integrity: sha512-5C1sg4USs1lfG0GFb2RLXsdpXqBSEhAaA/0kPL01wxzpMqLILNxIxIOKiILz+cdg/pLnOUxFYOR5yhHU666wbw==}
+ engines: {node: '>=18.0.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}
+ engines: {node: '>=14.17'}
+ hasBin: true
+
+ resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}
+
+ resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==}
+ engines: {node: '>= 0.4.0'}
+
+ resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==}
+ engines: {node: '>= 0.8'}
+
+snapshots:
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@msgpack/[email protected]': {}
+
+ '@superlinked/[email protected]':
+ dependencies:
+ '@msgpack/msgpack': 3.1.3
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/connect': 3.4.38
+ '@types/node': 20.19.39
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/node': 20.19.39
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/node': 20.19.39
+ '@types/qs': 6.15.0
+ '@types/range-parser': 1.2.7
+ '@types/send': 1.2.1
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/body-parser': 1.19.6
+ '@types/express-serve-static-core': 4.19.8
+ '@types/qs': 6.15.0
+ '@types/serve-static': 1.15.10
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]':
+ dependencies:
+ undici-types: 6.21.0
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/mime': 1.3.5
+ '@types/node': 20.19.39
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/node': 20.19.39
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/http-errors': 2.0.5
+ '@types/node': 20.19.39
+ '@types/send': 0.17.6
+
+ dependencies:
+ mime-types: 2.1.35
+ negotiator: 0.6.3
+
+
+
+ dependencies:
+ bytes: 3.1.2
+ content-type: 1.0.5
+ debug: 2.6.9
+ depd: 2.0.0
+ destroy: 1.2.0
+ http-errors: 2.0.1
+ iconv-lite: 0.4.24
+ on-finished: 2.4.1
+ qs: 6.14.2
+ raw-body: 2.5.3
+ type-is: 1.6.18
+ unpipe: 1.0.0
+ transitivePeerDependencies:
+ - supports-color
+
+
+ dependencies:
+ es-errors: 1.3.0
+ function-bind: 1.1.2
+
+ dependencies:
+ call-bind-apply-helpers: 1.0.2
+ get-intrinsic: 1.3.0
+
+ dependencies:
+ safe-buffer: 5.2.1
+
+
+
+
+ dependencies:
+ ms: 2.0.0
+
+
+
+
+ dependencies:
+ call-bind-apply-helpers: 1.0.2
+ es-errors: 1.3.0
+ gopd: 1.2.0
+
+
+
+
+
+ dependencies:
+ es-errors: 1.3.0
+
+ optionalDependencies:
+ '@esbuild/aix-ppc64': 0.27.7
+ '@esbuild/android-arm': 0.27.7
+ '@esbuild/android-arm64': 0.27.7
+ '@esbuild/android-x64': 0.27.7
+ '@esbuild/darwin-arm64': 0.27.7
+ '@esbuild/darwin-x64': 0.27.7
+ '@esbuild/freebsd-arm64': 0.27.7
+ '@esbuild/freebsd-x64': 0.27.7
+ '@esbuild/linux-arm': 0.27.7
+ '@esbuild/linux-arm64': 0.27.7
+ '@esbuild/linux-ia32': 0.27.7
+ '@esbuild/linux-loong64': 0.27.7
+ '@esbuild/linux-mips64el': 0.27.7
+ '@esbuild/linux-ppc64': 0.27.7
+ '@esbuild/linux-riscv64': 0.27.7
+ '@esbuild/linux-s390x': 0.27.7
+ '@esbuild/linux-x64': 0.27.7
+ '@esbuild/netbsd-arm64': 0.27.7
+ '@esbuild/netbsd-x64': 0.27.7
+ '@esbuild/openbsd-arm64': 0.27.7
+ '@esbuild/openbsd-x64': 0.27.7
+ '@esbuild/openharmony-arm64': 0.27.7
+ '@esbuild/sunos-x64': 0.27.7
+ '@esbuild/win32-arm64': 0.27.7
+ '@esbuild/win32-ia32': 0.27.7
+ '@esbuild/win32-x64': 0.27.7
+
+
+
+ dependencies:
+ accepts: 1.3.8
+ array-flatten: 1.1.1
+ body-parser: 1.20.4
+ content-disposition: 0.5.4
+ content-type: 1.0.5
+ cookie: 0.7.2
+ cookie-signature: 1.0.7
+ debug: 2.6.9
+ depd: 2.0.0
+ encodeurl: 2.0.0
+ escape-html: 1.0.3
+ etag: 1.8.1
+ finalhandler: 1.3.2
+ fresh: 0.5.2
+ http-errors: 2.0.1
+ merge-descriptors: 1.0.3
+ methods: 1.1.2
+ on-finished: 2.4.1
+ parseurl: 1.3.3
+ path-to-regexp: 0.1.13
+ proxy-addr: 2.0.7
+ qs: 6.14.2
+ range-parser: 1.2.1
+ safe-buffer: 5.2.1
+ send: 0.19.2
+ serve-static: 1.16.3
+ setprototypeof: 1.2.0
+ statuses: 2.0.2
+ type-is: 1.6.18
+ utils-merge: 1.0.1
+ vary: 1.1.2
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ debug: 2.6.9
+ encodeurl: 2.0.0
+ escape-html: 1.0.3
+ on-finished: 2.4.1
+ parseurl: 1.3.3
+ statuses: 2.0.2
+ unpipe: 1.0.0
+ transitivePeerDependencies:
+ - supports-color
+
+
+
+ optional: true
+
+
+ dependencies:
+ call-bind-apply-helpers: 1.0.2
+ es-define-property: 1.0.1
+ es-errors: 1.3.0
+ es-object-atoms: 1.1.1
+ function-bind: 1.1.2
+ get-proto: 1.0.1
+ gopd: 1.2.0
+ has-symbols: 1.1.0
+ hasown: 2.0.2
+ math-intrinsics: 1.1.0
+
+ dependencies:
+ dunder-proto: 1.0.1
+ es-object-atoms: 1.1.1
+
+ dependencies:
+ resolve-pkg-maps: 1.0.0
+
+
+
+ dependencies:
+ function-bind: 1.1.2
+
+ dependencies:
+ depd: 2.0.0
+ inherits: 2.0.4
+ setprototypeof: 1.2.0
+ statuses: 2.0.2
+ toidentifier: 1.0.1
+
+ dependencies:
+ safer-buffer: 2.1.2
+
+
+
+ dependencies:
+ argparse: 2.0.1
+
+
+
+
+
+
+ dependencies:
+ mime-db: 1.52.0
+
+
+
+
+
+
+ dependencies:
+ ee-first: 1.1.1
+
+
+
+ dependencies:
+ forwarded: 0.2.0
+ ipaddr.js: 1.9.1
+
+ dependencies:
+ side-channel: 1.1.0
+
+
+ dependencies:
+ bytes: 3.1.2
+ http-errors: 2.0.1
+ iconv-lite: 0.4.24
+ unpipe: 1.0.0
+
+
+
+
+ dependencies:
+ debug: 2.6.9
+ depd: 2.0.0
+ destroy: 1.2.0
+ encodeurl: 2.0.0
+ escape-html: 1.0.3
+ etag: 1.8.1
+ fresh: 0.5.2
+ http-errors: 2.0.1
+ mime: 1.6.0
+ ms: 2.1.3
+ on-finished: 2.4.1
+ range-parser: 1.2.1
+ statuses: 2.0.2
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ encodeurl: 2.0.0
+ escape-html: 1.0.3
+ parseurl: 1.3.3
+ send: 0.19.2
+ transitivePeerDependencies:
+ - supports-color
+
+
+ dependencies:
+ es-errors: 1.3.0
+ object-inspect: 1.13.4
+
+ dependencies:
+ call-bound: 1.0.4
+ es-errors: 1.3.0
+ get-intrinsic: 1.3.0
+ object-inspect: 1.13.4
+
+ dependencies:
+ call-bound: 1.0.4
+ es-errors: 1.3.0
+ get-intrinsic: 1.3.0
+ object-inspect: 1.13.4
+ side-channel-map: 1.0.1
+
+ dependencies:
+ es-errors: 1.3.0
+ object-inspect: 1.13.4
+ side-channel-list: 1.0.1
+ side-channel-map: 1.0.1
+ side-channel-weakmap: 1.0.2
+
+
+
+ dependencies:
+ esbuild: 0.27.7
+ get-tsconfig: 4.14.0
+ optionalDependencies:
+ fsevents: 2.3.3
+
+ dependencies:
+ media-typer: 0.3.0
+ mime-types: 2.1.35
+
+
+
+
+
diff --git a/examples/ecommerce-product-search/typescript/src/ingest.ts b/examples/ecommerce-product-search/typescript/src/ingest.ts
new file mode 100644
index 000000000..5fe51177e
--- /dev/null
+++ b/examples/ecommerce-product-search/typescript/src/ingest.ts
@@ -0,0 +1,214 @@
+import fs from "fs";
+import path from "path";
+import yaml from "js-yaml";
+import { SIEClient } from "@superlinked/sie-sdk";
+import type { Entity } from "@superlinked/sie-sdk";
+
+import { fileURLToPath } from "url";
+
+// Config matches config.yaml structure exactly
+interface Config {
+ cluster: {
+ url: string;
+ api_key: string;
+ gpu: string;
+ provision_timeout_s: number;
+ };
+ models: {
+ embedding: string;
+ reranker: string;
+ extractor: string;
+ };
+ extract_labels: string[];
+ search: {
+ top_k_candidates: number;
+ top_k_results: number;
+ };
+ ingest: {
+ batch_size_extraction: number;
+ batch_size_encoding: number;
+ confidence_threshold: number;
+ junk_text_max_len?: number;
+ };
+}
+
+interface Product {
+ id: string;
+ title: string;
+ description: string;
+ category: string;
+ price: number;
+ rating: number;
+ features?: string[];
+ image?: string;
+}
+
+interface ExtractedProduct extends Product {
+ attributes: Record<string, string>;
+}
+
+// Resolve paths relative to this file's location (works regardless of cwd)
+const __filename = fileURLToPath(import.meta.url);
+const __dirname = path.dirname(__filename);
+const ROOT = path.resolve(__dirname, "..", "..");
+const TS_DIR = path.resolve(__dirname, "..");
+
+function loadConfig(): Config {
+ const data = fs.readFileSync(path.join(ROOT, "config.yaml"), "utf-8");
+ return yaml.load(data) as Config;
+}
+
+function loadProducts(): Product[] {
+ const data = fs.readFileSync(path.join(ROOT, "data", "products.json"), "utf-8");
+ return JSON.parse(data);
+}
+
+function buildAttributes(
+ entities: Entity[],
+ labels: string[],
+ threshold: number,
+ junkLen: number
+): Record<string, string> {
+ const best: Record<string, { text: string; score: number }> = {};
+
+ for (const e of entities) {
+ const text = e.text.trim();
+ if (e.score < threshold) continue;
+ if (text.length > junkLen && !text.includes(" ")) continue;
+ if (!labels.includes(e.label)) continue;
+ if (!(e.label in best) || e.score > best[e.label].score) {
+ best[e.label] = { text, score: e.score };
+ }
+ }
+
+ return Object.fromEntries(Object.entries(best).map(([k, v]) => [k, v.text]));
+}
+
+async function extractAttributes(
+ client: SIEClient,
+ products: Product[],
+ config: Config
+): Promise<Record<string, Record<string, string>>> {
+ const model = config.models.extractor;
+ const labels = config.extract_labels;
+ const batchSize = config.ingest.batch_size_extraction;
+ const threshold = config.ingest.confidence_threshold;
+ const junkLen = config.ingest.junk_text_max_len ?? 15;
+ const total = products.length;
+
+ console.log(`\n--- Extraction (${model}) ---`);
+ console.log(` Labels: ${labels.join(", ")}`);
+
+ const extracted: Record<string, Record<string, string>> = {};
+
+ for (let i = 0; i < total; i += batchSize) {
+ const batch = products.slice(i, Math.min(i + batchSize, total));
+ const items = batch.map((p) => ({ id: p.id, text: p.description.substring(0, 512) }));
+ const t0 = Date.now();
+
+ const results = await client.extract(model, items, { labels });
+
+ const elapsed = ((Date.now() - t0) / 1000).toFixed(1);
+ console.log(` [${Math.min(i + batchSize, total)}/${total}] batch in ${elapsed}s`);
+
+ results.forEach((result, idx) => {
+ const productId = batch[idx].id;
+ extracted[productId] = buildAttributes(result.entities, labels, threshold, junkLen);
+ });
+ }
+
+ return extracted;
+}
+
+async function encodeProducts(
+ client: SIEClient,
+ products: Product[],
+ config: Config
+): Promise<number[][]> {
+ const model = config.models.embedding;
+ const batchSize = config.ingest.batch_size_encoding;
+ const total = products.length;
+
+ console.log(`\n--- Encoding (${model}) ---`);
+
+ const allEmbeddings: number[][] = [];
+
+ for (let i = 0; i < total; i += batchSize) {
+ const batch = products.slice(i, Math.min(i + batchSize, total));
+ const items = batch.map((p) => ({
+ id: p.id,
+ text: `${p.title}. ${p.description.substring(0, 512)}`,
+ }));
+ const t0 = Date.now();
+
+ const results = await client.encode(model, items);
+
+ const elapsed = ((Date.now() - t0) / 1000).toFixed(1);
+ console.log(` [${Math.min(i + batchSize, total)}/${total}] batch in ${elapsed}s`);
+
+ // Fail loud on missing dense vectors. Silently skipping here would desync
+ // embeddings from metadata (which is built positionally from products).
+ for (const r of results) {
+ if (!r.dense) {
+ throw new Error(`encode() returned no dense vector for item ${r.id ?? "<unknown>"}`);
+ }
+ allEmbeddings.push(Array.from(r.dense));
+ }
+ }
+
+ return allEmbeddings;
+}
+
+async function main(): Promise<void> {
+ try {
+ console.log("=== E-Commerce Product Search (TypeScript Ingest) ===\n");
+
+ const config = loadConfig();
+ const clusterUrl = process.env.SIE_CLUSTER_URL ?? config.cluster.url;
+ const apiKey = process.env.SIE_API_KEY ?? config.cluster.api_key;
+
+ console.log(`Cluster: ${clusterUrl}`);
+ console.log(`Embedder: ${config.models.embedding}`);
+ console.log(`Extractor: ${config.models.extractor}`);
+
+ const gpu = config.cluster.gpu;
+ const provisionTimeout = (config.cluster.provision_timeout_s ?? 600) * 1000;
+ const client = new SIEClient(clusterUrl, { apiKey, gpu, waitForCapacity: true, provisionTimeout, timeout: 300_000 });
+
+ console.log("\nLoading products...");
+ const products = loadProducts();
+ console.log(`Loaded ${products.length} products`);
+
+ // Phase 1: Extract attributes
+ const extracted = await extractAttributes(client, products, config);
+ console.log(`\nExtraction complete`);
+
+ // Phase 2: Encode embeddings
+ const embeddings = await encodeProducts(client, products, config);
+ console.log(`\nEncoding complete: ${embeddings.length} embeddings, ${embeddings[0]?.length}d`);
+
+ // Build metadata with attributes
+ const metadata: ExtractedProduct[] = products.map((p) => ({
+ ...p,
+ description: p.description.substring(0, 500),
+ attributes: extracted[p.id] ?? {},
+ }));
+
+ // Save output to data-ts/ inside typescript/
+ const outDir = path.join(TS_DIR, "data-ts");
+ if (!fs.existsSync(outDir)) fs.mkdirSync(outDir, { recursive: true });
+
+ fs.writeFileSync(path.join(outDir, "embeddings.json"), JSON.stringify(embeddings));
+ console.log(`\nSaved embeddings → data-ts/embeddings.json`);
+
+ fs.writeFileSync(path.join(outDir, "metadata.json"), JSON.stringify(metadata, null, 2));
+ console.log(`Saved metadata → data-ts/metadata.json (${metadata.length} products)`);
+
+ console.log("\n=== Ingest Complete ===");
+ } catch (error) {
+ console.error("Fatal error:", error);
+ process.exit(1);
+ }
+}
+
+main();
diff --git a/examples/ecommerce-product-search/typescript/src/search.ts b/examples/ecommerce-product-search/typescript/src/search.ts
new file mode 100644
index 000000000..6fda216da
--- /dev/null
+++ b/examples/ecommerce-product-search/typescript/src/search.ts
@@ -0,0 +1,232 @@
+import fs from "fs";
+import path from "path";
+import yaml from "js-yaml";
+import { SIEClient } from "@superlinked/sie-sdk";
+import { fileURLToPath } from "url";
+
+interface Config {
+ cluster: {
+ url: string;
+ api_key: string;
+ gpu: string;
+ provision_timeout_s: number;
+ };
+ models: {
+ embedding: string;
+ reranker: string;
+ extractor: string;
+ };
+ extract_labels: string[];
+ search: {
+ top_k_candidates: number;
+ top_k_results: number;
+ };
+ ingest: {
+ batch_size_extraction: number;
+ batch_size_encoding: number;
+ confidence_threshold: number;
+ };
+}
+
+interface Metadata {
+ id: string;
+ title: string;
+ description: string;
+ category: string;
+ price: number;
+ rating: number;
+ features: string[];
+ image?: string;
+ attributes: Record<string, string>;
+}
+
+export interface SearchResult {
+ product_id: string;
+ title: string;
+ category: string;
+ price: number;
+ rating: number;
+ description: string;
+ features: string[];
+ image?: string;
+ attributes: Record<string, string>;
+ vector_score: number;
+ rerank_score?: number;
+ rank: number;
+}
+
+const __filename = fileURLToPath(import.meta.url);
+const __dirname = path.dirname(__filename);
+const ROOT = path.resolve(__dirname, "..", "..");
+const TS_DIR = path.resolve(__dirname, "..");
+
+export function loadConfig(): Config {
+ const data = fs.readFileSync(path.join(ROOT, "config.yaml"), "utf-8");
+ return yaml.load(data) as Config;
+}
+
+export function loadIndex(): { embeddings: number[][]; metadata: Metadata[] } {
+ const outDir = path.join(TS_DIR, "data-ts");
+ const raw: number[][] = JSON.parse(
+ fs.readFileSync(path.join(outDir, "embeddings.json"), "utf-8")
+ );
+ const embeddings = raw.map(normalize);
+ const metadata: Metadata[] = JSON.parse(
+ fs.readFileSync(path.join(outDir, "metadata.json"), "utf-8")
+ );
+ return { embeddings, metadata };
+}
+
+function normalize(v: number[]): number[] {
+ const n = Math.sqrt(v.reduce((s, x) => s + x * x, 0));
+ return n > 0 ? v.map((x) => x / n) : v;
+}
+
+function dot(a: number[], b: number[]): number {
+ let s = 0;
+ for (let i = 0; i < a.length; i++) s += a[i] * b[i];
+ return s;
+}
+
+function toResult(
+ m: Metadata, vectorScore: number, rank: number, rerankScore?: number
+): SearchResult {
+ return {
+ product_id: m.id, title: m.title, category: m.category,
+ price: m.price, rating: m.rating, description: m.description,
+ features: m.features, image: m.image, attributes: m.attributes,
+ vector_score: vectorScore, rerank_score: rerankScore, rank,
+ };
+}
+
+export async function search(
+ client: SIEClient,
+ config: Config,
+ embeddings: number[][],
+ metadata: Metadata[],
+ query: string,
+ filters?: Record<string, string>
+): Promise<SearchResult[]> {
+ const topKCandidates = config.search.top_k_candidates;
+ const topKResults = config.search.top_k_results;
+
+ // Step 1: Encode query as single item with isQuery in options
+ const queryResult = await client.encode(
+ config.models.embedding,
+ { id: "query", text: query },
+ { isQuery: true }
+ );
+ if (!queryResult.dense) throw new Error("Failed to encode query");
+
+ const queryVec = normalize(Array.from(queryResult.dense));
+
+ // Step 2: Vector similarity
+ let candidates = embeddings
+ .map((e, idx) => ({ idx, score: dot(queryVec, e) }))
+ .sort((a, b) => b.score - a.score)
+ .slice(0, topKCandidates);
+
+ // Step 3: Attribute filters (optional)
+ if (filters && Object.keys(filters).length > 0) {
+ const filtered = candidates.filter((c) => {
+ const m = metadata[c.idx];
+ for (const [key, value] of Object.entries(filters)) {
+ if (key === "category") {
+ if (!m.category.toLowerCase().includes(value.toLowerCase())) return false;
+ } else {
+ const attrVal = m.attributes[key] ?? "";
+ if (!attrVal.toLowerCase().includes(value.toLowerCase())) return false;
+ }
+ }
+ return true;
+ });
+ if (filtered.length > 0) {
+ candidates = filtered;
+ } else {
+ // No candidate matched the filter. Fall back to the unfiltered pool so the
+ // user still gets results, but warn so the behavior is observable.
+ console.warn(` [filter] no matches for ${JSON.stringify(filters)}, falling back to unfiltered candidates`);
+ }
+ }
+
+ // Step 4: Rerank with cross-encoder score()
+ const rerankItems = candidates.map((c) => {
+ const m = metadata[c.idx];
+ const attrStr = Object.entries(m.attributes)
+ .map(([k, v]) => `${k}: ${v}`)
+ .join(", ");
+ return {
+ id: m.id,
+ text: `${m.title}. Category: ${m.category}. ${attrStr ? attrStr + ". " : ""}${m.description}`,
+ };
+ });
+
+ let scoreResult;
+ try {
+ scoreResult = await client.score(
+ config.models.reranker,
+ { id: "query", text: query },
+ rerankItems
+ );
+ } catch (err) {
+ console.warn(` Reranking failed (${err}), falling back to vector ranking`);
+ return candidates.slice(0, topKResults).map((c, i) =>
+ toResult(metadata[c.idx], c.score, i + 1)
+ );
+ }
+
+ const candidateById = new Map(candidates.map((c) => [metadata[c.idx].id, c]));
+
+ return scoreResult.scores.flatMap((scored, i) => {
+ const c = candidateById.get(scored.itemId);
+ if (!c) return [];
+ return [toResult(metadata[c.idx], c.score, i + 1, scored.score)];
+ }).slice(0, topKResults);
+}
+
+// CLI demo
+async function main(): Promise<void> {
+ console.log("=== E-Commerce Product Search (TypeScript Search) ===\n");
+
+ const config = loadConfig();
+ const clusterUrl = process.env.SIE_CLUSTER_URL ?? config.cluster.url;
+ const apiKey = process.env.SIE_API_KEY ?? config.cluster.api_key;
+
+ const gpu = config.cluster.gpu;
+ const provisionTimeout = (config.cluster.provision_timeout_s ?? 600) * 1000;
+ const client = new SIEClient(clusterUrl, { apiKey, gpu, waitForCapacity: true, provisionTimeout, timeout: 120_000 });
+ const { embeddings, metadata } = loadIndex();
+ console.log(`Loaded index: ${metadata.length} products, ${embeddings[0]?.length}d\n`);
+
+ const demos: Array<{ query: string; filters?: Record<string, string> }> = [
+ { query: "lightweight waterproof hiking boots" },
+ { query: "gold jewelry for women" },
+ { query: "wireless bluetooth headphones", filters: { category: "All Electronics" } },
+ ];
+
+ for (const { query, filters } of demos) {
+ const filterStr = filters ? ` (filters: ${JSON.stringify(filters)})` : "";
+ console.log(`\n--- Query: "${query}"${filterStr} ---`);
+
+ try {
+ const results = await search(client, config, embeddings, metadata, query, filters);
+ results.forEach((r) => {
+ const attrs = Object.entries(r.attributes)
+ .map(([k, v]) => `${k}=${v}`)
+ .join(", ");
+ console.log(` ${r.rank}. ${r.title.substring(0, 65)}`);
+ console.log(` category=${r.category} price=$${r.price ?? "?"} rating=${r.rating ?? "?"}`);
+ console.log(` attrs: ${attrs || "none"}`);
+ console.log(` vector=${r.vector_score.toFixed(3)} rerank=${r.rerank_score?.toFixed(4) ?? "N/A"}`);
+ console.log();
+ });
+ } catch (err) {
+ console.error(` Search failed: ${err}`);
+ }
+ }
+}
+
+// Only run CLI demo when this file is the entry point
+if (process.argv[1] === __filename) {
+ main();
+}
diff --git a/examples/ecommerce-product-search/typescript/src/server.ts b/examples/ecommerce-product-search/typescript/src/server.ts
new file mode 100644
index 000000000..4df511357
--- /dev/null
+++ b/examples/ecommerce-product-search/typescript/src/server.ts
@@ -0,0 +1,137 @@
+import express, { Request, Response } from "express";
+import path from "path";
+import fs from "fs";
+import yaml from "js-yaml";
+import { SIEClient } from "@superlinked/sie-sdk";
+import { search, loadConfig, loadIndex, type SearchResult } from "./search.js";
+import { fileURLToPath } from "url";
+
+const __filename = fileURLToPath(import.meta.url);
+const __dirname = path.dirname(__filename);
+const ROOT = path.resolve(__dirname, "..", "..");
+const app = express();
+const PORT = Number(process.env.PORT ?? "3000");
+
+let client: SIEClient;
+let config: ReturnType<typeof loadConfig>;
+let embeddings: number[][];
+let metadata: Array<{
+ id: string; title: string; description: string; category: string;
+ price: number; rating: number; features: string[]; image?: string;
+ attributes: Record<string, string>;
+}>;
+let categoryCounts: [string, number][];
+
+app.use(express.json());
+app.use(express.static(path.join(ROOT, "static")));
+
+app.get("/", (_req: Request, res: Response) => {
+ res.sendFile(path.join(ROOT, "static", "index.html"));
+});
+
+app.get("/api/search", async (req: Request, res: Response): Promise<void> => {
+ const q = req.query.q as string | undefined;
+ const category = req.query.category as string | undefined;
+ const brand = req.query.brand as string | undefined;
+
+ if (!q) {
+ res.status(400).json({ error: "Query parameter 'q' is required" });
+ return;
+ }
+
+ const filters: Record<string, string> = {};
+ if (category) filters.category = category;
+ if (brand) filters.brand = brand;
+
+ try {
+ const results: SearchResult[] = await search(
+ client,
+ config,
+ embeddings,
+ metadata,
+ q,
+ Object.keys(filters).length ? filters : undefined
+ );
+
+ res.json({
+ query: q,
+ filters,
+ results: results.map((r) => ({
+ id: r.product_id,
+ title: r.title,
+ description: r.description,
+ category: r.category,
+ price: r.price,
+ rating: r.rating,
+ features: r.features ?? [],
+ image: r.image,
+ attributes: r.attributes,
+ scores: {
+ vector: Number(r.vector_score.toFixed(4)),
+ rerank: Number((r.rerank_score ?? 0).toFixed(4)),
+ },
+ })),
+ });
+ } catch (err) {
+ console.error("Search error:", err);
+ res.status(500).json({ error: "Search failed" });
+ }
+});
+
+app.get("/api/categories", (_req: Request, res: Response) => {
+ res.json(categoryCounts);
+});
+
+app.get("/api/stats", (_req: Request, res: Response) => {
+ res.json({
+ total_products: metadata.length,
+ embedding_dims: embeddings[0]?.length ?? 0,
+ categories: categoryCounts.length,
+ models: config.models,
+ });
+});
+
+async function start(): Promise<void> {
+ const configData = fs.readFileSync(path.join(ROOT, "config.yaml"), "utf-8");
+ config = yaml.load(configData) as ReturnType<typeof loadConfig>;
+
+ const clusterUrl = process.env.SIE_CLUSTER_URL ?? config.cluster.url;
+ const apiKey = process.env.SIE_API_KEY ?? config.cluster.api_key;
+
+ console.log("Connecting to SIE cluster:", clusterUrl);
+ const gpu = config.cluster.gpu;
+ const provisionTimeout = (config.cluster.provision_timeout_s ?? 600) * 1000;
+ client = new SIEClient(clusterUrl, { apiKey, gpu, waitForCapacity: true, provisionTimeout, timeout: 120_000 });
+
+ console.log("Loading index...");
+ const idx = loadIndex();
+ embeddings = idx.embeddings;
+ metadata = idx.metadata;
+ console.log(`Loaded ${metadata.length} products, ${embeddings[0]?.length}d`);
+
+ const counts: Record<string, number> = {};
+ for (const m of metadata) counts[m.category] = (counts[m.category] ?? 0) + 1;
+ categoryCounts = Object.entries(counts).sort((a, b) => b[1] - a[1]);
+
+ app.listen(PORT, () => {
+ console.log(`\nServer at http://localhost:${PORT}`);
+ console.log(`Models:`);
+ console.log(` embedder: ${config.models.embedding}`);
+ console.log(` extractor: ${config.models.extractor}`);
+ console.log(` reranker: ${config.models.reranker}`);
+ console.log(`\nAPI:`);
+ console.log(` GET /api/search?q=...&category=...&brand=...`);
+ console.log(` GET /api/categories`);
+ console.log(` GET /api/stats`);
+ });
+}
+
+process.on("SIGINT", () => {
+ console.log("\nShutting down...");
+ process.exit(0);
+});
+
+start().catch((err) => {
+ console.error("Startup error:", err);
+ process.exit(1);
+});
diff --git a/examples/ecommerce-product-search/typescript/tsconfig.json b/examples/ecommerce-product-search/typescript/tsconfig.json
new file mode 100644
index 000000000..da8019b0e
--- /dev/null
+++ b/examples/ecommerce-product-search/typescript/tsconfig.json
@@ -0,0 +1,31 @@
+{
+ "compilerOptions": {
+ "target": "ES2020",
+ "module": "ES2020",
+ "lib": ["ES2020"],
+ "moduleResolution": "bundler",
+ "resolveJsonModule": true,
+ "strict": true,
+ "esModuleInterop": true,
+ "skipLibCheck": true,
+ "forceConsistentCasingInFileNames": true,
+ "declaration": true,
+ "declarationMap": true,
+ "sourceMap": true,
+ "outDir": "./dist",
+ "rootDir": "./src",
+ "noImplicitAny": true,
+ "strictNullChecks": true,
+ "strictFunctionTypes": true,
+ "strictBindCallApply": true,
+ "strictPropertyInitialization": true,
+ "noImplicitThis": true,
+ "alwaysStrict": true,
+ "noUnusedLocals": true,
+ "noUnusedParameters": true,
+ "noImplicitReturns": true,
+ "noFallthroughCasesInSwitch": true
+ },
+ "include": ["src/**/*.ts"],
+ "exclude": ["node_modules", "dist"]
+}
diff --git a/examples/regulatory-rag/README.md b/examples/regulatory-rag/README.md
new file mode 100644
index 000000000..5bfda7914
--- /dev/null
+++ b/examples/regulatory-rag/README.md
@@ -0,0 +1,154 @@
+# Regulatory RAG: Custom Models on SIE
+
+The "advanced hosting" example. Shows how to run a real production
+RAG stack on SIE with **two things you won't find in a stock
+sie-server**: a domain-adapted LoRA encoder and a custom cross-encoder
+adapter that does reranking *and* token-level context pruning in one
+forward pass. Everything needed to host the advanced stuff lives in
+[`server-plugin/`](./server-plugin) as a thin Docker-baked extension.
+
+## The pipeline
+
+![Regulatory RAG pipeline: custom LoRA encoder, cross-encoder reranker, and token-level pruner, all from one SIE cluster](./assets/pipeline.svg)
+
+Detail per stage:
+
+- **Encode** — `ModernBERT-base` with the `us-regulatory` profile, which hot-loads the `sugiv/modernbert-us-stablecoin-encoder` LoRA weights at request time. Produces a 768-dim domain-adapted embedding.
+- **Dense retrieval** — in-memory cosine similarity over the corpus, top-5 kept.
+- **Score / Rerank** — `sugiv/stablebridge-pruner-highlighter` cross-encoder, keeps top-3.
+- **Extract / Prune** — same Stablebridge model, second primitive. Returns token-level keep/drop probabilities aggregated into `highlight` / `kept` / `pruned` spans.
+- **LLM context** — the surviving `highlight` and `kept` spans become the compressed context passed downstream. Averages 74% compression vs. the raw reranked passages.
+
+## Why this example exists
+
+Most OSS inference servers assume you're running off-the-shelf models.
+Real teams don't. They fine-tune encoders on their domain, they
+train pruner heads to cut LLM context costs, they mix and match. This
+example shows the full path (**extend the server, register new
+models, hit them from the SDK**) using a regulatory-intelligence
+use case built on public-good data.
+
+Two model additions drive the pipeline:
+
+| Model | Base | Task | What it adds |
+|-------|------|------|--------------|
+| [`sugiv/modernbert-us-stablecoin-encoder`](https://huggingface.co/sugiv/modernbert-us-stablecoin-encoder) | `answerdotai/ModernBERT-base` | encode | LoRA adapter (r=16, α=32, 8.77 MB) fine-tuned on US stablecoin regulations. Hot-loaded via the `us-regulatory` profile on the base model, no separate deployment. |
+| [`sugiv/stablebridge-pruner-highlighter`](https://huggingface.co/sugiv/stablebridge-pruner-highlighter) | `BAAI/bge-reranker-v2-m3` | score, extract | `PruningHead` MLP (525K params) on top of the frozen reranker. Produces rerank scores *and* token-level keep/drop probabilities in one forward pass. |
+
+## SIE features demonstrated
+
+| Feature | How it's used here |
+|---------|-------------------|
+| **encode** | Domain-adapted dense embeddings (ModernBERT + LoRA) |
+| **score** | Cross-encoder reranking of retrieved candidates |
+| **extract** | Token-level pruning + sentence-level highlight spans |
+| **profiles** | `us-regulatory` profile activates LoRA weights at request time |
+| **custom adapter** | `StablebridgePrunerAdapter` extends `sie_server.adapters.ModelAdapter` to add pruning under the `extract` primitive |
+| **cost-based batching** | SIE batches by token count, handling variable-length regulatory docs |
+| **model sharing** | Encoder + pruner share one GPU via SIE's LRU memory management |
+
+## Quick start
+
+### 1. Build a custom sie-server image
+
+Everything the pipeline needs on the server side is packaged in
+[`server-plugin/`](./server-plugin): the patch, the adapter, the YAMLs.
+
+```bash
+# From this directory
+docker build -t sie-regulatory --build-arg SIE_TAG=latest-cuda12-default ./server-plugin
+docker run --gpus all -p 8080:8080 sie-regulatory
+# CPU-only also works for the tiny sample corpus:
+# docker build -t sie-regulatory --build-arg SIE_TAG=latest-cpu-default ./server-plugin
+# docker run -p 8080:8080 sie-regulatory
+```
+
+See [`server-plugin/README.md`](./server-plugin/README.md) for what's
+in the image and how to extend it further.
+
+### 2. Run the pipeline
+
+```bash
+# No dependencies to install; the client uses stdlib urllib.
+python rag_pipeline.py
+```
+
+Options:
+
+```
+--url URL SIE server URL (default: http://localhost:8080)
+--query TEXT Custom query (default: runs all sample regulatory queries)
+--top-k N Candidates from dense retrieval (default: 5)
+--output PATH Save results as JSON
+--quiet Minimal output
+```
+
+## Benchmark Results (RTX PRO 6000 Blackwell, 98GB VRAM)
+
+| Operation | Mean Latency | p95 Latency | Notes |
+|-----------|-------------|-------------|-------|
+| Encode (base) | 20 ms | 25 ms | 768-dim dense embedding |
+| Encode (LoRA) | 23 ms | 27 ms | +3 ms for LoRA adapter switch |
+| Score (2 candidates) | 15 ms | 17 ms | Cross-encoder reranking |
+| Score (10 candidates) | 19 ms | 21 ms | Sub-linear scaling |
+| Extract (single doc) | 17 ms | 19 ms | Pruning + highlighting |
+| **E2E Pipeline** | **61 ms** | **66 ms** | Encode → Score(5) → Extract(1) |
+
+100% correct ranking on relevant vs. irrelevant passages. Average
+74% character-count compression on the final context vs. the raw
+reranked passages. On smaller GPUs (A10G, L4) expect 3–4× these
+numbers.
+
+## Files
+
+```
+regulatory-rag/
+├── rag_pipeline.py # 3-stage RAG pipeline (stdlib only)
+├── sample_corpus.json # 12 US regulatory passages
+├── README.md # This file
+└── server-plugin/
+ ├── README.md # What the plugin does, how to extend it
+ ├── Dockerfile # Builds sie-server with the extensions baked in
+ ├── encode_lora_routing.patch
+ ├── adapters/
+ │ └── stablebridge_pruner/
+ │ └── __init__.py # Custom ModelAdapter, 659 lines
+ └── models/
+ ├── answerdotai__ModernBERT-base.yaml
+ └── sugiv__stablebridge-pruner-highlighter.yaml
+```
+
+## Architecture notes
+
+**LoRA as a profile.** SIE serves LoRA adapters by loading the base
+model once and activating LoRA weights via named profiles. When the
+pipeline calls `encode("answerdotai/ModernBERT-base", profile="us-regulatory")`,
+SIE applies the `sugiv/modernbert-us-stablecoin-encoder` weights to
+the shared base, with no separate deployment or rebuild. Swap in another
+LoRA by adding another profile block to the model YAML.
+
+**The pruner as an adapter.** `StablebridgePrunerAdapter` wraps a
+frozen `BAAI/bge-reranker-v2-m3` with a trained `PruningHead` MLP
+(1024 → 512 → 1). It exposes both `score()` and `extract()` from the
+same forward pass. The classifier output becomes the rerank score,
+the per-token hidden states become keep/drop probabilities. That's a
+new kind of primitive that wouldn't exist in a stock embedding server.
+
+**Entities are just SIE entities.** The pruner returns semantic labels
+you can filter on downstream:
+
+- **`highlight`** (score ≥ 0.9): directly answers the query
+- **`kept`** (score ≥ 0.6): supporting context worth preserving
+- **`pruned`** (score < 0.6): can be safely removed
+- **`summary`**: compression statistics
+
+## Credits
+
+Built by [@sugix](https://github.com/sugix) as part of the SIE alpha
+tester program. LoRA training used `answerdotai/ModernBERT-base` on a
+curated corpus of US stablecoin regulation; pruner head trained on
+BEIR-style relevance judgments.
+
+## License
+
+Apache 2.0, same as SIE.
diff --git a/examples/regulatory-rag/assets/pipeline.svg b/examples/regulatory-rag/assets/pipeline.svg
new file mode 100644
index 000000000..fc36a7848
--- /dev/null
+++ b/examples/regulatory-rag/assets/pipeline.svg
@@ -0,0 +1,68 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1040 320" font-family="Inter, Helvetica, Arial, sans-serif" font-size="13">
+ <defs>
+ <marker id="arrow" markerWidth="8" markerHeight="6" refX="8" refY="3" orient="auto">
+ <path d="M0,0 L8,3 L0,6" fill="#888"/>
+ </marker>
+ </defs>
+
+ <!-- Title -->
+ <text x="520" y="28" text-anchor="middle" font-weight="700" font-size="16" fill="#333">Regulatory RAG Pipeline</text>
+ <text x="520" y="46" text-anchor="middle" font-size="11" fill="#999">Custom LoRA encoder, cross-encoder reranker, and token-level pruner, all from one SIE cluster</text>
+
+ <!-- ===== Main horizontal flow ===== -->
+ <!-- boxes sit on the 100..180 band -->
+
+ <!-- Query (input) -->
+ <rect x="20" y="100" width="140" height="80" rx="8" fill="#E8E8E8" stroke="#AAA" stroke-width="1.5"/>
+ <text x="90" y="128" text-anchor="middle" font-weight="600" font-size="12" fill="#333">Query</text>
+ <text x="90" y="148" text-anchor="middle" font-size="10" fill="#666">"Reserve requirements</text>
+ <text x="90" y="161" text-anchor="middle" font-size="10" fill="#666">for stablecoin issuers?"</text>
+
+ <line x1="160" y1="140" x2="198" y2="140" stroke="#888" stroke-width="1.5" marker-end="url(#arrow)"/>
+
+ <!-- SIE encode() with LoRA profile -->
+ <rect x="202" y="100" width="170" height="80" rx="8" fill="#FE8019" stroke="#D96A0B" stroke-width="1.5"/>
+ <text x="287" y="124" text-anchor="middle" font-weight="700" font-size="13" fill="#fff">SIE — encode()</text>
+ <text x="287" y="142" text-anchor="middle" font-size="10" fill="rgba(255,255,255,0.9)">ModernBERT-base</text>
+ <text x="287" y="156" text-anchor="middle" font-size="10" fill="rgba(255,255,255,0.9)">profile: us-regulatory</text>
+ <text x="287" y="170" text-anchor="middle" font-size="9" fill="rgba(255,255,255,0.8)">(LoRA hot-load)</text>
+
+ <line x1="372" y1="140" x2="410" y2="140" stroke="#888" stroke-width="1.5" marker-end="url(#arrow)"/>
+
+ <!-- Dense retrieval -->
+ <rect x="414" y="100" width="140" height="80" rx="8" fill="#F3F3F3" stroke="#BBB" stroke-width="1.5"/>
+ <text x="484" y="126" text-anchor="middle" font-weight="600" font-size="12" fill="#333">Dense retrieval</text>
+ <text x="484" y="146" text-anchor="middle" font-size="10" fill="#666">cosine similarity</text>
+ <text x="484" y="162" text-anchor="middle" font-size="10" fill="#999">top-5 candidates</text>
+
+ <line x1="554" y1="140" x2="592" y2="140" stroke="#888" stroke-width="1.5" marker-end="url(#arrow)"/>
+
+ <!-- SIE score() -->
+ <rect x="596" y="100" width="170" height="80" rx="8" fill="#FE8019" stroke="#D96A0B" stroke-width="1.5"/>
+ <text x="681" y="124" text-anchor="middle" font-weight="700" font-size="13" fill="#fff">SIE — score()</text>
+ <text x="681" y="142" text-anchor="middle" font-size="10" fill="rgba(255,255,255,0.9)">stablebridge-pruner</text>
+ <text x="681" y="156" text-anchor="middle" font-size="10" fill="rgba(255,255,255,0.9)">cross-encoder rerank</text>
+ <text x="681" y="170" text-anchor="middle" font-size="9" fill="rgba(255,255,255,0.8)">top-3 kept</text>
+
+ <line x1="766" y1="140" x2="804" y2="140" stroke="#888" stroke-width="1.5" marker-end="url(#arrow)"/>
+
+ <!-- SIE extract() -->
+ <rect x="808" y="100" width="212" height="80" rx="8" fill="#FE8019" stroke="#D96A0B" stroke-width="1.5"/>
+ <text x="914" y="124" text-anchor="middle" font-weight="700" font-size="13" fill="#fff">SIE — extract()</text>
+ <text x="914" y="142" text-anchor="middle" font-size="10" fill="rgba(255,255,255,0.9)">stablebridge-pruner</text>
+ <text x="914" y="156" text-anchor="middle" font-size="10" fill="rgba(255,255,255,0.9)">token-level keep/drop</text>
+ <text x="914" y="170" text-anchor="middle" font-size="9" fill="rgba(255,255,255,0.8)">highlight / kept / pruned spans</text>
+
+ <!-- down arrow from extract to compressed context -->
+ <line x1="914" y1="180" x2="914" y2="216" stroke="#888" stroke-width="1.5" marker-end="url(#arrow)"/>
+
+ <!-- Compressed context output (bottom-right) -->
+ <rect x="660" y="220" width="360" height="60" rx="8" fill="#E8E8E8" stroke="#AAA" stroke-width="1.5"/>
+ <text x="840" y="244" text-anchor="middle" font-weight="600" font-size="12" fill="#333">Compressed context for the LLM</text>
+ <text x="840" y="262" text-anchor="middle" font-size="10" fill="#666">avg 74% compression — only highlight + kept spans kept</text>
+ <text x="840" y="276" text-anchor="middle" font-size="9" fill="#999">pruned spans dropped before generation</text>
+
+ <!-- Caption -->
+ <line x1="20" y1="300" x2="1020" y2="300" stroke="#E0E0E0" stroke-width="1"/>
+ <text x="520" y="314" text-anchor="middle" font-size="10" fill="#999">One SIE cluster serves all three primitives. Orange boxes are SIE API calls; grey boxes are data passing between stages.</text>
+</svg>
diff --git a/examples/regulatory-rag/rag_pipeline.py b/examples/regulatory-rag/rag_pipeline.py
new file mode 100644
index 000000000..637287967
--- /dev/null
+++ b/examples/regulatory-rag/rag_pipeline.py
@@ -0,0 +1,483 @@
+#!/usr/bin/env python3
+"""
+Regulatory RAG Pipeline — SIE Example
+======================================
+
+A complete retrieval-augmented generation pipeline for US regulatory
+intelligence, demonstrating SIE's encode, score, and extract primitives
+with domain-specific custom models.
+
+Custom Models:
+ - Encoder LoRA: sugiv/modernbert-us-stablecoin-encoder
+ (fine-tuned on answerdotai/ModernBERT-base via LoRA for US regulatory text)
+ - Pruner: sugiv/stablebridge-pruner-highlighter
+ (PruningHead MLP on BAAI/bge-reranker-v2-m3 for reranking + highlighting)
+
+Pipeline stages:
+ 1. Encode query + corpus with sugiv/modernbert-us-stablecoin-encoder LoRA
+ 2. Dense retrieval via cosine similarity
+ 3. Rerank candidates with sugiv/stablebridge-pruner-highlighter cross-encoder
+ 4. Extract semantic highlights from top results (pruning + highlighting)
+ 5. Build compressed context for LLM generation
+
+Usage:
+ python rag_pipeline.py # Run with default SIE server
+ python rag_pipeline.py --url http://host:8080 # Custom server URL
+ python rag_pipeline.py --query "your question" # Custom query
+"""
+
+import argparse
+import json
+import math
+import sys
+import time
+import urllib.request
+import urllib.error
+from pathlib import Path
+from typing import Any
+
+# ── Configuration ──────────────────────────────────────────────────────
+
+DEFAULT_SIE_URL = "http://localhost:8080"
+
+# SIE serves the encoder as base + LoRA profile.
+# Base model registered in SIE:
+ENCODER_MODEL = "answerdotai/ModernBERT-base"
+# LoRA profile that activates sugiv/modernbert-us-stablecoin-encoder weights:
+ENCODER_PROFILE = "us-regulatory"
+# Together: ENCODER_MODEL + ENCODER_PROFILE = sugiv/modernbert-us-stablecoin-encoder
+
+PRUNER_MODEL = "sugiv/stablebridge-pruner-highlighter"
+
+TOP_K_RETRIEVE = 5 # Candidates from dense retrieval
+TOP_K_RERANK = 3 # Final results after reranking
+
+SAMPLE_QUERIES = [
+ "What reserve requirements apply to stablecoin issuers under the GENIUS Act?",
+ "What licensing is required to issue payment stablecoins in the United States?",
+ "How must stablecoin reserves be segregated from issuer operational funds?",
+ "What penalties exist for non-compliant stablecoin issuers?",
+ "Does the SEC consider payment stablecoins to be securities?",
+]
+
+
+# ── SIE Client ─────────────────────────────────────────────────────────
+
+class SIEClient:
+ """Minimal SIE client using urllib (no external dependencies)."""
+
+ def __init__(self, base_url: str):
+ self.base_url = base_url.rstrip("/")
+
+ def _post(self, path: str, body: dict, timeout: int = 120) -> dict:
+ data = json.dumps(body).encode()
+ req = urllib.request.Request(
+ f"{self.base_url}{path}",
+ data=data,
+ headers={
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+ },
+ )
+ try:
+ resp = urllib.request.urlopen(req, timeout=timeout)
+ return json.loads(resp.read())
+ except urllib.error.HTTPError as e:
+ error_body = e.read().decode()[:500]
+ print(f" ERROR {e.code}: {error_body}", file=sys.stderr)
+ return {"error": e.code, "detail": error_body}
+
+ def encode(
+ self, model: str, texts: list[str], profile: str | None = None
+ ) -> list[list[float]]:
+ """Encode texts into dense embeddings."""
+ body: dict[str, Any] = {"items": [{"text": t} for t in texts]}
+ if profile:
+ body["params"] = {"options": {"profile": profile}}
+ r = self._post(f"/v1/encode/{model}", body)
+ return [
+ item.get("dense", {}).get("values", [])
+ for item in r.get("items", [])
+ ]
+
+ def score(
+ self, model: str, query: str, texts: list[str]
+ ) -> list[dict]:
+ """Score query-document pairs. Returns list of {score, rank}."""
+ body = {
+ "query": {"text": query},
+ "items": [
+ {"id": f"candidate-{idx}", "text": text}
+ for idx, text in enumerate(texts)
+ ],
+ }
+ r = self._post(f"/v1/score/{model}", body)
+ return r.get("scores", [])
+
+ def extract(
+ self, model: str, texts: list[str], instruction: str | None = None
+ ) -> list[list[dict]]:
+ """Extract entities/highlights from texts. Returns entities per item."""
+ body: dict[str, Any] = {"items": [{"text": t} for t in texts]}
+ if instruction:
+ body["params"] = {"instruction": instruction}
+ r = self._post(f"/v1/extract/{model}", body)
+ return [
+ item.get("entities", [])
+ for item in r.get("items", [])
+ ]
+
+ def health(self) -> bool:
+ try:
+ req = urllib.request.Request(f"{self.base_url}/readyz")
+ resp = urllib.request.urlopen(req, timeout=5)
+ return resp.read().decode().strip() == "ok"
+ except Exception:
+ return False
+
+
+# ── Vector Operations ──────────────────────────────────────────────────
+
+def cosine_similarity(a: list[float], b: list[float]) -> float:
+ """Compute cosine similarity between two vectors."""
+ dot = sum(x * y for x, y in zip(a, b))
+ norm_a = math.sqrt(sum(x * x for x in a))
+ norm_b = math.sqrt(sum(x * x for x in b))
+ if norm_a == 0 or norm_b == 0:
+ return 0.0
+ return dot / (norm_a * norm_b)
+
+
+# ── Display Helpers ────────────────────────────────────────────────────
+
+def format_score(score: float) -> str:
+ if score >= 0.9:
+ return f"\033[92m{score:.4f}\033[0m" # Green
+ elif score >= 0.5:
+ return f"\033[93m{score:.4f}\033[0m" # Yellow
+ else:
+ return f"\033[91m{score:.4f}\033[0m" # Red
+
+
+def print_header(title: str, width: int = 70):
+ print(f"\n{'=' * width}")
+ print(f" {title}")
+ print(f"{'=' * width}")
+
+
+def print_step(step: int, name: str, detail: str = ""):
+ print(f"\n\033[1m[Step {step}]\033[0m {name}")
+ if detail:
+ print(f" {detail}")
+
+
+def print_entity(entity: dict, indent: int = 4):
+ label = entity.get("label", "unknown")
+ score = entity.get("score", 0)
+ text = entity.get("text", "")
+ prefix = " " * indent
+
+ if label == "summary":
+ print(f"{prefix}\033[90m[{label}] {text}\033[0m")
+ elif label == "highlight":
+ print(f"{prefix}\033[92m[{label}] score={score:.4f}\033[0m")
+ print(f"{prefix} \033[92m\"{text}\"\033[0m")
+ elif label == "kept":
+ print(f"{prefix}\033[93m[{label}] score={score:.4f}\033[0m")
+ print(f"{prefix} \"{text}\"")
+ elif label == "pruned":
+ print(f"{prefix}\033[91m[{label}] score={score:.4f}\033[0m")
+ print(f"{prefix} \033[90m\"{text[:80]}{'...' if len(text) > 80 else ''}\"\033[0m")
+
+
+# ── RAG Pipeline ───────────────────────────────────────────────────────
+
+def run_pipeline(
+ client: SIEClient,
+ query: str,
+ corpus: list[dict],
+ verbose: bool = True,
+):
+ """
+ Execute the full RAG pipeline:
+ 1. Encode query + corpus with domain LoRA
+ 2. Dense retrieval via cosine similarity
+ 3. Rerank with cross-encoder
+ 4. Extract highlights from top results
+ 5. Build compressed context
+ """
+ timings = {}
+
+ if verbose:
+ print_header("REGULATORY RAG PIPELINE")
+ print(f"\n Query: \"{query}\"")
+ print(f" Corpus: {len(corpus)} documents")
+ print(f" Encoder: sugiv/modernbert-us-stablecoin-encoder")
+ print(f" (SIE: {ENCODER_MODEL} + LoRA profile '{ENCODER_PROFILE}')")
+ print(f" Pruner: {PRUNER_MODEL}")
+
+ # ── Stage 1: Encode ──────────────────────────────────────────────
+
+ if verbose:
+ print_step(1, "Encode", f"Embedding query + {len(corpus)} docs with sugiv/modernbert-us-stablecoin-encoder LoRA")
+
+ t0 = time.perf_counter()
+
+ # Encode query
+ query_emb = client.encode(ENCODER_MODEL, [query], profile=ENCODER_PROFILE)[0]
+
+ # Encode corpus (batch)
+ corpus_texts = [doc["text"] for doc in corpus]
+ corpus_embs = client.encode(ENCODER_MODEL, corpus_texts, profile=ENCODER_PROFILE)
+
+ timings["encode_ms"] = round((time.perf_counter() - t0) * 1000, 1)
+
+ if verbose:
+ print(f" Embedding dim: {len(query_emb)}")
+ print(f" Time: {timings['encode_ms']:.0f}ms")
+
+ # ── Stage 2: Dense Retrieval ─────────────────────────────────────
+
+ if verbose:
+ print_step(2, "Retrieve", f"Top-{TOP_K_RETRIEVE} by cosine similarity")
+
+ t0 = time.perf_counter()
+
+ similarities = [
+ (i, cosine_similarity(query_emb, emb))
+ for i, emb in enumerate(corpus_embs)
+ ]
+ similarities.sort(key=lambda x: x[1], reverse=True)
+ top_k = similarities[:TOP_K_RETRIEVE]
+
+ timings["retrieve_ms"] = round((time.perf_counter() - t0) * 1000, 1)
+
+ if verbose:
+ for rank, (idx, sim) in enumerate(top_k, 1):
+ doc = corpus[idx]
+ print(f" #{rank} sim={sim:.4f} [{doc['id']}] {doc['title']}")
+
+ # ── Stage 3: Rerank ──────────────────────────────────────────────
+
+ if verbose:
+ print_step(3, "Rerank", f"Cross-encoder scoring {len(top_k)} candidates")
+
+ t0 = time.perf_counter()
+
+ candidate_texts = [corpus[idx]["text"] for idx, _ in top_k]
+ scores = client.score(PRUNER_MODEL, query, candidate_texts)
+
+ timings["rerank_ms"] = round((time.perf_counter() - t0) * 1000, 1)
+
+ score_by_candidate: dict[int, dict] = {}
+ for score in scores:
+ item_id = str(score.get("item_id", ""))
+ if not item_id.startswith("candidate-"):
+ continue
+ try:
+ candidate_idx = int(item_id.rsplit("-", 1)[1])
+ except ValueError:
+ continue
+ score_by_candidate[candidate_idx] = score
+
+ # Merge scores with retrieval results
+ reranked = []
+ for i, (orig_idx, sim) in enumerate(top_k):
+ score_val = score_by_candidate.get(i, {}).get("score", 0)
+ reranked.append({
+ "corpus_idx": orig_idx,
+ "doc": corpus[orig_idx],
+ "similarity": sim,
+ "rerank_score": score_val,
+ })
+
+ reranked.sort(key=lambda x: x["rerank_score"], reverse=True)
+
+ if verbose:
+ print(f" Time: {timings['rerank_ms']:.0f}ms")
+ for rank, r in enumerate(reranked, 1):
+ marker = " <<<" if rank <= TOP_K_RERANK else ""
+ print(
+ f" #{rank} rerank={format_score(r['rerank_score'])} "
+ f"sim={r['similarity']:.4f} [{r['doc']['id']}]{marker}"
+ )
+
+ # ── Stage 4: Extract Highlights ──────────────────────────────────
+
+ final = reranked[:TOP_K_RERANK]
+
+ if verbose:
+ print_step(4, "Extract", f"Highlighting top-{TOP_K_RERANK} results")
+
+ t0 = time.perf_counter()
+
+ final_texts = [r["doc"]["text"] for r in final]
+ all_entities = client.extract(PRUNER_MODEL, final_texts, instruction=query)
+
+ timings["extract_ms"] = round((time.perf_counter() - t0) * 1000, 1)
+
+ for i, entities in enumerate(all_entities):
+ final[i]["entities"] = entities
+
+ if verbose:
+ print(f" Time: {timings['extract_ms']:.0f}ms")
+ for i, r in enumerate(final):
+ print(f"\n Document: [{r['doc']['id']}] {r['doc']['title']}")
+ for entity in r["entities"]:
+ print_entity(entity, indent=4)
+
+ # ── Stage 5: Build Compressed Context ────────────────────────────
+
+ if verbose:
+ print_step(5, "Compress", "Building LLM context from highlights")
+
+ context_parts = []
+ for r in final:
+ kept_texts = []
+ for entity in r.get("entities", []):
+ if entity.get("label") in ("highlight", "kept"):
+ kept_texts.append(entity["text"])
+
+ if kept_texts:
+ source = f"[{r['doc']['id']}] {r['doc']['title']}"
+ context_parts.append(f"Source: {source}\n" + " ".join(kept_texts))
+ else:
+ # If no highlights, include the full text (fallback)
+ source = f"[{r['doc']['id']}] {r['doc']['title']}"
+ context_parts.append(f"Source: {source}\n{r['doc']['text']}")
+
+ compressed_context = "\n\n---\n\n".join(context_parts)
+
+ original_chars = sum(len(r["doc"]["text"]) for r in final)
+ compressed_chars = len(compressed_context)
+ compression_pct = round(100 * (1 - compressed_chars / max(original_chars, 1)), 1)
+
+ timings["total_ms"] = round(
+ timings["encode_ms"] + timings["retrieve_ms"]
+ + timings["rerank_ms"] + timings["extract_ms"],
+ 1,
+ )
+
+ if verbose:
+ print(f" Original: {original_chars} chars")
+ print(f" Compressed: {compressed_chars} chars")
+ print(f" Reduction: {compression_pct}%")
+
+ print_header("COMPRESSED CONTEXT FOR LLM")
+ print(compressed_context)
+
+ print_header("PIPELINE SUMMARY")
+ print(f" Query: \"{query[:60]}{'...' if len(query) > 60 else ''}\"")
+ print(f" Corpus size: {len(corpus)} documents")
+ print(f" Retrieved: {TOP_K_RETRIEVE} candidates")
+ print(f" Reranked to: {TOP_K_RERANK} results")
+ print(f" Compression: {compression_pct}%")
+ print()
+ print(f" Latency breakdown:")
+ print(f" Encode: {timings['encode_ms']:>8.1f}ms")
+ print(f" Retrieve: {timings['retrieve_ms']:>8.1f}ms (in-memory cosine)")
+ print(f" Rerank: {timings['rerank_ms']:>8.1f}ms (SIE cross-encoder)")
+ print(f" Extract: {timings['extract_ms']:>8.1f}ms (SIE pruner)")
+ print(f" ─────────────────────────")
+ print(f" Total: {timings['total_ms']:>8.1f}ms")
+ print()
+
+ return {
+ "query": query,
+ "results": [
+ {
+ "id": r["doc"]["id"],
+ "title": r["doc"]["title"],
+ "rerank_score": r["rerank_score"],
+ "similarity": r["similarity"],
+ "entities": r.get("entities", []),
+ }
+ for r in final
+ ],
+ "compressed_context": compressed_context,
+ "compression_pct": compression_pct,
+ "timings": timings,
+ }
+
+
+# ── Main ───────────────────────────────────────────────────────────────
+
+def main():
+ parser = argparse.ArgumentParser(
+ description="Regulatory RAG Pipeline powered by SIE"
+ )
+ parser.add_argument(
+ "--url", default=DEFAULT_SIE_URL,
+ help=f"SIE server URL (default: {DEFAULT_SIE_URL})"
+ )
+ parser.add_argument(
+ "--query", default=None,
+ help="Query to run (default: runs all sample queries)"
+ )
+ parser.add_argument(
+ "--corpus", default=None,
+ help="Path to corpus JSON (default: sample_corpus.json)"
+ )
+ parser.add_argument(
+ "--output", default=None,
+ help="Save results to JSON file"
+ )
+ parser.add_argument(
+ "--quiet", action="store_true",
+ help="Minimal output"
+ )
+ args = parser.parse_args()
+
+ # Initialize client
+ client = SIEClient(args.url)
+
+ # Health check
+ if not client.health():
+ print(f"ERROR: SIE server not reachable at {args.url}")
+ print("Start the server with: sie-server serve")
+ sys.exit(1)
+
+ # Load corpus
+ if args.corpus:
+ corpus_path = Path(args.corpus)
+ else:
+ corpus_path = Path(__file__).parent / "sample_corpus.json"
+
+ if not corpus_path.exists():
+ print(f"ERROR: Corpus file not found: {corpus_path}")
+ sys.exit(1)
+
+ with open(corpus_path) as f:
+ corpus = json.load(f)
+
+ print(f"SIE server: {args.url}")
+ print(f"Corpus: {len(corpus)} documents from {corpus_path.name}")
+
+ # Run queries
+ queries = [args.query] if args.query else SAMPLE_QUERIES
+ all_results = []
+
+ for query in queries:
+ result = run_pipeline(
+ client, query, corpus, verbose=not args.quiet
+ )
+ all_results.append(result)
+
+ # Save results
+ if args.output:
+ with open(args.output, "w") as f:
+ json.dump(all_results, f, indent=2)
+ print(f"\nResults saved to {args.output}")
+
+ # Summary
+ if len(all_results) > 1:
+ print_header("ALL QUERIES SUMMARY")
+ avg_total = sum(r["timings"]["total_ms"] for r in all_results) / len(all_results)
+ avg_compress = sum(r["compression_pct"] for r in all_results) / len(all_results)
+ print(f" Queries run: {len(all_results)}")
+ print(f" Avg latency: {avg_total:.1f}ms")
+ print(f" Avg compression: {avg_compress:.1f}%")
+
+
+if __name__ == "__main__":
+ main()
diff --git a/examples/regulatory-rag/sample_corpus.json b/examples/regulatory-rag/sample_corpus.json
new file mode 100644
index 000000000..7fa698089
--- /dev/null
+++ b/examples/regulatory-rag/sample_corpus.json
@@ -0,0 +1,86 @@
+[
+ {
+ "id": "genius-act-s4-reserves",
+ "title": "GENIUS Act — Section 4: Reserve Requirements",
+ "text": "Section 4. Reserve Requirements. (a) Each permitted payment stablecoin issuer shall maintain reserves consisting of: (1) United States coins and currency; (2) funds held as demand deposits at insured depository institutions; (3) Treasury bills with a maturity of 93 days or less; (4) repurchase agreements backed by Treasury bills. (b) The aggregate value of reserves shall be not less than the outstanding amount of payment stablecoins issued.",
+ "jurisdiction": "US",
+ "source": "congress.gov"
+ },
+ {
+ "id": "genius-act-s2-definitions",
+ "title": "GENIUS Act — Section 2: Definitions",
+ "text": "Section 2. Definitions. (1) The term 'payment stablecoin' means a digital asset that is designed to be used as a means of payment and is pegged to a fixed monetary value denominated in the United States dollar. (2) The term 'permitted payment stablecoin issuer' means a person that has been granted a charter or license pursuant to this Act.",
+ "jurisdiction": "US",
+ "source": "congress.gov"
+ },
+ {
+ "id": "genius-act-s5-licensing",
+ "title": "GENIUS Act — Section 5: Licensing",
+ "text": "Section 5. Licensing. (a) No person may issue a payment stablecoin in the United States unless such person: (1) is chartered as a national payment stablecoin issuer under section 6; (2) is licensed as a State payment stablecoin issuer under section 7; or (3) is a subsidiary of an insured depository institution that has received approval under section 8.",
+ "jurisdiction": "US",
+ "source": "congress.gov"
+ },
+ {
+ "id": "genius-act-s9-disclosures",
+ "title": "GENIUS Act — Section 9: Disclosures",
+ "text": "Section 9. Disclosures. (a) Each permitted payment stablecoin issuer shall disclose monthly: (1) the current amount of payment stablecoins outstanding; (2) the composition and value of reserves maintained; (3) any material changes in reserve composition. (b) The disclosures required under this section shall be made publicly available on the issuer's website.",
+ "jurisdiction": "US",
+ "source": "congress.gov"
+ },
+ {
+ "id": "mica-art48-reserves",
+ "title": "MiCA — Article 48: Reserve of Assets",
+ "text": "Article 48 MiCA. Reserve of assets. 1. Issuers of asset-referenced tokens shall constitute and at all times maintain a reserve of assets. The reserve of assets shall be composed and managed such that: (a) the risks associated with the assets referenced by the asset-referenced tokens are covered; (b) the liquidity risks associated with the permanent redemption rights of the holders are addressed.",
+ "jurisdiction": "EU",
+ "source": "eur-lex.europa.eu"
+ },
+ {
+ "id": "genius-act-s12-enforcement",
+ "title": "GENIUS Act — Section 12: Enforcement",
+ "text": "Section 12. Enforcement. (a) Civil penalties: Any permitted payment stablecoin issuer that violates any provision of this Act shall be subject to a civil penalty of not more than $1,000,000 for each day during which such violation continues. (b) Criminal penalties: Any person who willfully violates this Act shall be fined not more than $5,000,000 or imprisoned for not more than 20 years, or both.",
+ "jurisdiction": "US",
+ "source": "congress.gov"
+ },
+ {
+ "id": "genius-act-s6-occ",
+ "title": "GENIUS Act — Section 6: Federal Charter",
+ "text": "Section 6. Federal Charter. (a) The Comptroller of the Currency may charter a national payment stablecoin issuer under this section. (b) The OCC shall supervise and examine each national payment stablecoin issuer in the same manner as the OCC supervises national banks. (c) National payment stablecoin issuers shall be subject to safety and soundness standards established by the OCC.",
+ "jurisdiction": "US",
+ "source": "congress.gov"
+ },
+ {
+ "id": "genius-act-s10-segregation",
+ "title": "GENIUS Act — Section 10: Segregation",
+ "text": "Section 10. Segregation. (a) Reserves maintained by a permitted payment stablecoin issuer shall be held in accounts that are: (1) separate from the issuer's operational funds; (2) clearly identified as reserve accounts; (3) held at insured depository institutions or with a Federal Reserve Bank. (b) Reserves shall not be commingled with any other assets of the issuer.",
+ "jurisdiction": "US",
+ "source": "congress.gov"
+ },
+ {
+ "id": "genius-act-s11-reporting",
+ "title": "GENIUS Act — Section 11: Reporting",
+ "text": "Section 11. Reporting. (a) Each permitted payment stablecoin issuer shall file quarterly reports with the appropriate Federal or State regulator. (b) Reports shall include: (1) financial statements prepared in accordance with GAAP; (2) attestation reports on reserves by a registered public accounting firm; (3) a description of any material changes in the issuer's business or risk profile.",
+ "jurisdiction": "US",
+ "source": "congress.gov"
+ },
+ {
+ "id": "genius-act-s13-consumer-protection",
+ "title": "GENIUS Act — Section 13: Consumer Protection",
+ "text": "Section 13. Consumer Protection. (a) Each holder of a payment stablecoin shall have the right to redeem such stablecoin at par value within one business day. (b) Issuers shall establish clear procedures for handling customer complaints. (c) The issuer shall maintain insurance or other protections against loss of customer funds due to theft, fraud, or operational failure.",
+ "jurisdiction": "US",
+ "source": "congress.gov"
+ },
+ {
+ "id": "sec-framework-2025",
+ "title": "SEC Staff Statement on Stablecoin Classification",
+ "text": "Certain stablecoins that are designed primarily as a means of payment and transmission, are backed by reserves consisting of low-risk and liquid assets, and can be redeemed at a one-to-one ratio with the U.S. dollar, do not need to be registered as securities under the federal securities laws. This position applies to stablecoins that do not offer or promise yields, returns, or other financial benefits derived from the pooled reserves.",
+ "jurisdiction": "US",
+ "source": "sec.gov"
+ },
+ {
+ "id": "fed-supervisory-letter-2025",
+ "title": "Federal Reserve SR 25-4: Supervisory Expectations for Stablecoin Activities",
+ "text": "State member banks engaging in stablecoin-related activities are expected to have robust risk management frameworks that address operational risk, compliance risk, and liquidity risk. The institution must ensure that reserve assets are custodied in a manner that protects them from the claims of the institution's creditors in the event of insolvency.",
+ "jurisdiction": "US",
+ "source": "federalreserve.gov"
+ }
+]
diff --git a/examples/regulatory-rag/server-plugin/Dockerfile b/examples/regulatory-rag/server-plugin/Dockerfile
new file mode 100644
index 000000000..49010f334
--- /dev/null
+++ b/examples/regulatory-rag/server-plugin/Dockerfile
@@ -0,0 +1,40 @@
+# Extends the public sie-server image with the regulatory-rag example's
+# custom code:
+# - LoRA routing patch (maps options["lora_id"] onto options["lora"] so
+# named LoRA profiles actually activate at inference).
+# - Custom Stablebridge pruner/highlighter adapter under
+# sie_server.adapters.stablebridge_pruner.
+# - Two extra model YAMLs:
+# * answerdotai/ModernBERT-base with a "us-regulatory" LoRA profile
+# that activates sugiv/modernbert-us-stablecoin-encoder weights.
+# * sugiv/stablebridge-pruner-highlighter served by the custom adapter.
+#
+# Build: docker build -t sie-regulatory ./server-plugin
+# Run: docker run --platform linux/amd64 --gpus all -p 8080:8080 sie-regulatory
+# (--platform flag only needed on Apple Silicon; linux/amd64 runs under Rosetta)
+#
+# The base image already has sie-server installed and runnable, so this
+# Dockerfile just layers the customization on top.
+
+ARG SIE_TAG=latest-cpu-default
+FROM ghcr.io/superlinked/sie-server:${SIE_TAG}
+
+USER root
+
+# patch is needed to apply the LoRA routing fix; it is not in the base image.
+RUN apt-get update \
+ && apt-get install -y --no-install-recommends patch \
+ && rm -rf /var/lib/apt/lists/*
+
+# Apply the LoRA routing fix in place against the installed encode module.
+COPY encode_lora_routing.patch /tmp/encode_lora_routing.patch
+RUN cd / && patch -p0 /app/src/sie_server/api/encode.py < /tmp/encode_lora_routing.patch
+
+# Drop in the custom adapter.
+COPY adapters/stablebridge_pruner /app/src/sie_server/adapters/stablebridge_pruner
+
+# Register the custom model configs.
+COPY models/*.yaml /app/models/
+
+# Base image already exposes 8080 and sets the sie-server CLI as ENTRYPOINT.
+CMD ["serve", "--port", "8080"]
diff --git a/examples/regulatory-rag/server-plugin/README.md b/examples/regulatory-rag/server-plugin/README.md
new file mode 100644
index 000000000..a17e6444c
--- /dev/null
+++ b/examples/regulatory-rag/server-plugin/README.md
@@ -0,0 +1,50 @@
+# Server Plugin: Extending SIE with a Custom Adapter + LoRA
+
+Everything the example's pipeline needs on the server side, packaged
+as a thin extension you bake into a custom `sie-server` image. Build
+once, run anywhere the parent `sie-server` runs.
+
+## What's in here
+
+| File | Role |
+|------|------|
+| `Dockerfile` | Builds a patched `sie-server` image with everything below applied. |
+| `encode_lora_routing.patch` | 4-line server patch that maps `options["lora_id"]` onto `options["lora"]` so named LoRA profiles actually reach the worker batcher at inference time. |
+| `adapters/stablebridge_pruner/__init__.py` | Custom `ModelAdapter` for unified reranking + token-level context pruning. 659 lines of production-ready Python. Wraps a frozen `BAAI/bge-reranker-v2-m3` with a trained `PruningHead` MLP (1024 → 512 → 1) and exposes both `score()` and `extract()` from one forward pass. |
+| `models/answerdotai__ModernBERT-base.yaml` | Model config with a `us-regulatory` profile that activates `sugiv/modernbert-us-stablecoin-encoder` (a LoRA fine-tune) at request time. |
+| `models/sugiv__stablebridge-pruner-highlighter.yaml` | Model config that wires the Stablebridge adapter up to `sie_id: sugiv/stablebridge-pruner-highlighter`, with `default` / `aggressive` / `conservative` pruning profiles. |
+
+## Build + run
+
+```bash
+# From examples/regulatory-rag/
+# GPU (recommended):
+docker build -t sie-regulatory --build-arg SIE_TAG=latest-cuda12-default ./server-plugin
+docker run --gpus all -p 8080:8080 sie-regulatory
+
+# CPU (slow but works for the pipeline's small corpus):
+docker build -t sie-regulatory --build-arg SIE_TAG=latest-cpu-default ./server-plugin
+docker run -p 8080:8080 sie-regulatory
+```
+
+Then from the parent directory:
+
+```bash
+python rag_pipeline.py
+```
+
+## What this teaches
+
+SIE is an inference **cluster**, not a closed box. Everything in this
+folder is code you could write for your own domain:
+
+- A **server patch** that adjusts routing for a feature not yet shipped upstream.
+- A **custom adapter** that wraps a frozen base model with a trained head to add a new primitive (here: token-level pruning under `extract()`).
+- A **LoRA profile** registered in a model YAML so domain-adapted weights hot-load at request time without a separate deployment.
+- Two new model IDs that the rest of the stack (SDK, router, autoscaler, monitoring) picks up automatically because they're registered the same way as any first-party SIE model.
+
+## Version pinning
+
+The `Dockerfile` accepts `SIE_TAG` for reproducibility. Pin that build
+arg to the CPU or CUDA tag you want to publish against, then verify the
+patch still applies cleanly when you move to a newer upstream SIE image.
diff --git a/examples/regulatory-rag/server-plugin/adapters/stablebridge_pruner/__init__.py b/examples/regulatory-rag/server-plugin/adapters/stablebridge_pruner/__init__.py
new file mode 100644
index 000000000..13026bdde
--- /dev/null
+++ b/examples/regulatory-rag/server-plugin/adapters/stablebridge_pruner/__init__.py
@@ -0,0 +1,659 @@
+"""Stablebridge Pruner-Highlighter adapter for SIE.
+
+Custom adapter that wraps a frozen cross-encoder (BAAI/bge-reranker-v2-m3)
+with a trained PruningHead MLP to produce both reranking scores AND
+token-level pruning/highlighting probabilities in a single forward pass.
+
+Architecture:
+ Input: [BOS] query [SEP] passage [SEP]
+ |
+ BGE-reranker-v2-m3 (FROZEN)
+ | |
+ [BOS] hidden state Token hidden states
+ | |
+ Rerank score PruningHead MLP
+ (from classifier) (512-dim intermediate)
+ |
+ Token keep probabilities
+ [0.0 - 1.0]
+
+The adapter supports both score() and score_pairs() primitives.
+Score responses are extended with pruning metadata via the ExtractOutput.
+
+See: SOW - SIE Beta Testing - Stablebridge Integration.md
+"""
+
+from __future__ import annotations
+
+import gc
+import logging
+from pathlib import Path
+from typing import Any, Literal
+
+import numpy as np
+import torch
+import torch.nn as nn
+from transformers import AutoModelForSequenceClassification, AutoTokenizer
+
+from sie_server.adapters.base import ModelAdapter, ModelCapabilities, ModelDims
+from sie_server.core.inference_output import ExtractOutput, ScoreOutput
+from sie_server.core.preprocessor import CharCountPreprocessor
+from sie_server.types.inputs import Item
+
+logger = logging.getLogger(__name__)
+
+# Type aliases
+ComputePrecision = Literal["float16", "bfloat16", "float32"]
+
+# Error messages
+_ERR_NOT_LOADED = "Model not loaded. Call load() first."
+_ERR_REQUIRES_TEXT = "StablebridgePrunerAdapter requires text input"
+
+# Default pruning thresholds (from training config)
+DEFAULT_PRUNE_THRESHOLD = 0.6
+DEFAULT_HIGHLIGHT_THRESHOLD = 0.9
+
+
+class PruningHead(nn.Module):
+ """MLP head that predicts per-token keep/drop probabilities.
+
+ Trained on top of frozen encoder hidden states. Only this head's
+ weights come from our trained checkpoint; the encoder is not modified.
+
+ Architecture:
+ Linear(hidden_size, intermediate_size) → GELU → Dropout → Linear(intermediate_size, 1) → Sigmoid
+ """
+
+ def __init__(
+ self,
+ hidden_size: int = 1024,
+ intermediate_size: int = 512,
+ dropout: float = 0.2,
+ ) -> None:
+ super().__init__()
+ self.classifier = nn.Sequential(
+ nn.Linear(hidden_size, intermediate_size),
+ nn.GELU(),
+ nn.Dropout(dropout),
+ nn.Linear(intermediate_size, 1),
+ )
+
+ def forward(
+ self,
+ hidden_states: torch.Tensor,
+ attention_mask: torch.Tensor | None = None,
+ ) -> torch.Tensor:
+ """Predict keep probabilities for each token.
+
+ Args:
+ hidden_states: [batch, seq_len, hidden_size]
+ attention_mask: [batch, seq_len] - 1 for real tokens, 0 for padding
+
+ Returns:
+ [batch, seq_len] probabilities in [0, 1]
+ """
+ logits = self.classifier(hidden_states).squeeze(-1) # [batch, seq_len]
+ probs = torch.sigmoid(logits)
+ if attention_mask is not None:
+ probs = probs * attention_mask.float()
+ return probs
+
+
+class StablebridgePrunerAdapter(ModelAdapter):
+ """Custom SIE adapter for unified reranking + token-level pruning.
+
+ This adapter loads:
+ 1. Frozen BAAI/bge-reranker-v2-m3 with output_hidden_states=True
+ 2. Trained PruningHead MLP weights from HuggingFace
+
+ For each (query, document) pair, it returns:
+ - Rerank score (from the base model's classification head)
+ - Token-level keep probabilities (from PruningHead)
+
+ The pruning probabilities are returned as metadata in the score response,
+ enabling downstream consumers to prune/highlight text.
+ """
+
+ def __init__(
+ self,
+ model_name_or_path: str | Path = "BAAI/bge-reranker-v2-m3",
+ *,
+ pruning_head_path: str = "sugiv/stablebridge-pruner-highlighter",
+ pruning_head_file: str = "best.pt",
+ hidden_size: int = 1024,
+ intermediate_size: int = 512,
+ dropout: float = 0.2,
+ max_seq_length: int = 8192,
+ compute_precision: ComputePrecision = "bfloat16",
+ prune_threshold: float = DEFAULT_PRUNE_THRESHOLD,
+ highlight_threshold: float = DEFAULT_HIGHLIGHT_THRESHOLD,
+ trust_remote_code: bool = False,
+ **kwargs: Any,
+ ) -> None:
+ """Initialize the adapter.
+
+ Args:
+ model_name_or_path: HuggingFace ID for the base cross-encoder.
+ pruning_head_path: HuggingFace repo or local path for PruningHead weights.
+ pruning_head_file: Filename of the checkpoint within pruning_head_path.
+ hidden_size: Encoder hidden dimension (1024 for BGE-reranker-v2-m3).
+ intermediate_size: PruningHead intermediate layer size.
+ dropout: PruningHead dropout rate.
+ max_seq_length: Maximum sequence length for tokenization.
+ compute_precision: Model compute precision.
+ prune_threshold: Token probability threshold for pruning decisions.
+ highlight_threshold: Token probability threshold for highlighting.
+ trust_remote_code: Whether to trust remote code.
+ """
+ _ = kwargs # Accept extra args for compatibility
+ self._model_name_or_path = str(model_name_or_path)
+ self._pruning_head_path = pruning_head_path
+ self._pruning_head_file = pruning_head_file
+ self._hidden_size = hidden_size
+ self._intermediate_size = intermediate_size
+ self._dropout = dropout
+ self._max_seq_length = max_seq_length
+ self._compute_precision = compute_precision
+ self._prune_threshold = prune_threshold
+ self._highlight_threshold = highlight_threshold
+ self._trust_remote_code = trust_remote_code
+
+ self._model: AutoModelForSequenceClassification | None = None
+ self._pruning_head: PruningHead | None = None
+ self._tokenizer: AutoTokenizer | None = None
+ self._device: str | None = None
+
+ @property
+ def capabilities(self) -> ModelCapabilities:
+ """Return model capabilities — score + extract."""
+ return ModelCapabilities(
+ inputs=["text"],
+ outputs=["score", "json"],
+ )
+
+ @property
+ def dims(self) -> ModelDims:
+ """Return dims (cross-encoder, no embeddings)."""
+ return ModelDims()
+
+ def load(self, device: str) -> None:
+ """Load the base model and pruning head onto device.
+
+ Args:
+ device: Target device (e.g., "cuda:0").
+ """
+ self._device = device
+
+ # Resolve dtype
+ dtype_map = {
+ "float16": torch.float16,
+ "bfloat16": torch.bfloat16,
+ "float32": torch.float32,
+ }
+ dtype = dtype_map.get(self._compute_precision, torch.bfloat16)
+
+ logger.info(
+ "Loading StablebridgePruner: base=%s, head=%s, device=%s, dtype=%s",
+ self._model_name_or_path,
+ self._pruning_head_path,
+ device,
+ dtype,
+ )
+
+ # 1. Load tokenizer
+ self._tokenizer = AutoTokenizer.from_pretrained(
+ self._model_name_or_path,
+ trust_remote_code=self._trust_remote_code,
+ )
+
+ # 2. Load base cross-encoder with hidden states enabled
+ self._model = AutoModelForSequenceClassification.from_pretrained(
+ self._model_name_or_path,
+ torch_dtype=dtype,
+ trust_remote_code=self._trust_remote_code,
+ output_hidden_states=True,
+ )
+ self._model.to(device)
+ self._model.eval()
+
+ # 3. Load PruningHead MLP
+ self._pruning_head = PruningHead(
+ hidden_size=self._hidden_size,
+ intermediate_size=self._intermediate_size,
+ dropout=self._dropout,
+ )
+ self._load_pruning_head_weights(dtype)
+ self._pruning_head.to(device)
+ self._pruning_head.eval()
+
+ logger.info("StablebridgePruner loaded successfully")
+
+ def _load_pruning_head_weights(self, dtype: torch.dtype) -> None:
+ """Load PruningHead weights from checkpoint.
+
+ Supports both HuggingFace Hub paths and local paths.
+ The checkpoint is expected to contain the PruningHead state_dict
+ (possibly nested under 'model_state_dict' or 'pruning_head').
+ """
+ # Resolve path: try huggingface_hub first, then local
+ checkpoint_path = self._resolve_checkpoint_path()
+
+ logger.info("Loading PruningHead weights from: %s", checkpoint_path)
+ ckpt = torch.load(checkpoint_path, map_location="cpu", weights_only=True)
+
+ # Extract PruningHead state dict from various checkpoint formats
+ if isinstance(ckpt, dict):
+ if "pruning_head" in ckpt:
+ state_dict = ckpt["pruning_head"]
+ elif "model_state_dict" in ckpt:
+ # Filter to only pruning head keys
+ state_dict = {}
+ for k, v in ckpt["model_state_dict"].items():
+ if k.startswith("pruning_head."):
+ state_dict[k.replace("pruning_head.", "")] = v
+ elif k.startswith("classifier."):
+ state_dict[k] = v
+ if not state_dict:
+ state_dict = ckpt["model_state_dict"]
+ elif "state_dict" in ckpt:
+ state_dict = ckpt["state_dict"]
+ else:
+ # Try loading directly — the dict IS the state_dict
+ state_dict = ckpt
+ else:
+ msg = f"Unexpected checkpoint type: {type(ckpt)}"
+ raise ValueError(msg)
+
+ self._pruning_head.load_state_dict(state_dict, strict=False)
+ self._pruning_head.to(dtype)
+ logger.info(
+ "PruningHead loaded: %d parameters",
+ sum(p.numel() for p in self._pruning_head.parameters()),
+ )
+
+ def _resolve_checkpoint_path(self) -> str:
+ """Resolve PruningHead checkpoint to a local file path."""
+ local_path = Path(self._pruning_head_path)
+ if local_path.is_file():
+ return str(local_path)
+ if (local_path / self._pruning_head_file).is_file():
+ return str(local_path / self._pruning_head_file)
+
+ # Try HuggingFace Hub
+ try:
+ from huggingface_hub import hf_hub_download
+
+ path = hf_hub_download(
+ repo_id=self._pruning_head_path,
+ filename=self._pruning_head_file,
+ )
+ return path
+ except Exception as e:
+ msg = (
+ f"Could not find PruningHead weights at '{self._pruning_head_path}' "
+ f"(file: '{self._pruning_head_file}'): {e}"
+ )
+ raise FileNotFoundError(msg) from e
+
+ def unload(self) -> None:
+ """Unload models and release GPU memory."""
+ device = self._device
+
+ if self._model is not None:
+ del self._model
+ self._model = None
+ if self._pruning_head is not None:
+ del self._pruning_head
+ self._pruning_head = None
+ if self._tokenizer is not None:
+ del self._tokenizer
+ self._tokenizer = None
+
+ self._device = None
+
+ gc.collect()
+ if device and device.startswith("cuda"):
+ torch.cuda.empty_cache()
+ elif device == "mps":
+ torch.mps.empty_cache()
+
+ def score(
+ self,
+ query: Item,
+ items: list[Item],
+ *,
+ instruction: str | None = None,
+ options: dict[str, Any] | None = None,
+ ) -> list[float]:
+ """Score items against query, returning rerank scores.
+
+ This implements the standard SIE score() interface. For pruning
+ metadata, use extract() instead.
+
+ Args:
+ query: Query item with text.
+ items: Document items to score.
+ instruction: Optional instruction prefix.
+ options: Runtime options.
+
+ Returns:
+ List of rerank scores (higher = more relevant).
+ """
+ if self._model is None:
+ raise RuntimeError(_ERR_NOT_LOADED)
+
+ query_text = self._extract_text(query)
+ if instruction:
+ query_text = f"{instruction} {query_text}"
+
+ # Tokenize (query, doc) pairs
+ pairs = [(query_text, self._extract_text(item)) for item in items]
+ inputs = self._tokenize_pairs(pairs)
+
+ # Forward pass — only need classification scores
+ with torch.inference_mode():
+ outputs = self._model(**inputs)
+ logits = outputs.logits.squeeze(-1) # [batch]
+ scores = torch.sigmoid(logits)
+
+ return [float(s) for s in scores.cpu()]
+
+ def score_pairs(
+ self,
+ queries: list[Item],
+ docs: list[Item],
+ *,
+ instruction: str | None = None,
+ options: dict[str, Any] | None = None,
+ ) -> ScoreOutput:
+ """Score (query, doc) pairs in a batch.
+
+ Batched version for cross-request batching.
+
+ Args:
+ queries: Query items.
+ docs: Document items.
+ instruction: Optional instruction.
+ options: Runtime options.
+
+ Returns:
+ ScoreOutput with batched scores.
+ """
+ if self._model is None:
+ raise RuntimeError(_ERR_NOT_LOADED)
+
+ pairs = []
+ for query, doc in zip(queries, docs, strict=True):
+ query_text = self._extract_text(query)
+ if instruction:
+ query_text = f"{instruction} {query_text}"
+ pairs.append((query_text, self._extract_text(doc)))
+
+ inputs = self._tokenize_pairs(pairs)
+
+ with torch.inference_mode():
+ outputs = self._model(**inputs)
+ logits = outputs.logits.squeeze(-1)
+ scores = torch.sigmoid(logits)
+
+ return ScoreOutput(scores=scores.float().cpu().numpy())
+
+ def extract(
+ self,
+ items: list[Item],
+ *,
+ labels: list[str] | None = None,
+ output_schema: dict[str, Any] | None = None,
+ instruction: str | None = None,
+ options: dict[str, Any] | None = None,
+ prepared_items: list[Any] | None = None,
+ ) -> ExtractOutput:
+ """Extract pruning spans for (query, document) pairs.
+
+ Uses the instruction parameter as the query. Each document (item) is
+ paired with the query, run through the frozen cross-encoder + PruningHead,
+ and the results are returned as span-level entities:
+
+ Entity labels:
+ "kept" — text span kept by the pruner (prob >= prune_threshold)
+ "highlight" — high-confidence span (prob >= highlight_threshold)
+ "pruned" — text span removed by the pruner (prob < prune_threshold)
+ "summary" — one per document with rerank score and compression stats
+
+ Each span entity has start/end character offsets into the original text.
+ The score field contains the average token probability for that span.
+
+ Options:
+ prune_threshold: Override default pruning threshold (0.6)
+ highlight_threshold: Override default highlighting threshold (0.9)
+
+ Returns:
+ ExtractOutput with Entity spans per item.
+ """
+ if self._model is None or self._pruning_head is None:
+ raise RuntimeError(_ERR_NOT_LOADED)
+
+ opts = options or {}
+ query_text = instruction or ""
+ prune_threshold = opts.get("prune_threshold", self._prune_threshold)
+ highlight_threshold = opts.get("highlight_threshold", self._highlight_threshold)
+
+ # Build pairs: (query, doc) for each item
+ doc_texts = [self._extract_text(item) for item in items]
+ pairs = [(query_text, doc_text) for doc_text in doc_texts]
+ inputs = self._tokenize_pairs(pairs)
+
+ with torch.inference_mode():
+ # Forward through base model with hidden states
+ outputs = self._model(**inputs, output_hidden_states=True)
+
+ # 1. Rerank scores from classification head
+ logits = outputs.logits.squeeze(-1)
+ rerank_scores = torch.sigmoid(logits)
+
+ # 2. Token-level pruning from last hidden state
+ last_hidden = outputs.hidden_states[-1] # [batch, seq_len, hidden_size]
+ attention_mask = inputs["attention_mask"]
+ token_probs = self._pruning_head(last_hidden, attention_mask)
+
+ from sie_server.types.responses import Entity
+
+ all_entities: list[list[Entity]] = []
+
+ for i in range(len(items)):
+ entities: list[Entity] = []
+ doc_text = doc_texts[i]
+ item_probs = token_probs[i].cpu().numpy()
+ item_mask = attention_mask[i].cpu().numpy().astype(bool)
+ input_ids = inputs["input_ids"][i].cpu().tolist()
+
+ # Find where the passage tokens start (skip [BOS] query [SEP])
+ passage_start_idx = self._find_passage_start(
+ inputs["input_ids"][i]
+ )
+
+ # Get passage token IDs, probs, and decode to find character offsets
+ passage_ids = input_ids[passage_start_idx:]
+ passage_probs = item_probs[passage_start_idx:]
+ passage_mask = item_mask[passage_start_idx:]
+
+ # Decode tokens to spans with character offsets
+ spans = self._tokens_to_char_spans(
+ passage_ids, passage_probs, passage_mask, doc_text
+ )
+
+ # Group consecutive tokens into contiguous spans by label
+ kept_count = 0
+ total_count = 0
+ for span_text, char_start, char_end, avg_prob in spans:
+ total_count += 1
+ if avg_prob >= highlight_threshold:
+ label = "highlight"
+ kept_count += 1
+ elif avg_prob >= prune_threshold:
+ label = "kept"
+ kept_count += 1
+ else:
+ label = "pruned"
+
+ entities.append(
+ Entity(
+ text=span_text,
+ label=label,
+ score=float(avg_prob),
+ start=char_start,
+ end=char_end,
+ )
+ )
+
+ # Add summary entity (always first)
+ compression = 1.0 - (kept_count / max(total_count, 1))
+ summary = Entity(
+ text=f"rerank={float(rerank_scores[i].cpu()):.4f} "
+ f"compression={compression:.2%} "
+ f"kept={kept_count}/{total_count}",
+ label="summary",
+ score=float(rerank_scores[i].cpu()),
+ )
+ entities.insert(0, summary)
+
+ all_entities.append(entities)
+
+ return ExtractOutput(entities=all_entities)
+
+ def _tokens_to_char_spans(
+ self,
+ token_ids: list[int],
+ token_probs: np.ndarray,
+ token_mask: np.ndarray,
+ original_text: str,
+ ) -> list[tuple[str, int, int, float]]:
+ """Convert tokens + probabilities to character-level spans.
+
+ Groups consecutive tokens with the same classification (kept/pruned)
+ into contiguous spans with character offsets into the original text.
+
+ Returns:
+ List of (span_text, char_start, char_end, avg_probability) tuples.
+ """
+ if not token_ids:
+ return []
+
+ # Use tokenizer's offset mapping for precise character alignment
+ # Re-tokenize just the passage to get offset_mapping
+ # (offset_mapping from pair encoding is unreliable for passage-only offsets)
+ passage_encoding = self._tokenizer(
+ original_text,
+ return_offsets_mapping=True,
+ max_length=self._max_seq_length,
+ truncation=True,
+ add_special_tokens=False,
+ )
+ offset_mapping = passage_encoding.get("offset_mapping", [])
+
+ # If offset mapping is shorter than our tokens, pad with estimates
+ while len(offset_mapping) < len(token_ids):
+ offset_mapping.append((0, 0))
+
+ # Group consecutive tokens by classification
+ spans: list[tuple[str, int, int, float]] = []
+ current_start: int | None = None
+ current_end: int | None = None
+ current_probs: list[float] = []
+
+ for j, (tok_id, prob, mask) in enumerate(
+ zip(token_ids, token_probs, token_mask, strict=False)
+ ):
+ if not mask:
+ continue
+
+ # Skip special tokens (pad, sep, cls/bos)
+ if tok_id in (
+ self._tokenizer.pad_token_id,
+ self._tokenizer.sep_token_id,
+ self._tokenizer.cls_token_id,
+ self._tokenizer.bos_token_id,
+ ):
+ continue
+
+ if j < len(offset_mapping):
+ char_start, char_end = offset_mapping[j]
+ else:
+ continue # Skip tokens beyond offset mapping
+
+ if char_start == char_end == 0:
+ continue # Skip unmappable tokens
+
+ if current_start is None:
+ # Start new span
+ current_start = char_start
+ current_end = char_end
+ current_probs = [float(prob)]
+ elif char_start <= current_end + 1:
+ # Extend current span (consecutive or overlapping)
+ current_end = max(current_end, char_end)
+ current_probs.append(float(prob))
+ else:
+ # Gap — emit current span and start new one
+ avg_prob = sum(current_probs) / len(current_probs)
+ span_text = original_text[current_start:current_end]
+ spans.append((span_text, current_start, current_end, avg_prob))
+
+ current_start = char_start
+ current_end = char_end
+ current_probs = [float(prob)]
+
+ # Emit final span
+ if current_start is not None and current_probs:
+ avg_prob = sum(current_probs) / len(current_probs)
+ span_text = original_text[current_start:current_end]
+ spans.append((span_text, current_start, current_end, avg_prob))
+
+ return spans
+
+ def _tokenize_pairs(self, pairs: list[tuple[str, str]]) -> dict[str, torch.Tensor]:
+ """Tokenize (query, doc) pairs for the cross-encoder."""
+ queries = [p[0] for p in pairs]
+ docs = [p[1] for p in pairs]
+
+ inputs = self._tokenizer(
+ queries,
+ docs,
+ max_length=self._max_seq_length,
+ padding=True,
+ truncation=True,
+ return_tensors="pt",
+ )
+ return {k: v.to(self._device) for k, v in inputs.items()}
+
+ def _find_passage_start(self, input_ids: torch.Tensor) -> int:
+ """Find the start index of passage tokens (after query + separators).
+
+ For XLM-RoBERTa tokenizer (used by BGE-reranker-v2-m3):
+ - BOS token (0) at position 0
+ - SEP token (2) separates query from passage
+ """
+ ids = input_ids.cpu().tolist()
+ sep_token_id = self._tokenizer.sep_token_id or 2
+
+ # Find the second separator (after query)
+ sep_count = 0
+ for idx, token_id in enumerate(ids):
+ if token_id == sep_token_id:
+ sep_count += 1
+ if sep_count == 2: # After query SEP
+ return idx + 1
+
+ # Fallback: skip first 10% of tokens (rough heuristic)
+ return max(1, len(ids) // 10)
+
+ def _extract_text(self, item: Item) -> str:
+ """Extract text from an Item."""
+ text = item.get("text")
+ if text is None:
+ raise ValueError(_ERR_REQUIRES_TEXT)
+ return text
+
+ def get_preprocessor(self) -> CharCountPreprocessor:
+ """Return preprocessor for cost estimation."""
+ return CharCountPreprocessor(model_name=self._model_name_or_path)
diff --git a/examples/regulatory-rag/server-plugin/encode_lora_routing.patch b/examples/regulatory-rag/server-plugin/encode_lora_routing.patch
new file mode 100644
index 000000000..c95b722ed
--- /dev/null
+++ b/examples/regulatory-rag/server-plugin/encode_lora_routing.patch
@@ -0,0 +1,14 @@
+--- a/packages/sie_server/src/sie_server/api/encode.py
++++ b/packages/sie_server/src/sie_server/api/encode.py
+@@ -298,6 +298,11 @@
+ "message": str(e),
+ },
+ ) from e
++
++ # Map lora_id -> lora for worker batch routing
++ # The worker's submit() reads options["lora"] to select the LoRA batcher,
++ # while the profile config uses "lora_id" in runtime options.
++ options["lora"] = lora
+
+ # Get output_types: profile > request param > default
+ output_types: list[str] = options.get("output_types") or (params.output_types if params else None) or ["dense"]
diff --git a/examples/regulatory-rag/server-plugin/models/answerdotai__ModernBERT-base.yaml b/examples/regulatory-rag/server-plugin/models/answerdotai__ModernBERT-base.yaml
new file mode 100644
index 000000000..256b29ea8
--- /dev/null
+++ b/examples/regulatory-rag/server-plugin/models/answerdotai__ModernBERT-base.yaml
@@ -0,0 +1,33 @@
+sie_id: answerdotai/ModernBERT-base
+hf_id: answerdotai/ModernBERT-base
+inputs:
+ text: true
+ image: false
+ audio: false
+ video: false
+tasks:
+ encode:
+ dense:
+ dim: 768
+ sparse: null
+ multivector: null
+ score: null
+ extract: null
+max_sequence_length: 8192
+profiles:
+ default:
+ max_batch_tokens: 16384
+ compute_precision: bfloat16
+ adapter_path: sie_server.adapters.pytorch_embedding:PyTorchEmbeddingAdapter
+ adapter_options:
+ loadtime: {}
+ runtime:
+ pooling: cls
+ normalize: true
+ us-regulatory:
+ extends: default
+ adapter_options:
+ runtime:
+ pooling: cls
+ normalize: true
+ lora_id: sugiv/modernbert-us-stablecoin-encoder
diff --git a/examples/regulatory-rag/server-plugin/models/sugiv__stablebridge-pruner-highlighter.yaml b/examples/regulatory-rag/server-plugin/models/sugiv__stablebridge-pruner-highlighter.yaml
new file mode 100644
index 000000000..e6fecebbe
--- /dev/null
+++ b/examples/regulatory-rag/server-plugin/models/sugiv__stablebridge-pruner-highlighter.yaml
@@ -0,0 +1,59 @@
+# Stablebridge Pruner-Highlighter Model
+#
+# Unified reranking + token-level pruning model built on frozen
+# BAAI/bge-reranker-v2-m3 with a trained PruningHead MLP.
+#
+# Architecture:
+# Base: BAAI/bge-reranker-v2-m3 (frozen cross-encoder, 1024 hidden)
+# Head: PruningHead MLP (1024 → 512 → 1, with GELU + Dropout)
+# Weights: sugiv/stablebridge-pruner-highlighter (HuggingFace Hub)
+#
+# Capabilities:
+# - score: Standard reranking scores (higher = more relevant)
+# - extract (json): Token-level pruning spans with char offsets
+#
+# Usage:
+# POST /v1/score/sugiv/stablebridge-pruner-highlighter
+# POST /v1/extract/sugiv/stablebridge-pruner-highlighter
+#
+sie_id: sugiv/stablebridge-pruner-highlighter
+hf_id: BAAI/bge-reranker-v2-m3
+inputs:
+ text: true
+ image: false
+ audio: false
+ video: false
+tasks:
+ encode: null
+ score: {}
+ extract: {}
+max_sequence_length: 8192
+profiles:
+ default:
+ max_batch_tokens: 16384
+ compute_precision: bfloat16
+ adapter_path: sie_server.adapters.stablebridge_pruner:StablebridgePrunerAdapter
+ adapter_options:
+ loadtime:
+ pruning_head_path: sugiv/stablebridge-pruner-highlighter
+ pruning_head_file: best.pt
+ hidden_size: 1024
+ intermediate_size: 512
+ dropout: 0.2
+ runtime:
+ prune_threshold: 0.6
+ highlight_threshold: 0.9
+ # Profile for aggressive pruning (higher compression)
+ aggressive:
+ extends: default
+ adapter_options:
+ runtime:
+ prune_threshold: 0.4
+ highlight_threshold: 0.8
+ # Profile for conservative pruning (keep more text)
+ conservative:
+ extends: default
+ adapter_options:
+ runtime:
+ prune_threshold: 0.7
+ highlight_threshold: 0.95
diff --git a/examples/retrieval-ablation/.gitignore b/examples/retrieval-ablation/.gitignore
new file mode 100644
index 000000000..36db25a89
--- /dev/null
+++ b/examples/retrieval-ablation/.gitignore
@@ -0,0 +1,9 @@
+cache/
+*.npz
+*.csv
+*.tsv
+*.partial.json
+__pycache__/
+.venv/
+.env
+*.lock
diff --git a/examples/retrieval-ablation/README.md b/examples/retrieval-ablation/README.md
new file mode 100644
index 000000000..afbe0abfd
--- /dev/null
+++ b/examples/retrieval-ablation/README.md
@@ -0,0 +1,133 @@
+# Production RAG Pipeline for Financial Document Search
+
+**An evals-driven recipe.** Every model choice below is backed by a
+head-to-head benchmark on 1,854 real queries against 2,942 pages from
+six SEC 10-K filings, measured by NDCG@10. No guesswork, no defaults.
+The recipe at the top is the one that won the evals; the
+[Evidence](#evidence) section lists every other combination tried and
+what each scored.
+
+One SIE cluster, seven models, three API calls. No model serving to
+manage.
+
+![Pipeline](hero.png)
+
+![Results](results_chart.png)
+
+## The recipe
+
+**Dual multi-vector retrieval, then cross-encoder rerank.**
+
+1. Encode queries and pages with two multi-vector models,
+ `BAAI/bge-m3` (1024d) and `jinaai/jina-colbert-v2` (128d), to get
+ complementary retrieval pools.
+2. Rerank the combined candidate pool with `mixedbread-ai/mxbai-rerank-large-v2`.
+
+On 1,854 queries against 2,942 pages from six bank 10-K filings, this
+pipeline hits **NDCG@10 = 0.621 and Recall@10 = 0.665**, 57% better
+than a single dense model and 3× better than BM25 alone. Full
+benchmarking numbers are in the [Evidence](#evidence) section below.
+
+> *Built by [@NirantK](https://twitter.com/NirantK) for [Superlinked](https://superlinked.com).*
+
+## The full pipeline in code
+
+```python
+from sie_sdk import SIEAsyncClient
+
+async with SIEAsyncClient("http://your-sie-endpoint:8080", api_key="SL-...") as sie:
+ # Multi-vector encode with two complementary models
+ mv_bge = await sie.encode("BAAI/bge-m3", [{"text": "quarterly revenue"}],
+ output_types=["multivector"])
+
+ mv_jina = await sie.encode("jinaai/jina-colbert-v2", [{"text": "quarterly revenue"}],
+ output_types=["multivector"])
+
+ # Union the two pools, rerank with a cross-encoder
+ result = await sie.score("mixedbread-ai/mxbai-rerank-large-v2",
+ query={"text": "quarterly revenue"},
+ items=[{"text": "Revenue was $50B..."},
+ {"text": "The board met on Tuesday..."}])
+```
+
+Three model families. One endpoint. No container orchestration.
+
+## Run the full pipeline
+
+```bash
+# Install
+uv sync
+
+# Validate config (no GPU needed)
+uv run python benchmark_ablation.py --dry-run
+
+# Run the production pipeline end-to-end (all 7 models, all 1,854 queries)
+uv run python benchmark_ablation.py --gpu l4-spot
+
+# Or run just the winning combination (skip baselines and alternatives)
+uv run python benchmark_ablation.py --gpu l4-spot --skip-conditions 1,2,3
+```
+
+All expensive operations (encoding, search) cache to `cache/ablation/`. Re-runs skip completed steps. Cross-encoder reranking checkpoints every 100 queries for crash recovery.
+
+## Evidence
+
+We benchmarked six retrieval strategies against the same 1,854 queries
+on 2,942 pages from six bank 10-K filings. The recipe at the top came
+out first on every metric:
+
+| Strategy | Model | NDCG@10 | Recall@10 | What it shows |
+|----------|-------|---------|-----------|---------------|
+| **Dual-MV → CE Rerank** | bge-m3+jina-colbert → mxbai-large | **0.621** | **0.665** | The recipe |
+| MV pool → CE Rerank | MV-bge200 + mxbai-large | 0.613 | 0.656 | Single MV model + CE, nearly as good |
+| CE Rerank | mxbai-rerank-large | 0.600 | 0.640 | +52% over vector; CE alone is strong |
+| CE Rerank | mxbai-rerank-base | 0.524 | 0.588 | Smaller reranker, still strong |
+| CE Rerank | bge-reranker | 0.521 | 0.578 | Near-identical to mxbai-base |
+| MV Direct | bge-m3 (1024d) | 0.435 | 0.482 | No GPU at inference, +10% over vector |
+| MV Rerank | jina-colbert-v2 (128d) | 0.431 | 0.494 | 96% of bge-m3 quality at 12.5% storage |
+| Vector | bge-m3 dense | 0.396 | 0.438 | Single-model baseline |
+| RRF | BM25+Vector | 0.358 | 0.434 | Hybrid hurts here; BM25 dilutes signal |
+| BM25 | Turbopuffer FTS | 0.185 | 0.239 | Keyword search alone isn't enough |
+
+See [RESULTS.md](RESULTS.md) for full methodology, all benchmarking conditions, and pool-composition experiments.
+
+## What this shows about SIE
+
+- **Model-agnostic**: swap `bge-m3` for `jina-colbert-v2` with one parameter change
+- **Multi-model pipelines**: two encoders plus a cross-encoder rerank in one script, one cluster
+- **85+ models available**: not locked into one vendor's embeddings
+- **Async-native**: fire hundreds of concurrent requests, SIE handles batching and GPU scheduling
+
+## API Keys Required
+
+| Service | What for | Get one at |
+|---------|---------|------------|
+| **SIE** | Encoding, scoring, multi-vector | Self-hosted ([deploy guide](https://github.com/superlinked/sie)) or contact team |
+| **Turbopuffer** | BM25 + vector search index (free tier covers this dataset) | [turbopuffer.com](https://turbopuffer.com) |
+| **HuggingFace** | Dataset download (free, cached) | [huggingface.co/settings/tokens](https://huggingface.co/settings/tokens) |
+
+`SIE_API_KEY` is optional. Leave it unset for a local or otherwise
+unauthenticated SIE deployment; set it only when your managed/auth-enabled
+cluster requires one.
+
+Create `.env` in this directory:
+
+```
+SIE_BASE_URL=http://your-sie-endpoint:8080
+# Optional: only needed for managed/auth-enabled SIE clusters.
+SIE_API_KEY=
+TURBOPUFFER_API_KEY=tpuf_...
+```
+
+## Recipes by constraint
+
+- **Best quality overall**: the dual-MV then CE rerank recipe above (NDCG=0.621).
+- **No GPU at inference time**: multi-vector direct with `bge-m3` (NDCG=0.44). Pre-encode offline, search with MaxSim on CPU.
+- **Best cost/quality**: `jina-colbert-v2` multi-vector (NDCG=0.43). 128-dim vectors equal 8× less storage than `bge-m3` multi-vector, nearly identical quality.
+
+## Dependencies
+
+- [SIE SDK](https://github.com/superlinked/sie): async encode, score, extract
+- [Turbopuffer](https://turbopuffer.com): BM25 + vector search
+- [maxsim-cpu](https://github.com/mixedbread-ai/maxsim-cpu): optimized ColBERT MaxSim scoring
+- [datasets](https://huggingface.co/docs/datasets): HuggingFace dataset loading (cached locally)
diff --git a/examples/retrieval-ablation/RESULTS.md b/examples/retrieval-ablation/RESULTS.md
new file mode 100644
index 000000000..0cec6ef7a
--- /dev/null
+++ b/examples/retrieval-ablation/RESULTS.md
@@ -0,0 +1,179 @@
+# Retrieval Ablation Benchmark
+
+## Intent
+
+Answer one question with maximum rigor: **What is the best retrieval pipeline for page-level document search on financial 10-K filings?**
+
+Specifically, isolate the contribution of each pipeline stage (keyword, semantic, hybrid fusion, cross-encoder reranking, multi-vector reranking) so we can make an informed cost/quality tradeoff.
+
+**Non-goals:** OCR quality comparison (separate experiment), multi-modal retrieval, production latency optimization.
+
+---
+
+## Dataset
+
+**vidore_v3_finance_en** — 6 bank 10-K filings from SEC EDGAR.
+
+| Property | Value |
+|----------|-------|
+| Pages | 2,942 |
+| Queries | 1,854 |
+| Relevance judgments | 8,766 (1=relevant, 2=highly relevant) |
+| Avg relevant docs/query | 4.7 |
+| Median page text | 3,809 chars (~950 tokens) |
+| Text source | Pre-extracted markdown (not OCR) |
+
+---
+
+## Ablation Design
+
+| # | Condition | Retriever | Reranker | What it isolates |
+|---|-----------|-----------|----------|------------------|
+| 1 | BM25-only | Turbopuffer FTS (word_v2) | none | Keyword baseline |
+| 2 | Vector-only | bge-m3 dense ANN | none | Semantic search baseline |
+| 3 | RRF(BM25+Vector) | Fused (k=60) | none | Does hybrid beat vector-only? |
+| 4 | Cross-Encoder Rerank | Hybrid pool (25 BM25 + 25 Vector) | mxbai-rerank, bge-reranker | Cross-encoder value over retrieval |
+| 5 | Multi-Vector Rerank | Hybrid pool (25 BM25 + 25 Vector) | 5 ColBERT models | Multi-vector vs cross-encoder |
+| 6 | Multi-Vector Direct | Brute-force MaxSim (full corpus) | 5 ColBERT models | MV as standalone retriever |
+
+**Key controls:**
+- Conditions 4 and 5 rerank the **same** hybrid pool (~46 candidates) — only the reranker changes
+- Condition 6 uses the **same** MV encodings as condition 5, but searches the full corpus (no pre-filtering)
+- bge-m3 appears as dense encoder (condition 2), MV reranker (condition 5), and MV retriever (condition 6) — isolates representation type AND retrieval strategy
+- All metrics computed identically across conditions (same eval code, same qrels)
+
+---
+
+## Models
+
+### Dense Encoder
+| Model | Dim | Max tokens | Why |
+|-------|-----|------------|-----|
+| BAAI/bge-m3 | 1024 | 8192 | Best from Phase 1 (NDCG@10=0.3972) |
+
+### Cross-Encoder Rerankers (Condition 4)
+| Model | Scoring | Notes |
+|-------|---------|-------|
+| mixedbread-ai/mxbai-rerank-base-v2 | Server-side `sie.score()` | Strong general-purpose |
+| BAAI/bge-reranker-v2-m3 | Server-side `sie.score()` | Matches our encoder family |
+
+### Multi-Vector / Late Interaction Models (Conditions 5-6)
+| Model | Dim | Max tokens | Scoring | Notes |
+|-------|-----|------------|---------|-------|
+| BAAI/bge-m3 | 1024 | 8192 | Client-side MaxSim | Same model as encoder, MV output |
+| jinaai/jina-colbert-v2 | 128 | 8192 | Client-side MaxSim | Best cost/quality — 96% of bge-m3 at 12.5% storage |
+| lightonai/GTE-ModernColBERT-v1 | 128 | 8192 | Client-side MaxSim | Modern architecture |
+| mixedbread-ai/mxbai-colbert-large-v1 | 128 | 512 | Client-side MaxSim | Dedicated ColBERT |
+| colbert-ir/colbertv2.0 | 128 | 512 | Client-side MaxSim | Original ColBERT baseline |
+
+---
+
+## Infrastructure
+
+| Component | Details |
+|-----------|---------|
+| SIE cluster | Self-hosted, KEDA autoscaling, L4 + RTX6000 GPUs |
+| Endpoint | From `SIE_BASE_URL` env var |
+| Turbopuffer | aws-us-east-1, cosine_distance, word_v2 FTS tokenizer |
+| MaxSim | [maxsim-cpu](https://github.com/mixedbread-ai/maxsim-cpu) — optimized C library, CPU-only |
+
+---
+
+## Metrics
+
+| Metric | Description | k |
+|--------|-------------|---|
+| NDCG@10 | Normalized Discounted Cumulative Gain | 10 |
+| MRR@10 | Mean Reciprocal Rank | 10 |
+| Recall@10 | Fraction of relevant docs in top 10 | 10 |
+
+All computed against official qrels (score 1=relevant, 2=highly relevant).
+
+---
+
+## Results
+
+**Sorted by NDCG@10 (hybrid pool = union of top-K BM25 + top-K Vector):**
+
+### Primary Ablation (TOP_K=25, ~46 candidates)
+
+| # | Condition | Model | Dim | Tokens | NDCG@10 | MRR@10 | R@10 |
+|---|-----------|-------|-----|--------|---------|--------|------|
+| 4 | CE Rerank | mxbai-rerank-base-v2 | — | — | 0.5098 | 0.6228 | 0.5587 |
+| 4 | CE Rerank | bge-reranker-v2-m3 | — | — | 0.5069 | 0.6321 | 0.5558 |
+| 6 | MV Direct | bge-m3 | 1024 | 8192 | 0.4354 | 0.581 | 0.4815 |
+| 5 | MV Rerank | bge-m3 | 1024 | 8192 | 0.433 | 0.5808 | 0.4737 |
+| 5 | MV Rerank | **jina-colbert-v2** | 128 | 8192 | **0.431** | 0.548 | 0.4937 |
+| 6 | MV Direct | **jina-colbert-v2** | 128 | 8192 | **0.4187** | 0.5322 | 0.486 |
+| 2 | Vector | bge-m3 dense | 1024 | — | 0.3962 | 0.5317 | 0.4377 |
+| 3 | RRF | — | — | — | 0.3583 | 0.4505 | 0.4337 |
+| 5 | MV Rerank | GTE-ModernColBERT | 128 | 8192 | 0.3439 | 0.4188 | 0.4241 |
+| 6 | MV Direct | GTE-ModernColBERT | 128 | 8192 | 0.2853 | 0.355 | 0.3437 |
+| 5 | MV Rerank | mxbai-colbert | 128 | 512 | 0.2415 | 0.3101 | 0.3034 |
+| 5 | MV Rerank | colbertv2.0 | 128 | 512 | 0.2146 | 0.2626 | 0.2816 |
+| 1 | BM25 | — | — | — | 0.1849 | 0.2115 | 0.2386 |
+| 6 | MV Direct | mxbai-colbert | 128 | 512 | 0.1768 | 0.2392 | 0.2110 |
+| 6 | MV Direct | colbertv2.0 | 128 | 512 | 0.1667 | 0.2139 | 0.206 |
+
+### Reranker Sweep with Larger Pool (TOP_K=50, ~89 candidates)
+
+Larger candidate pools improve CE reranking by giving the model more relevant documents to surface.
+
+| # | Condition | Model | Pool | NDCG@10 | R@10 |
+|---|-----------|-------|------|---------|------|
+| 4 | **CE Rerank** | **mxbai-rerank-large-v2** | ~89 | **0.6004** | **0.6401** |
+| 4 | CE Rerank | mxbai-rerank-base-v2 | ~89 | 0.5241 | 0.5876 |
+| 4 | CE Rerank | bge-reranker-v2-m3 | ~89 | 0.5214 | 0.5778 |
+| 4 | CE Rerank | bge-reranker-large (v1) | ~89 | 0.4463 | 0.4930 |
+| 4 | CE Rerank | bge-reranker-base (v1) | ~89 | 0.3487 | 0.4100 |
+
+### Pool Composition Experiments (TOP_K=50, CE = mxbai-rerank-large-v2)
+
+Wider candidate pools improve CE reranking by increasing pool recall.
+
+| Pool Strategy | Candidates | Pool Recall | NDCG@10 | R@10 |
+|---------------|-----------|-------------|---------|------|
+| **MV-bge100 + MV-jina100** | ~151 | 0.92 | **0.6208** | **0.6650** |
+| MV-bge top-200 | ~200 | 0.89 | 0.6134 | 0.6560 |
+| Vec100 + MV-bge100 | ~130 | 0.90 | 0.6086 | 0.6490 |
+| Hybrid BM25+Vec (baseline) | ~89 | 0.77 | 0.6004 | 0.6401 |
+
+*Additional rerankers tested: bge-reranker-large (0.4463), bge-reranker-base (0.3487), MiniLM-L-12 (0.2389). jina-reranker-v3 not available on SIE. Results in `autoresearch_results.tsv`.*
+
+---
+
+## Key Findings
+
+1. **Cross-encoder reranking wins**: mxbai-large (0.6208 with dual-MV pool) >> mxbai-base (0.5241) — +57% over dense vector
+2. **Pool recall is the bottleneck**: CE scores 0.69 within-pool. Dual-MV pool (0.92 recall) → 0.6208 vs hybrid-50 (0.77 recall) → 0.6004
+3. **Two MV models > one**: bge-m3 + jina-colbert-v2 pool (0.6208) beats single bge-m3 pool (0.6134) — model diversity improves recall
+4. **Model size matters for CE**: large reranker (+14.5% over base) is the single biggest quality lever
+5. **Model generation matters**: bge-reranker-v2-m3 (0.5214) >> bge-reranker-large v1 (0.4463) — newer v2 beats larger v1
+6. **jina-colbert-v2 = best cost/quality tradeoff**: 96% of bge-m3 MV quality at 12.5% storage (128d vs 1024d)
+7. **Token limit matters more than architecture**: 8192-token models (jina, GTE) >> 512-token models (colbertv2, mxbai-colbert)
+6. **Score fusion can't beat cross-encoder**: best MV+vector fusion = 0.4413, CE cross-attention gap is fundamental
+7. **Pool optimization**: TOP_K=50, 50/50 hybrid union is optimal. Pool ceiling = 0.77 recall; reranker quality is the bottleneck
+8. **RRF hurts** (0.3583 < 0.3962) — BM25 dilutes strong vector signal on this dataset
+
+---
+
+## Reproducibility
+
+```bash
+# Full run (all conditions, all models)
+uv run python benchmark_ablation.py --gpu l4-spot
+
+# Dry run (validate config)
+uv run python benchmark_ablation.py --dry-run
+
+# Selective models
+uv run python benchmark_ablation.py --ce-models mxbai-rerank --mv-models bge-m3
+```
+
+- All intermediate artifacts cached in `cache/ablation/`
+- Re-runs skip completed steps automatically
+- Random seed: 42
+- RRF k parameter: 60
+- Retrieval depth: top-25 (primary), top-50 (reranker sweep)
+- Evaluation depth: top-10
+- MaxSim scoring: `maxsim-cpu` (mixedbread C library)
diff --git a/examples/retrieval-ablation/autoresearch.py b/examples/retrieval-ablation/autoresearch.py
new file mode 100644
index 000000000..ac98e3b5e
--- /dev/null
+++ b/examples/retrieval-ablation/autoresearch.py
@@ -0,0 +1,718 @@
+"""Autoresearch: Scan SIE models to maximize NDCG@10.
+
+20 min budget per experiment. Tests encoders, rerankers, and ColBERT models.
+Results logged to autoresearch_results.tsv.
+
+Usage:
+ uv run python autoresearch.py --gpu l4-spot
+ uv run python autoresearch.py --gpu l4-spot --type reranker
+ uv run python autoresearch.py --gpu l4-spot --type colbert
+ uv run python autoresearch.py --gpu l4-spot --type encoder
+"""
+
+import argparse
+import asyncio
+import csv
+import json
+import math
+import os
+import sys
+import time
+from pathlib import Path
+
+import maxsim_cpu
+import numpy as np
+import polars as pl
+from dotenv import load_dotenv
+from loguru import logger
+from sie_sdk import SIEAsyncClient
+from turbopuffer import AsyncTurbopuffer
+
+load_dotenv(Path(__file__).parent / ".env")
+logger.remove()
+logger.add(sys.stderr, level="INFO")
+
+CACHE_DIR = Path(__file__).parent / "cache" / "ablation"
+TIMEOUT_S = 5400 # 90 min per experiment
+PROVISION_TIMEOUT = 1200 # 20 min — models need time to load on cold GPU
+TOP_K = 50
+ENCODE_BATCH = 64
+MV_BATCH = 16
+RESULTS_FILE = Path(__file__).parent / "autoresearch_results.tsv"
+
+# Pre-categorized model lists
+RERANKERS = [
+ "mixedbread-ai/mxbai-rerank-large-v2",
+ "mixedbread-ai/mxbai-rerank-base-v2",
+ "BAAI/bge-reranker-v2-m3",
+ "jinaai/jina-reranker-v2-base-multilingual",
+ "jinaai/jina-reranker-v3",
+ "BAAI/bge-reranker-large",
+ "BAAI/bge-reranker-base",
+ "Alibaba-NLP/gte-reranker-modernbert-base",
+ "cross-encoder/ms-marco-MiniLM-L-12-v2",
+ "cross-encoder/ms-marco-MiniLM-L-6-v2",
+]
+
+COLBERT_MODELS = [
+ "lightonai/Reason-ModernColBERT",
+ "answerdotai/answerai-colbert-small-v1",
+ "mixedbread-ai/mxbai-edge-colbert-v0-32m",
+]
+
+DENSE_ENCODERS = [
+ "NovaSearch/stella_en_1.5B_v5",
+ "NovaSearch/stella_en_400M_v5",
+ "Qwen/Qwen3-Embedding-0.6B",
+ "nomic-ai/nomic-embed-text-v2-moe",
+ "Alibaba-NLP/gte-multilingual-base",
+ "intfloat/multilingual-e5-large-instruct",
+ "intfloat/e5-large-v2",
+ "nvidia/NV-Embed-v2",
+ "google/embeddinggemma-300m",
+]
+
+
+def _require_env(name):
+ val = os.environ.get(name)
+ if not val:
+ logger.error(f"Missing: {name}")
+ sys.exit(1)
+ return val
+
+
+def slugify(name):
+ import re
+
+ return re.sub(r"[^a-z0-9-]", "-", name.lower()).strip("-")
+
+
+def ndcg_at_k(ranked_ids, qrel_map, k=10):
+ dcg = sum(qrel_map.get(cid, 0) / math.log2(i + 2) for i, cid in enumerate(ranked_ids[:k]))
+ ideal = sorted(qrel_map.values(), reverse=True)[:k]
+ idcg = sum(rel / math.log2(i + 2) for i, rel in enumerate(ideal))
+ return dcg / idcg if idcg > 0 else 0.0
+
+
+def evaluate(ranked_results, query_items, qrel_map):
+ ndcgs, recalls = [], []
+ for ranked, qi in zip(ranked_results, query_items):
+ qrels = qrel_map.get(qi["query_id"], {})
+ if not qrels:
+ continue
+ ndcgs.append(ndcg_at_k(ranked, qrels))
+ rel = {c for c, s in qrels.items() if s > 0}
+ recalls.append(sum(1 for c in ranked[:10] if c in rel) / len(rel) if rel else 0.0)
+ return round(float(np.mean(ndcgs)), 4), round(float(np.mean(recalls)), 4)
+
+
+def normalize_mv(mv):
+ mv = np.asarray(mv, dtype=np.float32)
+ norms = np.linalg.norm(mv, axis=1, keepdims=True)
+ norms = np.where(norms == 0, 1, norms)
+ return mv / norms
+
+
+def load_dataset():
+ from datasets import load_dataset as hf_load
+
+ corpus = pl.from_arrow(hf_load("vidore/vidore_v3_finance_en", "corpus", split="test").data.table)
+ queries = pl.from_arrow(hf_load("vidore/vidore_v3_finance_en", "queries", split="test").data.table)
+ qrels_df = pl.from_arrow(hf_load("vidore/vidore_v3_finance_en", "qrels", split="test").data.table)
+
+ qrel_map = {}
+ for row in qrels_df.iter_rows(named=True):
+ qrel_map.setdefault(row["query_id"], {})[row["corpus_id"]] = row["score"]
+
+ corpus_items = []
+ for row in corpus.iter_rows(named=True):
+ text = row["markdown"] or ""
+ if len(text.strip()) < 10:
+ text = f"Page {row['page_number_in_doc']} of {row['doc_id']}"
+ corpus_items.append({"corpus_id": row["corpus_id"], "text": text})
+
+ query_items = [{"query_id": r["query_id"], "text": r["query"]} for r in queries.iter_rows(named=True)]
+ return corpus_items, query_items, qrel_map
+
+
+def log_result(model, model_type, ndcg, recall, elapsed, status, note=""):
+ RESULTS_FILE.parent.mkdir(parents=True, exist_ok=True)
+ exists = RESULTS_FILE.exists()
+ with open(RESULTS_FILE, "a") as f:
+ if not exists:
+ f.write("model\ttype\tndcg10\trecall10\ttime_s\tstatus\tnote\n")
+ f.write(f"{model}\t{model_type}\t{ndcg}\t{recall}\t{round(elapsed)}\t{status}\t{note}\n")
+
+
+async def test_reranker(
+ sie, model, query_texts, hybrid_pools, text_map, query_items, qrel_map, gpu, sem, cache_slug=None
+):
+ """Test a cross-encoder reranker on hybrid pool."""
+ slug = cache_slug or slugify(model)
+ cache_path = CACHE_DIR / f"autoresearch_ce_{slug}.json"
+ if cache_path.exists():
+ results = json.load(open(cache_path))
+ ndcg, recall = evaluate(results, query_items, qrel_map)
+ return ndcg, recall, 0, "cached"
+
+ results = [None] * len(query_texts)
+ done = 0
+
+ import random
+
+ async def score_one(idx):
+ nonlocal done
+ cands = hybrid_pools[idx]
+ if not cands:
+ return idx, []
+ items = [{"text": text_map.get(cid, "")} for cid in cands]
+ for attempt in range(5):
+ try:
+ async with sem:
+ result = await sie.score(
+ model,
+ query={"text": query_texts[idx]},
+ items=items,
+ gpu=gpu,
+ wait_for_capacity=True,
+ provision_timeout_s=PROVISION_TIMEOUT,
+ )
+ scored = sorted(
+ [(cands[int(s["item_id"].split("-")[1])], s["score"]) for s in result["scores"]],
+ key=lambda x: x[1],
+ reverse=True,
+ )
+ done += 1
+ if done % 200 == 0:
+ logger.info(f" CE {model}: {done}/{len(query_texts)}")
+ return idx, [cid for cid, _ in scored]
+ except Exception as e:
+ if attempt < 4:
+ backoff = (2**attempt) + random.uniform(0, 2)
+ logger.warning(f" CE retry {attempt + 1}/5 ({type(e).__name__}), backoff {backoff:.1f}s")
+ await asyncio.sleep(backoff)
+ else:
+ raise
+
+ # No batching — semaphore controls concurrency. Continuous flow keeps connections warm.
+ for coro in asyncio.as_completed([score_one(i) for i in range(len(query_texts))]):
+ idx, ranked = await coro
+ results[idx] = ranked
+
+ with open(cache_path, "w") as f:
+ json.dump(results, f)
+ ndcg, recall = evaluate(results, query_items, qrel_map)
+ return ndcg, recall, 0, "ok"
+
+
+async def test_colbert(sie, model, corpus_texts, query_texts, corpus_items, query_items, qrel_map, gpu, sem):
+ """Test a ColBERT/MV model — encode + brute-force MaxSim."""
+ slug = slugify(model)
+ corpus_cache = CACHE_DIR / f"mv_corpus_{slug}.npz"
+ query_cache = CACHE_DIR / f"mv_query_{slug}.npz"
+ direct_cache = CACHE_DIR / f"autoresearch_mv_{slug}.json"
+
+ if direct_cache.exists():
+ results = json.load(open(direct_cache))
+ ndcg, recall = evaluate(results, query_items, qrel_map)
+ return ndcg, recall, 0, "cached"
+
+ # Encode corpus
+ if corpus_cache.exists():
+ data = np.load(corpus_cache, allow_pickle=False)
+ corpus_mvs = [data[f"mv_{i}"] for i in range(len(data.files))]
+ logger.info(f" Cache hit corpus: {corpus_cache}")
+ else:
+ corpus_mvs = []
+ batches = [corpus_texts[i : i + MV_BATCH] for i in range(0, len(corpus_texts), MV_BATCH)]
+ for bi, batch_texts in enumerate(batches):
+ batch = [{"text": t} for t in batch_texts]
+ for attempt in range(3):
+ try:
+ async with sem:
+ result = await sie.encode(
+ model,
+ batch,
+ output_types=["multivector"],
+ is_query=False,
+ gpu=gpu,
+ wait_for_capacity=True,
+ provision_timeout_s=PROVISION_TIMEOUT,
+ )
+ corpus_mvs.extend(r["multivector"] for r in result)
+ break
+ except Exception as e:
+ if attempt < 2:
+ logger.warning(f" Encode retry {attempt + 1}/3: {type(e).__name__}")
+ await asyncio.sleep(5 * (attempt + 1))
+ else:
+ raise
+ if (bi + 1) % 20 == 0:
+ logger.info(f" MV corpus {model}: {bi + 1}/{len(batches)}")
+ corpus_cache.parent.mkdir(parents=True, exist_ok=True)
+ np.savez(corpus_cache, **{f"mv_{i}": mv for i, mv in enumerate(corpus_mvs)})
+
+ # Encode queries
+ if query_cache.exists():
+ data = np.load(query_cache, allow_pickle=False)
+ query_mvs = [data[f"mv_{i}"] for i in range(len(data.files))]
+ logger.info(f" Cache hit query: {query_cache}")
+ else:
+ query_mvs = []
+ batches = [query_texts[i : i + MV_BATCH] for i in range(0, len(query_texts), MV_BATCH)]
+ for bi, batch_texts in enumerate(batches):
+ batch = [{"text": t} for t in batch_texts]
+ for attempt in range(3):
+ try:
+ async with sem:
+ result = await sie.encode(
+ model,
+ batch,
+ output_types=["multivector"],
+ is_query=True,
+ gpu=gpu,
+ wait_for_capacity=True,
+ provision_timeout_s=PROVISION_TIMEOUT,
+ )
+ query_mvs.extend(r["multivector"] for r in result)
+ break
+ except Exception as e:
+ if attempt < 2:
+ logger.warning(f" Encode retry {attempt + 1}/3: {type(e).__name__}")
+ await asyncio.sleep(5 * (attempt + 1))
+ else:
+ raise
+ if (bi + 1) % 20 == 0:
+ logger.info(f" MV query {model}: {bi + 1}/{len(batches)}")
+ np.savez(query_cache, **{f"mv_{i}": mv for i, mv in enumerate(query_mvs)})
+
+ # Brute-force MaxSim
+ corpus_ids = [item["corpus_id"] for item in corpus_items]
+ normed_corpus = [normalize_mv(mv) for mv in corpus_mvs]
+ normed_queries = [normalize_mv(q) for q in query_mvs]
+
+ results = []
+ for i, q_mv in enumerate(normed_queries):
+ scores = maxsim_cpu.maxsim_scores_variable(q_mv, normed_corpus)
+ scored = sorted(zip(corpus_ids, scores), key=lambda x: x[1], reverse=True)
+ results.append([cid for cid, _ in scored])
+ if (i + 1) % 200 == 0:
+ logger.info(f" MV direct {model}: {i + 1}/{len(query_mvs)}")
+
+ with open(direct_cache, "w") as f:
+ json.dump(results, f)
+ ndcg, recall = evaluate(results, query_items, qrel_map)
+ return ndcg, recall, 0, "ok"
+
+
+TPUF_BATCH = 256
+
+
+async def test_encoder(sie, tpuf, model, corpus_texts, query_texts, corpus_items, query_items, qrel_map, gpu, sem):
+ """Test a dense encoder: encode → Turbopuffer index → ANN + BM25 → hybrid pool → evaluate."""
+ slug = slugify(model)
+ ns_name = f"ablation-{slug}"
+ corpus_cache = CACHE_DIR / f"dense_corpus_{slug}.npz"
+ query_cache = CACHE_DIR / f"dense_query_{slug}.npz"
+ vec_cache = CACHE_DIR / f"vector_top{TOP_K}_{slug}.json"
+ bm25_cache = CACHE_DIR / f"bm25_top{TOP_K}_{slug}.json"
+ results_cache = CACHE_DIR / f"autoresearch_dense_{slug}.json"
+
+ if results_cache.exists():
+ results = json.load(open(results_cache))
+ ndcg, recall = evaluate(results, query_items, qrel_map)
+ return ndcg, recall, 0, "cached"
+
+ # 1. Encode corpus
+ if corpus_cache.exists():
+ corpus_vecs = np.load(corpus_cache)["vectors"]
+ logger.info(f" Cache hit corpus: {corpus_cache}")
+ else:
+ all_vecs = []
+ batches = [corpus_texts[i : i + ENCODE_BATCH] for i in range(0, len(corpus_texts), ENCODE_BATCH)]
+ for bi, batch_texts in enumerate(batches):
+ batch = [{"text": t} for t in batch_texts]
+ for attempt in range(3):
+ try:
+ async with sem:
+ result = await sie.encode(
+ model,
+ batch,
+ output_types=["dense"],
+ is_query=False,
+ gpu=gpu,
+ wait_for_capacity=True,
+ provision_timeout_s=PROVISION_TIMEOUT,
+ )
+ all_vecs.extend(r["dense"] for r in result)
+ break
+ except Exception as e:
+ if attempt < 2:
+ logger.warning(f" Encode retry {attempt + 1}/3: {type(e).__name__}")
+ await asyncio.sleep(5 * (attempt + 1))
+ else:
+ raise
+ if (bi + 1) % 10 == 0:
+ logger.info(f" Dense corpus {model}: {bi + 1}/{len(batches)}")
+ corpus_vecs = np.array(all_vecs, dtype=np.float32)
+ corpus_cache.parent.mkdir(parents=True, exist_ok=True)
+ np.savez(corpus_cache, vectors=corpus_vecs)
+
+ # 2. Encode queries
+ if query_cache.exists():
+ query_vecs = np.load(query_cache)["vectors"]
+ logger.info(f" Cache hit query: {query_cache}")
+ else:
+ all_vecs = []
+ batches = [query_texts[i : i + ENCODE_BATCH] for i in range(0, len(query_texts), ENCODE_BATCH)]
+ for bi, batch_texts in enumerate(batches):
+ batch = [{"text": t} for t in batch_texts]
+ for attempt in range(3):
+ try:
+ async with sem:
+ result = await sie.encode(
+ model,
+ batch,
+ output_types=["dense"],
+ is_query=True,
+ gpu=gpu,
+ wait_for_capacity=True,
+ provision_timeout_s=PROVISION_TIMEOUT,
+ )
+ all_vecs.extend(r["dense"] for r in result)
+ break
+ except Exception as e:
+ if attempt < 2:
+ logger.warning(f" Encode retry {attempt + 1}/3: {type(e).__name__}")
+ await asyncio.sleep(5 * (attempt + 1))
+ else:
+ raise
+ if (bi + 1) % 10 == 0:
+ logger.info(f" Dense query {model}: {bi + 1}/{len(batches)}")
+ query_vecs = np.array(all_vecs, dtype=np.float32)
+ np.savez(query_cache, vectors=query_vecs)
+
+ # 3. Index in Turbopuffer (namespace = ablation-{model-slug})
+ ns = tpuf.namespace(ns_name)
+ logger.info(f" Indexing {len(corpus_items)} docs in tpuf namespace '{ns_name}' (dim={corpus_vecs.shape[1]})")
+ for i in range(0, len(corpus_items), TPUF_BATCH):
+ end = min(i + TPUF_BATCH, len(corpus_items))
+ await ns.write(
+ distance_metric="cosine_distance",
+ upsert_columns={
+ "id": [str(corpus_items[j]["corpus_id"]) for j in range(i, end)],
+ "vector": [corpus_vecs[j].tolist() for j in range(i, end)],
+ "text": [corpus_texts[j] for j in range(i, end)],
+ },
+ schema={"text": {"type": "string", "full_text_search": {"tokenizer": "word_v2"}}},
+ )
+ logger.info(f" Indexed {len(corpus_items)} docs in '{ns_name}'")
+
+ # 4. ANN vector search
+ if vec_cache.exists():
+ vec_results = json.load(open(vec_cache))
+ logger.info(f" Cache hit vector search: {vec_cache}")
+ else:
+
+ async def vec_query(qv):
+ r = await ns.query(rank_by=("vector", "ANN", qv.tolist()), top_k=TOP_K, include_attributes=False)
+ return [int(row.id) for row in r.rows]
+
+ vec_results = list(await asyncio.gather(*[vec_query(qv) for qv in query_vecs]))
+ with open(vec_cache, "w") as f:
+ json.dump(vec_results, f)
+ logger.info(f" Vector search: {len(vec_results)} queries, top-{TOP_K}")
+
+ # 5. BM25 search (same namespace, same text)
+ if bm25_cache.exists():
+ bm25_results = json.load(open(bm25_cache))
+ logger.info(f" Cache hit BM25 search: {bm25_cache}")
+ else:
+
+ async def bm25_query(q):
+ r = await ns.query(rank_by=("text", "BM25", q), top_k=TOP_K, include_attributes=False)
+ return [int(row.id) for row in r.rows]
+
+ bm25_results = list(await asyncio.gather(*[bm25_query(q) for q in query_texts]))
+ with open(bm25_cache, "w") as f:
+ json.dump(bm25_results, f)
+ logger.info(f" BM25 search: {len(bm25_results)} queries, top-{TOP_K}")
+
+ # 6. Evaluate: vector-only, BM25, hybrid pool
+ hybrid = [list(dict.fromkeys(v[:TOP_K] + b[:TOP_K])) for v, b in zip(vec_results, bm25_results)]
+
+ vec_ndcg, vec_recall = evaluate(vec_results, query_items, qrel_map)
+ bm25_ndcg, bm25_recall = evaluate(bm25_results, query_items, qrel_map)
+ hyb_ndcg, hyb_recall = evaluate(hybrid, query_items, qrel_map)
+
+ logger.info(f" {model} vector-only: NDCG={vec_ndcg}, R@10={vec_recall}")
+ logger.info(f" {model} BM25: NDCG={bm25_ndcg}, R@10={bm25_recall}")
+ logger.info(f" {model} hybrid: NDCG={hyb_ndcg}, R@10={hyb_recall}")
+
+ # Save hybrid as the main result (best of the three for comparison)
+ best_results = hybrid if hyb_ndcg >= vec_ndcg else vec_results
+ best_ndcg = max(hyb_ndcg, vec_ndcg)
+ best_recall = hyb_recall if hyb_ndcg >= vec_ndcg else vec_recall
+
+ with open(results_cache, "w") as f:
+ json.dump(best_results, f)
+ return best_ndcg, best_recall, 0, "ok"
+
+
+async def main():
+ parser = argparse.ArgumentParser(description="Autoresearch: scan SIE models")
+ parser.add_argument("--gpu", default=None)
+ parser.add_argument("--type", choices=["reranker", "colbert", "encoder", "ensemble", "pool", "all"], default="all")
+ parser.add_argument("--models", help="Comma-separated model filter (substring match)")
+ args = parser.parse_args()
+
+ model_filter = [m.strip() for m in args.models.split(",")] if args.models else None
+
+ def should_test(model_name):
+ if not model_filter:
+ return True
+ return any(f.lower() in model_name.lower() for f in model_filter)
+
+ sie_url = _require_env("SIE_BASE_URL")
+ sie_key = os.getenv("SIE_API_KEY") or None
+
+ sem = asyncio.Semaphore(3)
+ CACHE_DIR.mkdir(parents=True, exist_ok=True)
+
+ logger.info("Loading dataset...")
+ corpus_items, query_items, qrel_map = load_dataset()
+ corpus_texts = [item["text"] for item in corpus_items]
+ query_texts = [qi["text"] for qi in query_items]
+ text_map = {item["corpus_id"]: item["text"] for item in corpus_items}
+
+ # Load cached search results for hybrid pool
+ bm25_path = CACHE_DIR / f"bm25_top{TOP_K}.json"
+ vec_path = CACHE_DIR / f"vector_top{TOP_K}.json"
+
+ if not bm25_path.exists() or not vec_path.exists():
+ logger.error("Run benchmark_ablation.py first to generate search caches")
+ sys.exit(1)
+
+ bm25 = json.load(open(bm25_path))
+ vec = json.load(open(vec_path))
+ hybrid_pools = [list(dict.fromkeys(b[:TOP_K] + v[:TOP_K])) for b, v in zip(bm25, vec)]
+
+ # Load MV retrieval results for pool experiments
+ mv_bge_path = CACHE_DIR / "retrieve_mv_baai-bge-m3.json"
+ mv_jina_path = CACHE_DIR / "retrieve_mv_jinaai-jina-colbert-v2.json"
+ vec100_path = CACHE_DIR / "vector_top100.json"
+
+ logger.info(f"Hybrid pool: ~{np.mean([len(p) for p in hybrid_pools]):.0f} candidates/query")
+ logger.info(
+ f"Models to test: rerankers={len(RERANKERS)}, colbert={len(COLBERT_MODELS)}, encoders={len(DENSE_ENCODERS)}"
+ )
+
+ tpuf_key = os.environ.get("TURBOPUFFER_API_KEY")
+ tpuf = AsyncTurbopuffer(api_key=tpuf_key, region="aws-us-east-1") if tpuf_key else None
+
+ async with SIEAsyncClient(sie_url, api_key=sie_key, timeout_s=TIMEOUT_S, max_connections=5) as sie:
+ # Test rerankers
+ if args.type in ("reranker", "all"):
+ logger.info("\n=== RERANKERS ===")
+ for model in RERANKERS:
+ if not should_test(model):
+ continue
+ logger.info(f"\nTesting: {model}")
+ t0 = time.perf_counter()
+ try:
+ ndcg, recall, _, status = await asyncio.wait_for(
+ test_reranker(
+ sie, model, query_texts, hybrid_pools, text_map, query_items, qrel_map, args.gpu, sem
+ ),
+ timeout=TIMEOUT_S,
+ )
+ elapsed = time.perf_counter() - t0
+ logger.info(f" {model}: NDCG={ndcg}, Recall={recall} ({elapsed:.0f}s) [{status}]")
+ log_result(model, "reranker", ndcg, recall, elapsed, status)
+ except Exception as e:
+ elapsed = time.perf_counter() - t0
+ logger.error(f" {model}: FAILED ({elapsed:.0f}s) — {type(e).__name__}: {e}")
+ log_result(model, "reranker", 0, 0, elapsed, "failed", str(e)[:100])
+
+ # Test ColBERT models
+ if args.type in ("colbert", "all"):
+ logger.info("\n=== COLBERT / MULTI-VECTOR ===")
+ for model in COLBERT_MODELS:
+ if not should_test(model):
+ continue
+ logger.info(f"\nTesting: {model}")
+ t0 = time.perf_counter()
+ try:
+ ndcg, recall, _, status = await asyncio.wait_for(
+ test_colbert(
+ sie, model, corpus_texts, query_texts, corpus_items, query_items, qrel_map, args.gpu, sem
+ ),
+ timeout=TIMEOUT_S,
+ )
+ elapsed = time.perf_counter() - t0
+ logger.info(f" {model}: NDCG={ndcg}, Recall={recall} ({elapsed:.0f}s) [{status}]")
+ log_result(model, "colbert", ndcg, recall, elapsed, status)
+ except Exception as e:
+ elapsed = time.perf_counter() - t0
+ logger.error(f" {model}: FAILED ({elapsed:.0f}s) — {type(e).__name__}: {e}")
+ log_result(model, "colbert", 0, 0, elapsed, "failed", str(e)[:100])
+
+ # Test dense encoders
+ if args.type in ("encoder", "all"):
+ logger.info("\n=== DENSE ENCODERS ===")
+ for model in DENSE_ENCODERS:
+ if not should_test(model):
+ continue
+ logger.info(f"\nTesting: {model}")
+ t0 = time.perf_counter()
+ try:
+ if not tpuf:
+ logger.error(" TURBOPUFFER_API_KEY required for encoder tests")
+ break
+ ndcg, recall, _, status = await asyncio.wait_for(
+ test_encoder(
+ sie,
+ tpuf,
+ model,
+ corpus_texts,
+ query_texts,
+ corpus_items,
+ query_items,
+ qrel_map,
+ args.gpu,
+ sem,
+ ),
+ timeout=TIMEOUT_S,
+ )
+ elapsed = time.perf_counter() - t0
+ logger.info(f" {model}: NDCG={ndcg}, Recall={recall} ({elapsed:.0f}s) [{status}]")
+ log_result(model, "encoder", ndcg, recall, elapsed, status)
+ except Exception as e:
+ elapsed = time.perf_counter() - t0
+ logger.error(f" {model}: FAILED ({elapsed:.0f}s) — {type(e).__name__}: {e}")
+ log_result(model, "encoder", 0, 0, elapsed, "failed", str(e)[:100])
+
+ # ── Ensemble experiments (CPU-only, uses cached CE results) ──────
+ if args.type in ("ensemble", "all"):
+ logger.info("\n=== ENSEMBLE EXPERIMENTS ===")
+ ce_results = {}
+ for path in CACHE_DIR.glob("autoresearch_ce_*.json"):
+ model_slug = path.stem.replace("autoresearch_ce_", "")
+ ce_results[model_slug] = json.load(open(path))
+ logger.info(f" Loaded {len(ce_results)} cached CE results: {list(ce_results.keys())}")
+
+ def rrf_ensemble(result_lists, weights=None, k=60):
+ if weights is None:
+ weights = [1.0] * len(result_lists)
+ combined = []
+ for qi in range(len(result_lists[0])):
+ scores = {}
+ for results, w in zip(result_lists, weights):
+ for rank, cid in enumerate(results[qi]):
+ scores[cid] = scores.get(cid, 0) + w / (k + rank + 1)
+ combined.append(sorted(scores, key=scores.get, reverse=True))
+ return combined
+
+ ensembles = []
+ slugs = list(ce_results.keys())
+
+ # All pairs with equal weight
+ for i, s1 in enumerate(slugs):
+ for s2 in slugs[i + 1 :]:
+ combo = rrf_ensemble([ce_results[s1], ce_results[s2]])
+ ensembles.append((f"RRF({s1} + {s2})", combo))
+
+ # All triples with equal weight
+ for i, s1 in enumerate(slugs):
+ for j, s2 in enumerate(slugs[i + 1 :], i + 1):
+ for s3 in slugs[j + 1 :]:
+ combo = rrf_ensemble([ce_results[s1], ce_results[s2], ce_results[s3]])
+ ensembles.append((f"RRF({s1} + {s2} + {s3})", combo))
+
+ # Weighted variants: best model gets 3x
+ if len(slugs) >= 2:
+ # Find best single model
+ best_slug = None
+ best_ndcg = 0
+ for slug, results in ce_results.items():
+ ndcg, _ = evaluate(results, query_items, qrel_map)
+ if ndcg > best_ndcg:
+ best_ndcg = ndcg
+ best_slug = slug
+ others = [s for s in slugs if s != best_slug]
+ for other in others:
+ combo = rrf_ensemble([ce_results[best_slug], ce_results[other]], [3, 1])
+ ensembles.append((f"RRF(3:1 {best_slug}:{other})", combo))
+ # Best + all others weighted 3:1:1:...
+ if len(others) >= 2:
+ all_results = [ce_results[best_slug]] + [ce_results[s] for s in others]
+ weights = [3.0] + [1.0] * len(others)
+ combo = rrf_ensemble(all_results, weights)
+ ensembles.append((f"RRF(3:1x{len(others)} {best_slug}+rest)", combo))
+
+ for name, combo in ensembles:
+ ndcg, recall = evaluate(combo, query_items, qrel_map)
+ logger.info(f" {name}: NDCG={ndcg}, Recall={recall}")
+ log_result(name, "ensemble", ndcg, recall, 0, "ok")
+
+ # ── Pool experiments: MV-based pools + CE rerank ──────
+ if args.type in ("pool", "all"):
+ logger.info("\n=== POOL EXPERIMENTS ===")
+ best_ce_model = "mixedbread-ai/mxbai-rerank-large-v2"
+
+ pool_configs = []
+ # A. MV-bge top-200 pool (0.89 recall vs 0.77 current)
+ if mv_bge_path.exists():
+ mv_bge = json.load(open(mv_bge_path))
+ pool_configs.append(("mv-bge200", [m[:200] for m in mv_bge]))
+
+ # B. Vec100 + MV-bge100 union (0.90 recall, ~211 candidates)
+ if mv_bge_path.exists() and vec100_path.exists():
+ vec100 = json.load(open(vec100_path))
+ pool_configs.append(
+ ("vec100-mv-bge100", [list(dict.fromkeys(v[:100] + m[:100])) for v, m in zip(vec100, mv_bge)])
+ )
+
+ # C. MV-bge200 + MV-jina200 union (0.94 recall, ~293 candidates)
+ if mv_bge_path.exists() and mv_jina_path.exists():
+ mv_jina = json.load(open(mv_jina_path))
+ pool_configs.append(
+ ("mv-bge200-jina200", [list(dict.fromkeys(m[:200] + j[:200])) for m, j in zip(mv_bge, mv_jina)])
+ )
+
+ for pool_name, pools in pool_configs:
+ slug = f"pool-{pool_name}-mxbai-large"
+ avg_size = np.mean([len(p) for p in pools])
+ logger.info(f"\n Pool '{pool_name}': ~{avg_size:.0f} candidates/query")
+ logger.info(f" CE-scoring {pool_name} with {best_ce_model}...")
+ t0 = time.perf_counter()
+ ndcg, recall, _, status = await test_reranker(
+ sie,
+ best_ce_model,
+ query_texts,
+ pools,
+ text_map,
+ query_items,
+ qrel_map,
+ args.gpu,
+ sem,
+ cache_slug=slug,
+ )
+ elapsed = time.perf_counter() - t0
+ logger.info(f" {pool_name} + CE: NDCG={ndcg}, Recall={recall} ({elapsed:.0f}s) [{status}]")
+ log_result(f"pool:{pool_name}+mxbai-large", "pool", ndcg, recall, elapsed, status)
+
+ # Print leaderboard
+ if RESULTS_FILE.exists():
+ logger.info("\n=== LEADERBOARD ===")
+ with open(RESULTS_FILE) as f:
+ reader = csv.DictReader(f, delimiter="\t")
+ rows = sorted(reader, key=lambda r: float(r.get("ndcg10") or 0), reverse=True)
+ for r in rows[:15]:
+ ndcg = r.get("ndcg10") or "?"
+ recall = r.get("recall10") or "?"
+ logger.info(f" {r['model']:<50s} NDCG={ndcg:>6s} R@10={recall:>6s} {r['status']}")
+
+
+if __name__ == "__main__":
+ asyncio.run(main())
diff --git a/examples/retrieval-ablation/benchmark_ablation.py b/examples/retrieval-ablation/benchmark_ablation.py
new file mode 100644
index 000000000..1f57f12d9
--- /dev/null
+++ b/examples/retrieval-ablation/benchmark_ablation.py
@@ -0,0 +1,807 @@
+"""Retrieval Ablation Benchmark — 6 conditions, async, incremental caching.
+
+Conditions:
+1. BM25-only (Turbopuffer FTS)
+2. Vector-only (bge-m3 dense ANN)
+3. RRF(BM25 + Vector)
+4. Cross-Encoder Rerank over hybrid pool (union of BM25 + Vector top-25)
+5. Multi-Vector Rerank over hybrid pool (MaxSim on candidates)
+6. Multi-Vector Direct Retrieval (brute-force MaxSim over full corpus)
+
+Usage:
+ uv run python benchmark_ablation.py --gpu l4-spot
+ uv run python benchmark_ablation.py --gpu l4-spot --skip-conditions 5,6
+ uv run python benchmark_ablation.py --gpu rtx6000-spot --skip-conditions 1,2,3,4,5
+"""
+
+import argparse
+import asyncio
+import csv
+import json
+import math
+import os
+import re
+import sys
+import time
+from pathlib import Path
+
+import maxsim_cpu
+import numpy as np
+import polars as pl
+from dotenv import load_dotenv
+from loguru import logger
+from sie_sdk import SIEAsyncClient
+from turbopuffer import AsyncTurbopuffer
+
+load_dotenv(Path(__file__).parent / ".env")
+
+logger.remove()
+logger.add(sys.stderr, level="INFO")
+
+# ── Config ──────────────────────────────────────────────────────────────────
+
+
+def _require_env(name: str) -> str:
+ val = os.environ.get(name)
+ if not val:
+ logger.error(f"Missing required env var: {name}. Set it in .env or shell.")
+ sys.exit(1)
+ return val
+
+
+PROVISION_TIMEOUT = 900
+RANDOM_SEED = 42
+MAX_TRANSPORT_RETRIES = 3
+
+ENCODE_BATCH_SIZE = 64
+MV_ENCODE_BATCH_SIZE = 16
+TPUF_BATCH_SIZE = 500
+TOP_K_RETRIEVE = 50
+TOP_K_EVAL = 10
+RRF_K = 60
+CHECKPOINT_INTERVAL = 100
+# SDK retries 503 internally; keep concurrent requests low to avoid thundering herd
+GPU_CONCURRENCY = 10
+
+ENCODER = "BAAI/bge-m3"
+
+ALL_CE_RERANKERS = {
+ "mxbai-rerank": "mixedbread-ai/mxbai-rerank-base-v2",
+ "mxbai-rerank-large": "mixedbread-ai/mxbai-rerank-large-v2",
+ "bge-reranker": "BAAI/bge-reranker-v2-m3",
+}
+ALL_MV_MODELS = {
+ "bge-m3": {"model": "BAAI/bge-m3", "dim": 1024, "max_tokens": 8192},
+ "colbert": {"model": "mixedbread-ai/mxbai-colbert-large-v1", "dim": 128, "max_tokens": 512},
+ "jina-colbert": {"model": "jinaai/jina-colbert-v2", "dim": 128, "max_tokens": 8192},
+ "modern-colbert": {"model": "lightonai/GTE-ModernColBERT-v1", "dim": 128, "max_tokens": 8192},
+ "colbertv2": {"model": "colbert-ir/colbertv2.0", "dim": 128, "max_tokens": 512},
+}
+
+CACHE_DIR = Path(__file__).parent / "cache" / "ablation"
+RESULTS_CSV = Path(__file__).parent / "ablation_results.csv"
+
+
+# ── Caching ────────────────────────────────────────────────────────────────
+
+
+class NpzCache:
+ def __init__(self, path: Path | None):
+ self.path = path
+
+ def exists(self) -> bool:
+ return self.path is not None and self.path.exists()
+
+ def load_dense(self) -> list:
+ return list(np.load(self.path)["vectors"])
+
+ def save_dense(self, vectors: list):
+ self.path.parent.mkdir(parents=True, exist_ok=True)
+ np.savez(self.path, vectors=np.array(vectors))
+
+ def load_multivector(self) -> list:
+ data = np.load(self.path, allow_pickle=False)
+ return [data[f"mv_{i}"] for i in range(len(data.files))]
+
+ def save_multivector(self, mvs: list):
+ self.path.parent.mkdir(parents=True, exist_ok=True)
+ np.savez(self.path, **{f"mv_{i}": mv for i, mv in enumerate(mvs)})
+
+
+class JsonCache:
+ def __init__(self, path: Path | None):
+ self.path = path
+
+ def exists(self) -> bool:
+ return self.path is not None and self.path.exists()
+
+ def load(self) -> list:
+ with open(self.path) as f:
+ return json.load(f)
+
+ def save(self, data):
+ self.path.parent.mkdir(parents=True, exist_ok=True)
+ with open(self.path, "w") as f:
+ json.dump(data, f)
+
+
+# ── Utilities ───────────────────────────────────────────────────────────────
+
+
+def normalize_mv(mv):
+ mv = np.asarray(mv, dtype=np.float32)
+ norms = np.linalg.norm(mv, axis=1, keepdims=True)
+ norms = np.where(norms == 0, 1, norms)
+ return mv / norms
+
+
+def slugify(name: str) -> str:
+ return re.sub(r"[^a-z0-9-]", "-", name.lower()).strip("-")
+
+
+def build_hybrid_pool(bm25_ranked, vec_ranked):
+ """Union of BM25 top-K + Vector top-K, deduplicated, order preserved."""
+ return list(dict.fromkeys(bm25_ranked[:TOP_K_RETRIEVE] + vec_ranked[:TOP_K_RETRIEVE]))
+
+
+# ── Metrics ─────────────────────────────────────────────────────────────────
+
+
+def ndcg_at_k(ranked_ids, qrel_map, k=10):
+ dcg = sum(qrel_map.get(cid, 0) / math.log2(i + 2) for i, cid in enumerate(ranked_ids[:k]))
+ ideal_rels = sorted(qrel_map.values(), reverse=True)[:k]
+ idcg = sum(rel / math.log2(i + 2) for i, rel in enumerate(ideal_rels))
+ return dcg / idcg if idcg > 0 else 0.0
+
+
+def mrr_at_k(ranked_ids, qrel_map, k=10):
+ for i, cid in enumerate(ranked_ids[:k]):
+ if qrel_map.get(cid, 0) > 0:
+ return 1.0 / (i + 1)
+ return 0.0
+
+
+def recall_at_k(ranked_ids, qrel_map, k=10):
+ relevant = {cid for cid, s in qrel_map.items() if s > 0}
+ if not relevant:
+ return 0.0
+ return sum(1 for cid in ranked_ids[:k] if cid in relevant) / len(relevant)
+
+
+def evaluate(ranked_results, query_items, qrel_map, k=TOP_K_EVAL):
+ ndcgs, mrrs, recalls = [], [], []
+ for ranked, qi in zip(ranked_results, query_items):
+ qrels = qrel_map.get(qi["query_id"], {})
+ if not qrels:
+ continue
+ ndcgs.append(ndcg_at_k(ranked, qrels, k))
+ mrrs.append(mrr_at_k(ranked, qrels, k))
+ recalls.append(recall_at_k(ranked, qrels, k))
+ return {
+ "ndcg@10": round(float(np.mean(ndcgs)), 4),
+ "mrr@10": round(float(np.mean(mrrs)), 4),
+ "recall@10": round(float(np.mean(recalls)), 4),
+ "n_queries": len(ndcgs),
+ }
+
+
+def rrf_fuse(ranked_lists, k=RRF_K):
+ scores = {}
+ for ranked in ranked_lists:
+ for rank, doc_id in enumerate(ranked):
+ scores[doc_id] = scores.get(doc_id, 0.0) + 1.0 / (k + rank + 1)
+ return [doc_id for doc_id, _ in sorted(scores.items(), key=lambda x: x[1], reverse=True)]
+
+
+# ── Output ──────────────────────────────────────────────────────────────────
+
+
+def write_results_csv(results_log, path):
+ if not results_log:
+ return
+ all_keys = sorted({k for r in results_log for k in r})
+ with open(path, "w", newline="") as f:
+ writer = csv.DictWriter(f, fieldnames=all_keys)
+ writer.writeheader()
+ writer.writerows(results_log)
+
+
+def append_result(results_log, result):
+ results_log.append(result)
+ write_results_csv(results_log, RESULTS_CSV)
+ logger.info(
+ f" -> {result.get('condition')}: NDCG@10={result.get('ndcg@10')} [{len(results_log)} results in {RESULTS_CSV}]"
+ )
+
+
+def print_summary(results_log):
+ logger.info(f"\n{'=' * 100}")
+ logger.info("ABLATION RESULTS")
+ logger.info(f"{'=' * 100}")
+ hdr = f"{'#':<4} {'Condition':<25} {'Reranker':<42} {'NDCG@10':>8} {'MRR@10':>8} {'Recall@10':>10}"
+ logger.info(hdr)
+ logger.info("-" * 100)
+ for r in sorted(results_log, key=lambda x: x.get("ndcg@10", 0), reverse=True):
+ logger.info(
+ f"{r.get('condition_num', ''):<4} "
+ f"{r.get('condition', ''):<25} "
+ f"{r.get('reranker', '-'):<42} "
+ f"{r.get('ndcg@10', 0):>8.4f} "
+ f"{r.get('mrr@10', 0):>8.4f} "
+ f"{r.get('recall@10', 0):>10.4f}"
+ )
+ logger.info(f"{'=' * 100}")
+
+
+# ── Data Loading ────────────────────────────────────────────────────────────
+
+
+def load_dataset():
+ from datasets import load_dataset as hf_load
+
+ t0 = time.perf_counter()
+ corpus = pl.from_arrow(hf_load("vidore/vidore_v3_finance_en", "corpus", split="test").data.table)
+ queries = pl.from_arrow(hf_load("vidore/vidore_v3_finance_en", "queries", split="test").data.table)
+ qrels_df = pl.from_arrow(hf_load("vidore/vidore_v3_finance_en", "qrels", split="test").data.table)
+ logger.info(f"Dataset loaded in {time.perf_counter() - t0:.1f}s")
+
+ qrel_map = {}
+ for row in qrels_df.iter_rows(named=True):
+ qrel_map.setdefault(row["query_id"], {})[row["corpus_id"]] = row["score"]
+
+ corpus_items = []
+ for row in corpus.iter_rows(named=True):
+ text = row["markdown"] or ""
+ if len(text.strip()) < 10:
+ text = f"Page {row['page_number_in_doc']} of {row['doc_id']}"
+ corpus_items.append(
+ {
+ "corpus_id": row["corpus_id"],
+ "text": text,
+ "doc_id": row["doc_id"],
+ "page_number": row["page_number_in_doc"],
+ }
+ )
+
+ query_items = [{"query_id": r["query_id"], "text": r["query"]} for r in queries.iter_rows(named=True)]
+ logger.info(
+ f"Corpus: {len(corpus_items)}, Queries: {len(query_items)}, Qrels: {sum(len(v) for v in qrel_map.values())}"
+ )
+ return corpus_items, query_items, qrel_map
+
+
+# ── Async Encode (SDK handles 503 retries; we retry transport errors) ──────
+
+
+async def _encode_with_retry(sie, semaphore, model, batch, output_types, is_query, gpu):
+ for attempt in range(MAX_TRANSPORT_RETRIES):
+ try:
+ async with semaphore:
+ return await sie.encode(
+ model,
+ batch,
+ output_types=output_types,
+ is_query=is_query,
+ gpu=gpu,
+ wait_for_capacity=True,
+ provision_timeout_s=PROVISION_TIMEOUT,
+ )
+ except Exception as e:
+ logger.warning(f" Encode error (attempt {attempt + 1}/{MAX_TRANSPORT_RETRIES}, {type(e).__name__}): {e}")
+ await asyncio.sleep(5 * (attempt + 1))
+ raise RuntimeError(f"Encode failed after {MAX_TRANSPORT_RETRIES} retries")
+
+
+async def encode_dense(sie, model, texts, is_query, gpu, semaphore, cache_path=None):
+ cache = NpzCache(cache_path)
+ if cache.exists():
+ logger.info(f"Cache hit: {cache_path}")
+ return cache.load_dense()
+
+ batches = [texts[i : i + ENCODE_BATCH_SIZE] for i in range(0, len(texts), ENCODE_BATCH_SIZE)]
+ done = 0
+
+ async def do_one(batch_texts):
+ nonlocal done
+ batch = [{"text": t} for t in batch_texts]
+ result = await _encode_with_retry(sie, semaphore, model, batch, ["dense"], is_query, gpu)
+ done += 1
+ if done % 5 == 0 or done == len(batches):
+ logger.info(f" Dense encode: {done}/{len(batches)} batches")
+ return result
+
+ results_list = await asyncio.gather(*[do_one(b) for b in batches])
+ all_vectors = []
+ for results in results_list:
+ all_vectors.extend(r["dense"] for r in results)
+
+ if cache_path:
+ cache.save_dense(all_vectors)
+ logger.info(f" Cached {len(all_vectors)} dense vectors")
+ return all_vectors
+
+
+async def encode_multivector(sie, model, texts, is_query, gpu, semaphore, cache_path=None):
+ cache = NpzCache(cache_path)
+ if cache.exists():
+ logger.info(f"Cache hit: {cache_path}")
+ return cache.load_multivector()
+
+ batches = [texts[i : i + MV_ENCODE_BATCH_SIZE] for i in range(0, len(texts), MV_ENCODE_BATCH_SIZE)]
+ done = 0
+
+ async def do_one(batch_texts):
+ nonlocal done
+ batch = [{"text": t} for t in batch_texts]
+ result = await _encode_with_retry(sie, semaphore, model, batch, ["multivector"], is_query, gpu)
+ done += 1
+ if done % 10 == 0 or done == len(batches):
+ logger.info(f" MV encode ({model}): {done}/{len(batches)} batches")
+ return result
+
+ results_list = await asyncio.gather(*[do_one(b) for b in batches])
+ all_mvs = []
+ for results in results_list:
+ all_mvs.extend(r["multivector"] for r in results)
+
+ if cache_path:
+ cache.save_multivector(all_mvs)
+ logger.info(f" Cached {len(all_mvs)} multivectors ({model})")
+ return all_mvs
+
+
+# ── Turbopuffer (async) ───────────────────────────────────────────────────
+
+
+async def index_corpus(tpuf, corpus_items, vectors, ns_name):
+ ns = tpuf.namespace(ns_name)
+ for i in range(0, len(corpus_items), TPUF_BATCH_SIZE):
+ end = min(i + TPUF_BATCH_SIZE, len(corpus_items))
+ batch_items, batch_vecs = corpus_items[i:end], vectors[i:end]
+ await ns.write(
+ distance_metric="cosine_distance",
+ upsert_columns={
+ "id": [str(item["corpus_id"]) for item in batch_items],
+ "vector": [v.tolist() for v in batch_vecs],
+ "text": [item["text"] for item in batch_items],
+ "doc_id": [item["doc_id"] for item in batch_items],
+ "page_number": [item["page_number"] for item in batch_items],
+ },
+ schema={"text": {"type": "string", "full_text_search": {"tokenizer": "word_v2"}}},
+ )
+ logger.info(f"Indexed {len(corpus_items)} docs in {ns_name}")
+
+
+async def search_bm25(tpuf, ns_name, query_texts, cache_path=None):
+ cache = JsonCache(cache_path)
+ if cache.exists():
+ logger.info(f"Cache hit: {cache_path}")
+ return cache.load()
+
+ ns = tpuf.namespace(ns_name)
+
+ async def query_one(q):
+ r = await ns.query(rank_by=("text", "BM25", q), top_k=TOP_K_RETRIEVE, include_attributes=False)
+ return [int(row.id) for row in r.rows]
+
+ results = list(await asyncio.gather(*[query_one(q) for q in query_texts]))
+ if cache_path:
+ cache.save(results)
+ logger.info(f"BM25 search: {len(results)} queries, top-{TOP_K_RETRIEVE}")
+ return results
+
+
+async def search_vector(tpuf, ns_name, query_vectors, cache_path=None):
+ cache = JsonCache(cache_path)
+ if cache.exists():
+ logger.info(f"Cache hit: {cache_path}")
+ return cache.load()
+
+ ns = tpuf.namespace(ns_name)
+
+ async def query_one(qv):
+ r = await ns.query(rank_by=("vector", "ANN", qv.tolist()), top_k=TOP_K_RETRIEVE, include_attributes=False)
+ return [int(row.id) for row in r.rows]
+
+ results = list(await asyncio.gather(*[query_one(qv) for qv in query_vectors]))
+ if cache_path:
+ cache.save(results)
+ logger.info(f"Vector search: {len(results)} queries, top-{TOP_K_RETRIEVE}")
+ return results
+
+
+# ── Cross-Encoder Reranking with partial cache ─────────────────────────────
+
+
+async def rerank_cross_encoder(sie, model, query_texts, candidate_ids_list, text_map, gpu, semaphore, cache_path=None):
+ cache = JsonCache(cache_path)
+ if cache.exists():
+ logger.info(f"Cache hit: {cache_path}")
+ return cache.load()
+
+ n = len(query_texts)
+ partial_path = cache_path.with_suffix(".partial.json") if cache_path else None
+
+ results = [None] * n
+ done = 0
+ if partial_path and partial_path.exists():
+ with open(partial_path) as f:
+ partial = json.load(f)
+ for i, r in enumerate(partial):
+ if r is not None:
+ results[i] = r
+ done = sum(1 for r in results if r is not None)
+ logger.info(f" CE {model}: resumed {done}/{n} from checkpoint")
+
+ remaining = [i for i in range(n) if results[i] is None]
+ logger.info(f" CE {model}: {len(remaining)} queries to score ({len(candidate_ids_list[0])} candidates/query)")
+
+ async def score_one(idx):
+ cands = candidate_ids_list[idx]
+ if not cands:
+ return idx, []
+ items = [{"text": text_map.get(cid, "")} for cid in cands]
+ for attempt in range(MAX_TRANSPORT_RETRIES):
+ try:
+ async with semaphore:
+ result = await sie.score(
+ model,
+ query={"text": query_texts[idx]},
+ items=items,
+ gpu=gpu,
+ wait_for_capacity=True,
+ provision_timeout_s=PROVISION_TIMEOUT,
+ )
+ # item_id = original index ("item-N" -> N), rank = output position
+ scored = sorted(
+ [(cands[int(s["item_id"].split("-")[1])], s["score"]) for s in result["scores"]],
+ key=lambda x: x[1],
+ reverse=True,
+ )
+ return idx, [cid for cid, _ in scored]
+ except Exception as e:
+ logger.warning(f" CE error (attempt {attempt + 1}/{MAX_TRANSPORT_RETRIES}, {type(e).__name__}): {e}")
+ await asyncio.sleep(5 * (attempt + 1))
+ raise RuntimeError(f"CE score failed after {MAX_TRANSPORT_RETRIES} retries for query {idx}")
+
+ completed = done
+ batch_size = GPU_CONCURRENCY * 3 # Process in manageable batches to avoid connection pool exhaustion
+ for batch_start in range(0, len(remaining), batch_size):
+ batch = remaining[batch_start : batch_start + batch_size]
+ for coro in asyncio.as_completed([score_one(i) for i in batch]):
+ idx, ranked = await coro
+ results[idx] = ranked
+ completed += 1
+
+ if completed % CHECKPOINT_INTERVAL == 0:
+ if partial_path:
+ partial_path.parent.mkdir(parents=True, exist_ok=True)
+ with open(partial_path, "w") as f:
+ json.dump(results, f)
+ logger.info(f" CE {model}: {completed}/{n} (checkpoint)")
+ elif completed % 200 == 0:
+ logger.info(f" CE {model}: {completed}/{n}")
+
+ if cache_path:
+ cache.save(results)
+ if partial_path and partial_path.exists():
+ partial_path.unlink()
+ logger.info(f" CE {model}: done ({n} queries)")
+ return results
+
+
+# ── Multi-Vector Scoring (CPU, maxsim_cpu) ─────────────────────────────────
+
+
+def rerank_multivector(query_mvs, normed_corpus_mv_map, candidate_ids_list, cache_path=None):
+ """Rerank hybrid pool candidates using pre-normalized corpus multivectors."""
+ cache = JsonCache(cache_path)
+ if cache.exists():
+ logger.info(f"Cache hit: {cache_path}")
+ return cache.load()
+
+ normed_queries = [normalize_mv(q) for q in query_mvs]
+ all_reranked = []
+ for i, (q_mv, cand_ids) in enumerate(zip(normed_queries, candidate_ids_list)):
+ if not cand_ids:
+ all_reranked.append([])
+ continue
+ doc_mvs = [normed_corpus_mv_map[cid] for cid in cand_ids]
+ scores = maxsim_cpu.maxsim_scores_variable(q_mv, doc_mvs)
+ scored = sorted(zip(cand_ids, scores), key=lambda x: x[1], reverse=True)
+ all_reranked.append([cid for cid, _ in scored])
+ if (i + 1) % 200 == 0:
+ logger.info(f" MV rerank: {i + 1}/{len(query_mvs)}")
+
+ logger.info(f" MV rerank done: {len(all_reranked)} queries")
+ if cache_path:
+ cache.save(all_reranked)
+ return all_reranked
+
+
+def retrieve_multivector(query_mvs, corpus_ids, normed_corpus_mvs, cache_path=None):
+ """Brute-force MaxSim over pre-normalized corpus multivectors."""
+ cache = JsonCache(cache_path)
+ if cache.exists():
+ logger.info(f"Cache hit: {cache_path}")
+ return cache.load()
+
+ normed_queries = [normalize_mv(q) for q in query_mvs]
+ all_ranked = []
+ for i, q_mv in enumerate(normed_queries):
+ scores = maxsim_cpu.maxsim_scores_variable(q_mv, normed_corpus_mvs)
+ scored = sorted(zip(corpus_ids, scores), key=lambda x: x[1], reverse=True)
+ all_ranked.append([cid for cid, _ in scored])
+ if (i + 1) % 100 == 0:
+ logger.info(f" MV direct: {i + 1}/{len(query_mvs)}")
+
+ logger.info(f" MV direct done: {len(all_ranked)} queries")
+ if cache_path:
+ cache.save(all_ranked)
+ return all_ranked
+
+
+# ── Main ────────────────────────────────────────────────────────────────────
+
+
+async def main():
+ parser = argparse.ArgumentParser(
+ description="Retrieval Ablation Benchmark on vidore_v3_finance_en",
+ formatter_class=argparse.RawDescriptionHelpFormatter,
+ epilog="Examples:\n"
+ " uv run python benchmark_ablation.py --gpu l4-spot\n"
+ " uv run python benchmark_ablation.py --skip-conditions 5,6\n"
+ " uv run python benchmark_ablation.py --ce-models mxbai-rerank --mv-models colbert\n"
+ " uv run python benchmark_ablation.py --dry-run\n",
+ )
+ parser.add_argument("--gpu", default=None, help="GPU type (e.g. l4-spot, rtx6000-spot). Default: let router pick")
+ parser.add_argument("--skip-conditions", default="", help="Comma-separated condition numbers to skip (1-6)")
+ parser.add_argument("--namespace", default=None, help="Turbopuffer namespace. Default: ablation-{encoder-slug}")
+ parser.add_argument(
+ "--ce-models",
+ default="all",
+ help=f"CE reranker models: comma-separated from {list(ALL_CE_RERANKERS.keys())}, or 'all'",
+ )
+ parser.add_argument(
+ "--mv-models", default="all", help=f"MV models: comma-separated from {list(ALL_MV_MODELS.keys())}, or 'all'"
+ )
+ parser.add_argument("--dry-run", action="store_true", help="Validate config and print plan without running")
+ args = parser.parse_args()
+
+ gpu = args.gpu
+ skip = set(int(x) for x in args.skip_conditions.split(",") if x.strip())
+ run_mv_rerank = 5 not in skip
+ run_mv_direct = 6 not in skip
+ ns_name = args.namespace or f"ablation-{slugify(ENCODER)}"
+
+ # Resolve model selections
+ if args.ce_models == "all":
+ ce_rerankers = list(ALL_CE_RERANKERS.values())
+ else:
+ ce_rerankers = [ALL_CE_RERANKERS[k.strip()] for k in args.ce_models.split(",")]
+
+ if args.mv_models == "all":
+ mv_rerankers = list(ALL_MV_MODELS.values())
+ else:
+ mv_rerankers = [ALL_MV_MODELS[k.strip()] for k in args.mv_models.split(",")]
+
+ sie_base_url = _require_env("SIE_BASE_URL")
+ sie_api_key = os.getenv("SIE_API_KEY") or None
+
+ semaphore = asyncio.Semaphore(GPU_CONCURRENCY)
+
+ if args.dry_run:
+ conditions = [c for c in range(1, 7) if c not in skip]
+ logger.info("=== DRY RUN ===")
+ logger.info(f"GPU: {gpu or 'router picks'}")
+ logger.info(f"Namespace: {ns_name}")
+ logger.info(f"Conditions: {conditions}")
+ logger.info(f"CE models: {[slugify(r) for r in ce_rerankers]}")
+ logger.info(f"MV models: {[m['model'] for m in mv_rerankers]}")
+ logger.info(f"TOP_K: {TOP_K_RETRIEVE}, Hybrid pool: ~{TOP_K_RETRIEVE * 2} candidates")
+ logger.info(f"Cache dir: {CACHE_DIR} (exists={CACHE_DIR.exists()})")
+ logger.info(f"SIE endpoint: {sie_base_url}")
+ logger.info(f"SIE auth: {'configured' if sie_api_key else 'not configured'}")
+ logger.info("Config OK. Remove --dry-run to execute.")
+ return
+
+ tpuf_api_key = _require_env("TURBOPUFFER_API_KEY")
+
+ np.random.seed(RANDOM_SEED)
+ CACHE_DIR.mkdir(parents=True, exist_ok=True)
+
+ async with SIEAsyncClient(sie_base_url, api_key=sie_api_key, timeout_s=900, max_connections=10) as sie:
+ tpuf = AsyncTurbopuffer(api_key=tpuf_api_key, region="aws-us-east-1")
+
+ corpus_items, query_items, qrel_map = load_dataset()
+ text_map = {item["corpus_id"]: item["text"] for item in corpus_items}
+ corpus_texts = [item["text"] for item in corpus_items]
+ query_texts = [qi["text"] for qi in query_items]
+ corpus_ids = [item["corpus_id"] for item in corpus_items]
+
+ results_log = []
+ t_total = time.perf_counter()
+
+ # ── Trial 1: Embed corpus + queries with bge-m3 ──────────────
+ logger.info("\n=== TRIAL 1: Embed corpus + queries (bge-m3 dense) ===")
+ t0 = time.perf_counter()
+
+ corpus_vecs = await encode_dense(
+ sie,
+ ENCODER,
+ corpus_texts,
+ is_query=False,
+ gpu=gpu,
+ semaphore=semaphore,
+ cache_path=CACHE_DIR / "dense_corpus.npz",
+ )
+ _, query_vecs = await asyncio.gather(
+ index_corpus(tpuf, corpus_items, corpus_vecs, ns_name),
+ encode_dense(
+ sie,
+ ENCODER,
+ query_texts,
+ is_query=True,
+ gpu=gpu,
+ semaphore=semaphore,
+ cache_path=CACHE_DIR / "dense_query.npz",
+ ),
+ )
+ elapsed = time.perf_counter() - t0
+ logger.info(
+ f"Trial 1: {elapsed:.1f}s ({len(corpus_texts) + len(query_texts)} items, "
+ f"{(len(corpus_texts) + len(query_texts)) / max(elapsed, 0.1):.0f} items/s)"
+ )
+
+ # ── Trial 2: BM25 + Vector retrieval ──────────────────────
+ logger.info(f"\n=== TRIAL 2: BM25 + Vector search (top-{TOP_K_RETRIEVE}) ===")
+ t0 = time.perf_counter()
+
+ bm25_results, vec_results = await asyncio.gather(
+ search_bm25(tpuf, ns_name, query_texts, cache_path=CACHE_DIR / f"bm25_top{TOP_K_RETRIEVE}.json"),
+ search_vector(tpuf, ns_name, query_vecs, cache_path=CACHE_DIR / f"vector_top{TOP_K_RETRIEVE}.json"),
+ )
+ elapsed = time.perf_counter() - t0
+ logger.info(
+ f"Trial 2: {elapsed:.1f}s ({len(query_texts) * 2} queries, "
+ f"{len(query_texts) * 2 / max(elapsed, 0.1):.0f} queries/s)"
+ )
+
+ # ── Eval: BM25, Vector, RRF baselines ─────────────────────
+ if 1 not in skip:
+ m = evaluate(bm25_results, query_items, qrel_map)
+ append_result(results_log, {"condition_num": 1, "condition": "BM25-only", "reranker": "-", **m})
+
+ if 2 not in skip:
+ m = evaluate(vec_results, query_items, qrel_map)
+ append_result(results_log, {"condition_num": 2, "condition": "Vector-only", "reranker": "-", **m})
+
+ if 3 not in skip:
+ rrf_results = [rrf_fuse([b, v]) for b, v in zip(bm25_results, vec_results)]
+ m = evaluate(rrf_results, query_items, qrel_map)
+ append_result(results_log, {"condition_num": 3, "condition": "RRF(BM25+Vec)", "reranker": "-", **m})
+
+ # ── Build hybrid pool ──────────────────────────────────────
+ hybrid_pools = [build_hybrid_pool(b, v) for b, v in zip(bm25_results, vec_results)]
+ pool_sizes = [len(p) for p in hybrid_pools]
+ logger.info(
+ f"Hybrid pool: mean={np.mean(pool_sizes):.0f}, min={min(pool_sizes)}, max={max(pool_sizes)} candidates"
+ )
+
+ # ── Trial 3: Cross-encoder rerank + Multi-vector scoring ──
+ logger.info("\n=== TRIAL 3: Cross-encoder rerank + Multi-vector scoring ===")
+ t0 = time.perf_counter()
+
+ async def run_ce(reranker):
+ slug = slugify(reranker)
+ logger.info(f" [CE] Start: {reranker}")
+ reranked = await rerank_cross_encoder(
+ sie,
+ reranker,
+ query_texts,
+ hybrid_pools,
+ text_map,
+ gpu,
+ semaphore,
+ cache_path=CACHE_DIR / f"rerank_ce_{slug}_hybrid{TOP_K_RETRIEVE}.json",
+ )
+ m = evaluate(reranked, query_items, qrel_map)
+ return {"condition_num": 4, "condition": f"CE-Rerank(hybrid-{TOP_K_RETRIEVE})", "reranker": reranker, **m}
+
+ async def run_mv_pipeline(mv_config):
+ model = mv_config["model"]
+ slug = slugify(model)
+ results = []
+
+ logger.info(f" [MV] Start encode: {model}")
+ corpus_mvs = await encode_multivector(
+ sie,
+ model,
+ corpus_texts,
+ is_query=False,
+ gpu=gpu,
+ semaphore=semaphore,
+ cache_path=CACHE_DIR / f"mv_corpus_{slug}.npz",
+ )
+ query_mvs = await encode_multivector(
+ sie,
+ model,
+ query_texts,
+ is_query=True,
+ gpu=gpu,
+ semaphore=semaphore,
+ cache_path=CACHE_DIR / f"mv_query_{slug}.npz",
+ )
+
+ # Pre-normalize corpus once (not per-query)
+ normed_corpus_mv_map = {
+ corpus_items[i]["corpus_id"]: normalize_mv(corpus_mvs[i]) for i in range(len(corpus_items))
+ }
+ normed_corpus_mvs = [normed_corpus_mv_map[cid] for cid in corpus_ids]
+
+ loop = asyncio.get_running_loop()
+
+ if run_mv_rerank:
+ reranked = await loop.run_in_executor(
+ None,
+ rerank_multivector,
+ query_mvs,
+ normed_corpus_mv_map,
+ hybrid_pools,
+ CACHE_DIR / f"rerank_mv_{slug}_hybrid{TOP_K_RETRIEVE}.json",
+ )
+ m = evaluate(reranked, query_items, qrel_map)
+ results.append(
+ {
+ "condition_num": 5,
+ "condition": f"MV-Rerank(hybrid-{TOP_K_RETRIEVE})",
+ "reranker": model,
+ "mv_dim": mv_config["dim"],
+ **m,
+ }
+ )
+
+ if run_mv_direct:
+ ranked = await loop.run_in_executor(
+ None,
+ retrieve_multivector,
+ query_mvs,
+ corpus_ids,
+ normed_corpus_mvs,
+ CACHE_DIR / f"retrieve_mv_{slug}.json",
+ )
+ m = evaluate(ranked, query_items, qrel_map)
+ results.append(
+ {"condition_num": 6, "condition": "MV-Direct", "reranker": model, "mv_dim": mv_config["dim"], **m}
+ )
+
+ return results
+
+ all_tasks = []
+ if 4 not in skip:
+ for r in ce_rerankers:
+ all_tasks.append(run_ce(r))
+ if run_mv_rerank or run_mv_direct:
+ for cfg in mv_rerankers:
+ all_tasks.append(run_mv_pipeline(cfg))
+
+ for coro in asyncio.as_completed(all_tasks):
+ r = await coro
+ if isinstance(r, list):
+ for item in r:
+ append_result(results_log, item)
+ else:
+ append_result(results_log, r)
+
+ elapsed = time.perf_counter() - t0
+ n_experiments = len([r for r in results_log if r.get("condition_num", 0) >= 4])
+ logger.info(f"Trial 3: {elapsed:.1f}s ({n_experiments} experiments)")
+ total = time.perf_counter() - t_total
+ logger.info(f"Total: {total:.1f}s ({len(results_log)} conditions evaluated)")
+
+ write_results_csv(results_log, RESULTS_CSV)
+ print_summary(results_log)
+
+
+if __name__ == "__main__":
+ asyncio.run(main())
diff --git a/examples/retrieval-ablation/hero.png b/examples/retrieval-ablation/hero.png
new file mode 100644
index 000000000..acb2729e4
Binary files /dev/null and b/examples/retrieval-ablation/hero.png differ
diff --git a/examples/retrieval-ablation/pyproject.toml b/examples/retrieval-ablation/pyproject.toml
new file mode 100644
index 000000000..101905866
--- /dev/null
+++ b/examples/retrieval-ablation/pyproject.toml
@@ -0,0 +1,18 @@
+[project]
+name = "retrieval-ablation"
+version = "0.1.0"
+description = "Retrieval ablation benchmark for SIE + Turbopuffer"
+readme = "README.md"
+requires-python = "==3.12.*"
+dependencies = [
+ "sie-sdk",
+ "python-dotenv",
+ "loguru",
+ "numpy",
+ "polars>=1.39.2",
+ "pyarrow>=22.0.0",
+ "turbopuffer>=1.18.0",
+ "maxsim-cpu>=0.1.0",
+ "datasets>=3.6.0",
+ "matplotlib>=3.10.8",
+]
diff --git a/examples/retrieval-ablation/results_chart.png b/examples/retrieval-ablation/results_chart.png
new file mode 100644
index 000000000..8f193d806
Binary files /dev/null and b/examples/retrieval-ablation/results_chart.png differ
diff --git a/examples/sie-hugging-face-mteb-semantic-search/.gitattributes b/examples/sie-hugging-face-mteb-semantic-search/.gitattributes
new file mode 100644
index 000000000..dfe077042
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/.gitattributes
@@ -0,0 +1,2 @@
+# Auto detect text files and perform LF normalization
+* text=auto
diff --git a/examples/sie-hugging-face-mteb-semantic-search/.gitignore b/examples/sie-hugging-face-mteb-semantic-search/.gitignore
new file mode 100644
index 000000000..a85ad6b59
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/.gitignore
@@ -0,0 +1,56 @@
+# SIE SUPERLINKED LLM SYSTEM
+LLM/
+
+# Python
+__pycache__/
+*.py[cod]
+*.pyo
+*.egg-info/
+*.egg
+dist/
+build/
+.eggs/
+
+# Virtual environments
+venv/
+.venv/
+env/
+
+# Testing / Coverage
+.pytest_cache/
+.coverage
+htmlcov/
+.mypy_cache/
+
+# Environment variables
+.env
+.env.*
+!.env.example
+
+# Backend data — ignore contents but keep the sqlite directory structure
+backend/data/*
+!backend/data/sqlite/
+backend/data/sqlite/*
+!backend/data/sqlite/.gitignore
+
+# Node / Frontend
+node_modules/
+.vite/
+
+# Build output
+frontend/dist/
+
+# IDE / Editor
+.vscode/
+.idea/
+*.swp
+*.swo
+*~
+
+# OS
+Thumbs.db
+Desktop.ini
+.DS_Store
+
+# Personal notes
+otherInfo.txt
diff --git a/examples/sie-hugging-face-mteb-semantic-search/README.md b/examples/sie-hugging-face-mteb-semantic-search/README.md
new file mode 100644
index 000000000..c9463fef1
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/README.md
@@ -0,0 +1,509 @@
+# SIE Model Picker
+
+**You're using SIE and you need to pick a model.** SIE ships 85+
+specialized models for encoding, reranking, and extraction (BGE,
+Qwen3, Stella, ColBERT, ColPali, GLiNER, Florence-2, and more). Which
+one is right for *your* task?
+
+This tool is a semantic search over those models, ranked by MTEB
+task-specific scores. Describe what you're building ("multilingual
+long-document retrieval", "zero-shot entity extraction from invoices",
+"reranking for financial search") and get back the SIE-ready model
+identifier you can drop into `client.encode()`, `client.score()`, or
+`client.extract()`. No scrolling through 85 model cards, no averaged
+leaderboard numbers that hide task-specific tradeoffs.
+
+The MTEB leaderboard only shows averaged scores and HF search is
+keyword-only, so picking the right model for a specific task is harder
+than it should be. This tool fills that gap and points you straight at
+the SIE model IDs.
+
+**Two modes.** *Zero-setup mode* runs a local text ranker against the
+bundled demo catalog (no SIE, no API keys required, good for kicking
+the tires). *Full mode* uses your SIE endpoint for embeddings and
+OpenRouter for LLM-generated descriptions (the production path). Copy
+`backend/.env.example` to `backend/.env` and fill in only the keys for
+the mode you want. The sections below walk through both.
+
+---
+
+<p align="center">
+ <img src="./assets/superlinked-sie-llm-search-overview-illustration.png" alt="Semantic search over Hugging Face embedding models, ranked by MTEB task-specific scores." width="100%" />
+</p>
+
+## Table of contents
+
+- [Architecture](#architecture)
+- [Try It Locally First](#try-it-locally-first)
+- [Project layout](#project-layout)
+- [Prerequisites](#prerequisites)
+- [Installation](#installation)
+- [Configuration](#configuration)
+- [How to use](#how-to-use)
+- [Frontend](#frontend)
+- [Data model](#data-model)
+- [Search APIs](#search-apis)
+- [Operations notes](#operations-notes)
+
+---
+
+## Architecture
+
+- **Backend** — Python service in `backend/` (FastAPI + SIE):
+ - SQLite in `backend/data/sqlite/sie.db` with tables `storage_ids` and `models`.
+ - ChromaDB in `backend/data/chroma/` as the local vector store.
+ - Superlinked Inference Engine (SIE) produces embeddings for short and long descriptions.
+ - OpenRouter generates descriptions from HF metadata + README + MTEB scores.
+- **Frontend** — TypeScript + React app in `frontend/` that calls the backend APIs for search, browse, and model details.
+
+```mermaid
+flowchart LR
+ UI[Frontend<br/>React + Vite]
+ API[FastAPI<br/>backend/app]
+ SQL[(SQLite<br/>models, storage_ids)]
+ Chroma[(ChromaDB<br/>short + long vectors)]
+ SIE[SIE<br/>embeddings]
+ OR[OpenRouter<br/>description LLM]
+ HF[HuggingFace<br/>metadata + README]
+ MTEB[MTEB cache<br/>benchmark scores]
+
+ UI -->|/api/...| API
+ API --> SQL
+ API --> Chroma
+ Chroma --> SIE
+ API --> OR
+ API --> HF
+ API --> MTEB
+```
+
+---
+
+## Try It Locally First
+
+You can run the project without a SIE endpoint, OpenRouter key, or Hugging Face token.
+The repo includes a small bundled demo catalog plus a local text-ranking fallback.
+
+```bash
+cd backend
+pip install -r requirements.txt
+python cli_seed_demo.py
+python -m uvicorn app.main:app --reload --port 8000
+
+cd ../frontend
+npm install
+npm run dev
+```
+
+Then open <http://localhost:5173> and use storage id `demo`.
+
+What works in local demo mode:
+
+- browse the bundled model cards
+- open model details and bundled READMEs
+- run simple search and reranked search through the local fallback ranker
+
+What still needs live services:
+
+- downloading fresh Hugging Face model metadata
+- generating descriptions through OpenRouter
+- vector search and Chroma reindexing through a real SIE endpoint
+
+---
+
+## Why SIE Is Useful Here
+
+This project is not just a model browser. It shows how SIE helps turn a large model catalog into a searchable product experience.
+
+With SIE, the same application can start in a lightweight local demo mode and then move to live semantic search with real embeddings when you connect a running SIE endpoint. That makes it easier to prototype, evaluate, and operationalize search workflows without rebuilding the app around a different serving stack.
+
+In practice, this example shows three concrete benefits:
+
+- a single API surface for semantic search workflows
+- a clear path from local exploration to live inference-backed search
+- less custom infrastructure to wire together when testing retrieval ideas on real model metadata
+
+---
+
+## Project layout
+
+```
+sie-hugging-face-mteb-semantic-search/
+├── backend/
+│ ├── app/
+│ │ ├── api/routes/ # FastAPI routers: models, generate, search, chroma
+│ │ ├── db/ # SQLAlchemy models, session, migrations
+│ │ ├── services/ # chroma, fallback search, llm, openrouter, sie_chroma
+│ │ ├── prompts/ # description prompt templates (.md)
+│ │ ├── config.py # pydantic-settings, reads backend/.env
+│ │ └── main.py # FastAPI app factory
+│ ├── cli_download.py # download HF metadata + MTEB scores
+│ ├── cli_generate.py # generate short/long descriptions + index
+│ ├── cli_reindex.py # rebuild Chroma from existing descriptions
+│ ├── cli_seed_demo.py # seed bundled demo catalog for local use
+│ ├── cli_sie_status.py # inspect SIE server health + loaded models
+│ ├── demo_models.json # bundled demo data for public quickstart
+│ ├── data/ # sqlite/, chroma/, hf-cache/ (gitignored)
+│ └── requirements.txt
+├── frontend/
+│ ├── src/App.tsx # single-file React app, four tabs
+│ └── package.json
+├── assets/
+└── README.md
+```
+
+---
+
+## Prerequisites
+
+- **Python 3.12** and `pip`.
+- **Node.js 18+** and `npm`.
+- An **OpenRouter** API key if you want to generate new descriptions.
+- A running **SIE** endpoint if you want live vector indexing and embedding search. `SIE_API_KEY` is optional and only needed for managed/auth-enabled clusters.
+- Optional: a **Hugging Face** token, useful for higher rate limits.
+
+---
+
+## Installation
+
+Backend:
+
+```bash
+cd backend
+pip install -r requirements.txt
+```
+
+Frontend:
+
+```bash
+cd frontend
+npm install
+```
+
+---
+
+## Configuration
+
+All backend settings come from environment variables or `backend/.env`.
+See `backend/app/config.py` for the full list; the important keys are:
+
+| Variable | Default | Purpose |
+|-----------------------|--------------------------------------|--------------------------------------------|
+| `HF_TOKEN` | _(empty)_ | Optional, raises HuggingFace rate limits |
+| `OPENROUTER_API_KEY` | _(empty, required for generation)_ | Auth for OpenRouter description calls |
+| `OPENROUTER_MODEL` | `google/gemini-3.1-pro-preview` | Default LLM used by CLI + UI |
+| `LLM_MAX_PARALLEL` | `20` | Max in-flight OpenRouter calls |
+| `SIE_API_ENDPOINT` | _(empty, required for embeddings)_ | URL of the SIE server |
+| `SIE_API_KEY` | _(empty)_ | Optional bearer token for managed/auth-enabled SIE clusters |
+| `SIE_EMBED_MODEL` | `NovaSearch/stella_en_400M_v5` | Embedding model registered on SIE |
+| `SIE_EMBED_BATCH_SIZE`| `32` | Texts per SIE encode call |
+| `SQLITE_PATH` | `data/sqlite/sie.db` | Local SQLite database path |
+| `CHROMA_PATH` | `data/chroma` | Local ChromaDB directory |
+
+Minimal `backend/.env` for live services:
+
+```env
+OPENROUTER_API_KEY=sk-or-...
+SIE_API_ENDPOINT=https://your-sie-host
+# Optional: only needed for managed/auth-enabled SIE clusters.
+SIE_API_KEY=
+HF_TOKEN=hf_... # optional
+```
+
+---
+
+## How to use
+
+### 0. Seed the bundled demo catalog
+
+If you want the no-credentials path, seed the bundled local catalog first:
+
+```bash
+cd backend
+python cli_seed_demo.py
+```
+
+Then use storage id `demo` in the UI.
+
+### 1. Run the backend
+
+```bash
+cd backend
+pip install -r requirements.txt
+python -m uvicorn app.main:app --reload --port 8000
+```
+
+Verify: <http://localhost:8000/health> returns `{"status":"ok"}`.
+
+### 2. Run the frontend
+
+```bash
+cd frontend
+npm install
+npm run dev
+```
+
+Then open <http://localhost:5173>. For the local demo flow, start with storage id `demo`.
+
+### 3. Check the SIE server — `cli_sie_status.py`
+
+Inspects liveness, readiness, loaded embedding models, and worker pools.
+
+```bash
+cd backend
+python cli_sie_status.py # full status report
+python cli_sie_status.py --health # /health only
+python cli_sie_status.py --models # list loaded models
+python cli_sie_status.py --pools # list worker pools
+```
+
+### 4. Download model metadata — `cli_download.py`
+
+Selects the top MTEB-benchmarked models (ranked by number of benchmark tasks),
+fetches their Hugging Face metadata in parallel, and stores everything under
+a logical `storage_id` in SQLite.
+
+```bash
+cd backend
+
+# Top 30 models, append to storage (default)
+python cli_download.py test01
+
+# Top 100 models, 20-way parallel HF fetch
+python cli_download.py test01 --limit 100 --parallel 20
+
+# Wipe the storage first (same as the web UI "Download" button)
+python cli_download.py test01 --overwrite
+
+# Show which models would be fetched without actually downloading
+python cli_download.py test01 --dry-run
+```
+
+Demo READMEs are bundled locally. Live Hugging Face READMEs are fetched on demand
+for downloaded models (see [Operations notes](#operations-notes)).
+
+### 5. Generate descriptions and index — `cli_generate.py`
+
+Runs the same pipeline as the web UI *Generate Descriptions* buttons:
+
+1. Prepare 6K prompt (HF metadata + live README + MTEB summary).
+2. Generate 6K detailed description via OpenRouter.
+3. Generate 2K long description from the 6K output.
+4. Generate 200-char short description from the 6K output.
+5. Save short + long to SQLite.
+6. Upsert both embeddings into ChromaDB via SIE.
+
+```bash
+cd backend
+
+# All models in the storage, default parallelism (LLM_MAX_PARALLEL)
+python cli_generate.py test01
+
+# Single model only
+python cli_generate.py test01 BAAI/bge-large-en-v1.5
+
+# Skip models that already have short + long descriptions
+python cli_generate.py test01 --skip-existing --parallel 50
+
+# Override the default OPENROUTER_MODEL
+python cli_generate.py test01 --model google/gemini-2.5-flash
+
+# Rebuild Chroma from existing SQLite descriptions, skip LLM calls
+python cli_generate.py test01 --reindex-only
+
+# Prepare prompts but don't call the LLM or save
+python cli_generate.py test01 --dry-run
+```
+
+### 6. Rebuild the vector index only — `cli_reindex.py`
+
+Drops and rebuilds the `models_{storage_id}` Chroma collection from the
+current SQLite descriptions. Useful if the vector DB is out of sync, or
+after switching `SIE_EMBED_MODEL`.
+
+```bash
+cd backend
+python cli_reindex.py test01
+python cli_reindex.py test01 --batch-size 16
+```
+
+---
+
+## Frontend
+
+Single-page React app (`frontend/src/App.tsx`) with four tabs, in this order:
+
+1. **Search with Reranking** — the recommended entry point. Runs a short-description
+ kNN, then reranks the candidates by long-description similarity. Calls
+ `POST /api/search/semantic-rerank`.
+2. **Simple search** — single-stage semantic search on short descriptions. Calls
+ `POST /api/search/semantic`.
+3. **Download LLM Cards** — triggers `POST /api/models/download` to (re)populate
+ a storage with the top MTEB-benchmarked HF models.
+4. **Browse LLM Cards** — filters stored models by `storage_id` and optional
+ `hf_id` substring; each row opens a full detail view with MTEB scores, the
+ live HF README, and a *Generate descriptions* modal.
+
+The Search with Reranking tab is the default when the app loads.
+
+A full walk-through of the UI fields and modals lives in
+[`frontend/frontend.md`](frontend/frontend.md).
+
+---
+
+## Data model
+
+### Table `storage_ids`
+
+| Column | Type | Notes |
+|---------------|----------|---------------------------------|
+| `id` | int PK | |
+| `storage_id` | string | Unique, indexed (e.g. `test01`) |
+| `description` | string? | Free-text |
+| `created_at` | datetime | Server default |
+
+### Table `models`
+
+| Column | Type | Notes |
+|---------------------|--------------|----------------------------------------------------------|
+| `id` | int PK | |
+| `storage_id` | int FK | Cascades to `storage_ids.id` |
+| `hf_id` | string | HuggingFace model id, indexed |
+| `created_at` | datetime | When this row was stored locally |
+| `created_at_hf` | datetime? | HF model creation time |
+| `last_modified` | datetime? | HF last modified |
+| `author`, `sha` | string? | |
+| `private`, `disabled` | bool? | |
+| `downloads`, `downloads_all_time`, `downloads_30d`, `likes`, `trending_score` | numeric? | HF metrics |
+| `tags` | JSON | HF tag array |
+| `pipeline_tag`, `library_name`, `mask_token` | string? | |
+| `config`, `card_data` | JSON | Small structured HF metadata |
+| `mteb_scores` | JSON | Compact `[{task_name, main_score}, ...]`, averaged per task |
+| `short_description` | varchar(200) | ≤ 200 characters |
+| `long_description` | varchar(2048)| ≤ 2048 characters |
+
+**Not stored locally:** `readme`, `siblings`, `safetensors`, `spaces`, and the
+raw nested MTEB per-subset/per-split JSON — these would blow SQLite past several
+GB across the full catalog.
+
+### Chroma collection `models_{storage_id}`
+
+Holds **two entries per model**:
+
+- id `"{hf_id}::short"` with `kind="short"` — embedding of `short_description`.
+- id `"{hf_id}::long"` with `kind="long"` — embedding of `long_description`.
+
+Both are produced by the same `SIEEmbeddingFunction`. The `kind` metadata lets
+each search endpoint filter to the right set.
+
+---
+
+## Search APIs
+
+Semantic search lets users describe a task in plain language and find the
+embedding models whose descriptions are closest in meaning. Two endpoints
+are available — a single-stage short-description search and a two-stage
+rerank search.
+
+Both share the same request shape:
+
+```json
+{
+ "storage_id": "test01",
+ "query": "evaluate medical pictures",
+ "n_results": 20
+}
+```
+
+### `POST /api/search/semantic` — single stage
+
+Embeds the query, kNN-searches the `kind="short"` entries, returns up to
+`n_results` models sorted by cosine distance.
+
+Response:
+
+```json
+{
+ "storage_id": "test01",
+ "query": "evaluate medical pictures",
+ "results": [
+ { "hf_id": "BAAI/bge-large-en-v1.5", "distance": 0.123, "short_description": "..." }
+ ]
+}
+```
+
+### `POST /api/search/semantic-rerank` — two stage
+
+1. **Stage 1 — short kNN:** `collection.query(query_texts=[query], n_results=N, where={"kind": "short"})`
+ returns candidate models with their short-distance scores.
+2. **Stage 2 — long rerank:** `collection.query(query_texts=[query], n_results=len(candidates), where={"$and": [{"kind": "long"}, {"hf_id": {"$in": candidates}}]})`
+ makes Chroma recompute cosine distance against only those candidates' long vectors.
+3. Results are merged by `hf_id`, sorted by `rerank_distance` ascending;
+ any candidate without a long embedding falls back to `short_distance`
+ and is appended at the end.
+
+Response:
+
+```json
+{
+ "storage_id": "test01",
+ "query": "evaluate medical pictures",
+ "results": [
+ {
+ "hf_id": "BAAI/bge-large-en-v1.5",
+ "rerank_distance": 0.087,
+ "short_distance": 0.123,
+ "short_description": "..."
+ }
+ ]
+}
+```
+
+`rerank_distance` is `null` for any fallback item.
+
+### Index population
+
+- **Auto:** `POST /api/generate/save` calls `upsert_embedding(storage_id, hf_id, short, long)`
+ after every save, keeping both Chroma entries in sync. Clearing a description
+ deletes that `kind`'s entry.
+- **Bulk (re)build:** `python cli_reindex.py <storage_id>` — see [How to use](#6-rebuild-the-vector-index-only--cli_reindexpy).
+
+---
+
+## Operations notes
+
+### Why README is not stored locally
+
+At 14,000 models, storing HF READMEs in SQLite blows the database past several
+GB. Instead, only small fields live in SQLite (metadata, tags, compact MTEB
+scores, the two generated descriptions). The full README is fetched **live
+from HuggingFace** via `GET /api/models/readme/{hf_id}` whenever the user
+opens a detail view, and for description generation (`ModelCard.load(hf_id).text`
+truncated to 4000 chars). A small in-memory LRU avoids hammering HF.
+
+### Migrating from older schemas
+
+Earlier versions also stored `readme`, `siblings`, `safetensors`, `spaces`,
+and the raw nested `mteb_results`. If you're migrating an existing DB:
+
+```bash
+cd backend
+python cli_download.py <storage_id> --overwrite
+sqlite3 data/sqlite/sie.db "VACUUM;"
+```
+
+SQLite does not shrink on its own after row deletes — the `VACUUM;` step
+is what actually reclaims disk.
+
+### Description generation pipeline
+
+The CLI and UI both follow the same six-step pipeline:
+
+1. Render the **6K detailed** prompt from model JSON, live README (4K chars max), and MTEB summary.
+2. Call OpenRouter → **6K detailed description** (not persisted).
+3. Call OpenRouter with the 6K text → **2K long description**.
+4. Call OpenRouter with the 6K text → **200-char short description**.
+5. Save short + long into the `models` table.
+6. Upsert short + long embeddings into ChromaDB via SIE.
+
+Prompt templates live in `backend/app/prompts/*.md` and can be edited
+without touching Python code.
diff --git a/examples/sie-hugging-face-mteb-semantic-search/assets/superlinked-sie-llm-search-overview-illustration.png b/examples/sie-hugging-face-mteb-semantic-search/assets/superlinked-sie-llm-search-overview-illustration.png
new file mode 100644
index 000000000..c81fa2577
Binary files /dev/null and b/examples/sie-hugging-face-mteb-semantic-search/assets/superlinked-sie-llm-search-overview-illustration.png differ
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/.env.example b/examples/sie-hugging-face-mteb-semantic-search/backend/.env.example
new file mode 100644
index 000000000..190e67c0a
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/.env.example
@@ -0,0 +1,33 @@
+# Copy this file to `.env` and fill in the keys for the mode you want.
+# Zero-setup mode works with none of these set: the local fallback
+# ranker runs against the bundled demo catalog.
+
+# ── Hugging Face ──────────────────────────────────────────────────────
+# Optional. Raises API rate limits when downloading model metadata.
+HF_TOKEN=
+
+# ── OpenAI (optional) ─────────────────────────────────────────────────
+# Used if you want OpenAI-backed description generation.
+OPENAI_API_KEY=
+OPENAI_MODEL=gpt-4o-mini
+
+# ── OpenRouter (full mode) ────────────────────────────────────────────
+# Used for LLM-generated descriptions in full mode.
+OPENROUTER_API_KEY=
+OPENROUTER_MODEL=google/gemini-3.1-pro-preview
+LLM_MAX_PARALLEL=20
+
+# ── Superlinked Inference Engine ──────────────────────────────────────
+# Leave these blank to run in zero-setup (local fallback) mode.
+# For live embedding search, set SIE_API_ENDPOINT. SIE_API_KEY is optional
+# and only needed for managed/auth-enabled SIE clusters.
+SIE_API_KEY=
+SIE_API_ENDPOINT=
+SIE_GPU_PROFILE=l4-spot
+SIE_EMBED_BATCH_SIZE=32
+SIE_EMBED_MODEL=NovaSearch/stella_en_400M_v5
+
+# ── Storage paths (defaults are fine) ─────────────────────────────────
+# SQLITE_PATH=data/sqlite/sie.db
+# CHROMA_PATH=data/chroma
+# HF_CACHE_DIR=data/hf-cache
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/__init__.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/__init__.py
new file mode 100644
index 000000000..e69de29bb
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/api/__init__.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/api/__init__.py
new file mode 100644
index 000000000..1f00a30df
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/app/api/__init__.py
@@ -0,0 +1,11 @@
+from fastapi import APIRouter
+
+from .routes import models, generate, chroma, search
+
+
+api_router = APIRouter()
+
+api_router.include_router(models.router)
+api_router.include_router(generate.router)
+api_router.include_router(chroma.router)
+api_router.include_router(search.router)
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/api/routes/__init__.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/api/routes/__init__.py
new file mode 100644
index 000000000..4e9fdc2ac
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/app/api/routes/__init__.py
@@ -0,0 +1,2 @@
+from . import models # noqa: F401
+
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/api/routes/chroma.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/api/routes/chroma.py
new file mode 100644
index 000000000..34a8ce6db
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/app/api/routes/chroma.py
@@ -0,0 +1,48 @@
+import logging
+
+from fastapi import APIRouter, Depends, HTTPException
+from pydantic import BaseModel
+from sqlalchemy.orm import Session
+
+from app.db import models as db_models
+from app.db.session import get_db
+from app.services.chroma import reindex_all
+
+logger = logging.getLogger(__name__)
+
+router = APIRouter(prefix="/chroma", tags=["chroma"])
+
+
+class ReindexRequest(BaseModel):
+ storage_id: str
+
+
+class ReindexResponse(BaseModel):
+ storage_id: str
+ total: int
+ indexed: int
+ skipped: int
+
+
[email protected]("/reindex", response_model=ReindexResponse)
+def reindex(payload: ReindexRequest, db: Session = Depends(get_db)):
+ """Rebuild the Chroma collection for a storage id from current SQLite descriptions."""
+ storage = (
+ db.query(db_models.Storage)
+ .filter(db_models.Storage.storage_id == payload.storage_id)
+ .one_or_none()
+ )
+ if storage is None:
+ raise HTTPException(404, f"Storage id '{payload.storage_id}' not found")
+
+ rows = (
+ db.query(db_models.Model)
+ .filter(db_models.Model.storage_id == storage.id)
+ .all()
+ )
+ if not rows:
+ raise HTTPException(404, f"No models found for storage id '{payload.storage_id}'")
+
+ result = reindex_all(payload.storage_id, rows)
+
+ return ReindexResponse(storage_id=payload.storage_id, **result)
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/api/routes/generate.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/api/routes/generate.py
new file mode 100644
index 000000000..acdbc92ba
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/app/api/routes/generate.py
@@ -0,0 +1,237 @@
+import json
+import logging
+from typing import Optional
+
+from fastapi import APIRouter, Depends, HTTPException
+from pydantic import BaseModel, Field
+from sqlalchemy.orm import Session
+
+from app.db import models as db_models
+from app.db.session import get_db
+from app.prompts import load_prompt
+from app.services.openrouter import generate_text
+from app.services.chroma import upsert_embedding
+
+logger = logging.getLogger(__name__)
+
+router = APIRouter(prefix="/generate", tags=["generate"])
+
+
+def _get_model_row(
+ db: Session, storage_id: str, hf_id: str
+) -> db_models.Model:
+ storage = (
+ db.query(db_models.Storage)
+ .filter(db_models.Storage.storage_id == storage_id)
+ .one_or_none()
+ )
+ if storage is None:
+ raise HTTPException(404, f"Storage id '{storage_id}' not found")
+ model = (
+ db.query(db_models.Model)
+ .filter(
+ db_models.Model.storage_id == storage.id,
+ db_models.Model.hf_id == hf_id,
+ )
+ .first()
+ )
+ if model is None:
+ raise HTTPException(404, f"Model '{hf_id}' not found")
+ return model
+
+
+def _live_readme_for_prompt(hf_id: str, max_chars: int = 4000) -> str:
+ """Live-fetch the HF README for prompt injection. Truncated to max_chars.
+
+ Returns an empty string if the README cannot be loaded — the rest of
+ the prompt still has HF metadata + MTEB, so generation can proceed.
+ """
+ from huggingface_hub import ModelCard
+
+ try:
+ text_value = ModelCard.load(hf_id).text or ""
+ except Exception as exc:
+ logger.info("Live README fetch failed for %s: %s", hf_id, exc)
+ return ""
+ return text_value[:max_chars]
+
+
+def _build_model_json(model: db_models.Model) -> str:
+ """Build a JSON string of key HF metadata for prompt injection."""
+ data = {
+ "hf_id": model.hf_id,
+ "author": model.author,
+ "pipeline_tag": model.pipeline_tag,
+ "library_name": model.library_name,
+ "downloads_30d": model.downloads_30d,
+ "likes": model.likes,
+ "tags": model.tags,
+ "config": model.config,
+ "card_data": model.card_data,
+ }
+ return json.dumps(data, indent=2, default=str)
+
+
+def _build_mteb_summary(model: db_models.Model) -> str:
+ """Format compact MTEB scores as simple one-per-line summaries."""
+ if not model.mteb_scores:
+ return "(no MTEB results available)"
+ lines: list[str] = []
+ for r in model.mteb_scores:
+ task_name = r.get("task_name", "unknown")
+ main = r.get("main_score")
+ if main is None:
+ lines.append(f"- {task_name}: (no score)")
+ continue
+ try:
+ score = float(main)
+ except (TypeError, ValueError):
+ lines.append(f"- {task_name}: (no score)")
+ continue
+ lines.append(f"- {task_name}: {score:.4f} ({score * 100:.2f}%)")
+ return "\n".join(lines)
+
+
+# --- Render prompt endpoint ---
+
+class RenderRequest(BaseModel):
+ storage_id: str
+ hf_id: str
+
+
+class RenderResponse(BaseModel):
+ model_config = {"protected_namespaces": ()}
+
+ prompt_text: str
+ model_json: str
+ mteb_summary: str
+
+
[email protected]("/render-prompt", response_model=RenderResponse)
+def render_prompt(payload: RenderRequest, db: Session = Depends(get_db)):
+ """Render the detailed_description prompt with all variables filled in.
+
+ README is no longer stored locally; fetch it live from HuggingFace and
+ truncate to 4 000 chars for the prompt.
+ """
+ model = _get_model_row(db, payload.storage_id, payload.hf_id)
+ model_json = _build_model_json(model)
+ mteb_summary = _build_mteb_summary(model)
+
+ model_readme = _live_readme_for_prompt(model.hf_id)
+
+ prompt_text = load_prompt(
+ "detailed_description",
+ model_id=model.hf_id,
+ model_json=model_json,
+ model_readme=model_readme,
+ mteb_summary=mteb_summary,
+ )
+ return RenderResponse(
+ prompt_text=prompt_text,
+ model_json=model_json,
+ mteb_summary=mteb_summary,
+ )
+
+
+# --- Generate endpoints ---
+
+class GenerateDetailedRequest(BaseModel):
+ prompt_text: str = Field(..., description="The (possibly edited) detailed prompt")
+ model: Optional[str] = Field(
+ None, description="OpenRouter model name (uses default from config if omitted)"
+ )
+
+
+class GenerateFromDetailedRequest(BaseModel):
+ storage_id: str
+ hf_id: str
+ detailed_description: str = Field(
+ ..., description="The 6K detailed description output"
+ )
+ model: Optional[str] = Field(
+ None, description="OpenRouter model name (uses default from config if omitted)"
+ )
+
+
+class GenerateResponse(BaseModel):
+ text: str
+
+
[email protected]("/detailed", response_model=GenerateResponse)
+def generate_detailed(payload: GenerateDetailedRequest):
+ """Generate the 6K detailed description from the prompt text."""
+ text = generate_text(payload.prompt_text, max_tokens=16384, model=payload.model)
+ return GenerateResponse(text=text)
+
+
[email protected]("/long", response_model=GenerateResponse)
+def generate_long(
+ payload: GenerateFromDetailedRequest,
+ db: Session = Depends(get_db),
+):
+ """Generate the 2K long description from the 6K detailed description."""
+ db_model = _get_model_row(db, payload.storage_id, payload.hf_id)
+ model_json = _build_model_json(db_model)
+ mteb_summary = _build_mteb_summary(db_model)
+
+ prompt = load_prompt(
+ "long_description",
+ detailed_description=payload.detailed_description,
+ model_json=model_json,
+ mteb_summary=mteb_summary,
+ )
+ text = generate_text(prompt, max_tokens=8192, model=payload.model)
+ return GenerateResponse(text=text)
+
+
[email protected]("/short", response_model=GenerateResponse)
+def generate_short(
+ payload: GenerateFromDetailedRequest,
+ db: Session = Depends(get_db),
+):
+ """Generate the 200-char short description from the 6K detailed description."""
+ db_model = _get_model_row(db, payload.storage_id, payload.hf_id)
+ model_json = _build_model_json(db_model)
+ mteb_summary = _build_mteb_summary(db_model)
+
+ prompt = load_prompt(
+ "short_description",
+ detailed_description=payload.detailed_description,
+ model_json=model_json,
+ mteb_summary=mteb_summary,
+ )
+ text = generate_text(prompt, max_tokens=4096, model=payload.model)
+ return GenerateResponse(text=text)
+
+
+# --- Save endpoint ---
+
+class SaveRequest(BaseModel):
+ storage_id: str
+ hf_id: str
+ short_description: Optional[str] = None
+ long_description: Optional[str] = None
+
+
+def save_descriptions(payload: SaveRequest, db: Session = Depends(get_db)):
+ """Persist generated descriptions back to the database."""
+ model = _get_model_row(db, payload.storage_id, payload.hf_id)
+ if payload.short_description is not None:
+ model.short_description = payload.short_description
+ if payload.long_description is not None:
+ model.long_description = payload.long_description
+ db.commit()
+
+ try:
+ upsert_embedding(
+ payload.storage_id,
+ payload.hf_id,
+ model.short_description,
+ model.long_description,
+ )
+ except Exception as exc:
+ logger.warning("Chroma upsert failed for %s: %s", payload.hf_id, exc)
+
+ return {"status": "saved"}
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/api/routes/models.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/api/routes/models.py
new file mode 100644
index 000000000..1d9cd0517
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/app/api/routes/models.py
@@ -0,0 +1,418 @@
+import logging
+import re
+from collections import Counter, OrderedDict
+from threading import Lock
+from typing import Optional
+
+from fastapi import APIRouter, Depends, HTTPException, Query
+from huggingface_hub import HfApi, ModelCard
+from sqlalchemy.orm import Session, load_only
+
+from app.db.session import get_db
+from app.db import models as db_models
+from app.db.schemas import (
+ DownloadRequest,
+ DownloadResponse,
+ EnrichRequest,
+ EnrichResponse,
+ ModelOut,
+ ModelSummary,
+)
+
+logger = logging.getLogger(__name__)
+
+
+router = APIRouter(prefix="/models", tags=["models"])
+
+_MTEB_NAME_PAREN_RE = re.compile(r"_\(.*\)$")
+
+
+def _mteb_name_to_hf_id(mteb_name: str) -> str:
+ """Convert an MTEB cache folder name like ``org__model-name`` to a HF id ``org/model-name``.
+
+ Strips parenthetical suffixes such as ``_(output_dtype=binary)`` that
+ represent MTEB-specific run variants, not separate HF repos.
+ """
+ clean = _MTEB_NAME_PAREN_RE.sub("", mteb_name)
+ return clean.replace("__", "/", 1)
+
+
+def _get_top_mteb_model_ids(cache, limit: int) -> list[str]:
+ """Return the top *limit* HF model ids ranked by number of MTEB benchmark tasks.
+
+ Counting tasks from cache paths is near-instant (no result parsing).
+ """
+ paths = cache.get_cache_paths()
+ model_task_count: Counter[str] = Counter()
+ for p in paths:
+ parts = p.parts
+ try:
+ idx = parts.index("results")
+ model_task_count[parts[idx + 1]] += 1
+ except (ValueError, IndexError):
+ pass
+
+ # Deduplicate parenthetical variants (keep the base model id)
+ hf_counts: Counter[str] = Counter()
+ for mteb_name, count in model_task_count.items():
+ hf_id = _mteb_name_to_hf_id(mteb_name)
+ hf_counts[hf_id] += count
+
+ return [hf_id for hf_id, _ in hf_counts.most_common(limit)]
+
+
+def _fetch_hf_model_row(
+ api: HfApi,
+ hf_id: str,
+ storage_pk: int,
+) -> db_models.Model | None:
+ """Fetch HF metadata for a single model and return an unsaved Model row.
+
+ README is intentionally NOT persisted — it's served live via
+ GET /api/models/readme/{hf_id}.
+ """
+ try:
+ m = api.model_info(hf_id, securityStatus=False)
+ except Exception as exc:
+ logger.warning("HF model_info failed for %s: %s", hf_id, exc)
+ return None
+
+ card_data_raw = getattr(m, "card_data", None)
+ card_data_data = (
+ dict(card_data_raw)
+ if card_data_raw and hasattr(card_data_raw, "__iter__")
+ else None
+ )
+
+ return db_models.Model(
+ storage_id=storage_pk,
+ hf_id=m.id,
+ author=getattr(m, "author", None),
+ sha=getattr(m, "sha", None),
+ created_at_hf=getattr(m, "created_at", None),
+ last_modified=getattr(m, "last_modified", None),
+ private=getattr(m, "private", None),
+ disabled=getattr(m, "disabled", None),
+ downloads=getattr(m, "downloads", None),
+ downloads_all_time=getattr(m, "downloads_all_time", None),
+ downloads_30d=getattr(m, "downloads_30d", None),
+ likes=getattr(m, "likes", None),
+ trending_score=getattr(m, "trending_score", None),
+ tags=getattr(m, "tags", None),
+ pipeline_tag=getattr(m, "pipeline_tag", None),
+ library_name=getattr(m, "library_name", None),
+ mask_token=getattr(m, "mask_token", None),
+ config=getattr(m, "config", None),
+ card_data=card_data_data,
+ )
+
+
[email protected]("/download", response_model=DownloadResponse)
+def download_models(
+ payload: DownloadRequest,
+ db: Session = Depends(get_db),
+):
+ from mteb import ResultCache
+
+ cache = ResultCache()
+ logger.info("Downloading / updating MTEB results cache …")
+ cache.download_from_remote()
+ logger.info("MTEB cache ready.")
+
+ top_hf_ids = _get_top_mteb_model_ids(cache, payload.limit)
+ logger.info(
+ "Selected %d models from MTEB (by benchmark-task count).", len(top_hf_ids)
+ )
+
+ # Get or create storage row
+ storage = (
+ db.query(db_models.Storage)
+ .filter(db_models.Storage.storage_id == payload.storage_id)
+ .one_or_none()
+ )
+ if storage is None:
+ storage = db_models.Storage(storage_id=payload.storage_id)
+ db.add(storage)
+ db.flush()
+
+ # Clear existing models for this storage id for idempotency
+ db.query(db_models.Model).filter(
+ db_models.Model.storage_id == storage.id
+ ).delete()
+
+ api = HfApi()
+ stored_models: list[db_models.Model] = []
+ for hf_id in top_hf_ids:
+ logger.info("Fetching HF metadata for %s …", hf_id)
+ model_row = _fetch_hf_model_row(api, hf_id, storage.id)
+ if model_row is None:
+ continue
+ db.add(model_row)
+ stored_models.append(model_row)
+
+ db.commit()
+ for m in stored_models:
+ db.refresh(m)
+
+ enriched, skipped = _enrich_rows_with_mteb(stored_models, cache)
+ db.commit()
+ for m in stored_models:
+ db.refresh(m)
+
+ return DownloadResponse(
+ storage_id=payload.storage_id,
+ stored_count=len(stored_models),
+ models=[ModelOut.model_validate(m) for m in stored_models],
+ )
+
+
+def search_models(
+ storage_id: str = Query(..., description="Logical storage id, e.g. test01"),
+ hf_id: Optional[str] = Query(
+ None, description="Optional Hugging Face model id filter"
+ ),
+ max_count: int = Query(
+ 30, ge=1, le=10000, description="Maximum number of items to return"
+ ),
+ db: Session = Depends(get_db),
+):
+ """List stored models for a given storage id, optionally filtered by hf_id.
+
+ Returns lightweight summaries; use GET /models/detail for full data.
+ """
+ storage = (
+ db.query(db_models.Storage)
+ .filter(db_models.Storage.storage_id == storage_id)
+ .one_or_none()
+ )
+ if storage is None:
+ return {"models": []}
+
+ query = db.query(db_models.Model).options(
+ load_only(
+ db_models.Model.hf_id,
+ db_models.Model.author,
+ db_models.Model.created_at,
+ db_models.Model.downloads_30d,
+ db_models.Model.likes,
+ db_models.Model.pipeline_tag,
+ db_models.Model.short_description,
+ )
+ ).filter(
+ db_models.Model.storage_id == storage.id
+ )
+
+ if hf_id:
+ like_pattern = f"%{hf_id}%"
+ query = query.filter(db_models.Model.hf_id.ilike(like_pattern))
+
+ rows = query.order_by(
+ db_models.Model.created_at.desc(),
+ ).limit(max_count).all()
+
+ return {"models": [ModelSummary.model_validate(m) for m in rows]}
+
+
+# --- Live README (fetched from HuggingFace on demand; not stored in SQLite) ---
+
+_README_CACHE_MAX = 64 # roughly one open detail page worth of unique views
+_readme_cache: "OrderedDict[str, str]" = OrderedDict()
+_readme_cache_lock = Lock()
+
+
+def _readme_cache_get(hf_id: str) -> Optional[str]:
+ with _readme_cache_lock:
+ if hf_id in _readme_cache:
+ _readme_cache.move_to_end(hf_id)
+ return _readme_cache[hf_id]
+ return None
+
+
+def _readme_cache_put(hf_id: str, text_value: str) -> None:
+ with _readme_cache_lock:
+ _readme_cache[hf_id] = text_value
+ _readme_cache.move_to_end(hf_id)
+ while len(_readme_cache) > _README_CACHE_MAX:
+ _readme_cache.popitem(last=False)
+
+
[email protected]("/readme/{hf_id:path}")
+def get_readme(hf_id: str):
+ """Live-fetch a model's README from HuggingFace.
+
+ Not stored in SQLite (too large at 14K-model scale). A small LRU in
+ memory avoids hammering HF when a user toggles between views.
+ """
+ cached = _readme_cache_get(hf_id)
+ if cached is not None:
+ return {"hf_id": hf_id, "readme": cached, "cached": True}
+
+ from app.db.session import SessionLocal
+
+ with SessionLocal() as db:
+ demo_model = (
+ db.query(db_models.Model)
+ .filter(db_models.Model.hf_id == hf_id)
+ .first()
+ )
+ demo_readme = (demo_model.card_data or {}).get("demo_readme") if demo_model else None
+ if demo_readme:
+ _readme_cache_put(hf_id, demo_readme)
+ return {"hf_id": hf_id, "readme": demo_readme, "cached": True}
+ try:
+ card = ModelCard.load(hf_id)
+ text_value = card.text or ""
+ except Exception as exc:
+ logger.info("README fetch failed for %s: %s", hf_id, exc)
+ raise HTTPException(status_code=404, detail="README not available")
+ _readme_cache_put(hf_id, text_value)
+ return {"hf_id": hf_id, "readme": text_value, "cached": False}
+
+
[email protected]("/detail", response_model=ModelOut)
+def get_model_detail(
+ storage_id: str = Query(..., description="Logical storage id"),
+ hf_id: str = Query(..., description="Hugging Face model id"),
+ db: Session = Depends(get_db),
+):
+ """Return full model data for a single model."""
+ storage = (
+ db.query(db_models.Storage)
+ .filter(db_models.Storage.storage_id == storage_id)
+ .one_or_none()
+ )
+ if storage is None:
+ raise HTTPException(status_code=404, detail="Storage id not found")
+
+ model = (
+ db.query(db_models.Model)
+ .filter(
+ db_models.Model.storage_id == storage.id,
+ db_models.Model.hf_id == hf_id,
+ )
+ .first()
+ )
+ if model is None:
+ raise HTTPException(status_code=404, detail="Model not found")
+
+ return ModelOut.model_validate(model)
+
+
+def _load_mteb_scores_for_model(
+ cache, model_id: str
+) -> list[dict] | None:
+ """Return compact MTEB scores as ``[{"task_name": str, "main_score": float}, ...]``.
+
+ Collapses every split/subset by averaging ``main_score`` per task. This
+ is exactly what the prompt builder and the UI consume — storing
+ anything richer is waste.
+ """
+ try:
+ benchmark_results = cache.load_results(
+ models=[model_id],
+ require_model_meta=False,
+ )
+ except Exception as exc:
+ logger.warning("MTEB load_results failed for %s: %s", model_id, exc)
+ return None
+
+ import math
+
+ compact: list[dict] = []
+ for model_result in benchmark_results.model_results:
+ for task_result in model_result.task_results:
+ all_scores: list[float] = []
+ for subsets in (task_result.scores or {}).values():
+ for s in subsets:
+ main = s.get("main_score")
+ if main is None:
+ continue
+ try:
+ main_f = float(main)
+ except (TypeError, ValueError):
+ continue
+ if math.isnan(main_f) or math.isinf(main_f):
+ continue
+ all_scores.append(main_f)
+ if not all_scores:
+ continue
+ compact.append(
+ {
+ "task_name": task_result.task_name,
+ "main_score": sum(all_scores) / len(all_scores),
+ }
+ )
+
+ return compact or None
+
+
+def _enrich_rows_with_mteb(
+ rows: list[db_models.Model],
+ cache=None,
+) -> tuple[int, int]:
+ """Enrich rows with compact MTEB scores. Returns (enriched, skipped)."""
+ if cache is None:
+ from mteb import ResultCache
+
+ cache = ResultCache()
+ logger.info("Downloading / updating MTEB results cache...")
+ cache.download_from_remote()
+ logger.info("MTEB cache ready.")
+
+ enriched = 0
+ skipped = 0
+ for model_row in rows:
+ mteb_data = _load_mteb_scores_for_model(cache, model_row.hf_id)
+ if mteb_data is not None:
+ model_row.mteb_scores = mteb_data
+ enriched += 1
+ else:
+ skipped += 1
+
+ return enriched, skipped
+
+
[email protected]("/enrich", response_model=EnrichResponse)
+def enrich_models(
+ payload: EnrichRequest,
+ db: Session = Depends(get_db),
+):
+ """Enrich stored models with MTEB benchmark results.
+
+ Downloads / updates the MTEB results cache, then loads per-task scores
+ for every model under the given storage_id.
+ """
+
+ storage = (
+ db.query(db_models.Storage)
+ .filter(db_models.Storage.storage_id == payload.storage_id)
+ .one_or_none()
+ )
+ if storage is None:
+ raise HTTPException(
+ status_code=404,
+ detail=f"Storage id '{payload.storage_id}' not found",
+ )
+
+ rows: list[db_models.Model] = (
+ db.query(db_models.Model)
+ .filter(db_models.Model.storage_id == storage.id)
+ .all()
+ )
+
+ if not rows:
+ raise HTTPException(
+ status_code=404,
+ detail=f"No models found for storage id '{payload.storage_id}'",
+ )
+
+ enriched_count, skipped_count = _enrich_rows_with_mteb(rows)
+ db.commit()
+
+ return EnrichResponse(
+ storage_id=payload.storage_id,
+ total_models=len(rows),
+ enriched_count=enriched_count,
+ skipped_count=skipped_count,
+ )
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/api/routes/search.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/api/routes/search.py
new file mode 100644
index 000000000..b9e32b56d
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/app/api/routes/search.py
@@ -0,0 +1,150 @@
+import logging
+
+from fastapi import APIRouter, Depends, HTTPException
+from sqlalchemy.orm import Session
+
+from app.db import models as db_models
+from app.db.schemas import (
+ RerankSearchResponse,
+ RerankSearchResult,
+ SemanticSearchRequest,
+ SemanticSearchResponse,
+ SemanticSearchResult,
+)
+from app.db.session import get_db
+from app.services.chroma import search as chroma_search
+from app.services.chroma import search_with_rerank as chroma_search_with_rerank
+from app.services.fallback_search import search_local, search_local_with_rerank
+
+logger = logging.getLogger(__name__)
+
+router = APIRouter(prefix="/search", tags=["search"])
+
+
+def _require_storage(db: Session, storage_id: str) -> None:
+ storage = (
+ db.query(db_models.Storage)
+ .filter(db_models.Storage.storage_id == storage_id)
+ .one_or_none()
+ )
+ if storage is None:
+ raise HTTPException(
+ status_code=404,
+ detail=f"Storage id '{storage_id}' not found",
+ )
+
+
+def _load_models(db: Session, storage_id: str) -> list[db_models.Model]:
+ storage = (
+ db.query(db_models.Storage)
+ .filter(db_models.Storage.storage_id == storage_id)
+ .one_or_none()
+ )
+ if storage is None:
+ return []
+ return (
+ db.query(db_models.Model)
+ .filter(db_models.Model.storage_id == storage.id)
+ .all()
+ )
+
+
[email protected]("/semantic", response_model=SemanticSearchResponse)
+def semantic_search(
+ payload: SemanticSearchRequest,
+ db: Session = Depends(get_db),
+):
+ """Semantic search over indexed model short descriptions using ChromaDB."""
+ _require_storage(db, payload.storage_id)
+
+ try:
+ raw = chroma_search(payload.storage_id, payload.query, payload.n_results)
+ except Exception as exc:
+ logger.warning("Chroma search failed, falling back to local ranking: %s", exc)
+ raw = search_local(_load_models(db, payload.storage_id), payload.query, payload.n_results)
+ results = [
+ SemanticSearchResult(
+ hf_id=item["hf_id"],
+ distance=item["distance"],
+ short_description=item.get("short_description"),
+ )
+ for item in raw["results"]
+ ]
+ return SemanticSearchResponse(
+ storage_id=payload.storage_id,
+ query=payload.query,
+ results=results,
+ )
+
+ results: list[SemanticSearchResult] = []
+ ids = raw.get("ids", [[]])[0]
+ distances = raw.get("distances", [[]])[0]
+ documents = raw.get("documents", [[]])[0]
+ metadatas = raw.get("metadatas", [[]])[0]
+
+ for entry_id, distance, doc, meta in zip(ids, distances, documents, metadatas):
+ hf_id = (meta or {}).get("hf_id") or entry_id.split("::", 1)[0]
+ results.append(
+ SemanticSearchResult(
+ hf_id=hf_id,
+ distance=round(distance, 6),
+ short_description=doc or None,
+ )
+ )
+
+ return SemanticSearchResponse(
+ storage_id=payload.storage_id,
+ query=payload.query,
+ results=results,
+ )
+
+
[email protected]("/semantic-rerank", response_model=RerankSearchResponse)
+def semantic_search_rerank(
+ payload: SemanticSearchRequest,
+ db: Session = Depends(get_db),
+):
+ """Two-stage search: short-description kNN then long-description rerank."""
+ _require_storage(db, payload.storage_id)
+
+ try:
+ raw = chroma_search_with_rerank(
+ payload.storage_id, payload.query, payload.n_results
+ )
+ except Exception as exc:
+ logger.warning("Chroma rerank search failed, falling back to local ranking: %s", exc)
+ raw = search_local_with_rerank(
+ _load_models(db, payload.storage_id), payload.query, payload.n_results
+ )
+ results = [
+ RerankSearchResult(
+ hf_id=item["hf_id"],
+ rerank_distance=item["rerank_distance"],
+ short_distance=item["short_distance"],
+ short_description=item.get("short_description"),
+ )
+ for item in raw["results"]
+ ]
+ return RerankSearchResponse(
+ storage_id=payload.storage_id,
+ query=payload.query,
+ results=results,
+ )
+
+ results: list[RerankSearchResult] = []
+ for item in raw.get("results", []):
+ rerank = item.get("rerank_distance")
+ results.append(
+ RerankSearchResult(
+ hf_id=item["hf_id"],
+ rerank_distance=round(rerank, 6) if rerank is not None else None,
+ short_distance=round(item["short_distance"], 6),
+ short_description=item.get("short_description") or None,
+ )
+ )
+
+ return RerankSearchResponse(
+ storage_id=payload.storage_id,
+ query=payload.query,
+ results=results,
+ )
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/config.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/config.py
new file mode 100644
index 000000000..86d619a4f
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/app/config.py
@@ -0,0 +1,41 @@
+from pathlib import Path
+
+from pydantic_settings import BaseSettings
+
+
+class Settings(BaseSettings):
+ app_name: str = "SIE LLM Search Backend"
+ hf_token: str = ""
+ hf_cache_dir: Path = Path("data") / "hf-cache"
+
+ # SQLite DB in data/sqlite/
+ sqlite_path: Path = Path("data") / "sqlite" / "sie.db"
+
+ # OpenAI
+ openai_api_key: str = ""
+ openai_model: str = "gpt-4o-mini"
+
+ # OpenRouter
+ openrouter_api_key: str = ""
+ openrouter_model: str = "google/gemini-3.1-pro-preview"
+ llm_max_parallel: int = 20
+
+ # Superlinked Inference Engine
+ sie_api_key: str = ""
+ sie_api_endpoint: str = ""
+ sie_gpu_profile: str = "l4-spot"
+ sie_embed_batch_size: int = 32
+ sie_embed_model: str = "NovaSearch/stella_en_400M_v5"
+
+ # Chroma
+ chroma_path: Path = Path("data") / "chroma"
+
+ @property
+ def database_url(self) -> str:
+ db_path = self.sqlite_path.resolve()
+ return f"sqlite:///{db_path}"
+
+ model_config = {"env_file": ".env", "env_file_encoding": "utf-8"}
+
+
+settings = Settings()
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/db/__init__.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/db/__init__.py
new file mode 100644
index 000000000..e69de29bb
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/db/migrate.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/db/migrate.py
new file mode 100644
index 000000000..9ee6b02b0
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/app/db/migrate.py
@@ -0,0 +1,55 @@
+"""Lightweight schema migration for SQLite.
+
+We intentionally avoid Alembic here — the schema changes we make are
+additive (``ALTER TABLE ... ADD COLUMN``) and easy enough to manage
+in-line. The function is idempotent: it inspects the current columns
+and only adds ones that are missing.
+
+Called from:
+ - FastAPI startup (``app/main.py``)
+ - CLI entrypoints (``cli_download.py``, ``cli_generate.py``) so they
+ don't blow up on fresh clones / older DB files.
+"""
+
+from __future__ import annotations
+
+import logging
+
+from sqlalchemy import inspect, text
+
+from app.db.session import Base, engine
+
+logger = logging.getLogger(__name__)
+
+
+def ensure_schema() -> None:
+ """Create tables if missing, then apply additive column migrations."""
+ Base.metadata.create_all(bind=engine)
+
+ inspector = inspect(engine)
+ if "models" not in inspector.get_table_names():
+ return
+
+ existing = {col["name"] for col in inspector.get_columns("models")}
+ with engine.begin() as conn:
+ if "mteb_scores" not in existing:
+ conn.execute(text("ALTER TABLE models ADD COLUMN mteb_scores JSON"))
+ logger.info("Migration: added mteb_scores column to models table")
+ if "short_description" not in existing:
+ conn.execute(
+ text("ALTER TABLE models ADD COLUMN short_description VARCHAR(200)")
+ )
+ logger.info(
+ "Migration: added short_description column to models table"
+ )
+ if "long_description" not in existing:
+ conn.execute(
+ text("ALTER TABLE models ADD COLUMN long_description VARCHAR(2048)")
+ )
+ logger.info(
+ "Migration: added long_description column to models table"
+ )
+ # NOTE: SQLite cannot drop columns without a full table rebuild. Any fat
+ # legacy fields (readme, siblings, safetensors, spaces, mteb_results) remain
+ # in place on pre-migration databases; their rows just get cleared on
+ # --overwrite re-ingest. Run ``VACUUM;`` afterwards to reclaim disk space.
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/db/models.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/db/models.py
new file mode 100644
index 000000000..c0cbca0f7
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/app/db/models.py
@@ -0,0 +1,85 @@
+from datetime import datetime
+from typing import Optional
+
+from sqlalchemy import (
+ Boolean,
+ DateTime,
+ Float,
+ Integer,
+ String,
+ BigInteger,
+ ForeignKey,
+ func,
+ JSON,
+)
+from sqlalchemy.orm import Mapped, mapped_column, relationship
+
+from .session import Base
+
+
+class Storage(Base):
+ __tablename__ = "storage_ids"
+
+ id: Mapped[int] = mapped_column(Integer, primary_key=True, index=True)
+ storage_id: Mapped[str] = mapped_column(String, unique=True, index=True)
+ description: Mapped[str | None] = mapped_column(String, nullable=True)
+ created_at: Mapped[datetime] = mapped_column(
+ DateTime(timezone=True), server_default=func.now()
+ )
+
+ models: Mapped[list["Model"]] = relationship(
+ back_populates="storage", cascade="all, delete-orphan"
+ )
+
+
+class Model(Base):
+ __tablename__ = "models"
+
+ id: Mapped[int] = mapped_column(Integer, primary_key=True, index=True)
+ storage_id: Mapped[int] = mapped_column(
+ Integer, ForeignKey("storage_ids.id", ondelete="CASCADE")
+ )
+ hf_id: Mapped[str] = mapped_column(String, index=True)
+ created_at: Mapped[datetime] = mapped_column(
+ DateTime(timezone=True), server_default=func.now()
+ )
+
+ # Core ids / times
+ author: Mapped[Optional[str]] = mapped_column(String, nullable=True)
+ sha: Mapped[Optional[str]] = mapped_column(String, nullable=True)
+ created_at_hf: Mapped[Optional[datetime]] = mapped_column(DateTime(timezone=True), nullable=True)
+ last_modified: Mapped[Optional[datetime]] = mapped_column(DateTime(timezone=True), nullable=True)
+
+ # Flags
+ private: Mapped[Optional[bool]] = mapped_column(Boolean, nullable=True)
+ disabled: Mapped[Optional[bool]] = mapped_column(Boolean, nullable=True)
+
+ # Metrics
+ downloads: Mapped[Optional[int]] = mapped_column(BigInteger, nullable=True)
+ downloads_all_time: Mapped[Optional[int]] = mapped_column(BigInteger, nullable=True)
+ downloads_30d: Mapped[Optional[int]] = mapped_column(BigInteger, nullable=True)
+ likes: Mapped[Optional[int]] = mapped_column(Integer, nullable=True)
+ trending_score: Mapped[Optional[float]] = mapped_column(Float, nullable=True)
+
+ # Taxonomy / tags
+ tags: Mapped[Optional[list]] = mapped_column(JSON, nullable=True)
+ pipeline_tag: Mapped[Optional[str]] = mapped_column(String, nullable=True)
+ library_name: Mapped[Optional[str]] = mapped_column(String, nullable=True)
+ mask_token: Mapped[Optional[str]] = mapped_column(String, nullable=True)
+
+ # Structured metadata kept in DB (small).
+ # README is NOT stored locally — fetch live from HF on demand via
+ # GET /api/models/readme/{hf_id}. See overview.md.
+ config: Mapped[Optional[dict]] = mapped_column(JSON, nullable=True)
+ card_data: Mapped[Optional[dict]] = mapped_column(JSON, nullable=True)
+
+ # MTEB benchmark results: compact [{task_name, main_score}] only.
+ # The raw nested per-subset/per-split JSON is NOT stored (too large).
+ mteb_scores: Mapped[Optional[list]] = mapped_column(JSON, nullable=True)
+
+ # Descriptions
+ short_description: Mapped[Optional[str]] = mapped_column(String(200), nullable=True)
+ long_description: Mapped[Optional[str]] = mapped_column(String(2048), nullable=True)
+
+ storage: Mapped["Storage"] = relationship(back_populates="models")
+
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/db/schemas.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/db/schemas.py
new file mode 100644
index 000000000..3011b94e8
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/app/db/schemas.py
@@ -0,0 +1,119 @@
+from datetime import datetime
+from typing import Any, Optional
+
+from pydantic import BaseModel, Field
+
+
+class DownloadRequest(BaseModel):
+ storage_id: str = Field(..., description="Logical storage id, e.g. test01")
+ limit: int = Field(
+ 30,
+ ge=1,
+ le=200,
+ description="How many MTEB-benchmarked models to import (max 200)",
+ )
+
+
+class ModelOut(BaseModel):
+ # Core ids / times
+ hf_id: str
+ author: Optional[str] = None
+ sha: Optional[str] = None
+ created_at_hf: Optional[datetime] = None
+ last_modified: Optional[datetime] = None
+ created_at: datetime
+
+ # Flags
+ private: Optional[bool] = None
+ disabled: Optional[bool] = None
+
+ # Metrics
+ downloads: Optional[int] = None
+ downloads_all_time: Optional[int] = None
+ downloads_30d: Optional[int] = None
+ likes: Optional[int] = None
+ trending_score: Optional[float] = None
+
+ # Taxonomy / tags
+ tags: Optional[list[str]] = None
+ pipeline_tag: Optional[str] = None
+ library_name: Optional[str] = None
+ mask_token: Optional[str] = None
+
+ # Structured metadata kept in DB (small).
+ config: Optional[dict[str, Any]] = None
+ card_data: Optional[dict[str, Any]] = None
+
+ # MTEB benchmark results (compact: [{task_name, main_score}, ...]).
+ mteb_scores: Optional[list[dict[str, Any]]] = None
+
+ # Descriptions
+ short_description: Optional[str] = None
+ long_description: Optional[str] = None
+
+ class Config:
+ from_attributes = True
+
+
+class ModelSummary(BaseModel):
+ """Lightweight projection for list / search results."""
+ hf_id: str
+ author: Optional[str] = None
+ created_at: datetime
+ downloads_30d: Optional[int] = None
+ likes: Optional[int] = None
+ pipeline_tag: Optional[str] = None
+ short_description: Optional[str] = None
+
+ class Config:
+ from_attributes = True
+
+
+class DownloadResponse(BaseModel):
+ storage_id: str
+ stored_count: int
+ models: list[ModelOut]
+
+
+class EnrichRequest(BaseModel):
+ storage_id: str = Field(..., description="Logical storage id to enrich")
+
+
+class EnrichResponse(BaseModel):
+ storage_id: str
+ total_models: int
+ enriched_count: int
+ skipped_count: int
+
+
+class SemanticSearchRequest(BaseModel):
+ storage_id: str = Field(..., description="Logical storage id, e.g. test01")
+ query: str = Field(..., min_length=1, description="Natural-language search query")
+ n_results: int = Field(
+ 20, ge=1, le=100, description="Number of results to return"
+ )
+
+
+class SemanticSearchResult(BaseModel):
+ hf_id: str
+ distance: float
+ short_description: Optional[str] = None
+
+
+class SemanticSearchResponse(BaseModel):
+ storage_id: str
+ query: str
+ results: list[SemanticSearchResult]
+
+
+class RerankSearchResult(BaseModel):
+ hf_id: str
+ rerank_distance: Optional[float] = None
+ short_distance: float
+ short_description: Optional[str] = None
+
+
+class RerankSearchResponse(BaseModel):
+ storage_id: str
+ query: str
+ results: list[RerankSearchResult]
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/db/session.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/db/session.py
new file mode 100644
index 000000000..ac0025174
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/app/db/session.py
@@ -0,0 +1,27 @@
+from sqlalchemy import create_engine
+from sqlalchemy.orm import sessionmaker, DeclarativeBase
+
+from app.config import settings
+
+
+class Base(DeclarativeBase):
+ pass
+
+
+engine = create_engine(
+ settings.database_url,
+ connect_args={"check_same_thread": False},
+ pool_size=20,
+ max_overflow=40,
+ pool_timeout=60,
+)
+
+SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)
+
+
+def get_db():
+ db = SessionLocal()
+ try:
+ yield db
+ finally:
+ db.close()
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/main.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/main.py
new file mode 100644
index 000000000..38ccbb9a7
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/app/main.py
@@ -0,0 +1,76 @@
+import logging
+
+from fastapi import FastAPI, Request
+from fastapi.responses import JSONResponse, Response
+from starlette.middleware.base import BaseHTTPMiddleware
+
+from app.api import api_router
+
+logger = logging.getLogger(__name__)
+
+# Origins allowed for CORS (frontend dev server)
+CORS_ORIGINS = {"http://localhost:5173", "http://127.0.0.1:5173"}
+
+app = FastAPI(title="SIE LLM Search Backend")
+
+
+def _add_cors_headers(response: Response, origin: str | None) -> None:
+ if origin and origin in CORS_ORIGINS:
+ response.headers["Access-Control-Allow-Origin"] = origin
+ response.headers["Access-Control-Allow-Credentials"] = "true"
+ response.headers["Access-Control-Allow-Methods"] = "GET, POST, OPTIONS, PUT, DELETE, PATCH"
+ response.headers["Access-Control-Allow-Headers"] = "*"
+ response.headers["Access-Control-Expose-Headers"] = "*"
+
+
+class EnsureCORSHeadersMiddleware(BaseHTTPMiddleware):
+ """Add CORS headers to every response so errors (e.g. 500) never bypass CORS."""
+
+ async def dispatch(self, request: Request, call_next):
+ origin = request.headers.get("origin")
+ if request.method == "OPTIONS":
+ resp = Response(status_code=200)
+ _add_cors_headers(resp, origin)
+ return resp
+ try:
+ response = await call_next(request)
+ except Exception as exc:
+ logger.exception("Unhandled error in middleware chain: %s", exc)
+ response = JSONResponse(
+ status_code=500,
+ content={"detail": "Internal server error", "type": type(exc).__name__},
+ )
+ _add_cors_headers(response, origin)
+ return response
+
+
+app.add_middleware(EnsureCORSHeadersMiddleware)
+
+
[email protected]_handler(Exception)
+async def global_exception_handler(request: Request, exc: Exception):
+ """Return JSON 500 so the real error is logged and client gets a proper body."""
+ logger.exception("Unhandled error: %s", exc)
+ return JSONResponse(
+ status_code=500,
+ content={"detail": "Internal server error", "type": type(exc).__name__},
+ )
+
+
+app.include_router(api_router, prefix="/api")
+
+
[email protected]_event("startup")
+def _startup_schema():
+ """Create tables (if missing) and add columns introduced after initial schema."""
+ from app.config import settings
+ from app.db.migrate import ensure_schema
+
+ ensure_schema()
+ settings.chroma_path.mkdir(parents=True, exist_ok=True)
+
+
+def health():
+ return {"status": "ok"}
+
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/prompts/__init__.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/prompts/__init__.py
new file mode 100644
index 000000000..0d8bf1ac8
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/app/prompts/__init__.py
@@ -0,0 +1,3 @@
+from app.prompts.loader import load_prompt, list_prompts
+
+__all__ = ["load_prompt", "list_prompts"]
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/prompts/detailed_description.md b/examples/sie-hugging-face-mteb-semantic-search/backend/app/prompts/detailed_description.md
new file mode 100644
index 000000000..2ac7cb7a3
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/app/prompts/detailed_description.md
@@ -0,0 +1,42 @@
+You are an expert in machine learning embedding models and benchmarking.
+
+Your task is to write a comprehensive, detailed description of the model **{model_id}**.
+
+## Input 1 — Hugging Face model metadata (JSON)
+
+```json
+{model_json}
+```
+
+## Input 2 — Model README (documentation)
+
+The model's own documentation from its Hugging Face README, in markdown format (truncated to 4 000 characters):
+
+{model_readme}
+
+## Input 3 — MTEB benchmark results summary
+
+The model was evaluated on the following MTEB tasks (averaged main score per task). For each result, provide a short contextual summary (max 100 characters) that explains what the score means in practice (e.g. "Strong retrieval on scientific papers" or "Average clustering on news topics").
+
+{mteb_summary}
+
+## Instructions
+
+Using all inputs above, write a detailed description of this model (maximum 6000 characters).
+
+Structure your description as follows:
+
+1. **Model overview** — What it is, who made it, what architecture it is based on (e.g. BERT, RoBERTa, T5), embedding dimensions, max sequence length, supported languages.
+
+2. **MTEB benchmark analysis** — For every MTEB task result provided, include:
+ - The task name and type (retrieval, classification, clustering, STS, etc.).
+ - The score and a short contextual description (max 100 characters) that puts the score in perspective.
+ - How this result compares to typical performance for this task type.
+
+3. **Best suited for** — Based on the benchmark results and model characteristics, clearly state the use cases where this model excels. Be specific: name concrete scenarios (e.g. "semantic search over legal documents", "short-text similarity for product matching", "multilingual FAQ retrieval").
+
+4. **Limitations and trade-offs** — Model size vs speed, domains where performance drops, language coverage gaps, max token constraints.
+
+5. **Usage recommendations** — Practical guidance: recommended frameworks (sentence-transformers, transformers), pooling strategy, whether normalization helps, batch size tips.
+
+Write in a factual, information-dense style. Every sentence should add value. Do not pad with generic filler.
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/prompts/loader.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/prompts/loader.py
new file mode 100644
index 000000000..6cb3368d9
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/app/prompts/loader.py
@@ -0,0 +1,34 @@
+from pathlib import Path
+from functools import lru_cache
+
+_PROMPTS_DIR = Path(__file__).parent
+
+
+@lru_cache(maxsize=None)
+def _read_template(name: str) -> str:
+ path = _PROMPTS_DIR / name
+ if not path.suffix:
+ path = path.with_suffix(".md")
+ if not path.is_file():
+ available = ", ".join(p.stem for p in _PROMPTS_DIR.glob("*.md"))
+ raise FileNotFoundError(
+ f"Prompt '{name}' not found. Available: {available}"
+ )
+ return path.read_text(encoding="utf-8")
+
+
+def load_prompt(name: str, **kwargs: str) -> str:
+ """Load a prompt template by name and fill in placeholders.
+
+ Usage:
+ prompt = load_prompt("summarize_model", model_id="BAAI/bge-large-en", readme="...")
+ """
+ template = _read_template(name)
+ if kwargs:
+ return template.format(**kwargs)
+ return template
+
+
+def list_prompts() -> list[str]:
+ """Return the names of all available prompt templates."""
+ return sorted(p.stem for p in _PROMPTS_DIR.glob("*.md"))
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/prompts/long_description.md b/examples/sie-hugging-face-mteb-semantic-search/backend/app/prompts/long_description.md
new file mode 100644
index 000000000..ddaaec24a
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/app/prompts/long_description.md
@@ -0,0 +1,31 @@
+You are a technical writer creating model descriptions for a detail page in a search catalog.
+
+## Input 1 — Detailed model description
+
+{detailed_description}
+
+## Input 2 — Hugging Face model metadata (JSON)
+
+```json
+{model_json}
+```
+
+## Input 3 — MTEB results summary
+
+Each line below is one MTEB benchmark result with a short description:
+
+{mteb_summary}
+
+## Instructions
+
+Based on all inputs above, write a **long_description** for this model.
+
+Rules:
+- Maximum **2000 characters** (hard limit, including spaces).
+- 3-5 sentences in a single paragraph.
+- Cover: purpose and architecture, top benchmark strengths with specific task names, best-for use cases, and one key limitation or trade-off.
+- Reference concrete MTEB results to back up claims (e.g. "scores 0.72 on STS Benchmark").
+- Do NOT start with the model name or "This model".
+- Write for a developer evaluating whether to use this model.
+
+Respond with only the long description text, nothing else.
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/prompts/short_description.md b/examples/sie-hugging-face-mteb-semantic-search/backend/app/prompts/short_description.md
new file mode 100644
index 000000000..23410e601
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/app/prompts/short_description.md
@@ -0,0 +1,30 @@
+You are a technical copywriter creating concise model descriptions for a search catalog.
+
+## Input 1 — Detailed model description
+
+{detailed_description}
+
+## Input 2 — Hugging Face model metadata (JSON)
+
+```json
+{model_json}
+```
+
+## Input 3 — MTEB results summary
+
+Each line below is one MTEB benchmark result with a short description:
+
+{mteb_summary}
+
+## Instructions
+
+Based on all inputs above, write a **short_description** for this model.
+
+Rules:
+- Maximum **200 characters** (hard limit, including spaces).
+- Single sentence, no line breaks.
+- Must communicate: what the model does, its strongest use case, and one distinguishing trait (e.g. size, language, speed).
+- Do NOT start with the model name or "This model".
+- Write for a developer scanning a list of search results.
+
+Respond with only the short description text, nothing else.
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/services/__init__.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/services/__init__.py
new file mode 100644
index 000000000..e69de29bb
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/services/chroma.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/services/chroma.py
new file mode 100644
index 000000000..73018c9c2
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/app/services/chroma.py
@@ -0,0 +1,282 @@
+"""ChromaDB vector-store helpers for model description embeddings.
+
+A single collection ``models_{storage_id}`` holds **two entries per
+model**:
+
+* ``"{hf_id}::short"`` — embedding of ``short_description`` (used for
+ the basic semantic search).
+* ``"{hf_id}::long"`` — embedding of ``long_description`` (used as the
+ rerank stage of the "Search with Reranking" feature).
+
+The two entries are distinguished by a ``kind`` metadata field so
+callers can filter to either set.
+"""
+
+from __future__ import annotations
+
+import logging
+from typing import Sequence
+
+import chromadb
+
+from app.config import settings
+from app.db.models import Model
+from app.services.sie_chroma import SIEEmbeddingFunction
+
+logger = logging.getLogger(__name__)
+
+_UPSERT_BATCH = 64 # docs per ChromaDB upsert call
+
+KIND_SHORT = "short"
+KIND_LONG = "long"
+_ID_SEP = "::"
+
+
+def _entry_id(hf_id: str, kind: str) -> str:
+ return f"{hf_id}{_ID_SEP}{kind}"
+
+
+def _get_client() -> chromadb.ClientAPI:
+ path = str(settings.chroma_path.resolve())
+ return chromadb.PersistentClient(path=path)
+
+
+def _collection_name(storage_id: str) -> str:
+ return f"models_{storage_id}"
+
+
+def _get_collection(
+ client: chromadb.ClientAPI,
+ storage_id: str,
+) -> chromadb.Collection:
+ ef = SIEEmbeddingFunction()
+ return client.get_or_create_collection(
+ name=_collection_name(storage_id),
+ embedding_function=ef,
+ metadata={"hnsw:space": "cosine"},
+ )
+
+
+def _base_metadata(m: Model) -> dict:
+ return {
+ "hf_id": m.hf_id,
+ "author": m.author or "",
+ "pipeline_tag": m.pipeline_tag or "",
+ "downloads_30d": m.downloads_30d or 0,
+ "likes": m.likes or 0,
+ }
+
+
+def reindex_all(storage_id: str, models: Sequence[Model]) -> dict:
+ """(Re)build the Chroma collection for *storage_id*.
+
+ Drops any existing collection first so stale entries (including
+ pre-migration plain-``hf_id`` ids) are removed cleanly, then
+ upserts both a ``::short`` and a ``::long`` entry for every model
+ that has the corresponding description.
+ """
+ client = _get_client()
+ name = _collection_name(storage_id)
+ try:
+ client.delete_collection(name=name)
+ logger.info("Dropped existing collection '%s' for clean reindex", name)
+ except Exception:
+ # Collection may not exist yet — that's fine.
+ pass
+
+ collection = _get_collection(client, storage_id)
+
+ ids: list[str] = []
+ documents: list[str] = []
+ metadatas: list[dict] = []
+
+ short_count = 0
+ long_count = 0
+ skipped_no_short = 0
+
+ for m in models:
+ base_meta = _base_metadata(m)
+
+ short_text = (m.short_description or "").strip()
+ if short_text:
+ ids.append(_entry_id(m.hf_id, KIND_SHORT))
+ documents.append(short_text)
+ metadatas.append({**base_meta, "kind": KIND_SHORT})
+ short_count += 1
+ else:
+ logger.warning("Skipping %s — no short_description", m.hf_id)
+ skipped_no_short += 1
+
+ long_text = (m.long_description or "").strip()
+ if long_text:
+ ids.append(_entry_id(m.hf_id, KIND_LONG))
+ documents.append(long_text)
+ metadatas.append({**base_meta, "kind": KIND_LONG})
+ long_count += 1
+
+ total_entries = len(ids)
+ logger.info(
+ "Upserting %d entries (%d short, %d long) into collection '%s'",
+ total_entries, short_count, long_count, name,
+ )
+
+ upserted = 0
+ for start in range(0, total_entries, _UPSERT_BATCH):
+ end = min(start + _UPSERT_BATCH, total_entries)
+ batch_ids = ids[start:end]
+ batch_docs = documents[start:end]
+ batch_meta = metadatas[start:end]
+
+ logger.info("Upsert batch %d-%d / %d", start + 1, end, total_entries)
+ collection.upsert(
+ ids=batch_ids,
+ documents=batch_docs,
+ metadatas=batch_meta,
+ )
+ upserted += len(batch_ids)
+
+ logger.info(
+ "Done — %d entries upserted (%d short, %d long).",
+ upserted, short_count, long_count,
+ )
+ return {
+ "indexed": short_count,
+ "long_indexed": long_count,
+ "skipped": skipped_no_short,
+ "total": len(models),
+ }
+
+
+def upsert_embedding(
+ storage_id: str, hf_id: str, short_desc: str | None, long_desc: str | None
+) -> None:
+ """Upsert a single model's short and long description embeddings.
+
+ Called from ``/generate/save`` and ``cli_generate.py`` after every
+ description save so the vector store stays in sync with SQLite.
+ Empty/missing descriptions cause that ``kind`` to be deleted (so a
+ cleared description doesn't leave a stale embedding behind).
+ """
+ client = _get_client()
+ collection = _get_collection(client, storage_id)
+
+ base_meta = {"hf_id": hf_id}
+
+ short_text = (short_desc or "").strip()
+ long_text = (long_desc or "").strip()
+
+ upsert_ids: list[str] = []
+ upsert_docs: list[str] = []
+ upsert_meta: list[dict] = []
+ delete_ids: list[str] = []
+
+ if short_text:
+ upsert_ids.append(_entry_id(hf_id, KIND_SHORT))
+ upsert_docs.append(short_text)
+ upsert_meta.append({**base_meta, "kind": KIND_SHORT})
+ else:
+ delete_ids.append(_entry_id(hf_id, KIND_SHORT))
+
+ if long_text:
+ upsert_ids.append(_entry_id(hf_id, KIND_LONG))
+ upsert_docs.append(long_text)
+ upsert_meta.append({**base_meta, "kind": KIND_LONG})
+ else:
+ delete_ids.append(_entry_id(hf_id, KIND_LONG))
+
+ if upsert_ids:
+ collection.upsert(
+ ids=upsert_ids,
+ documents=upsert_docs,
+ metadatas=upsert_meta,
+ )
+ if delete_ids:
+ try:
+ collection.delete(ids=delete_ids)
+ except Exception as exc:
+ # Deleting non-existent ids is fine; log anything else.
+ logger.debug("Chroma delete (%s) ignored: %s", delete_ids, exc)
+
+
+def search(storage_id: str, query: str, n_results: int = 10) -> dict:
+ """Semantic search over indexed short descriptions."""
+ client = _get_client()
+ collection = _get_collection(client, storage_id)
+ return collection.query(
+ query_texts=[query],
+ n_results=n_results,
+ where={"kind": KIND_SHORT},
+ )
+
+
+def search_with_rerank(
+ storage_id: str, query: str, n_results: int = 20
+) -> dict:
+ """Two-stage search: short-description kNN, then long-description rerank.
+
+ 1. Run a kNN query against the short-description vectors to get
+ up to ``n_results`` candidate models.
+ 2. Re-query the same collection restricted to the long-description
+ vectors of those candidates, so Chroma recomputes cosine
+ distance between the query and each candidate's long vector.
+
+ Returns a dict with ``results`` — a list of items in the reranked
+ order, each containing ``hf_id``, ``rerank_distance``,
+ ``short_distance`` (from the first pass) and ``short_description``.
+ Models that have no long-description embedding fall back to their
+ short-description distance and are appended after the reranked set.
+ """
+ client = _get_client()
+ collection = _get_collection(client, storage_id)
+
+ short = collection.query(
+ query_texts=[query],
+ n_results=n_results,
+ where={"kind": KIND_SHORT},
+ )
+
+ short_ids = short.get("ids", [[]])[0]
+ short_distances = short.get("distances", [[]])[0]
+ short_documents = short.get("documents", [[]])[0]
+ short_metadatas = short.get("metadatas", [[]])[0]
+
+ by_hf: dict[str, dict] = {}
+ for entry_id, dist, doc, meta in zip(
+ short_ids, short_distances, short_documents, short_metadatas
+ ):
+ hf_id = (meta or {}).get("hf_id") or entry_id.split(_ID_SEP, 1)[0]
+ by_hf[hf_id] = {
+ "hf_id": hf_id,
+ "short_distance": float(dist),
+ "short_description": doc,
+ "rerank_distance": None,
+ }
+
+ if by_hf:
+ long_ids_filter = list(by_hf.keys())
+ long = collection.query(
+ query_texts=[query],
+ n_results=len(long_ids_filter),
+ where={
+ "$and": [
+ {"kind": KIND_LONG},
+ {"hf_id": {"$in": long_ids_filter}},
+ ]
+ },
+ )
+ long_distances = long.get("distances", [[]])[0]
+ long_metadatas = long.get("metadatas", [[]])[0]
+ long_ids = long.get("ids", [[]])[0]
+
+ for entry_id, dist, meta in zip(long_ids, long_distances, long_metadatas):
+ hf_id = (meta or {}).get("hf_id") or entry_id.split(_ID_SEP, 1)[0]
+ if hf_id in by_hf:
+ by_hf[hf_id]["rerank_distance"] = float(dist)
+
+ reranked = [v for v in by_hf.values() if v["rerank_distance"] is not None]
+ reranked.sort(key=lambda v: v["rerank_distance"])
+
+ fallback = [v for v in by_hf.values() if v["rerank_distance"] is None]
+ fallback.sort(key=lambda v: v["short_distance"])
+
+ return {"results": reranked + fallback}
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/services/fallback_search.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/services/fallback_search.py
new file mode 100644
index 000000000..4252ddd12
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/app/services/fallback_search.py
@@ -0,0 +1,98 @@
+"""Local search fallback for demo mode and offline browsing."""
+
+from __future__ import annotations
+
+import re
+from collections.abc import Iterable
+
+from app.db.models import Model
+
+_WORD_RE = re.compile(r"[a-z0-9]+")
+
+
+def _tokenize(text: str) -> set[str]:
+ return {match.group(0) for match in _WORD_RE.finditer(text.lower())}
+
+
+def _join_parts(parts: Iterable[str | None]) -> str:
+ return " ".join(part for part in parts if part)
+
+
+def _short_text(model: Model) -> str:
+ tags = " ".join(model.tags or [])
+ return _join_parts(
+ [
+ model.hf_id.replace("/", " "),
+ model.author,
+ model.pipeline_tag,
+ tags,
+ model.short_description,
+ ]
+ )
+
+
+def _long_text(model: Model) -> str:
+ return _join_parts([_short_text(model), model.long_description])
+
+
+def _score(query: str, text: str) -> float:
+ if not text.strip():
+ return 0.0
+
+ query_tokens = _tokenize(query)
+ if not query_tokens:
+ return 0.0
+
+ text_tokens = _tokenize(text)
+ overlap = len(query_tokens & text_tokens)
+ coverage = overlap / len(query_tokens)
+ phrase_bonus = 0.35 if query.lower() in text.lower() else 0.0
+ return coverage + phrase_bonus
+
+
+def _distance(score: float) -> float:
+ return round(1.0 / (1.0 + score), 6)
+
+
+def search_local(models: list[Model], query: str, n_results: int) -> dict:
+ ranked = sorted(
+ (
+ {
+ "hf_id": model.hf_id,
+ "distance": _distance(_score(query, _short_text(model))),
+ "short_description": model.short_description,
+ "downloads_30d": model.downloads_30d or 0,
+ }
+ for model in models
+ ),
+ key=lambda row: (row["distance"], -row["downloads_30d"], row["hf_id"]),
+ )
+ return {"results": ranked[:n_results]}
+
+
+def search_local_with_rerank(models: list[Model], query: str, n_results: int) -> dict:
+ first_pass = []
+ for model in models:
+ short_score = _score(query, _short_text(model))
+ long_score = _score(query, _long_text(model)) if model.long_description else None
+ first_pass.append(
+ {
+ "hf_id": model.hf_id,
+ "short_distance": _distance(short_score),
+ "rerank_distance": _distance(long_score) if long_score is not None else None,
+ "short_description": model.short_description,
+ "downloads_30d": model.downloads_30d or 0,
+ }
+ )
+
+ reranked = sorted(
+ first_pass,
+ key=lambda row: (
+ row["rerank_distance"] is None,
+ row["rerank_distance"] if row["rerank_distance"] is not None else row["short_distance"],
+ row["short_distance"],
+ -row["downloads_30d"],
+ row["hf_id"],
+ ),
+ )
+ return {"results": reranked[:n_results]}
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/services/llm.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/services/llm.py
new file mode 100644
index 000000000..d95ef77c9
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/app/services/llm.py
@@ -0,0 +1,40 @@
+import logging
+
+from openai import OpenAI
+
+from app.config import settings
+
+logger = logging.getLogger(__name__)
+
+_client: OpenAI | None = None
+
+
+def _get_client() -> OpenAI:
+ global _client
+ if _client is None:
+ if not settings.openai_api_key:
+ raise RuntimeError(
+ "OPENAI_API_KEY is not set. Add it to backend/.env"
+ )
+ _client = OpenAI(api_key=settings.openai_api_key)
+ return _client
+
+
+def generate_text(prompt: str, max_tokens: int = 4096) -> str:
+ """Send a prompt to OpenAI and return the assistant's response text."""
+ client = _get_client()
+ logger.info(
+ "Calling OpenAI %s (prompt length: %d chars, max_tokens: %d)",
+ settings.openai_model,
+ len(prompt),
+ max_tokens,
+ )
+ response = client.chat.completions.create(
+ model=settings.openai_model,
+ messages=[{"role": "user", "content": prompt}],
+ max_tokens=max_tokens,
+ temperature=0.4,
+ )
+ text = response.choices[0].message.content or ""
+ logger.info("OpenAI response: %d chars", len(text))
+ return text.strip()
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/services/openrouter.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/services/openrouter.py
new file mode 100644
index 000000000..b4eb1b863
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/app/services/openrouter.py
@@ -0,0 +1,132 @@
+import asyncio
+import logging
+from typing import Optional
+
+from openai import APIStatusError, AsyncOpenAI, OpenAI
+
+from app.config import settings
+
+logger = logging.getLogger(__name__)
+
+_OPENROUTER_BASE_URL = "https://openrouter.ai/api/v1"
+
+_client: OpenAI | None = None
+_async_client: AsyncOpenAI | None = None
+
+_RETRY_MAX = 5
+_RETRY_BASE_DELAY = 1.0 # seconds; doubles each attempt
+
+
+def _get_client() -> OpenAI:
+ global _client
+ if _client is None:
+ if not settings.openrouter_api_key:
+ raise RuntimeError(
+ "OPENROUTER_API_KEY is not set. Add it to backend/.env"
+ )
+ _client = OpenAI(
+ api_key=settings.openrouter_api_key,
+ base_url=_OPENROUTER_BASE_URL,
+ )
+ return _client
+
+
+def _get_async_client() -> AsyncOpenAI:
+ global _async_client
+ if _async_client is None:
+ if not settings.openrouter_api_key:
+ raise RuntimeError(
+ "OPENROUTER_API_KEY is not set. Add it to backend/.env"
+ )
+ _async_client = AsyncOpenAI(
+ api_key=settings.openrouter_api_key,
+ base_url=_OPENROUTER_BASE_URL,
+ )
+ return _async_client
+
+
+def _log_usage(response) -> None:
+ text = response.choices[0].message.content or ""
+ usage = response.usage
+ if usage:
+ details = getattr(usage, "completion_tokens_details", None)
+ reasoning = getattr(details, "reasoning_tokens", None) if details else None
+ logger.info(
+ "OpenRouter usage: prompt_tokens=%s, completion_tokens=%s, "
+ "reasoning_tokens=%s, content_chars=%d, finish_reason=%s",
+ usage.prompt_tokens,
+ usage.completion_tokens,
+ reasoning,
+ len(text),
+ response.choices[0].finish_reason,
+ )
+ else:
+ logger.info("OpenRouter response: %d chars", len(text))
+
+
+def generate_text(
+ prompt: str,
+ max_tokens: int = 4096,
+ model: Optional[str] = None,
+) -> str:
+ """Send a prompt to OpenRouter and return the assistant's response text."""
+ client = _get_client()
+ model_name = model or settings.openrouter_model
+
+ logger.info(
+ "Calling OpenRouter model=%s (prompt length: %d chars, max_tokens: %d)",
+ model_name,
+ len(prompt),
+ max_tokens,
+ )
+ response = client.chat.completions.create(
+ model=model_name,
+ messages=[{"role": "user", "content": prompt}],
+ max_tokens=max_tokens,
+ temperature=0.4,
+ )
+ _log_usage(response)
+ return (response.choices[0].message.content or "").strip()
+
+
+async def generate_text_async(
+ prompt: str,
+ max_tokens: int = 4096,
+ model: Optional[str] = None,
+ semaphore: asyncio.Semaphore | None = None,
+) -> str:
+ """Async version of generate_text with automatic retry on 429 rate-limit."""
+ client = _get_async_client()
+ model_name = model or settings.openrouter_model
+
+ async with semaphore or asyncio.Semaphore(1):
+ for attempt in range(_RETRY_MAX):
+ logger.info(
+ "Calling OpenRouter (async) model=%s (prompt length: %d chars, max_tokens: %d)",
+ model_name,
+ len(prompt),
+ max_tokens,
+ )
+ try:
+ response = await client.chat.completions.create(
+ model=model_name,
+ messages=[{"role": "user", "content": prompt}],
+ max_tokens=max_tokens,
+ temperature=0.4,
+ )
+ _log_usage(response)
+ return (response.choices[0].message.content or "").strip()
+ except APIStatusError as exc:
+ if exc.status_code == 429 and attempt < _RETRY_MAX - 1:
+ delay = _RETRY_BASE_DELAY * (2 ** attempt)
+ logger.warning(
+ "Rate-limited (429); retrying in %.1fs (attempt %d/%d)",
+ delay,
+ attempt + 1,
+ _RETRY_MAX,
+ )
+ await asyncio.sleep(delay)
+ continue
+ raise
+
+ raise RuntimeError("Unreachable: retry loop exited without return or raise")
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/services/sie_chroma.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/services/sie_chroma.py
new file mode 100644
index 000000000..6309d8961
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/app/services/sie_chroma.py
@@ -0,0 +1,119 @@
+"""ChromaDB embedding function backed by the Superlinked Inference Engine."""
+
+from __future__ import annotations
+
+import logging
+import time
+from typing import Sequence
+
+import httpx
+from chromadb.api.types import Documents, EmbeddingFunction, Embeddings
+
+from app.config import settings
+
+logger = logging.getLogger(__name__)
+
+_PROVISION_TIMEOUT = 1800 # max seconds to wait for model provisioning
+_PROVISION_POLL = 30 # seconds between 202 retries
+_REQUEST_TIMEOUT = 120 # per-request timeout
+_POST_PROVISION_400_RETRIES = 3 # extra retries for transient 400s after provisioning
+
+
+class SIEEmbeddingFunction(EmbeddingFunction[Documents]):
+ """Calls the SIE ``/v1/encode`` endpoint in batches.
+
+ The SIE endpoint may return **202 Accepted** while the model is
+ provisioning on a GPU. This class retries transparently until the
+ model is ready (up to ``_PROVISION_TIMEOUT`` seconds).
+
+ Inputs are split into batches of ``batch_size`` to avoid 400 errors
+ that occur when the payload is too large for a freshly-provisioned model.
+ """
+
+ def __init__(
+ self,
+ *,
+ api_endpoint: str | None = None,
+ api_key: str | None = None,
+ model: str | None = None,
+ batch_size: int | None = None,
+ ) -> None:
+ self._endpoint = (api_endpoint or settings.sie_api_endpoint).rstrip("/")
+ self._api_key = api_key or settings.sie_api_key
+ self._model = model or settings.sie_embed_model
+ self._batch_size = batch_size or settings.sie_embed_batch_size
+ self._url = f"{self._endpoint}/v1/encode/{self._model}"
+
+ def __call__(self, input: Documents) -> Embeddings:
+ all_embeddings: Embeddings = []
+ total = len(input)
+ for start in range(0, total, self._batch_size):
+ end = min(start + self._batch_size, total)
+ batch = input[start:end]
+ logger.info(
+ "Encoding batch %d–%d of %d texts",
+ start + 1, end, total,
+ )
+ embeddings = self._encode_batch(batch)
+ all_embeddings.extend(embeddings)
+ return all_embeddings
+
+ def _encode_batch(self, texts: Sequence[str]) -> list[list[float]]:
+ """POST a single batch to SIE with provisioning retry."""
+ headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+ }
+ if self._api_key:
+ headers["Authorization"] = f"Bearer {self._api_key}"
+ payload = {"items": [{"text": t} for t in texts]}
+
+ deadline = time.monotonic() + _PROVISION_TIMEOUT
+ was_provisioning = False
+ post_provision_400s = 0
+
+ while True:
+ remaining = deadline - time.monotonic()
+ if remaining <= 0:
+ raise TimeoutError(
+ f"SIE model did not become ready within {_PROVISION_TIMEOUT}s"
+ )
+
+ with httpx.Client(timeout=_REQUEST_TIMEOUT) as client:
+ response = client.post(self._url, json=payload, headers=headers)
+
+ if response.status_code in (202, 503):
+ was_provisioning = True
+ logger.info(
+ "SIE returned %d (provisioning); retrying in %ds (%.0fs remaining)",
+ response.status_code, _PROVISION_POLL, remaining,
+ )
+ time.sleep(_PROVISION_POLL)
+ continue
+
+ if response.status_code == 400 and was_provisioning:
+ post_provision_400s += 1
+ if post_provision_400s > _POST_PROVISION_400_RETRIES:
+ logger.error(
+ "SIE still returning 400 after %d post-provisioning retries — body: %s",
+ post_provision_400s - 1, response.text[:1000],
+ )
+ response.raise_for_status()
+ logger.warning(
+ "SIE returned 400 after provisioning (attempt %d/%d, may be transient); "
+ "retrying in %ds. Body: %s",
+ post_provision_400s, _POST_PROVISION_400_RETRIES,
+ _PROVISION_POLL, response.text[:500],
+ )
+ time.sleep(_PROVISION_POLL)
+ continue
+
+ if response.status_code != 200:
+ logger.error(
+ "SIE returned %d — body: %s",
+ response.status_code, response.text[:1000],
+ )
+ response.raise_for_status()
+
+ data = response.json()
+ return [item["dense"]["values"] for item in data["items"]]
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/sie/__init__.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/sie/__init__.py
new file mode 100644
index 000000000..e69de29bb
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/sie/pipelines.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/sie/pipelines.py
new file mode 100644
index 000000000..e69de29bb
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/app/sie/storage.py b/examples/sie-hugging-face-mteb-semantic-search/backend/app/sie/storage.py
new file mode 100644
index 000000000..e69de29bb
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/cli_download.py b/examples/sie-hugging-face-mteb-semantic-search/backend/cli_download.py
new file mode 100644
index 000000000..65a1e30e6
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/cli_download.py
@@ -0,0 +1,322 @@
+"""CLI utility to download model metadata from MTEB / HuggingFace into a storage.
+
+By default, **appends** new models without touching existing ones. Use
+``--overwrite`` to wipe all existing models first (same behaviour as the
+web UI Download button).
+
+HuggingFace metadata fetches run in parallel via a thread pool since the
+HfApi / ModelCard calls are synchronous blocking I/O.
+
+Usage:
+ python cli_download.py test01 # top 30 MTEB models, append
+ python cli_download.py test01 --limit 100 # top 100
+ python cli_download.py test01 --limit 70 --parallel 20
+ python cli_download.py test01 --overwrite # wipe existing models first
+ python cli_download.py test01 --dry-run # show which models would be fetched
+"""
+
+import argparse
+import logging
+import sys
+import time
+from concurrent.futures import ThreadPoolExecutor, as_completed
+
+from huggingface_hub import HfApi
+
+from app.config import settings
+from app.db.migrate import ensure_schema
+from app.db.models import Model, Storage
+from app.db.session import SessionLocal
+
+logging.basicConfig(
+ level=logging.INFO,
+ format="%(asctime)s %(levelname)-8s %(message)s",
+ datefmt="%H:%M:%S",
+)
+logger = logging.getLogger(__name__)
+
+
+def _get_top_mteb_model_ids(cache, limit: int) -> list[str]:
+ """Reuses the same ranking logic as the web API endpoint."""
+ from collections import Counter
+ import re
+
+ paren_re = re.compile(r"_\(.*\)$")
+
+ paths = cache.get_cache_paths()
+ model_task_count: Counter[str] = Counter()
+ for p in paths:
+ parts = p.parts
+ try:
+ idx = parts.index("results")
+ model_task_count[parts[idx + 1]] += 1
+ except (ValueError, IndexError):
+ pass
+
+ hf_counts: Counter[str] = Counter()
+ for mteb_name, count in model_task_count.items():
+ clean = paren_re.sub("", mteb_name)
+ hf_id = clean.replace("__", "/", 1)
+ hf_counts[hf_id] += count
+
+ return [hf_id for hf_id, _ in hf_counts.most_common(limit)]
+
+
+def _fetch_hf_model_row(api: HfApi, hf_id: str, storage_pk: int) -> Model | None:
+ """Fetch HF metadata for a single model and return an unsaved Model row.
+
+ README is intentionally NOT fetched or stored — it's served live via
+ GET /api/models/readme/{hf_id} when the user opens a detail view. This
+ keeps SQLite small enough to hold the full 14K-model catalog.
+ """
+ try:
+ m = api.model_info(hf_id, securityStatus=False)
+ except Exception as exc:
+ logger.warning("HF model_info failed for %s: %s", hf_id, exc)
+ return None
+
+ card_data_raw = getattr(m, "card_data", None)
+ card_data_data = (
+ dict(card_data_raw)
+ if card_data_raw and hasattr(card_data_raw, "__iter__")
+ else None
+ )
+
+ return Model(
+ storage_id=storage_pk,
+ hf_id=m.id,
+ author=getattr(m, "author", None),
+ sha=getattr(m, "sha", None),
+ created_at_hf=getattr(m, "created_at", None),
+ last_modified=getattr(m, "last_modified", None),
+ private=getattr(m, "private", None),
+ disabled=getattr(m, "disabled", None),
+ downloads=getattr(m, "downloads", None),
+ downloads_all_time=getattr(m, "downloads_all_time", None),
+ downloads_30d=getattr(m, "downloads_30d", None),
+ likes=getattr(m, "likes", None),
+ trending_score=getattr(m, "trending_score", None),
+ tags=getattr(m, "tags", None),
+ pipeline_tag=getattr(m, "pipeline_tag", None),
+ library_name=getattr(m, "library_name", None),
+ mask_token=getattr(m, "mask_token", None),
+ config=getattr(m, "config", None),
+ card_data=card_data_data,
+ )
+
+
+def _load_mteb_scores_for_model(cache, model_id: str) -> list[dict] | None:
+ """Return compact MTEB scores as ``[{"task_name": str, "main_score": float}, ...]``.
+
+ We collapse every split/subset by averaging their ``main_score`` values
+ per task. This is exactly what the backend prompt builder and the
+ frontend MTEB table consume, so storing anything richer is waste.
+ """
+ try:
+ benchmark_results = cache.load_results(
+ models=[model_id],
+ require_model_meta=False,
+ )
+ except Exception as exc:
+ logger.warning("MTEB load_results failed for %s: %s", model_id, exc)
+ return None
+
+ import math
+
+ compact: list[dict] = []
+ for model_result in benchmark_results.model_results:
+ for task_result in model_result.task_results:
+ all_scores: list[float] = []
+ for subsets in (task_result.scores or {}).values():
+ for s in subsets:
+ main = s.get("main_score")
+ if main is None:
+ continue
+ try:
+ main_f = float(main)
+ except (TypeError, ValueError):
+ continue
+ if math.isnan(main_f) or math.isinf(main_f):
+ continue
+ all_scores.append(main_f)
+ if not all_scores:
+ continue
+ compact.append(
+ {
+ "task_name": task_result.task_name,
+ "main_score": sum(all_scores) / len(all_scores),
+ }
+ )
+
+ return compact or None
+
+
+def main():
+ parser = argparse.ArgumentParser(
+ description="Download model metadata from MTEB / HuggingFace into a storage."
+ )
+ parser.add_argument("storage_id", help="Logical storage id (e.g. test01)")
+ parser.add_argument(
+ "--limit",
+ type=int,
+ default=30,
+ help="How many top MTEB-benchmarked models to consider (default: 30)",
+ )
+ parser.add_argument(
+ "--parallel",
+ type=int,
+ default=10,
+ help="Max parallel HuggingFace API fetches (default: 10)",
+ )
+ parser.add_argument(
+ "--overwrite",
+ action="store_true",
+ help="Delete all existing models in the storage before downloading (default: append).",
+ )
+ parser.add_argument(
+ "--dry-run",
+ action="store_true",
+ help="Show which models would be fetched without actually downloading.",
+ )
+ args = parser.parse_args()
+
+ ensure_schema()
+
+ # --- Step 1: MTEB cache ---
+ from mteb import ResultCache
+
+ cache = ResultCache()
+ logger.info("Downloading / updating MTEB results cache …")
+ cache.download_from_remote()
+ logger.info("MTEB cache ready.")
+
+ top_hf_ids = _get_top_mteb_model_ids(cache, args.limit)
+ logger.info("Selected %d models from MTEB (by benchmark-task count).", len(top_hf_ids))
+
+ # --- Step 2: DB setup ---
+ db = SessionLocal()
+ try:
+ storage = (
+ db.query(Storage)
+ .filter(Storage.storage_id == args.storage_id)
+ .one_or_none()
+ )
+ if storage is None:
+ storage = Storage(storage_id=args.storage_id)
+ db.add(storage)
+ db.flush()
+ logger.info("Created new storage '%s'.", args.storage_id)
+
+ if args.overwrite:
+ deleted = (
+ db.query(Model)
+ .filter(Model.storage_id == storage.id)
+ .delete()
+ )
+ db.flush()
+ logger.info("Overwrite mode: deleted %d existing model(s).", deleted)
+
+ # Filter out models already in this storage
+ existing_hf_ids: set[str] = {
+ row[0]
+ for row in db.query(Model.hf_id)
+ .filter(Model.storage_id == storage.id)
+ .all()
+ }
+ new_hf_ids = [hf_id for hf_id in top_hf_ids if hf_id not in existing_hf_ids]
+ skipped = len(top_hf_ids) - len(new_hf_ids)
+ if skipped:
+ logger.info("Skipping %d model(s) already in storage.", skipped)
+
+ logger.info(
+ "%d new model(s) to fetch (parallel=%d).", len(new_hf_ids), args.parallel
+ )
+
+ if args.dry_run:
+ for i, hf_id in enumerate(new_hf_ids, 1):
+ logger.info("[DRY RUN] %3d. %s", i, hf_id)
+ logger.info("Dry run complete. %d model(s) would be fetched.", len(new_hf_ids))
+ return
+
+ if not new_hf_ids:
+ logger.info("Nothing to download.")
+ return
+
+ # --- Step 3: Parallel HF fetch ---
+ api = HfApi(token=settings.hf_token or None)
+ stored_models: list[Model] = []
+ failed = 0
+ wall_t0 = time.time()
+
+ with ThreadPoolExecutor(max_workers=args.parallel) as pool:
+ future_to_hf_id = {
+ pool.submit(_fetch_hf_model_row, api, hf_id, storage.id): hf_id
+ for hf_id in new_hf_ids
+ }
+
+ for i, future in enumerate(as_completed(future_to_hf_id), 1):
+ hf_id = future_to_hf_id[future]
+ try:
+ model_row = future.result()
+ except Exception:
+ logger.exception("Failed to fetch %s", hf_id)
+ failed += 1
+ continue
+
+ if model_row is None:
+ failed += 1
+ continue
+
+ db.add(model_row)
+ stored_models.append(model_row)
+ logger.info(
+ "[%d/%d] Fetched %s", i, len(new_hf_ids), hf_id
+ )
+
+ db.commit()
+ for m in stored_models:
+ db.refresh(m)
+
+ fetch_elapsed = time.time() - wall_t0
+ logger.info(
+ "HF fetch complete: %d stored, %d failed (%.1fs).",
+ len(stored_models),
+ failed,
+ fetch_elapsed,
+ )
+
+ # --- Step 4: MTEB enrichment ---
+ logger.info("Enriching %d model(s) with MTEB results …", len(stored_models))
+ enriched = 0
+ mteb_skipped = 0
+ for model_row in stored_models:
+ mteb_data = _load_mteb_scores_for_model(cache, model_row.hf_id)
+ if mteb_data is not None:
+ model_row.mteb_scores = mteb_data
+ enriched += 1
+ else:
+ mteb_skipped += 1
+
+ db.commit()
+ logger.info(
+ "MTEB enrichment: %d enriched, %d skipped (no results).",
+ enriched,
+ mteb_skipped,
+ )
+
+ total_in_storage = (
+ db.query(Model)
+ .filter(Model.storage_id == storage.id)
+ .count()
+ )
+ logger.info(
+ "Done. Storage '%s' now has %d model(s) total.",
+ args.storage_id,
+ total_in_storage,
+ )
+ finally:
+ db.close()
+
+
+if __name__ == "__main__":
+ main()
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/cli_generate.py b/examples/sie-hugging-face-mteb-semantic-search/backend/cli_generate.py
new file mode 100644
index 000000000..61ed8ce04
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/cli_generate.py
@@ -0,0 +1,433 @@
+"""CLI utility to generate short and long descriptions for models.
+
+Runs the same pipeline as the web UI Generate Descriptions buttons:
+ 1. Prepare 6K prompt (model metadata + README + MTEB summary)
+ 2. Generate 6K detailed description via OpenRouter
+ 3. Generate 2K long description from the 6K output
+ 4. Generate 200-char short description from the 6K output
+ 5. Save both descriptions to the database
+ 6. Upsert embedding into ChromaDB via SIE
+
+Usage:
+ python cli_generate.py <storage_id> # all models (default 20 parallel)
+ python cli_generate.py <storage_id> <hf_id> # single model
+ python cli_generate.py <storage_id> --parallel 50 # 50 parallel pipelines
+ python cli_generate.py <storage_id> --model google/gemini-2.5-flash
+ python cli_generate.py <storage_id> --skip-existing # skip models that already have descriptions
+ python cli_generate.py <storage_id> --reindex-only # rebuild Chroma from existing descriptions
+"""
+
+import argparse
+import asyncio
+import json
+import logging
+import sys
+import time
+
+from app.config import settings
+from app.db.migrate import ensure_schema
+from app.db.models import Model, Storage
+from app.db.session import SessionLocal
+from app.prompts import load_prompt
+from app.services.chroma import reindex_all, upsert_embedding
+from app.services.openrouter import generate_text, generate_text_async
+
+logging.basicConfig(
+ level=logging.INFO,
+ format="%(asctime)s %(levelname)-8s %(message)s",
+ datefmt="%H:%M:%S",
+)
+logger = logging.getLogger(__name__)
+
+
+def _build_model_json(model: Model) -> str:
+ data = {
+ "hf_id": model.hf_id,
+ "author": model.author,
+ "pipeline_tag": model.pipeline_tag,
+ "library_name": model.library_name,
+ "downloads_30d": model.downloads_30d,
+ "likes": model.likes,
+ "tags": model.tags,
+ "config": model.config,
+ "card_data": model.card_data,
+ }
+ return json.dumps(data, indent=2, default=str)
+
+
+def _build_mteb_summary(model: Model) -> str:
+ if not model.mteb_scores:
+ return "(no MTEB results available)"
+ lines: list[str] = []
+ for r in model.mteb_scores:
+ task_name = r.get("task_name", "unknown")
+ main = r.get("main_score")
+ if main is None:
+ lines.append(f"- {task_name}: (no score)")
+ continue
+ try:
+ score = float(main)
+ except (TypeError, ValueError):
+ lines.append(f"- {task_name}: (no score)")
+ continue
+ lines.append(f"- {task_name}: {score:.4f} ({score * 100:.2f}%)")
+ return "\n".join(lines)
+
+
+def _live_readme_for_prompt(hf_id: str, max_chars: int = 4000) -> str:
+ """Live-fetch the HF README (truncated) — not stored in SQLite anymore."""
+ from huggingface_hub import ModelCard
+
+ try:
+ text_value = ModelCard.load(hf_id).text or ""
+ except Exception as exc:
+ logger.info("Live README fetch failed for %s: %s", hf_id, exc)
+ return ""
+ return text_value[:max_chars]
+
+
+def generate_for_model(
+ db, model: Model, storage_id: str, llm_model: str | None, dry_run: bool = False
+) -> bool:
+ """Run the full description pipeline for a single model. Returns True on success."""
+ hf_id = model.hf_id
+ logger.info("--- Processing %s ---", hf_id)
+
+ model_json = _build_model_json(model)
+ mteb_summary = _build_mteb_summary(model)
+ model_readme = _live_readme_for_prompt(hf_id)
+
+ # Step 1: Render detailed prompt
+ prompt_text = load_prompt(
+ "detailed_description",
+ model_id=hf_id,
+ model_json=model_json,
+ model_readme=model_readme,
+ mteb_summary=mteb_summary,
+ )
+ logger.info("[1/6] Prepared 6K prompt (%d chars)", len(prompt_text))
+
+ if dry_run:
+ logger.info("[DRY RUN] Skipping LLM calls and save for %s", hf_id)
+ return True
+
+ # Step 2: Generate 6K detailed description
+ logger.info("[2/6] Generating 6K detailed description …")
+ t0 = time.time()
+ detailed = generate_text(prompt_text, max_tokens=16384, model=llm_model)
+ logger.info("[2/6] Done (%d chars, %.1fs)", len(detailed), time.time() - t0)
+
+ # Step 3: Generate 2K long description
+ long_prompt = load_prompt(
+ "long_description",
+ detailed_description=detailed,
+ model_json=model_json,
+ mteb_summary=mteb_summary,
+ )
+ logger.info("[3/6] Generating 2K long description …")
+ t0 = time.time()
+ long_desc = generate_text(long_prompt, max_tokens=8192, model=llm_model)
+ logger.info("[3/6] Done (%d chars, %.1fs)", len(long_desc), time.time() - t0)
+
+ # Step 4: Generate 200-char short description
+ short_prompt = load_prompt(
+ "short_description",
+ detailed_description=detailed,
+ model_json=model_json,
+ mteb_summary=mteb_summary,
+ )
+ logger.info("[4/6] Generating 200-char short description …")
+ t0 = time.time()
+ short_desc = generate_text(short_prompt, max_tokens=4096, model=llm_model)
+ logger.info("[4/6] Done (%d chars, %.1fs)", len(short_desc), time.time() - t0)
+
+ # Step 5: Save to database
+ model.long_description = long_desc
+ model.short_description = short_desc
+ db.commit()
+ logger.info("[5/6] Saved descriptions for %s", hf_id)
+ logger.info(" short (%d chars): %s", len(short_desc), short_desc[:120])
+ logger.info(" long (%d chars): %s…", len(long_desc), long_desc[:120])
+
+ # Step 6: Upsert Chroma embedding
+ try:
+ upsert_embedding(storage_id, hf_id, short_desc, long_desc)
+ logger.info("[6/6] Upserted Chroma embedding for %s", hf_id)
+ except Exception as exc:
+ logger.warning("Chroma upsert failed for %s: %s", hf_id, exc)
+
+ return True
+
+
+async def async_generate_for_model(
+ model_pk: int,
+ storage_id: str,
+ llm_model: str | None,
+ semaphore: asyncio.Semaphore,
+ index: int,
+ total: int,
+) -> bool:
+ """Async version of the per-model pipeline.
+
+ DB sessions are opened only when needed (read and save) so that connections
+ are not held during long LLM calls. LLM calls acquire the shared
+ *semaphore* so that at most N calls are in-flight across all pipelines.
+ """
+ # --- Phase 1: read model data, then release the session ---
+ db = SessionLocal()
+ try:
+ model = db.get(Model, model_pk)
+ if model is None:
+ logger.error("[%d/%d] Model pk=%s vanished from DB", index, total, model_pk)
+ return False
+
+ hf_id = model.hf_id
+ model_json = _build_model_json(model)
+ mteb_summary = _build_mteb_summary(model)
+ finally:
+ db.close()
+
+ model_readme = _live_readme_for_prompt(hf_id)
+
+ logger.info("[%d/%d] --- Processing %s ---", index, total, hf_id)
+
+ prompt_text = load_prompt(
+ "detailed_description",
+ model_id=hf_id,
+ model_json=model_json,
+ model_readme=model_readme,
+ mteb_summary=mteb_summary,
+ )
+ logger.info("[%d/%d] [1/6] Prepared 6K prompt (%d chars)", index, total, len(prompt_text))
+
+ # --- Phase 2: LLM calls (no DB session held) ---
+
+ # Step 2: 6K detailed description
+ logger.info("[%d/%d] [2/6] Generating 6K detailed description …", index, total)
+ t0 = time.time()
+ detailed = await generate_text_async(prompt_text, max_tokens=16384, model=llm_model, semaphore=semaphore)
+ logger.info("[%d/%d] [2/6] Done (%d chars, %.1fs)", index, total, len(detailed), time.time() - t0)
+
+ # Step 3: 2K long description
+ long_prompt = load_prompt(
+ "long_description",
+ detailed_description=detailed,
+ model_json=model_json,
+ mteb_summary=mteb_summary,
+ )
+ logger.info("[%d/%d] [3/6] Generating 2K long description …", index, total)
+ t0 = time.time()
+ long_desc = await generate_text_async(long_prompt, max_tokens=8192, model=llm_model, semaphore=semaphore)
+ logger.info("[%d/%d] [3/6] Done (%d chars, %.1fs)", index, total, len(long_desc), time.time() - t0)
+
+ # Step 4: 200-char short description
+ short_prompt = load_prompt(
+ "short_description",
+ detailed_description=detailed,
+ model_json=model_json,
+ mteb_summary=mteb_summary,
+ )
+ logger.info("[%d/%d] [4/6] Generating 200-char short description …", index, total)
+ t0 = time.time()
+ short_desc = await generate_text_async(short_prompt, max_tokens=4096, model=llm_model, semaphore=semaphore)
+ logger.info("[%d/%d] [4/6] Done (%d chars, %.1fs)", index, total, len(short_desc), time.time() - t0)
+
+ # --- Phase 3: save results, then release the session ---
+
+ # Step 5: DB save (blocking I/O via thread)
+ def _save() -> None:
+ save_db = SessionLocal()
+ try:
+ m = save_db.get(Model, model_pk)
+ m.long_description = long_desc
+ m.short_description = short_desc
+ save_db.commit()
+ finally:
+ save_db.close()
+
+ await asyncio.to_thread(_save)
+ logger.info("[%d/%d] [5/6] Saved descriptions for %s", index, total, hf_id)
+ logger.info(" short (%d chars): %s", len(short_desc), short_desc[:120])
+ logger.info(" long (%d chars): %s…", len(long_desc), long_desc[:120])
+
+ # Step 6: Chroma upsert (blocking I/O via thread)
+ try:
+ await asyncio.to_thread(upsert_embedding, storage_id, hf_id, short_desc, long_desc)
+ logger.info("[%d/%d] [6/6] Upserted Chroma embedding for %s", index, total, hf_id)
+ except Exception as exc:
+ logger.warning("Chroma upsert failed for %s: %s", hf_id, exc)
+
+ return True
+
+
+async def _run_parallel(
+ model_pks: list[int],
+ storage_id: str,
+ llm_model: str | None,
+ parallel: int,
+) -> tuple[int, int]:
+ """Launch all model pipelines with bounded concurrency. Returns (succeeded, failed)."""
+ semaphore = asyncio.Semaphore(parallel)
+ total = len(model_pks)
+ logger.info("Launching %d model pipelines (max %d parallel LLM calls)", total, parallel)
+
+ tasks = [
+ asyncio.create_task(
+ async_generate_for_model(pk, storage_id, llm_model, semaphore, i, total),
+ name=f"model-{i}",
+ )
+ for i, pk in enumerate(model_pks, 1)
+ ]
+
+ results = await asyncio.gather(*tasks, return_exceptions=True)
+
+ succeeded = 0
+ failed = 0
+ for i, result in enumerate(results, 1):
+ if isinstance(result, Exception):
+ logger.exception("Pipeline %d failed: %s", i, result)
+ failed += 1
+ elif result:
+ succeeded += 1
+ else:
+ failed += 1
+
+ return succeeded, failed
+
+
+def main():
+ parser = argparse.ArgumentParser(
+ description="Generate short and long descriptions for embedding models."
+ )
+ parser.add_argument(
+ "storage_id",
+ help="Logical storage id (e.g. test01)",
+ )
+ parser.add_argument(
+ "hf_id",
+ nargs="?",
+ default=None,
+ help="Single Hugging Face model id to process. If omitted, processes all models in the storage.",
+ )
+ parser.add_argument(
+ "--model",
+ default=None,
+ help=f"OpenRouter model name (default: {settings.openrouter_model})",
+ )
+ parser.add_argument(
+ "--parallel",
+ type=int,
+ default=settings.llm_max_parallel,
+ help=f"Max parallel LLM pipelines (default: {settings.llm_max_parallel})",
+ )
+ parser.add_argument(
+ "--skip-existing",
+ action="store_true",
+ help="Skip models that already have both short and long descriptions.",
+ )
+ parser.add_argument(
+ "--dry-run",
+ action="store_true",
+ help="Prepare prompts but don't call the LLM or save anything.",
+ )
+ parser.add_argument(
+ "--reindex-only",
+ action="store_true",
+ help="Skip description generation; rebuild the Chroma collection from existing SQLite descriptions.",
+ )
+ args = parser.parse_args()
+
+ ensure_schema()
+
+ db = SessionLocal()
+ try:
+ storage = (
+ db.query(Storage)
+ .filter(Storage.storage_id == args.storage_id)
+ .one_or_none()
+ )
+ if storage is None:
+ logger.error("Storage id '%s' not found in database.", args.storage_id)
+ sys.exit(1)
+
+ if args.hf_id:
+ models = (
+ db.query(Model)
+ .filter(Model.storage_id == storage.id, Model.hf_id == args.hf_id)
+ .all()
+ )
+ if not models:
+ logger.error(
+ "Model '%s' not found in storage '%s'.",
+ args.hf_id,
+ args.storage_id,
+ )
+ sys.exit(1)
+ else:
+ models = (
+ db.query(Model)
+ .filter(Model.storage_id == storage.id)
+ .order_by(Model.hf_id)
+ .all()
+ )
+
+ if args.reindex_only:
+ logger.info(
+ "Reindex-only mode: rebuilding Chroma collection for '%s' (%d models)",
+ args.storage_id,
+ len(models),
+ )
+ result = reindex_all(args.storage_id, models)
+ logger.info(
+ "Reindex complete: %d indexed, %d skipped out of %d total.",
+ result["indexed"],
+ result["skipped"],
+ result["total"],
+ )
+ return
+
+ if args.skip_existing:
+ before = len(models)
+ models = [
+ m for m in models
+ if not (m.short_description and m.long_description)
+ ]
+ skipped = before - len(models)
+ if skipped:
+ logger.info("Skipping %d model(s) that already have descriptions.", skipped)
+
+ logger.info(
+ "Processing %d model(s) in storage '%s' with model '%s' (parallel=%d)",
+ len(models),
+ args.storage_id,
+ args.model or settings.openrouter_model,
+ args.parallel,
+ )
+
+ if args.dry_run:
+ for i, model in enumerate(models, 1):
+ logger.info("=== Model %d / %d ===", i, len(models))
+ generate_for_model(db, model, args.storage_id, args.model, dry_run=True)
+ logger.info("Dry run complete for %d model(s).", len(models))
+ return
+
+ model_pks = [m.id for m in models]
+ wall_t0 = time.time()
+ succeeded, failed = asyncio.run(
+ _run_parallel(model_pks, args.storage_id, args.model, args.parallel)
+ )
+ wall_elapsed = time.time() - wall_t0
+
+ logger.info(
+ "Done. %d succeeded, %d failed out of %d total (%.1fs wall clock).",
+ succeeded,
+ failed,
+ len(models),
+ wall_elapsed,
+ )
+ finally:
+ db.close()
+
+
+if __name__ == "__main__":
+ main()
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/cli_reindex.py b/examples/sie-hugging-face-mteb-semantic-search/backend/cli_reindex.py
new file mode 100644
index 000000000..8c6d2f686
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/cli_reindex.py
@@ -0,0 +1,78 @@
+"""CLI utility to (re)build the Chroma vector index for short descriptions.
+
+Embeds every model's short_description via the SIE encode endpoint and
+upserts the vectors into a persistent ChromaDB collection.
+
+Usage:
+ python cli_reindex.py <storage_id>
+ python cli_reindex.py <storage_id> --batch-size 16
+"""
+
+import argparse
+import logging
+import sys
+
+from app.config import settings
+from app.db.models import Model, Storage
+from app.db.session import SessionLocal
+from app.services.chroma import reindex_all
+
+logging.basicConfig(
+ level=logging.INFO,
+ format="%(asctime)s %(levelname)-8s %(message)s",
+ datefmt="%H:%M:%S",
+)
+logger = logging.getLogger(__name__)
+
+
+def main():
+ parser = argparse.ArgumentParser(
+ description="(Re)build the Chroma vector index for model short descriptions."
+ )
+ parser.add_argument("storage_id", help="Logical storage id (e.g. test01)")
+ parser.add_argument(
+ "--batch-size",
+ type=int,
+ default=None,
+ help=f"Texts per SIE encode call (default: {settings.sie_embed_batch_size})",
+ )
+ args = parser.parse_args()
+
+ if args.batch_size is not None:
+ settings.sie_embed_batch_size = args.batch_size
+ logger.info("Using SIE batch size: %d", args.batch_size)
+
+ db = SessionLocal()
+ try:
+ storage = (
+ db.query(Storage)
+ .filter(Storage.storage_id == args.storage_id)
+ .one_or_none()
+ )
+ if storage is None:
+ logger.error("Storage id '%s' not found in database.", args.storage_id)
+ sys.exit(1)
+
+ models = (
+ db.query(Model)
+ .filter(Model.storage_id == storage.id)
+ .order_by(Model.hf_id)
+ .all()
+ )
+ logger.info(
+ "Found %d model(s) in storage '%s'", len(models), args.storage_id
+ )
+
+ result = reindex_all(args.storage_id, models)
+ logger.info(
+ "Reindex complete: %d short + %d long indexed, %d skipped (no short_description).",
+ result["indexed"],
+ result.get("long_indexed", 0),
+ result["skipped"],
+ )
+ finally:
+ db.close()
+
+
+if __name__ == "__main__":
+ main()
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/cli_seed_demo.py b/examples/sie-hugging-face-mteb-semantic-search/backend/cli_seed_demo.py
new file mode 100644
index 000000000..484cb06c5
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/cli_seed_demo.py
@@ -0,0 +1,61 @@
+"""Seed a small local demo dataset so the app works without SIE or OpenRouter."""
+
+from __future__ import annotations
+
+import json
+from pathlib import Path
+
+from app.db import models as db_models
+from app.db.migrate import ensure_schema
+from app.db.session import SessionLocal
+
+DEFAULT_STORAGE_ID = "demo"
+DATA_PATH = Path(__file__).with_name("demo_models.json")
+
+
+def main() -> None:
+ ensure_schema()
+ records = json.loads(DATA_PATH.read_text())
+
+ with SessionLocal() as db:
+ storage = (
+ db.query(db_models.Storage)
+ .filter(db_models.Storage.storage_id == DEFAULT_STORAGE_ID)
+ .one_or_none()
+ )
+ if storage is None:
+ storage = db_models.Storage(
+ storage_id=DEFAULT_STORAGE_ID,
+ description="Bundled demo catalog for local browsing and search",
+ )
+ db.add(storage)
+ db.flush()
+
+ db.query(db_models.Model).filter(
+ db_models.Model.storage_id == storage.id
+ ).delete()
+
+ for record in records:
+ db.add(
+ db_models.Model(
+ storage_id=storage.id,
+ hf_id=record["hf_id"],
+ author=record.get("author"),
+ downloads_30d=record.get("downloads_30d"),
+ likes=record.get("likes"),
+ pipeline_tag=record.get("pipeline_tag"),
+ tags=record.get("tags"),
+ card_data={"demo_readme": record.get("demo_readme", "")},
+ mteb_scores=record.get("mteb_scores"),
+ short_description=record.get("short_description"),
+ long_description=record.get("long_description"),
+ )
+ )
+
+ db.commit()
+
+ print(f"Seeded {len(records)} demo models under storage id '{DEFAULT_STORAGE_ID}'.")
+
+
+if __name__ == "__main__":
+ main()
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/cli_sie_status.py b/examples/sie-hugging-face-mteb-semantic-search/backend/cli_sie_status.py
new file mode 100644
index 000000000..c18f6d72b
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/cli_sie_status.py
@@ -0,0 +1,152 @@
+"""CLI utility to check SIE server status and available services.
+
+Usage:
+ python cli_sie_status.py # full status report
+ python cli_sie_status.py --health # health check only
+ python cli_sie_status.py --models # list models only
+ python cli_sie_status.py --pools # list pools only
+"""
+
+import argparse
+import json
+import sys
+
+import httpx
+from app.config import settings
+
+TIMEOUT = 15.0
+
+
+def _client() -> httpx.Client:
+ headers: dict[str, str] = {"Content-Type": "application/json"}
+ if settings.sie_api_key:
+ headers["Authorization"] = f"Bearer {settings.sie_api_key}"
+ return httpx.Client(headers=headers, timeout=TIMEOUT)
+
+
+def _get(client: httpx.Client, path: str) -> dict | list | str | None:
+ url = f"{settings.sie_api_endpoint.rstrip('/')}{path}"
+ try:
+ r = client.get(url)
+ r.raise_for_status()
+ try:
+ return r.json()
+ except (json.JSONDecodeError, ValueError):
+ return r.text.strip() or f"(empty — HTTP {r.status_code})"
+ except httpx.ConnectError:
+ print(f" ERROR: cannot connect to {url}")
+ return None
+ except httpx.HTTPStatusError as exc:
+ print(f" ERROR: {exc.response.status_code} from {url}")
+ return None
+
+
+def section(title: str) -> None:
+ print(f"\n{'=' * 60}")
+ print(f" {title}")
+ print(f"{'=' * 60}")
+
+
+def _print_result(data: dict | list | str) -> None:
+ if isinstance(data, str):
+ print(f" {data}")
+ else:
+ print(json.dumps(data, indent=2))
+
+
+def check_health(client: httpx.Client) -> None:
+ section("Health")
+ data = _get(client, "/health")
+ if data is None:
+ return
+ _print_result(data)
+
+
+def check_liveness(client: httpx.Client) -> None:
+ section("Liveness (/healthz)")
+ data = _get(client, "/healthz")
+ if data is None:
+ return
+ _print_result(data)
+
+
+def check_readiness(client: httpx.Client) -> None:
+ section("Readiness (/readyz)")
+ data = _get(client, "/readyz")
+ if data is None:
+ return
+ _print_result(data)
+
+
+def check_models(client: httpx.Client) -> None:
+ section("Models (/v1/models)")
+ data = _get(client, "/v1/models")
+ if data is None:
+ return
+ if isinstance(data, str):
+ print(f" {data}")
+ return
+ models = data.get("models") or data.get("data") or []
+ if not models:
+ print(json.dumps(data, indent=2))
+ return
+
+ loaded = [m for m in models if m.get("loaded")]
+ print(f" {len(models)} model(s) registered, {len(loaded)} loaded\n")
+ for m in models:
+ name = m.get("name") or m.get("id") or "?"
+ workers = m.get("worker_count", 0)
+ state = "LOADED" if m.get("loaded") else "not loaded"
+ bundles = ", ".join(m.get("bundles", []))
+ parts = [f" - {name}", f"[{state}, {workers} worker(s)]"]
+ if bundles:
+ parts.append(f"bundle={bundles}")
+ print(" ".join(parts))
+
+
+def check_pools(client: httpx.Client) -> None:
+ section("Pools (/v1/pools)")
+ data = _get(client, "/v1/pools")
+ if data is None:
+ return
+ if isinstance(data, dict) and not data:
+ print(" No pools configured")
+ return
+ print(json.dumps(data, indent=2))
+
+
+def full_report(client: httpx.Client) -> None:
+ endpoint = settings.sie_api_endpoint
+ print(f"SIE Server: {endpoint}")
+ check_liveness(client)
+ check_readiness(client)
+ check_health(client)
+ check_models(client)
+ check_pools(client)
+ print()
+
+
+def main() -> None:
+ parser = argparse.ArgumentParser(description="Check SIE server status")
+ parser.add_argument("--health", action="store_true", help="Health check only")
+ parser.add_argument("--models", action="store_true", help="List models only")
+ parser.add_argument("--pools", action="store_true", help="List pools only")
+ args = parser.parse_args()
+
+ with _client() as client:
+ if not (args.health or args.models or args.pools):
+ full_report(client)
+ return
+
+ print(f"SIE Server: {settings.sie_api_endpoint}")
+ if args.health:
+ check_health(client)
+ if args.models:
+ check_models(client)
+ if args.pools:
+ check_pools(client)
+ print()
+
+
+if __name__ == "__main__":
+ main()
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/data/sqlite/.gitignore b/examples/sie-hugging-face-mteb-semantic-search/backend/data/sqlite/.gitignore
new file mode 100644
index 000000000..d6b7ef32c
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/data/sqlite/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/demo_models.json b/examples/sie-hugging-face-mteb-semantic-search/backend/demo_models.json
new file mode 100644
index 000000000..37ef0e7ce
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/demo_models.json
@@ -0,0 +1,62 @@
+[
+ {
+ "hf_id": "BAAI/bge-m3",
+ "author": "BAAI",
+ "downloads_30d": 1800000,
+ "likes": 2400,
+ "pipeline_tag": "sentence-similarity",
+ "tags": ["embeddings", "multilingual", "retrieval", "long-context"],
+ "short_description": "Strong general-purpose multilingual embedding model for retrieval, clustering, and semantic search.",
+ "long_description": "BAAI/bge-m3 is a strong default when you need one embedding model that works across multilingual retrieval, clustering, and semantic matching. It handles longer inputs than many older embedding models and is a reliable starting point for product search, knowledge search, and benchmark exploration.",
+ "mteb_scores": [
+ {"task_name": "Retrieval", "main_score": 0.681},
+ {"task_name": "Clustering", "main_score": 0.572}
+ ],
+ "demo_readme": "# BAAI/bge-m3\n\nDemo entry bundled with the example.\n\nUse this card when you want a strong multilingual retrieval baseline with long-context support."
+ },
+ {
+ "hf_id": "jinaai/jina-embeddings-v3",
+ "author": "Jina AI",
+ "downloads_30d": 920000,
+ "likes": 1650,
+ "pipeline_tag": "sentence-similarity",
+ "tags": ["embeddings", "multilingual", "classification", "search"],
+ "short_description": "Flexible multilingual embedding model that works well for semantic search and classification tasks.",
+ "long_description": "jina-embeddings-v3 is useful when you want one model family for semantic search, classification-style similarity, and multilingual document understanding. It is a good fit for teams that care about broad language support and stable general-purpose retrieval quality.",
+ "mteb_scores": [
+ {"task_name": "Retrieval", "main_score": 0.664},
+ {"task_name": "Classification", "main_score": 0.701}
+ ],
+ "demo_readme": "# jina-embeddings-v3\n\nDemo entry bundled with the example.\n\nThis card represents a flexible multilingual search model with balanced retrieval and classification quality."
+ },
+ {
+ "hf_id": "mixedbread-ai/mxbai-embed-large-v1",
+ "author": "Mixedbread",
+ "downloads_30d": 610000,
+ "likes": 1200,
+ "pipeline_tag": "sentence-similarity",
+ "tags": ["embeddings", "english", "retrieval", "reranking"],
+ "short_description": "Large English-focused embedding model with strong retrieval quality for product and document search.",
+ "long_description": "mxbai-embed-large-v1 is a good fit for English-heavy product search, enterprise search, and retrieval evaluation. It is often chosen when teams want a high-quality embedding baseline that pairs naturally with Mixedbread rerankers.",
+ "mteb_scores": [
+ {"task_name": "Retrieval", "main_score": 0.693},
+ {"task_name": "STS", "main_score": 0.812}
+ ],
+ "demo_readme": "# mxbai-embed-large-v1\n\nDemo entry bundled with the example.\n\nThis card stands in for a strong English retrieval model that pairs well with reranking pipelines."
+ },
+ {
+ "hf_id": "intfloat/e5-large-v2",
+ "author": "intfloat",
+ "downloads_30d": 540000,
+ "likes": 2100,
+ "pipeline_tag": "sentence-similarity",
+ "tags": ["embeddings", "retrieval", "text-matching", "english"],
+ "short_description": "Popular embedding baseline for semantic search and query-document matching in English.",
+ "long_description": "e5-large-v2 is a well-known embedding baseline that remains useful for semantic search, FAQ retrieval, and query-document matching. It is especially helpful when you want a familiar reference point while comparing newer embedding models.",
+ "mteb_scores": [
+ {"task_name": "Retrieval", "main_score": 0.641},
+ {"task_name": "STS", "main_score": 0.801}
+ ],
+ "demo_readme": "# e5-large-v2\n\nDemo entry bundled with the example.\n\nThis card gives the local demo a familiar semantic-search baseline."
+ }
+]
diff --git a/examples/sie-hugging-face-mteb-semantic-search/backend/requirements.txt b/examples/sie-hugging-face-mteb-semantic-search/backend/requirements.txt
new file mode 100644
index 000000000..6e9db9ebb
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/backend/requirements.txt
@@ -0,0 +1,11 @@
+fastapi==0.115.0
+uvicorn[standard]==0.30.6
+sqlalchemy==2.0.35
+alembic==1.13.3
+pydantic==2.9.2
+pydantic-settings==2.6.0
+huggingface_hub>=1.7.1
+mteb>=2.3.0
+openai>=2.0.0
+chromadb>=1.0.0
+httpx>=0.27.0
diff --git a/examples/sie-hugging-face-mteb-semantic-search/frontend/eslint.config.mjs b/examples/sie-hugging-face-mteb-semantic-search/frontend/eslint.config.mjs
new file mode 100644
index 000000000..646fca33f
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/frontend/eslint.config.mjs
@@ -0,0 +1,27 @@
+import js from "@eslint/js";
+import globals from "globals";
+import reactHooks from "eslint-plugin-react-hooks";
+import reactRefresh from "eslint-plugin-react-refresh";
+import tseslint from "typescript-eslint";
+
+export default [
+ {
+ ignores: ["dist/**", "node_modules/**"],
+ },
+ js.configs.recommended,
+ ...tseslint.configs.recommended,
+ {
+ files: ["**/*.{ts,tsx}"],
+ languageOptions: {
+ globals: globals.browser,
+ },
+ plugins: {
+ "react-hooks": reactHooks,
+ "react-refresh": reactRefresh,
+ },
+ rules: {
+ ...reactHooks.configs.recommended.rules,
+ "react-refresh/only-export-components": "warn",
+ },
+ },
+];
diff --git a/examples/sie-hugging-face-mteb-semantic-search/frontend/frontend.md b/examples/sie-hugging-face-mteb-semantic-search/frontend/frontend.md
new file mode 100644
index 000000000..3f8cb0765
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/frontend/frontend.md
@@ -0,0 +1,36 @@
+# Frontend for LLM Search
+
+## Search Menu
+Two menu points:
+1. Download LLM Cards
+2. Browse LLM Cards
+
+### Browse LLM Cards
+This are two editable fields above:
+Storage ID: Default "test01"
+LLM ID: This together with Storage ID functions as a search possiblity for LLM Cards
+
+Then comes an updated list of LLM Cards with ID, short description and other relevant fields in max 2-3 lines
+
+#### Browser LLM Card Details Full
+If user clicks on a short LLM Card, then this LLM Card Detail screen starts with all the data we have on that LLM id (in this storage ID)
+There is a back button to return to the Browse LLM Cards screen
+
+#### Generate Descriptions popup
+The following UI elements are there
+- text area with pormpt to create max 6K description
+- button "Generate 6K description"
+- button "Generate 2K description"
+- button "Generate 200 char description"
+- text area 6K description
+- text area 2K description
+- text area 200 description
+##### Functionality Button Generate 6K Description
+The prompt text area has already variables replaced. So if the button is pressed, an openrouter model is called with the prompt and the results are filled into the 6K description. This field is not saved.
+##### Functionality Button Generate 2K Description
+Based on the 6K description a 2K description is generated and filled into the corresponding text area. It is not yet saved.
+The corresponding prompt is used for this (find good prompt even change prompt if needed)
+##### Functionality Button Generate 200 char Description
+Based on the 6K description a 200 character description is generated and filled into the corresponding text area. It is not yet saved.
+##### Functionality Button Save Descriptions
+2K and 200 char descriptions are filled and saved into sqlite table Models. 6K description is not saved
\ No newline at end of file
diff --git a/examples/sie-hugging-face-mteb-semantic-search/frontend/index.html b/examples/sie-hugging-face-mteb-semantic-search/frontend/index.html
new file mode 100644
index 000000000..cfaea0cc1
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/frontend/index.html
@@ -0,0 +1,13 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🔍</text></svg>" />
+ <title>SIE LLM Search</title>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ </head>
+ <body>
+ <div id="root"></div>
+ <script type="module" src="/src/main.tsx"></script>
+ </body>
+</html>
diff --git a/examples/sie-hugging-face-mteb-semantic-search/frontend/package-lock.json b/examples/sie-hugging-face-mteb-semantic-search/frontend/package-lock.json
new file mode 100644
index 000000000..7de61f2ac
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/frontend/package-lock.json
@@ -0,0 +1,3994 @@
+{
+ "name": "sie-frontend",
+ "version": "0.0.1",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "sie-frontend",
+ "version": "0.0.1",
+ "dependencies": {
+ "react": "^18.3.1",
+ "react-dom": "^18.3.1",
+ "react-markdown": "^10.1.0"
+ },
+ "devDependencies": {
+ "@eslint/js": "^9.13.0",
+ "@types/react": "^18.3.8",
+ "@types/react-dom": "^18.3.0",
+ "@vitejs/plugin-react-swc": "^3.7.1",
+ "eslint": "^9.13.0",
+ "eslint-plugin-react-hooks": "^5.1.0-rc.0",
+ "eslint-plugin-react-refresh": "^0.4.12",
+ "globals": "^15.11.0",
+ "typescript": "^5.6.3",
+ "typescript-eslint": "^8.11.0",
+ "vite": "^5.4.10"
+ }
+ },
+ "node_modules/@esbuild/aix-ppc64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz",
+ "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/android-arm": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz",
+ "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/android-arm64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz",
+ "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/android-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz",
+ "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/darwin-arm64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz",
+ "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/darwin-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz",
+ "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz",
+ "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/freebsd-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz",
+ "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-arm": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz",
+ "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-arm64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz",
+ "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-ia32": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz",
+ "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-loong64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz",
+ "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-mips64el": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz",
+ "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==",
+ "cpu": [
+ "mips64el"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-ppc64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz",
+ "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-riscv64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz",
+ "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-s390x": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz",
+ "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz",
+ "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/netbsd-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz",
+ "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/openbsd-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz",
+ "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/sunos-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz",
+ "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/win32-arm64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz",
+ "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/win32-ia32": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz",
+ "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/win32-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz",
+ "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@eslint-community/eslint-utils": {
+ "version": "4.9.1",
+ "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz",
+ "integrity": "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "eslint-visitor-keys": "^3.4.3"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
+ }
+ },
+ "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": {
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
+ "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/@eslint-community/regexpp": {
+ "version": "4.12.2",
+ "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz",
+ "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^12.0.0 || ^14.0.0 || >=16.0.0"
+ }
+ },
+ "node_modules/@eslint/config-array": {
+ "version": "0.21.2",
+ "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.2.tgz",
+ "integrity": "sha512-nJl2KGTlrf9GjLimgIru+V/mzgSK0ABCDQRvxw5BjURL7WfH5uoWmizbH7QB6MmnMBd8cIC9uceWnezL1VZWWw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@eslint/object-schema": "^2.1.7",
+ "debug": "^4.3.1",
+ "minimatch": "^3.1.5"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/config-helpers": {
+ "version": "0.4.2",
+ "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.4.2.tgz",
+ "integrity": "sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@eslint/core": "^0.17.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/core": {
+ "version": "0.17.0",
+ "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.17.0.tgz",
+ "integrity": "sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@types/json-schema": "^7.0.15"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/eslintrc": {
+ "version": "3.3.5",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.5.tgz",
+ "integrity": "sha512-4IlJx0X0qftVsN5E+/vGujTRIFtwuLbNsVUe7TO6zYPDR1O6nFwvwhIKEKSrl6dZchmYBITazxKoUYOjdtjlRg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ajv": "^6.14.0",
+ "debug": "^4.3.2",
+ "espree": "^10.0.1",
+ "globals": "^14.0.0",
+ "ignore": "^5.2.0",
+ "import-fresh": "^3.2.1",
+ "js-yaml": "^4.1.1",
+ "minimatch": "^3.1.5",
+ "strip-json-comments": "^3.1.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/@eslint/eslintrc/node_modules/globals": {
+ "version": "14.0.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz",
+ "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@eslint/js": {
+ "version": "9.39.4",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.4.tgz",
+ "integrity": "sha512-nE7DEIchvtiFTwBw4Lfbu59PG+kCofhjsKaCWzxTpt4lfRjRMqG6uMBzKXuEcyXhOHoUp9riAm7/aWYGhXZ9cw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://eslint.org/donate"
+ }
+ },
+ "node_modules/@eslint/object-schema": {
+ "version": "2.1.7",
+ "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.7.tgz",
+ "integrity": "sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/plugin-kit": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.4.1.tgz",
+ "integrity": "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@eslint/core": "^0.17.0",
+ "levn": "^0.4.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@humanfs/core": {
+ "version": "0.19.1",
+ "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz",
+ "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=18.18.0"
+ }
+ },
+ "node_modules/@humanfs/node": {
+ "version": "0.16.7",
+ "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.7.tgz",
+ "integrity": "sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@humanfs/core": "^0.19.1",
+ "@humanwhocodes/retry": "^0.4.0"
+ },
+ "engines": {
+ "node": ">=18.18.0"
+ }
+ },
+ "node_modules/@humanwhocodes/module-importer": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
+ "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=12.22"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
+ },
+ "node_modules/@humanwhocodes/retry": {
+ "version": "0.4.3",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz",
+ "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=18.18"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
+ },
+ "node_modules/@rolldown/pluginutils": {
+ "version": "1.0.0-beta.27",
+ "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.27.tgz",
+ "integrity": "sha512-+d0F4MKMCbeVUJwG96uQ4SgAznZNSq93I3V+9NHA4OpvqG8mRCpGdKmK8l/dl02h2CCDHwW2FqilnTyDcAnqjA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@rollup/rollup-android-arm-eabi": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.59.0.tgz",
+ "integrity": "sha512-upnNBkA6ZH2VKGcBj9Fyl9IGNPULcjXRlg0LLeaioQWueH30p6IXtJEbKAgvyv+mJaMxSm1l6xwDXYjpEMiLMg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-android-arm64": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.59.0.tgz",
+ "integrity": "sha512-hZ+Zxj3SySm4A/DylsDKZAeVg0mvi++0PYVceVyX7hemkw7OreKdCvW2oQ3T1FMZvCaQXqOTHb8qmBShoqk69Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-arm64": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.59.0.tgz",
+ "integrity": "sha512-W2Psnbh1J8ZJw0xKAd8zdNgF9HRLkdWwwdWqubSVk0pUuQkoHnv7rx4GiF9rT4t5DIZGAsConRE3AxCdJ4m8rg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-x64": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.59.0.tgz",
+ "integrity": "sha512-ZW2KkwlS4lwTv7ZVsYDiARfFCnSGhzYPdiOU4IM2fDbL+QGlyAbjgSFuqNRbSthybLbIJ915UtZBtmuLrQAT/w==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-arm64": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.59.0.tgz",
+ "integrity": "sha512-EsKaJ5ytAu9jI3lonzn3BgG8iRBjV4LxZexygcQbpiU0wU0ATxhNVEpXKfUa0pS05gTcSDMKpn3Sx+QB9RlTTA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-x64": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.59.0.tgz",
+ "integrity": "sha512-d3DuZi2KzTMjImrxoHIAODUZYoUUMsuUiY4SRRcJy6NJoZ6iIqWnJu9IScV9jXysyGMVuW+KNzZvBLOcpdl3Vg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.59.0.tgz",
+ "integrity": "sha512-t4ONHboXi/3E0rT6OZl1pKbl2Vgxf9vJfWgmUoCEVQVxhW6Cw/c8I6hbbu7DAvgp82RKiH7TpLwxnJeKv2pbsw==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-musleabihf": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.59.0.tgz",
+ "integrity": "sha512-CikFT7aYPA2ufMD086cVORBYGHffBo4K8MQ4uPS/ZnY54GKj36i196u8U+aDVT2LX4eSMbyHtyOh7D7Zvk2VvA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-gnu": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.59.0.tgz",
+ "integrity": "sha512-jYgUGk5aLd1nUb1CtQ8E+t5JhLc9x5WdBKew9ZgAXg7DBk0ZHErLHdXM24rfX+bKrFe+Xp5YuJo54I5HFjGDAA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-musl": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.59.0.tgz",
+ "integrity": "sha512-peZRVEdnFWZ5Bh2KeumKG9ty7aCXzzEsHShOZEFiCQlDEepP1dpUl/SrUNXNg13UmZl+gzVDPsiCwnV1uI0RUA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-loong64-gnu": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.59.0.tgz",
+ "integrity": "sha512-gbUSW/97f7+r4gHy3Jlup8zDG190AuodsWnNiXErp9mT90iCy9NKKU0Xwx5k8VlRAIV2uU9CsMnEFg/xXaOfXg==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-loong64-musl": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.59.0.tgz",
+ "integrity": "sha512-yTRONe79E+o0FWFijasoTjtzG9EBedFXJMl888NBEDCDV9I2wGbFFfJQQe63OijbFCUZqxpHz1GzpbtSFikJ4Q==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-ppc64-gnu": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.59.0.tgz",
+ "integrity": "sha512-sw1o3tfyk12k3OEpRddF68a1unZ5VCN7zoTNtSn2KndUE+ea3m3ROOKRCZxEpmT9nsGnogpFP9x6mnLTCaoLkA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-ppc64-musl": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.59.0.tgz",
+ "integrity": "sha512-+2kLtQ4xT3AiIxkzFVFXfsmlZiG5FXYW7ZyIIvGA7Bdeuh9Z0aN4hVyXS/G1E9bTP/vqszNIN/pUKCk/BTHsKA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-gnu": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.59.0.tgz",
+ "integrity": "sha512-NDYMpsXYJJaj+I7UdwIuHHNxXZ/b/N2hR15NyH3m2qAtb/hHPA4g4SuuvrdxetTdndfj9b1WOmy73kcPRoERUg==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-musl": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.59.0.tgz",
+ "integrity": "sha512-nLckB8WOqHIf1bhymk+oHxvM9D3tyPndZH8i8+35p/1YiVoVswPid2yLzgX7ZJP0KQvnkhM4H6QZ5m0LzbyIAg==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-s390x-gnu": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.59.0.tgz",
+ "integrity": "sha512-oF87Ie3uAIvORFBpwnCvUzdeYUqi2wY6jRFWJAy1qus/udHFYIkplYRW+wo+GRUP4sKzYdmE1Y3+rY5Gc4ZO+w==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-gnu": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.59.0.tgz",
+ "integrity": "sha512-3AHmtQq/ppNuUspKAlvA8HtLybkDflkMuLK4DPo77DfthRb71V84/c4MlWJXixZz4uruIH4uaa07IqoAkG64fg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-musl": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.59.0.tgz",
+ "integrity": "sha512-2UdiwS/9cTAx7qIUZB/fWtToJwvt0Vbo0zmnYt7ED35KPg13Q0ym1g442THLC7VyI6JfYTP4PiSOWyoMdV2/xg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-openbsd-x64": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.59.0.tgz",
+ "integrity": "sha512-M3bLRAVk6GOwFlPTIxVBSYKUaqfLrn8l0psKinkCFxl4lQvOSz8ZrKDz2gxcBwHFpci0B6rttydI4IpS4IS/jQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-openharmony-arm64": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.59.0.tgz",
+ "integrity": "sha512-tt9KBJqaqp5i5HUZzoafHZX8b5Q2Fe7UjYERADll83O4fGqJ49O1FsL6LpdzVFQcpwvnyd0i+K/VSwu/o/nWlA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-arm64-msvc": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.59.0.tgz",
+ "integrity": "sha512-V5B6mG7OrGTwnxaNUzZTDTjDS7F75PO1ae6MJYdiMu60sq0CqN5CVeVsbhPxalupvTX8gXVSU9gq+Rx1/hvu6A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-ia32-msvc": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.59.0.tgz",
+ "integrity": "sha512-UKFMHPuM9R0iBegwzKF4y0C4J9u8C6MEJgFuXTBerMk7EJ92GFVFYBfOZaSGLu6COf7FxpQNqhNS4c4icUPqxA==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-gnu": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.59.0.tgz",
+ "integrity": "sha512-laBkYlSS1n2L8fSo1thDNGrCTQMmxjYY5G0WFWjFFYZkKPjsMBsgJfGf4TLxXrF6RyhI60L8TMOjBMvXiTcxeA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-msvc": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.59.0.tgz",
+ "integrity": "sha512-2HRCml6OztYXyJXAvdDXPKcawukWY2GpR5/nxKp4iBgiO3wcoEGkAaqctIbZcNB6KlUQBIqt8VYkNSj2397EfA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@swc/core": {
+ "version": "1.15.18",
+ "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.15.18.tgz",
+ "integrity": "sha512-z87aF9GphWp//fnkRsqvtY+inMVPgYW3zSlXH1kJFvRT5H/wiAn+G32qW5l3oEk63KSF1x3Ov0BfHCObAmT8RA==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@swc/counter": "^0.1.3",
+ "@swc/types": "^0.1.25"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/swc"
+ },
+ "optionalDependencies": {
+ "@swc/core-darwin-arm64": "1.15.18",
+ "@swc/core-darwin-x64": "1.15.18",
+ "@swc/core-linux-arm-gnueabihf": "1.15.18",
+ "@swc/core-linux-arm64-gnu": "1.15.18",
+ "@swc/core-linux-arm64-musl": "1.15.18",
+ "@swc/core-linux-x64-gnu": "1.15.18",
+ "@swc/core-linux-x64-musl": "1.15.18",
+ "@swc/core-win32-arm64-msvc": "1.15.18",
+ "@swc/core-win32-ia32-msvc": "1.15.18",
+ "@swc/core-win32-x64-msvc": "1.15.18"
+ },
+ "peerDependencies": {
+ "@swc/helpers": ">=0.5.17"
+ },
+ "peerDependenciesMeta": {
+ "@swc/helpers": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@swc/core-darwin-arm64": {
+ "version": "1.15.18",
+ "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.15.18.tgz",
+ "integrity": "sha512-+mIv7uBuSaywN3C9LNuWaX1jJJ3SKfiJuE6Lr3bd+/1Iv8oMU7oLBjYMluX1UrEPzwN2qCdY6Io0yVicABoCwQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 AND MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@swc/core-darwin-x64": {
+ "version": "1.15.18",
+ "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.15.18.tgz",
+ "integrity": "sha512-wZle0eaQhnzxWX5V/2kEOI6Z9vl/lTFEC6V4EWcn+5pDjhemCpQv9e/TDJ0GIoiClX8EDWRvuZwh+Z3dhL1NAg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 AND MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@swc/core-linux-arm-gnueabihf": {
+ "version": "1.15.18",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.15.18.tgz",
+ "integrity": "sha512-ao61HGXVqrJFHAcPtF4/DegmwEkVCo4HApnotLU8ognfmU8x589z7+tcf3hU+qBiU1WOXV5fQX6W9Nzs6hjxDw==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@swc/core-linux-arm64-gnu": {
+ "version": "1.15.18",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.15.18.tgz",
+ "integrity": "sha512-3xnctOBLIq3kj8PxOCgPrGjBLP/kNOddr6f5gukYt/1IZxsITQaU9TDyjeX6jG+FiCIHjCuWuffsyQDL5Ew1bg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 AND MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@swc/core-linux-arm64-musl": {
+ "version": "1.15.18",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.15.18.tgz",
+ "integrity": "sha512-0a+Lix+FSSHBSBOA0XznCcHo5/1nA6oLLjcnocvzXeqtdjnPb+SvchItHI+lfeiuj1sClYPDvPMLSLyXFaiIKw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 AND MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@swc/core-linux-x64-gnu": {
+ "version": "1.15.18",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.15.18.tgz",
+ "integrity": "sha512-wG9J8vReUlpaHz4KOD/5UE1AUgirimU4UFT9oZmupUDEofxJKYb1mTA/DrMj0s78bkBiNI+7Fo2EgPuvOJfuAA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 AND MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@swc/core-linux-x64-musl": {
+ "version": "1.15.18",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.15.18.tgz",
+ "integrity": "sha512-4nwbVvCphKzicwNWRmvD5iBaZj8JYsRGa4xOxJmOyHlMDpsvvJ2OR2cODlvWyGFH6BYL1MfIAK3qph3hp0Az6g==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 AND MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@swc/core-win32-arm64-msvc": {
+ "version": "1.15.18",
+ "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.15.18.tgz",
+ "integrity": "sha512-zk0RYO+LjiBCat2RTMHzAWaMky0cra9loH4oRrLKLLNuL+jarxKLFDA8xTZWEkCPLjUTwlRN7d28eDLLMgtUcQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 AND MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@swc/core-win32-ia32-msvc": {
+ "version": "1.15.18",
+ "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.15.18.tgz",
+ "integrity": "sha512-yVuTrZ0RccD5+PEkpcLOBAuPbYBXS6rslENvIXfvJGXSdX5QGi1ehC4BjAMl5FkKLiam4kJECUI0l7Hq7T1vwg==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 AND MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@swc/core-win32-x64-msvc": {
+ "version": "1.15.18",
+ "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.15.18.tgz",
+ "integrity": "sha512-7NRmE4hmUQNCbYU3Hn9Tz57mK9Qq4c97ZS+YlamlK6qG9Fb5g/BB3gPDe0iLlJkns/sYv2VWSkm8c3NmbEGjbg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 AND MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@swc/counter": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz",
+ "integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==",
+ "dev": true,
+ "license": "Apache-2.0"
+ },
+ "node_modules/@swc/types": {
+ "version": "0.1.25",
+ "resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.25.tgz",
+ "integrity": "sha512-iAoY/qRhNH8a/hBvm3zKj9qQ4oc2+3w1unPJa2XvTK3XjeLXtzcCingVPw/9e5mn1+0yPqxcBGp9Jf0pkfMb1g==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@swc/counter": "^0.1.3"
+ }
+ },
+ "node_modules/@types/debug": {
+ "version": "4.1.12",
+ "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz",
+ "integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/ms": "*"
+ }
+ },
+ "node_modules/@types/estree": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
+ "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
+ "license": "MIT"
+ },
+ "node_modules/@types/estree-jsx": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/@types/estree-jsx/-/estree-jsx-1.0.5.tgz",
+ "integrity": "sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "*"
+ }
+ },
+ "node_modules/@types/hast": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz",
+ "integrity": "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "*"
+ }
+ },
+ "node_modules/@types/json-schema": {
+ "version": "7.0.15",
+ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
+ "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/mdast": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz",
+ "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "*"
+ }
+ },
+ "node_modules/@types/ms": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz",
+ "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==",
+ "license": "MIT"
+ },
+ "node_modules/@types/prop-types": {
+ "version": "15.7.15",
+ "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.15.tgz",
+ "integrity": "sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==",
+ "license": "MIT"
+ },
+ "node_modules/@types/react": {
+ "version": "18.3.28",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.28.tgz",
+ "integrity": "sha512-z9VXpC7MWrhfWipitjNdgCauoMLRdIILQsAEV+ZesIzBq/oUlxk0m3ApZuMFCXdnS4U7KrI+l3WRUEGQ8K1QKw==",
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "@types/prop-types": "*",
+ "csstype": "^3.2.2"
+ }
+ },
+ "node_modules/@types/react-dom": {
+ "version": "18.3.7",
+ "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.7.tgz",
+ "integrity": "sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "^18.0.0"
+ }
+ },
+ "node_modules/@types/unist": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz",
+ "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==",
+ "license": "MIT"
+ },
+ "node_modules/@typescript-eslint/eslint-plugin": {
+ "version": "8.59.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.59.0.tgz",
+ "integrity": "sha512-HyAZtpdkgZwpq8Sz3FSUvCR4c+ScbuWa9AksK2Jweub7w4M3yTz4O11AqVJzLYjy/B9ZWPyc81I+mOdJU/bDQw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@eslint-community/regexpp": "^4.12.2",
+ "@typescript-eslint/scope-manager": "8.59.0",
+ "@typescript-eslint/type-utils": "8.59.0",
+ "@typescript-eslint/utils": "8.59.0",
+ "@typescript-eslint/visitor-keys": "8.59.0",
+ "ignore": "^7.0.5",
+ "natural-compare": "^1.4.0",
+ "ts-api-utils": "^2.5.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "@typescript-eslint/parser": "^8.59.0",
+ "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
+ "typescript": ">=4.8.4 <6.1.0"
+ }
+ },
+ "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": {
+ "version": "7.0.5",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz",
+ "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/@typescript-eslint/parser": {
+ "version": "8.59.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.59.0.tgz",
+ "integrity": "sha512-TI1XGwKbDpo9tRW8UDIXCOeLk55qe9ZFGs8MTKU6/M08HWTw52DD/IYhfQtOEhEdPhLMT26Ka/x7p70nd3dzDg==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "@typescript-eslint/scope-manager": "8.59.0",
+ "@typescript-eslint/types": "8.59.0",
+ "@typescript-eslint/typescript-estree": "8.59.0",
+ "@typescript-eslint/visitor-keys": "8.59.0",
+ "debug": "^4.4.3"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
+ "typescript": ">=4.8.4 <6.1.0"
+ }
+ },
+ "node_modules/@typescript-eslint/project-service": {
+ "version": "8.59.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.59.0.tgz",
+ "integrity": "sha512-Lw5ITrR5s5TbC19YSvlr63ZfLaJoU6vtKTHyB0GQOpX0W7d5/Ir6vUahWi/8Sps/nOukZQ0IB3SmlxZnjaKVnw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/tsconfig-utils": "^8.59.0",
+ "@typescript-eslint/types": "^8.59.0",
+ "debug": "^4.4.3"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4 <6.1.0"
+ }
+ },
+ "node_modules/@typescript-eslint/scope-manager": {
+ "version": "8.59.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.59.0.tgz",
+ "integrity": "sha512-UzR16Ut8IpA3Mc4DbgAShlPPkVm8xXMWafXxB0BocaVRHs8ZGakAxGRskF7FId3sdk9lgGD73GSFaWmWFDE4dg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/types": "8.59.0",
+ "@typescript-eslint/visitor-keys": "8.59.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@typescript-eslint/tsconfig-utils": {
+ "version": "8.59.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.59.0.tgz",
+ "integrity": "sha512-91Sbl3s4Kb3SybliIY6muFBmHVv+pYXfybC4Oolp3dvk8BvIE3wOPc+403CWIT7mJNkfQRGtdqghzs2+Z91Tqg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4 <6.1.0"
+ }
+ },
+ "node_modules/@typescript-eslint/type-utils": {
+ "version": "8.59.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.59.0.tgz",
+ "integrity": "sha512-3TRiZaQSltGqGeNrJzzr1+8YcEobKH9rHnqIp/1psfKFmhRQDNMGP5hBufanYTGznwShzVLs3Mz+gDN7HkWfXg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/types": "8.59.0",
+ "@typescript-eslint/typescript-estree": "8.59.0",
+ "@typescript-eslint/utils": "8.59.0",
+ "debug": "^4.4.3",
+ "ts-api-utils": "^2.5.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
+ "typescript": ">=4.8.4 <6.1.0"
+ }
+ },
+ "node_modules/@typescript-eslint/types": {
+ "version": "8.59.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.59.0.tgz",
+ "integrity": "sha512-nLzdsT1gdOgFxxxwrlNVUBzSNBEEHJ86bblmk4QAS6stfig7rcJzWKqCyxFy3YRRHXDWEkb2NralA1nOYkkm/A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree": {
+ "version": "8.59.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.59.0.tgz",
+ "integrity": "sha512-O9Re9P1BmBLFJyikRbQpLku/QA3/AueZNO9WePLBwQrvkixTmDe8u76B6CYUAITRl/rHawggEqUGn5QIkVRLMw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/project-service": "8.59.0",
+ "@typescript-eslint/tsconfig-utils": "8.59.0",
+ "@typescript-eslint/types": "8.59.0",
+ "@typescript-eslint/visitor-keys": "8.59.0",
+ "debug": "^4.4.3",
+ "minimatch": "^10.2.2",
+ "semver": "^7.7.3",
+ "tinyglobby": "^0.2.15",
+ "ts-api-utils": "^2.5.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4 <6.1.0"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",
+ "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "18 || 20 || >=22"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
+ "version": "5.0.5",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz",
+ "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^4.0.2"
+ },
+ "engines": {
+ "node": "18 || 20 || >=22"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {
+ "version": "10.2.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",
+ "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
+ "dependencies": {
+ "brace-expansion": "^5.0.5"
+ },
+ "engines": {
+ "node": "18 || 20 || >=22"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/@typescript-eslint/utils": {
+ "version": "8.59.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.59.0.tgz",
+ "integrity": "sha512-I1R/K7V07XsMJ12Oaxg/O9GfrysGTmCRhvZJBv0RE0NcULMzjqVpR5kRRQjHsz3J/bElU7HwCO7zkqL+MSUz+g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.9.1",
+ "@typescript-eslint/scope-manager": "8.59.0",
+ "@typescript-eslint/types": "8.59.0",
+ "@typescript-eslint/typescript-estree": "8.59.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
+ "typescript": ">=4.8.4 <6.1.0"
+ }
+ },
+ "node_modules/@typescript-eslint/visitor-keys": {
+ "version": "8.59.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.59.0.tgz",
+ "integrity": "sha512-/uejZt4dSere1bx12WLlPfv8GktzcaDtuJ7s42/HEZ5zGj9oxRaD4bj7qwSunXkf+pbAhFt2zjpHYUiT5lHf0Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/types": "8.59.0",
+ "eslint-visitor-keys": "^5.0.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz",
+ "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^20.19.0 || ^22.13.0 || >=24"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/@ungap/structured-clone": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.0.tgz",
+ "integrity": "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==",
+ "license": "ISC"
+ },
+ "node_modules/@vitejs/plugin-react-swc": {
+ "version": "3.11.0",
+ "resolved": "https://registry.npmjs.org/@vitejs/plugin-react-swc/-/plugin-react-swc-3.11.0.tgz",
+ "integrity": "sha512-YTJCGFdNMHCMfjODYtxRNVAYmTWQ1Lb8PulP/2/f/oEEtglw8oKxKIZmmRkyXrVrHfsKOaVkAc3NT9/dMutO5w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@rolldown/pluginutils": "1.0.0-beta.27",
+ "@swc/core": "^1.12.11"
+ },
+ "peerDependencies": {
+ "vite": "^4 || ^5 || ^6 || ^7"
+ }
+ },
+ "node_modules/acorn": {
+ "version": "8.16.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz",
+ "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/acorn-jsx": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
+ "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
+ }
+ },
+ "node_modules/ajv": {
+ "version": "6.14.0",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.14.0.tgz",
+ "integrity": "sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fast-deep-equal": "^3.1.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/epoberezkin"
+ }
+ },
+ "node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/argparse": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
+ "dev": true,
+ "license": "Python-2.0"
+ },
+ "node_modules/bail": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz",
+ "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/balanced-match": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
+ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/brace-expansion": {
+ "version": "1.1.12",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
+ "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/callsites": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ccount": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz",
+ "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/chalk": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
+ }
+ },
+ "node_modules/character-entities": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz",
+ "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/character-entities-html4": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-2.1.0.tgz",
+ "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/character-entities-legacy": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz",
+ "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/character-reference-invalid": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz",
+ "integrity": "sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "color-name": "~1.1.4"
+ },
+ "engines": {
+ "node": ">=7.0.0"
+ }
+ },
+ "node_modules/color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/comma-separated-tokens": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz",
+ "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/concat-map": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
+ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/cross-spawn": {
+ "version": "7.0.6",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
+ "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "path-key": "^3.1.0",
+ "shebang-command": "^2.0.0",
+ "which": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/csstype": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",
+ "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",
+ "license": "MIT"
+ },
+ "node_modules/debug": {
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.3"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/decode-named-character-reference": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.3.0.tgz",
+ "integrity": "sha512-GtpQYB283KrPp6nRw50q3U9/VfOutZOe103qlN7BPP6Ad27xYnOIWv4lPzo8HCAL+mMZofJ9KEy30fq6MfaK6Q==",
+ "license": "MIT",
+ "dependencies": {
+ "character-entities": "^2.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/deep-is": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
+ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/dequal": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz",
+ "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/devlop": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz",
+ "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==",
+ "license": "MIT",
+ "dependencies": {
+ "dequal": "^2.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/esbuild": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz",
+ "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.21.5",
+ "@esbuild/android-arm": "0.21.5",
+ "@esbuild/android-arm64": "0.21.5",
+ "@esbuild/android-x64": "0.21.5",
+ "@esbuild/darwin-arm64": "0.21.5",
+ "@esbuild/darwin-x64": "0.21.5",
+ "@esbuild/freebsd-arm64": "0.21.5",
+ "@esbuild/freebsd-x64": "0.21.5",
+ "@esbuild/linux-arm": "0.21.5",
+ "@esbuild/linux-arm64": "0.21.5",
+ "@esbuild/linux-ia32": "0.21.5",
+ "@esbuild/linux-loong64": "0.21.5",
+ "@esbuild/linux-mips64el": "0.21.5",
+ "@esbuild/linux-ppc64": "0.21.5",
+ "@esbuild/linux-riscv64": "0.21.5",
+ "@esbuild/linux-s390x": "0.21.5",
+ "@esbuild/linux-x64": "0.21.5",
+ "@esbuild/netbsd-x64": "0.21.5",
+ "@esbuild/openbsd-x64": "0.21.5",
+ "@esbuild/sunos-x64": "0.21.5",
+ "@esbuild/win32-arm64": "0.21.5",
+ "@esbuild/win32-ia32": "0.21.5",
+ "@esbuild/win32-x64": "0.21.5"
+ }
+ },
+ "node_modules/escape-string-regexp": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
+ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/eslint": {
+ "version": "9.39.4",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.4.tgz",
+ "integrity": "sha512-XoMjdBOwe/esVgEvLmNsD3IRHkm7fbKIUGvrleloJXUZgDHig2IPWNniv+GwjyJXzuNqVjlr5+4yVUZjycJwfQ==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.8.0",
+ "@eslint-community/regexpp": "^4.12.1",
+ "@eslint/config-array": "^0.21.2",
+ "@eslint/config-helpers": "^0.4.2",
+ "@eslint/core": "^0.17.0",
+ "@eslint/eslintrc": "^3.3.5",
+ "@eslint/js": "9.39.4",
+ "@eslint/plugin-kit": "^0.4.1",
+ "@humanfs/node": "^0.16.6",
+ "@humanwhocodes/module-importer": "^1.0.1",
+ "@humanwhocodes/retry": "^0.4.2",
+ "@types/estree": "^1.0.6",
+ "ajv": "^6.14.0",
+ "chalk": "^4.0.0",
+ "cross-spawn": "^7.0.6",
+ "debug": "^4.3.2",
+ "escape-string-regexp": "^4.0.0",
+ "eslint-scope": "^8.4.0",
+ "eslint-visitor-keys": "^4.2.1",
+ "espree": "^10.4.0",
+ "esquery": "^1.5.0",
+ "esutils": "^2.0.2",
+ "fast-deep-equal": "^3.1.3",
+ "file-entry-cache": "^8.0.0",
+ "find-up": "^5.0.0",
+ "glob-parent": "^6.0.2",
+ "ignore": "^5.2.0",
+ "imurmurhash": "^0.1.4",
+ "is-glob": "^4.0.0",
+ "json-stable-stringify-without-jsonify": "^1.0.1",
+ "lodash.merge": "^4.6.2",
+ "minimatch": "^3.1.5",
+ "natural-compare": "^1.4.0",
+ "optionator": "^0.9.3"
+ },
+ "bin": {
+ "eslint": "bin/eslint.js"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://eslint.org/donate"
+ },
+ "peerDependencies": {
+ "jiti": "*"
+ },
+ "peerDependenciesMeta": {
+ "jiti": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/eslint-plugin-react-hooks": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.2.0.tgz",
+ "integrity": "sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0"
+ }
+ },
+ "node_modules/eslint-plugin-react-refresh": {
+ "version": "0.4.26",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.26.tgz",
+ "integrity": "sha512-1RETEylht2O6FM/MvgnyvT+8K21wLqDNg4qD51Zj3guhjt433XbnnkVttHMyaVyAFD03QSV4LPS5iE3VQmO7XQ==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "eslint": ">=8.40"
+ }
+ },
+ "node_modules/eslint-scope": {
+ "version": "8.4.0",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz",
+ "integrity": "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "esrecurse": "^4.3.0",
+ "estraverse": "^5.2.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/eslint-visitor-keys": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz",
+ "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/espree": {
+ "version": "10.4.0",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz",
+ "integrity": "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "acorn": "^8.15.0",
+ "acorn-jsx": "^5.3.2",
+ "eslint-visitor-keys": "^4.2.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/esquery": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz",
+ "integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "estraverse": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/esrecurse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
+ "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "estraverse": "^5.2.0"
+ },
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/estraverse": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
+ "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/estree-util-is-identifier-name": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/estree-util-is-identifier-name/-/estree-util-is-identifier-name-3.0.0.tgz",
+ "integrity": "sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==",
+ "license": "MIT",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/esutils": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
+ "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/extend": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
+ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==",
+ "license": "MIT"
+ },
+ "node_modules/fast-deep-equal": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/fast-json-stable-stringify": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
+ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/fast-levenshtein": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
+ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/file-entry-cache": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",
+ "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "flat-cache": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/find-up": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
+ "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "locate-path": "^6.0.0",
+ "path-exists": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/flat-cache": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz",
+ "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "flatted": "^3.2.9",
+ "keyv": "^4.5.4"
+ },
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/flatted": {
+ "version": "3.4.1",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.1.tgz",
+ "integrity": "sha512-IxfVbRFVlV8V/yRaGzk0UVIcsKKHMSfYw66T/u4nTwlWteQePsxe//LjudR1AMX4tZW3WFCh3Zqa/sjlqpbURQ==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/glob-parent": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
+ "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/globals": {
+ "version": "15.15.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-15.15.0.tgz",
+ "integrity": "sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/hast-util-to-jsx-runtime": {
+ "version": "2.3.6",
+ "resolved": "https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.6.tgz",
+ "integrity": "sha512-zl6s8LwNyo1P9uw+XJGvZtdFF1GdAkOg8ujOw+4Pyb76874fLps4ueHXDhXWdk6YHQ6OgUtinliG7RsYvCbbBg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "^1.0.0",
+ "@types/hast": "^3.0.0",
+ "@types/unist": "^3.0.0",
+ "comma-separated-tokens": "^2.0.0",
+ "devlop": "^1.0.0",
+ "estree-util-is-identifier-name": "^3.0.0",
+ "hast-util-whitespace": "^3.0.0",
+ "mdast-util-mdx-expression": "^2.0.0",
+ "mdast-util-mdx-jsx": "^3.0.0",
+ "mdast-util-mdxjs-esm": "^2.0.0",
+ "property-information": "^7.0.0",
+ "space-separated-tokens": "^2.0.0",
+ "style-to-js": "^1.0.0",
+ "unist-util-position": "^5.0.0",
+ "vfile-message": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-whitespace": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz",
+ "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/html-url-attributes": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/html-url-attributes/-/html-url-attributes-3.0.1.tgz",
+ "integrity": "sha512-ol6UPyBWqsrO6EJySPz2O7ZSr856WDrEzM5zMqp+FJJLGMW35cLYmmZnl0vztAZxRUoNZJFTCohfjuIJ8I4QBQ==",
+ "license": "MIT",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/ignore": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
+ "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/import-fresh": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz",
+ "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "parent-module": "^1.0.0",
+ "resolve-from": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/imurmurhash": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
+ "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.8.19"
+ }
+ },
+ "node_modules/inline-style-parser": {
+ "version": "0.2.7",
+ "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.7.tgz",
+ "integrity": "sha512-Nb2ctOyNR8DqQoR0OwRG95uNWIC0C1lCgf5Naz5H6Ji72KZ8OcFZLz2P5sNgwlyoJ8Yif11oMuYs5pBQa86csA==",
+ "license": "MIT"
+ },
+ "node_modules/is-alphabetical": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-2.0.1.tgz",
+ "integrity": "sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/is-alphanumerical": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz",
+ "integrity": "sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==",
+ "license": "MIT",
+ "dependencies": {
+ "is-alphabetical": "^2.0.0",
+ "is-decimal": "^2.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/is-decimal": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-2.0.1.tgz",
+ "integrity": "sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/is-extglob": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-glob": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
+ "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-extglob": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-hexadecimal": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz",
+ "integrity": "sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/is-plain-obj": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz",
+ "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/isexe": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/js-tokens": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
+ "license": "MIT"
+ },
+ "node_modules/js-yaml": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz",
+ "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "argparse": "^2.0.1"
+ },
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
+ }
+ },
+ "node_modules/json-buffer": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
+ "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/json-stable-stringify-without-jsonify": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
+ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/keyv": {
+ "version": "4.5.4",
+ "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
+ "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "json-buffer": "3.0.1"
+ }
+ },
+ "node_modules/levn": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
+ "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "prelude-ls": "^1.2.1",
+ "type-check": "~0.4.0"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/locate-path": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
+ "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-locate": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/lodash.merge": {
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
+ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/longest-streak": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz",
+ "integrity": "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/loose-envify": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
+ "license": "MIT",
+ "dependencies": {
+ "js-tokens": "^3.0.0 || ^4.0.0"
+ },
+ "bin": {
+ "loose-envify": "cli.js"
+ }
+ },
+ "node_modules/mdast-util-from-markdown": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.3.tgz",
+ "integrity": "sha512-W4mAWTvSlKvf8L6J+VN9yLSqQ9AOAAvHuoDAmPkz4dHf553m5gVj2ejadHJhoJmcmxEnOv6Pa8XJhpxE93kb8Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "@types/unist": "^3.0.0",
+ "decode-named-character-reference": "^1.0.0",
+ "devlop": "^1.0.0",
+ "mdast-util-to-string": "^4.0.0",
+ "micromark": "^4.0.0",
+ "micromark-util-decode-numeric-character-reference": "^2.0.0",
+ "micromark-util-decode-string": "^2.0.0",
+ "micromark-util-normalize-identifier": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0",
+ "unist-util-stringify-position": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-mdx-expression": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/mdast-util-mdx-expression/-/mdast-util-mdx-expression-2.0.1.tgz",
+ "integrity": "sha512-J6f+9hUp+ldTZqKRSg7Vw5V6MqjATc+3E4gf3CFNcuZNWD8XdyI6zQ8GqH7f8169MM6P7hMBRDVGnn7oHB9kXQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree-jsx": "^1.0.0",
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-mdx-jsx": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.2.0.tgz",
+ "integrity": "sha512-lj/z8v0r6ZtsN/cGNNtemmmfoLAFZnjMbNyLzBafjzikOM+glrjNHPlf6lQDOTccj9n5b0PPihEBbhneMyGs1Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree-jsx": "^1.0.0",
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "@types/unist": "^3.0.0",
+ "ccount": "^2.0.0",
+ "devlop": "^1.1.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0",
+ "parse-entities": "^4.0.0",
+ "stringify-entities": "^4.0.0",
+ "unist-util-stringify-position": "^4.0.0",
+ "vfile-message": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-mdxjs-esm": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/mdast-util-mdxjs-esm/-/mdast-util-mdxjs-esm-2.0.1.tgz",
+ "integrity": "sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree-jsx": "^1.0.0",
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-phrasing": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz",
+ "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "unist-util-is": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-to-hast": {
+ "version": "13.2.1",
+ "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.2.1.tgz",
+ "integrity": "sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "@ungap/structured-clone": "^1.0.0",
+ "devlop": "^1.0.0",
+ "micromark-util-sanitize-uri": "^2.0.0",
+ "trim-lines": "^3.0.0",
+ "unist-util-position": "^5.0.0",
+ "unist-util-visit": "^5.0.0",
+ "vfile": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-to-markdown": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-2.1.2.tgz",
+ "integrity": "sha512-xj68wMTvGXVOKonmog6LwyJKrYXZPvlwabaryTjLh9LuvovB/KAH+kvi8Gjj+7rJjsFi23nkUxRQv1KqSroMqA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "@types/unist": "^3.0.0",
+ "longest-streak": "^3.0.0",
+ "mdast-util-phrasing": "^4.0.0",
+ "mdast-util-to-string": "^4.0.0",
+ "micromark-util-classify-character": "^2.0.0",
+ "micromark-util-decode-string": "^2.0.0",
+ "unist-util-visit": "^5.0.0",
+ "zwitch": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-to-string": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz",
+ "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/micromark": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.2.tgz",
+ "integrity": "sha512-zpe98Q6kvavpCr1NPVSCMebCKfD7CA2NqZ+rykeNhONIJBpc1tFKt9hucLGwha3jNTNI8lHpctWJWoimVF4PfA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@types/debug": "^4.0.0",
+ "debug": "^4.0.0",
+ "decode-named-character-reference": "^1.0.0",
+ "devlop": "^1.0.0",
+ "micromark-core-commonmark": "^2.0.0",
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-chunked": "^2.0.0",
+ "micromark-util-combine-extensions": "^2.0.0",
+ "micromark-util-decode-numeric-character-reference": "^2.0.0",
+ "micromark-util-encode": "^2.0.0",
+ "micromark-util-normalize-identifier": "^2.0.0",
+ "micromark-util-resolve-all": "^2.0.0",
+ "micromark-util-sanitize-uri": "^2.0.0",
+ "micromark-util-subtokenize": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-core-commonmark": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.3.tgz",
+ "integrity": "sha512-RDBrHEMSxVFLg6xvnXmb1Ayr2WzLAWjeSATAoxwKYJV94TeNavgoIdA0a9ytzDSVzBy2YKFK+emCPOEibLeCrg==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "decode-named-character-reference": "^1.0.0",
+ "devlop": "^1.0.0",
+ "micromark-factory-destination": "^2.0.0",
+ "micromark-factory-label": "^2.0.0",
+ "micromark-factory-space": "^2.0.0",
+ "micromark-factory-title": "^2.0.0",
+ "micromark-factory-whitespace": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-chunked": "^2.0.0",
+ "micromark-util-classify-character": "^2.0.0",
+ "micromark-util-html-tag-name": "^2.0.0",
+ "micromark-util-normalize-identifier": "^2.0.0",
+ "micromark-util-resolve-all": "^2.0.0",
+ "micromark-util-subtokenize": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-factory-destination": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz",
+ "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-factory-label": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz",
+ "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "devlop": "^1.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-factory-space": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.0.1.tgz",
+ "integrity": "sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-factory-title": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz",
+ "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-factory-whitespace": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz",
+ "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-character": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz",
+ "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-chunked": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz",
+ "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-symbol": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-classify-character": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz",
+ "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-combine-extensions": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz",
+ "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-chunked": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-decode-numeric-character-reference": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz",
+ "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-symbol": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-decode-string": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz",
+ "integrity": "sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "decode-named-character-reference": "^1.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-decode-numeric-character-reference": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-encode": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz",
+ "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/micromark-util-html-tag-name": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz",
+ "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/micromark-util-normalize-identifier": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz",
+ "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-symbol": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-resolve-all": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz",
+ "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-sanitize-uri": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz",
+ "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-encode": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-subtokenize": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz",
+ "integrity": "sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "devlop": "^1.0.0",
+ "micromark-util-chunked": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-symbol": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz",
+ "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/micromark-util-types": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.2.tgz",
+ "integrity": "sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/minimatch": {
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "license": "MIT"
+ },
+ "node_modules/nanoid": {
+ "version": "3.3.11",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
+ "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/natural-compare": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
+ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/optionator": {
+ "version": "0.9.4",
+ "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
+ "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "deep-is": "^0.1.3",
+ "fast-levenshtein": "^2.0.6",
+ "levn": "^0.4.1",
+ "prelude-ls": "^1.2.1",
+ "type-check": "^0.4.0",
+ "word-wrap": "^1.2.5"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/p-limit": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "yocto-queue": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/p-locate": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
+ "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-limit": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/parent-module": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "callsites": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/parse-entities": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-4.0.2.tgz",
+ "integrity": "sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^2.0.0",
+ "character-entities-legacy": "^3.0.0",
+ "character-reference-invalid": "^2.0.0",
+ "decode-named-character-reference": "^1.0.0",
+ "is-alphanumerical": "^2.0.0",
+ "is-decimal": "^2.0.0",
+ "is-hexadecimal": "^2.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/parse-entities/node_modules/@types/unist": {
+ "version": "2.0.11",
+ "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz",
+ "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==",
+ "license": "MIT"
+ },
+ "node_modules/path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/path-key": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
+ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/picocolors": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/picomatch": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz",
+ "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/postcss": {
+ "version": "8.5.8",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.8.tgz",
+ "integrity": "sha512-OW/rX8O/jXnm82Ey1k44pObPtdblfiuWnrd8X7GJ7emImCOstunGbXUpp7HdBrFQX6rJzn3sPT397Wp5aCwCHg==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "nanoid": "^3.3.11",
+ "picocolors": "^1.1.1",
+ "source-map-js": "^1.2.1"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/prelude-ls": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
+ "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/property-information": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.1.0.tgz",
+ "integrity": "sha512-TwEZ+X+yCJmYfL7TPUOcvBZ4QfoT5YenQiJuX//0th53DE6w0xxLEtfK3iyryQFddXuvkIk51EEgrJQ0WJkOmQ==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/punycode": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
+ "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/react": {
+ "version": "18.3.1",
+ "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz",
+ "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==",
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "loose-envify": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/react-dom": {
+ "version": "18.3.1",
+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz",
+ "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==",
+ "license": "MIT",
+ "dependencies": {
+ "loose-envify": "^1.1.0",
+ "scheduler": "^0.23.2"
+ },
+ "peerDependencies": {
+ "react": "^18.3.1"
+ }
+ },
+ "node_modules/react-markdown": {
+ "version": "10.1.0",
+ "resolved": "https://registry.npmjs.org/react-markdown/-/react-markdown-10.1.0.tgz",
+ "integrity": "sha512-qKxVopLT/TyA6BX3Ue5NwabOsAzm0Q7kAPwq6L+wWDwisYs7R8vZ0nRXqq6rkueboxpkjvLGU9fWifiX/ZZFxQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.0.0",
+ "hast-util-to-jsx-runtime": "^2.0.0",
+ "html-url-attributes": "^3.0.0",
+ "mdast-util-to-hast": "^13.0.0",
+ "remark-parse": "^11.0.0",
+ "remark-rehype": "^11.0.0",
+ "unified": "^11.0.0",
+ "unist-util-visit": "^5.0.0",
+ "vfile": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ },
+ "peerDependencies": {
+ "@types/react": ">=18",
+ "react": ">=18"
+ }
+ },
+ "node_modules/remark-parse": {
+ "version": "11.0.0",
+ "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-11.0.0.tgz",
+ "integrity": "sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "micromark-util-types": "^2.0.0",
+ "unified": "^11.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/remark-rehype": {
+ "version": "11.1.2",
+ "resolved": "https://registry.npmjs.org/remark-rehype/-/remark-rehype-11.1.2.tgz",
+ "integrity": "sha512-Dh7l57ianaEoIpzbp0PC9UKAdCSVklD8E5Rpw7ETfbTl3FqcOOgq5q2LVDhgGCkaBv7p24JXikPdvhhmHvKMsw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "mdast-util-to-hast": "^13.0.0",
+ "unified": "^11.0.0",
+ "vfile": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/resolve-from": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/rollup": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.59.0.tgz",
+ "integrity": "sha512-2oMpl67a3zCH9H79LeMcbDhXW/UmWG/y2zuqnF2jQq5uq9TbM9TVyXvA4+t+ne2IIkBdrLpAaRQAvo7YI/Yyeg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "1.0.8"
+ },
+ "bin": {
+ "rollup": "dist/bin/rollup"
+ },
+ "engines": {
+ "node": ">=18.0.0",
+ "npm": ">=8.0.0"
+ },
+ "optionalDependencies": {
+ "@rollup/rollup-android-arm-eabi": "4.59.0",
+ "@rollup/rollup-android-arm64": "4.59.0",
+ "@rollup/rollup-darwin-arm64": "4.59.0",
+ "@rollup/rollup-darwin-x64": "4.59.0",
+ "@rollup/rollup-freebsd-arm64": "4.59.0",
+ "@rollup/rollup-freebsd-x64": "4.59.0",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.59.0",
+ "@rollup/rollup-linux-arm-musleabihf": "4.59.0",
+ "@rollup/rollup-linux-arm64-gnu": "4.59.0",
+ "@rollup/rollup-linux-arm64-musl": "4.59.0",
+ "@rollup/rollup-linux-loong64-gnu": "4.59.0",
+ "@rollup/rollup-linux-loong64-musl": "4.59.0",
+ "@rollup/rollup-linux-ppc64-gnu": "4.59.0",
+ "@rollup/rollup-linux-ppc64-musl": "4.59.0",
+ "@rollup/rollup-linux-riscv64-gnu": "4.59.0",
+ "@rollup/rollup-linux-riscv64-musl": "4.59.0",
+ "@rollup/rollup-linux-s390x-gnu": "4.59.0",
+ "@rollup/rollup-linux-x64-gnu": "4.59.0",
+ "@rollup/rollup-linux-x64-musl": "4.59.0",
+ "@rollup/rollup-openbsd-x64": "4.59.0",
+ "@rollup/rollup-openharmony-arm64": "4.59.0",
+ "@rollup/rollup-win32-arm64-msvc": "4.59.0",
+ "@rollup/rollup-win32-ia32-msvc": "4.59.0",
+ "@rollup/rollup-win32-x64-gnu": "4.59.0",
+ "@rollup/rollup-win32-x64-msvc": "4.59.0",
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/scheduler": {
+ "version": "0.23.2",
+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz",
+ "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==",
+ "license": "MIT",
+ "dependencies": {
+ "loose-envify": "^1.1.0"
+ }
+ },
+ "node_modules/semver": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz",
+ "integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/shebang-command": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
+ "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "shebang-regex": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/shebang-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
+ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/source-map-js": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
+ "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/space-separated-tokens": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz",
+ "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/stringify-entities": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-4.0.4.tgz",
+ "integrity": "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==",
+ "license": "MIT",
+ "dependencies": {
+ "character-entities-html4": "^2.0.0",
+ "character-entities-legacy": "^3.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/strip-json-comments": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
+ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/style-to-js": {
+ "version": "1.1.21",
+ "resolved": "https://registry.npmjs.org/style-to-js/-/style-to-js-1.1.21.tgz",
+ "integrity": "sha512-RjQetxJrrUJLQPHbLku6U/ocGtzyjbJMP9lCNK7Ag0CNh690nSH8woqWH9u16nMjYBAok+i7JO1NP2pOy8IsPQ==",
+ "license": "MIT",
+ "dependencies": {
+ "style-to-object": "1.0.14"
+ }
+ },
+ "node_modules/style-to-object": {
+ "version": "1.0.14",
+ "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-1.0.14.tgz",
+ "integrity": "sha512-LIN7rULI0jBscWQYaSswptyderlarFkjQ+t79nzty8tcIAceVomEVlLzH5VP4Cmsv6MtKhs7qaAiwlcp+Mgaxw==",
+ "license": "MIT",
+ "dependencies": {
+ "inline-style-parser": "0.2.7"
+ }
+ },
+ "node_modules/supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/tinyglobby": {
+ "version": "0.2.16",
+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.16.tgz",
+ "integrity": "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.4"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/SuperchupuDev"
+ }
+ },
+ "node_modules/trim-lines": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz",
+ "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/trough": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz",
+ "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/ts-api-utils": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz",
+ "integrity": "sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.12"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4"
+ }
+ },
+ "node_modules/type-check": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
+ "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "prelude-ls": "^1.2.1"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/typescript": {
+ "version": "5.9.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
+ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "peer": true,
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "node_modules/typescript-eslint": {
+ "version": "8.59.0",
+ "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.59.0.tgz",
+ "integrity": "sha512-BU3ONW9X+v90EcCH9ZS6LMackcVtxRLlI3XrYyqZIwVSHIk7Qf7bFw1z0M9Q0IUxhTMZCf8piY9hTYaNEIASrw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/eslint-plugin": "8.59.0",
+ "@typescript-eslint/parser": "8.59.0",
+ "@typescript-eslint/typescript-estree": "8.59.0",
+ "@typescript-eslint/utils": "8.59.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
+ "typescript": ">=4.8.4 <6.1.0"
+ }
+ },
+ "node_modules/unified": {
+ "version": "11.0.5",
+ "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz",
+ "integrity": "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "bail": "^2.0.0",
+ "devlop": "^1.0.0",
+ "extend": "^3.0.0",
+ "is-plain-obj": "^4.0.0",
+ "trough": "^2.0.0",
+ "vfile": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-is": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.1.tgz",
+ "integrity": "sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-position": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-5.0.0.tgz",
+ "integrity": "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-stringify-position": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz",
+ "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-visit": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-5.1.0.tgz",
+ "integrity": "sha512-m+vIdyeCOpdr/QeQCu2EzxX/ohgS8KbnPDgFni4dQsfSCtpz8UqDyY5GjRru8PDKuYn7Fq19j1CQ+nJSsGKOzg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "unist-util-is": "^6.0.0",
+ "unist-util-visit-parents": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-visit-parents": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.0.2.tgz",
+ "integrity": "sha512-goh1s1TBrqSqukSc8wrjwWhL0hiJxgA8m4kFxGlQ+8FYQ3C/m11FcTs4YYem7V664AhHVvgoQLk890Ssdsr2IQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "unist-util-is": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/uri-js": {
+ "version": "4.4.1",
+ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
+ "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "punycode": "^2.1.0"
+ }
+ },
+ "node_modules/vfile": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz",
+ "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "vfile-message": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/vfile-message": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.3.tgz",
+ "integrity": "sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "unist-util-stringify-position": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/vite": {
+ "version": "5.4.21",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.21.tgz",
+ "integrity": "sha512-o5a9xKjbtuhY6Bi5S3+HvbRERmouabWbyUcpXXUA1u+GNUKoROi9byOJ8M0nHbHYHkYICiMlqxkg1KkYmm25Sw==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "esbuild": "^0.21.3",
+ "postcss": "^8.4.43",
+ "rollup": "^4.20.0"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^18.0.0 || >=20.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^18.0.0 || >=20.0.0",
+ "less": "*",
+ "lightningcss": "^1.21.0",
+ "sass": "*",
+ "sass-embedded": "*",
+ "stylus": "*",
+ "sugarss": "*",
+ "terser": "^5.4.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/which": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "isexe": "^2.0.0"
+ },
+ "bin": {
+ "node-which": "bin/node-which"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/word-wrap": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",
+ "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/yocto-queue": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/zwitch": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz",
+ "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ }
+ }
+}
diff --git a/examples/sie-hugging-face-mteb-semantic-search/frontend/package.json b/examples/sie-hugging-face-mteb-semantic-search/frontend/package.json
new file mode 100644
index 000000000..fdfc27c9c
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/frontend/package.json
@@ -0,0 +1,29 @@
+{
+ "name": "sie-frontend",
+ "version": "0.0.1",
+ "private": true,
+ "scripts": {
+ "dev": "vite",
+ "build": "vite build",
+ "preview": "vite preview",
+ "lint": "eslint src --max-warnings 0"
+ },
+ "dependencies": {
+ "react": "^18.3.1",
+ "react-dom": "^18.3.1",
+ "react-markdown": "^10.1.0"
+ },
+ "devDependencies": {
+ "@eslint/js": "^9.13.0",
+ "@types/react": "^18.3.8",
+ "@types/react-dom": "^18.3.0",
+ "@vitejs/plugin-react-swc": "^3.7.1",
+ "eslint": "^9.13.0",
+ "eslint-plugin-react-hooks": "^5.1.0-rc.0",
+ "eslint-plugin-react-refresh": "^0.4.12",
+ "globals": "^15.11.0",
+ "typescript-eslint": "^8.11.0",
+ "typescript": "^5.6.3",
+ "vite": "^5.4.10"
+ }
+}
diff --git a/examples/sie-hugging-face-mteb-semantic-search/frontend/src/App.tsx b/examples/sie-hugging-face-mteb-semantic-search/frontend/src/App.tsx
new file mode 100644
index 000000000..987ec46de
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/frontend/src/App.tsx
@@ -0,0 +1,1336 @@
+import React, { useEffect, useState } from "react";
+import Markdown from "react-markdown";
+
+type DownloadResponse = {
+ storage_id: string;
+ stored_count: number;
+};
+
+type ModelSummary = {
+ hf_id: string;
+ author?: string | null;
+ created_at: string;
+ downloads_30d?: number | null;
+ likes?: number | null;
+ pipeline_tag?: string | null;
+ short_description?: string | null;
+};
+
+type ModelCard = {
+ hf_id: string;
+ author?: string | null;
+ sha?: string | null;
+ created_at_hf?: string;
+ last_modified?: string;
+ created_at: string;
+
+ private?: boolean | null;
+ disabled?: boolean | null;
+
+ downloads?: number | null;
+ downloads_all_time?: number | null;
+ downloads_30d?: number | null;
+ likes?: number | null;
+ trending_score?: number | null;
+
+ tags?: string[] | null;
+ pipeline_tag?: string | null;
+ library_name?: string | null;
+ mask_token?: string | null;
+
+ config?: unknown;
+ card_data?: unknown;
+
+ mteb_scores?: {
+ task_name: string;
+ main_score: number | null;
+ }[] | null;
+
+ short_description?: string | null;
+ long_description?: string | null;
+};
+
+type SearchResult = {
+ hf_id: string;
+ distance: number;
+ short_description?: string | null;
+};
+
+type RerankSearchResult = {
+ hf_id: string;
+ rerank_distance: number | null;
+ short_distance: number;
+ short_description?: string | null;
+};
+
+type TabId = "download" | "browse" | "search" | "search-rerank";
+
+const API_BASE = "http://localhost:8000/api";
+const DEMO_STORAGE_ID = "demo";
+
+/**
+ * Fetch a model's README live from the backend (which proxies HuggingFace).
+ * README is no longer stored in SQLite — see overview.md.
+ */
+const useLiveReadme = (hfId: string | null) => {
+ const [readme, setReadme] = useState<string | null>(null);
+ const [loading, setLoading] = useState(false);
+ const [error, setError] = useState<string | null>(null);
+
+ useEffect(() => {
+ if (!hfId) {
+ setReadme(null);
+ setError(null);
+ setLoading(false);
+ return;
+ }
+ let cancelled = false;
+ setLoading(true);
+ setError(null);
+ setReadme(null);
+ (async () => {
+ try {
+ const res = await fetch(
+ `${API_BASE}/models/readme/${encodeURI(hfId)}`
+ );
+ if (!res.ok) {
+ if (!cancelled) setError("README not available on HuggingFace");
+ return;
+ }
+ const data: { readme?: string } = await res.json();
+ if (!cancelled) setReadme(data.readme ?? "");
+ } catch {
+ if (!cancelled) setError("Failed to load README from HuggingFace");
+ } finally {
+ if (!cancelled) setLoading(false);
+ }
+ })();
+ return () => {
+ cancelled = true;
+ };
+ }, [hfId]);
+
+ return { readme, loading, error };
+};
+
+const ReadmeBlock: React.FC<{ hfId: string }> = ({ hfId }) => {
+ const { readme, loading, error } = useLiveReadme(hfId);
+ return (
+ <div className="detail-block">
+ <div className="detail-label">README</div>
+ {loading && (
+ <p className="placeholder">Loading README from HuggingFace…</p>
+ )}
+ {error && !loading && <p className="placeholder">{error}</p>}
+ {readme && !loading && (
+ <div className="readme-content">
+ <Markdown>{readme}</Markdown>
+ </div>
+ )}
+ </div>
+ );
+};
+
+const DownloadView: React.FC = () => {
+ const [storageId, setStorageId] = useState(DEMO_STORAGE_ID);
+ const [limit, setLimit] = useState(30);
+ const [loading, setLoading] = useState(false);
+ const [error, setError] = useState<string | null>(null);
+ const [result, setResult] = useState<DownloadResponse | null>(null);
+
+ const handleSubmit = async (e: React.FormEvent) => {
+ e.preventDefault();
+ setLoading(true);
+ setError(null);
+ setResult(null);
+
+ try {
+ const res = await fetch(`${API_BASE}/models/download`, {
+ method: "POST",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify({ storage_id: storageId, limit })
+ });
+
+ if (!res.ok) {
+ const text = await res.text();
+ throw new Error(text || `Request failed with status ${res.status}`);
+ }
+
+ const data: DownloadResponse = await res.json();
+ setResult(data);
+ } catch (err) {
+ setError(
+ err instanceof Error ? err.message : "Unknown error while downloading models"
+ );
+ } finally {
+ setLoading(false);
+ }
+ };
+
+ return (
+ <>
+ <h1>SIE – Download LLM Cards</h1>
+ <p className="subtitle">
+ Select the top MTEB-benchmarked embedding models (ranked by number of benchmark
+ tasks), then fetch their Hugging Face metadata and persist under a storage id.
+ </p>
+
+ <form onSubmit={handleSubmit} className="form">
+ <label className="field">
+ <span>Storage ID</span>
+ <input
+ type="text"
+ value={storageId}
+ onChange={(e) => setStorageId(e.target.value)}
+ placeholder="e.g. test01"
+ required
+ />
+ </label>
+
+ <label className="field">
+ <span>How many models to download (max 200)</span>
+ <input
+ type="number"
+ min={1}
+ max={200}
+ value={limit}
+ onChange={(e) => setLimit(Number(e.target.value))}
+ />
+ </label>
+
+ <button type="submit" disabled={loading}>
+ {loading ? "Downloading..." : "Download models"}
+ </button>
+ </form>
+
+ {error && <div className="alert alert-error">{error}</div>}
+ {result && (
+ <div className="alert alert-success">
+ <div>
+ <strong>Done.</strong> Stored {result.stored_count} models under storage id{" "}
+ <code>{result.storage_id}</code>.
+ </div>
+ </div>
+ )}
+ </>
+ );
+};
+
+type GenerateModalProps = {
+ storageId: string;
+ hfId: string;
+ onClose: () => void;
+ onDescriptionsSaved: (short: string, long: string) => void;
+};
+
+const GenerateModal: React.FC<GenerateModalProps> = ({
+ storageId,
+ hfId,
+ onClose,
+ onDescriptionsSaved,
+}) => {
+ const [promptText, setPromptText] = useState("");
+ const [promptLoading, setPromptLoading] = useState(true);
+ const [promptError, setPromptError] = useState<string | null>(null);
+
+ const [modelName, setModelName] = useState("google/gemini-3.1-pro-preview");
+
+ const [detailed, setDetailed] = useState("");
+ const [long, setLong] = useState("");
+ const [short, setShort] = useState("");
+
+ const [detailedLoading, setDetailedLoading] = useState(false);
+ const [longLoading, setLongLoading] = useState(false);
+ const [shortLoading, setShortLoading] = useState(false);
+
+ const [saveStatus, setSaveStatus] = useState<string | null>(null);
+
+ useEffect(() => {
+ let cancelled = false;
+ (async () => {
+ setPromptLoading(true);
+ setPromptError(null);
+ try {
+ const res = await fetch(`${API_BASE}/generate/render-prompt`, {
+ method: "POST",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify({ storage_id: storageId, hf_id: hfId }),
+ });
+ if (!res.ok) throw new Error(await res.text());
+ const data = await res.json();
+ if (!cancelled) setPromptText(data.prompt_text);
+ } catch (err) {
+ if (!cancelled)
+ setPromptError(
+ err instanceof Error ? err.message : "Failed to load prompt"
+ );
+ } finally {
+ if (!cancelled) setPromptLoading(false);
+ }
+ })();
+ return () => { cancelled = true; };
+ }, [storageId, hfId]);
+
+ const handleGenerateDetailed = async () => {
+ setDetailedLoading(true);
+ try {
+ const res = await fetch(`${API_BASE}/generate/detailed`, {
+ method: "POST",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify({ prompt_text: promptText, model: modelName || undefined }),
+ });
+ if (!res.ok) throw new Error(await res.text());
+ const data = await res.json();
+ setDetailed(data.text);
+ } catch (err) {
+ setDetailed(
+ `Error: ${err instanceof Error ? err.message : "Generation failed"}`
+ );
+ } finally {
+ setDetailedLoading(false);
+ }
+ };
+
+ const handleGenerateLong = async () => {
+ if (!detailed) return;
+ setLongLoading(true);
+ try {
+ const res = await fetch(`${API_BASE}/generate/long`, {
+ method: "POST",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify({
+ storage_id: storageId,
+ hf_id: hfId,
+ detailed_description: detailed,
+ model: modelName || undefined,
+ }),
+ });
+ if (!res.ok) throw new Error(await res.text());
+ const data = await res.json();
+ setLong(data.text);
+ } catch (err) {
+ setLong(
+ `Error: ${err instanceof Error ? err.message : "Generation failed"}`
+ );
+ } finally {
+ setLongLoading(false);
+ }
+ };
+
+ const handleGenerateShort = async () => {
+ if (!detailed) return;
+ setShortLoading(true);
+ try {
+ const res = await fetch(`${API_BASE}/generate/short`, {
+ method: "POST",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify({
+ storage_id: storageId,
+ hf_id: hfId,
+ detailed_description: detailed,
+ model: modelName || undefined,
+ }),
+ });
+ if (!res.ok) throw new Error(await res.text());
+ const data = await res.json();
+ setShort(data.text);
+ } catch (err) {
+ setShort(
+ `Error: ${err instanceof Error ? err.message : "Generation failed"}`
+ );
+ } finally {
+ setShortLoading(false);
+ }
+ };
+
+ const handleSave = async () => {
+ if (!short && !long) return;
+ setSaveStatus("Saving...");
+ try {
+ const res = await fetch(`${API_BASE}/generate/save`, {
+ method: "POST",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify({
+ storage_id: storageId,
+ hf_id: hfId,
+ short_description: short || undefined,
+ long_description: long || undefined,
+ }),
+ });
+ if (!res.ok) throw new Error(await res.text());
+ setSaveStatus("Saved");
+ if (short || long) onDescriptionsSaved(short, long);
+ } catch {
+ setSaveStatus("Save failed");
+ }
+ };
+
+ return (
+ <div className="modal-backdrop" onClick={onClose}>
+ <div className="modal" onClick={(e) => e.stopPropagation()}>
+ <div className="modal-header">
+ <h2>Generate Descriptions</h2>
+ <button type="button" className="modal-close" onClick={onClose}>
+ &times;
+ </button>
+ </div>
+
+ <div className="modal-body">
+ <div className="modal-field">
+ <span className="detail-label">Model</span>
+ <span className="code-like">{hfId}</span>
+ </div>
+
+ <div className="modal-field">
+ <label className="detail-label" htmlFor="or-model">
+ OpenRouter AI model
+ </label>
+ <input
+ id="or-model"
+ type="text"
+ className="input-model-name"
+ value={modelName}
+ onChange={(e) => setModelName(e.target.value)}
+ />
+ </div>
+
+ <div className="modal-section">
+ <label className="detail-label">
+ Detailed description prompt (editable)
+ </label>
+ {promptLoading ? (
+ <p className="empty-state">Loading prompt...</p>
+ ) : promptError ? (
+ <div className="alert alert-error">{promptError}</div>
+ ) : (
+ <textarea
+ className="modal-textarea-large"
+ value={promptText}
+ onChange={(e) => setPromptText(e.target.value)}
+ />
+ )}
+ </div>
+
+ <div className="modal-buttons">
+ <button
+ type="button"
+ className="btn-generate"
+ disabled={detailedLoading || !promptText}
+ onClick={handleGenerateDetailed}
+ >
+ {detailedLoading ? "Generating..." : "Generate 6K description"}
+ </button>
+ <button
+ type="button"
+ className="btn-generate"
+ disabled={longLoading || !detailed}
+ onClick={handleGenerateLong}
+ >
+ {longLoading ? "Generating..." : "Generate 2K description"}
+ </button>
+ <button
+ type="button"
+ className="btn-generate"
+ disabled={shortLoading || !detailed}
+ onClick={handleGenerateShort}
+ >
+ {shortLoading ? "Generating..." : "Generate 200 char description"}
+ </button>
+ </div>
+
+ <div className="modal-section">
+ <label className="detail-label">
+ 6K detailed description
+ {detailed && (
+ <span className="char-count">{detailed.length} chars</span>
+ )}
+ </label>
+ <textarea
+ className="modal-textarea-medium"
+ value={detailed}
+ onChange={(e) => setDetailed(e.target.value)}
+ placeholder="Click 'Generate 6K description' above..."
+ />
+ </div>
+
+ <div className="modal-section">
+ <label className="detail-label">
+ 2K long description
+ {long && (
+ <span className="char-count">{long.length} chars</span>
+ )}
+ </label>
+ <textarea
+ className="modal-textarea-small"
+ value={long}
+ onChange={(e) => setLong(e.target.value)}
+ placeholder="Click 'Generate 2K description' above..."
+ />
+ </div>
+
+ <div className="modal-section">
+ <label className="detail-label">
+ 200 char short description
+ {short && (
+ <span className="char-count">{short.length} chars</span>
+ )}
+ </label>
+ <textarea
+ className="modal-textarea-small"
+ value={short}
+ onChange={(e) => setShort(e.target.value)}
+ placeholder="Click 'Generate 200 char description' above..."
+ />
+ </div>
+
+ <div className="modal-footer">
+ <button
+ type="button"
+ disabled={!short && !long}
+ onClick={handleSave}
+ >
+ Save descriptions
+ </button>
+ {saveStatus && (
+ <span
+ className={
+ saveStatus === "Saved" ? "save-ok" : "save-info"
+ }
+ >
+ {saveStatus}
+ </span>
+ )}
+ </div>
+ </div>
+ </div>
+ </div>
+ );
+};
+
+const SearchView: React.FC = () => {
+ const [storageId, setStorageId] = useState("test01");
+ const [query, setQuery] = useState("");
+ const [loading, setLoading] = useState(false);
+ const [error, setError] = useState<string | null>(null);
+ const [results, setResults] = useState<SearchResult[]>([]);
+ const [selectedDetail, setSelectedDetail] = useState<ModelCard | null>(null);
+ const [detailLoading, setDetailLoading] = useState(false);
+
+ const handleSearch = async (e: React.FormEvent) => {
+ e.preventDefault();
+ if (!query.trim()) return;
+ setLoading(true);
+ setError(null);
+ setResults([]);
+ setSelectedDetail(null);
+
+ try {
+ const res = await fetch(`${API_BASE}/search/semantic`, {
+ method: "POST",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify({
+ storage_id: storageId,
+ query: query.trim(),
+ n_results: 20,
+ }),
+ });
+ if (!res.ok) {
+ const text = await res.text();
+ throw new Error(text || `Request failed with status ${res.status}`);
+ }
+ const data: { results: SearchResult[] } = await res.json();
+ setResults(data.results || []);
+ } catch (err) {
+ setError(
+ err instanceof Error ? err.message : "Unknown error during search"
+ );
+ } finally {
+ setLoading(false);
+ }
+ };
+
+ const handleSelectResult = async (hfId: string) => {
+ setDetailLoading(true);
+ setError(null);
+ try {
+ const params = new URLSearchParams({
+ storage_id: storageId,
+ hf_id: hfId,
+ });
+ const res = await fetch(`${API_BASE}/models/detail?${params.toString()}`);
+ if (!res.ok) {
+ const text = await res.text();
+ throw new Error(text || `Request failed with status ${res.status}`);
+ }
+ const data: ModelCard = await res.json();
+ setSelectedDetail(data);
+ } catch (err) {
+ setError(
+ err instanceof Error ? err.message : "Failed to load model details"
+ );
+ } finally {
+ setDetailLoading(false);
+ }
+ };
+
+ if (selectedDetail) {
+ return (
+ <>
+ <h1>Search Result Details</h1>
+ <p className="subtitle">
+ Full details for <code>{selectedDetail.hf_id}</code> in storage{" "}
+ <code>{storageId}</code>.
+ </p>
+
+ <button type="button" onClick={() => setSelectedDetail(null)}>
+ Back to search results
+ </button>
+
+ <div className="detail">
+ <div className="detail-row">
+ <span className="detail-label">HF ID</span>
+ <span className="detail-value code-like">{selectedDetail.hf_id}</span>
+ </div>
+ {selectedDetail.author && (
+ <div className="detail-row">
+ <span className="detail-label">Author</span>
+ <span className="detail-value">{selectedDetail.author}</span>
+ </div>
+ )}
+ <div className="detail-row">
+ <span className="detail-label">Downloads (30d)</span>
+ <span className="detail-value">
+ {selectedDetail.downloads_30d != null
+ ? selectedDetail.downloads_30d.toLocaleString()
+ : "—"}
+ </span>
+ </div>
+ <div className="detail-row">
+ <span className="detail-label">Likes</span>
+ <span className="detail-value">
+ {selectedDetail.likes != null
+ ? selectedDetail.likes.toLocaleString()
+ : "—"}
+ </span>
+ </div>
+ {(selectedDetail.pipeline_tag || selectedDetail.library_name) && (
+ <div className="detail-row">
+ <span className="detail-label">Pipeline / Library</span>
+ <span className="detail-value">
+ {selectedDetail.pipeline_tag ?? "—"}
+ {selectedDetail.pipeline_tag && selectedDetail.library_name
+ ? " • "
+ : ""}
+ {selectedDetail.library_name ?? ""}
+ </span>
+ </div>
+ )}
+
+ <div className="detail-block">
+ <div className="detail-label">Short description</div>
+ <p className="detail-text">
+ {selectedDetail.short_description || (
+ <span className="placeholder">Not generated yet</span>
+ )}
+ </p>
+ </div>
+
+ <div className="detail-block">
+ <div className="detail-label">Long description</div>
+ <p className="detail-text">
+ {selectedDetail.long_description || (
+ <span className="placeholder">Not generated yet</span>
+ )}
+ </p>
+ </div>
+
+ <ReadmeBlock hfId={selectedDetail.hf_id} />
+ </div>
+
+ <button type="button" onClick={() => setSelectedDetail(null)}>
+ Back to search results
+ </button>
+ </>
+ );
+ }
+
+ return (
+ <>
+ <h1>Search</h1>
+ <p className="subtitle">
+ Describe what the model should do and find the best matching embedding
+ models by semantic similarity. Use storage <code>{DEMO_STORAGE_ID}</code> to
+ try the bundled local demo without SIE or OpenRouter credentials.
+ </p>
+
+ <form onSubmit={handleSearch} className="form">
+ <label className="field">
+ <span>Storage ID</span>
+ <input
+ type="text"
+ value={storageId}
+ onChange={(e) => setStorageId(e.target.value)}
+ placeholder={`e.g. ${DEMO_STORAGE_ID}`}
+ required
+ />
+ </label>
+
+ <label className="field">
+ <span>What should the model do?</span>
+ <textarea
+ className="search-textarea"
+ value={query}
+ onChange={(e) => setQuery(e.target.value)}
+ placeholder="evaluate medical pictures"
+ rows={3}
+ required
+ />
+ </label>
+
+ <button type="submit" disabled={loading || !query.trim()}>
+ {loading ? "Searching..." : "Find models"}
+ </button>
+ </form>
+
+ {error && <div className="alert alert-error">{error}</div>}
+
+ {detailLoading && <p className="empty-state">Loading model details...</p>}
+
+ {results.length > 0 && !detailLoading && (
+ <div className="list">
+ {results.map((r, idx) => (
+ <button
+ key={r.hf_id}
+ type="button"
+ className="list-item"
+ onClick={() => handleSelectResult(r.hf_id)}
+ >
+ <div className="list-title">
+ <span className="search-rank">#{idx + 1}</span> {r.hf_id}
+ <span className="search-result-distance">
+ {((1 - r.distance) * 100).toFixed(1)}% match
+ </span>
+ </div>
+ {r.short_description && (
+ <div className="list-meta">
+ <span>{r.short_description}</span>
+ </div>
+ )}
+ </button>
+ ))}
+ </div>
+ )}
+
+ {!loading && results.length === 0 && (
+ <p className="empty-state">
+ Enter a description and click "Find models" to search.
+ </p>
+ )}
+ </>
+ );
+};
+
+const SearchWithRerankingView: React.FC = () => {
+ const [storageId, setStorageId] = useState(DEMO_STORAGE_ID);
+ const [query, setQuery] = useState("");
+ const [loading, setLoading] = useState(false);
+ const [error, setError] = useState<string | null>(null);
+ const [results, setResults] = useState<RerankSearchResult[]>([]);
+ const [selectedDetail, setSelectedDetail] = useState<ModelCard | null>(null);
+ const [detailLoading, setDetailLoading] = useState(false);
+
+ const handleSearch = async (e: React.FormEvent) => {
+ e.preventDefault();
+ if (!query.trim()) return;
+ setLoading(true);
+ setError(null);
+ setResults([]);
+ setSelectedDetail(null);
+
+ try {
+ const res = await fetch(`${API_BASE}/search/semantic-rerank`, {
+ method: "POST",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify({
+ storage_id: storageId,
+ query: query.trim(),
+ n_results: 20,
+ }),
+ });
+ if (!res.ok) {
+ const text = await res.text();
+ throw new Error(text || `Request failed with status ${res.status}`);
+ }
+ const data: { results: RerankSearchResult[] } = await res.json();
+ setResults(data.results || []);
+ } catch (err) {
+ setError(
+ err instanceof Error ? err.message : "Unknown error during search"
+ );
+ } finally {
+ setLoading(false);
+ }
+ };
+
+ const handleSelectResult = async (hfId: string) => {
+ setDetailLoading(true);
+ setError(null);
+ try {
+ const params = new URLSearchParams({
+ storage_id: storageId,
+ hf_id: hfId,
+ });
+ const res = await fetch(`${API_BASE}/models/detail?${params.toString()}`);
+ if (!res.ok) {
+ const text = await res.text();
+ throw new Error(text || `Request failed with status ${res.status}`);
+ }
+ const data: ModelCard = await res.json();
+ setSelectedDetail(data);
+ } catch (err) {
+ setError(
+ err instanceof Error ? err.message : "Failed to load model details"
+ );
+ } finally {
+ setDetailLoading(false);
+ }
+ };
+
+ if (selectedDetail) {
+ return (
+ <>
+ <h1>Search Result Details</h1>
+ <p className="subtitle">
+ Full details for <code>{selectedDetail.hf_id}</code> in storage{" "}
+ <code>{storageId}</code>.
+ </p>
+
+ <button type="button" onClick={() => setSelectedDetail(null)}>
+ Back to search results
+ </button>
+
+ <div className="detail">
+ <div className="detail-row">
+ <span className="detail-label">HF ID</span>
+ <span className="detail-value code-like">{selectedDetail.hf_id}</span>
+ </div>
+ {selectedDetail.author && (
+ <div className="detail-row">
+ <span className="detail-label">Author</span>
+ <span className="detail-value">{selectedDetail.author}</span>
+ </div>
+ )}
+ <div className="detail-row">
+ <span className="detail-label">Downloads (30d)</span>
+ <span className="detail-value">
+ {selectedDetail.downloads_30d != null
+ ? selectedDetail.downloads_30d.toLocaleString()
+ : "—"}
+ </span>
+ </div>
+ <div className="detail-row">
+ <span className="detail-label">Likes</span>
+ <span className="detail-value">
+ {selectedDetail.likes != null
+ ? selectedDetail.likes.toLocaleString()
+ : "—"}
+ </span>
+ </div>
+
+ <div className="detail-block">
+ <div className="detail-label">Short description</div>
+ <p className="detail-text">
+ {selectedDetail.short_description || (
+ <span className="placeholder">Not generated yet</span>
+ )}
+ </p>
+ </div>
+
+ <div className="detail-block">
+ <div className="detail-label">Long description</div>
+ <p className="detail-text">
+ {selectedDetail.long_description || (
+ <span className="placeholder">Not generated yet</span>
+ )}
+ </p>
+ </div>
+
+ <ReadmeBlock hfId={selectedDetail.hf_id} />
+ </div>
+
+ <button type="button" onClick={() => setSelectedDetail(null)}>
+ Back to search results
+ </button>
+ </>
+ );
+ }
+
+ return (
+ <>
+ <h1>Search with Reranking</h1>
+ <p className="subtitle">
+ First we find candidates by short-description similarity, then rerank
+ them by long-description similarity for higher-quality results. Use storage{" "}
+ <code>{DEMO_STORAGE_ID}</code> to try the bundled local demo without SIE or
+ OpenRouter credentials.
+ </p>
+
+ <form onSubmit={handleSearch} className="form">
+ <label className="field">
+ <span>Storage ID</span>
+ <input
+ type="text"
+ value={storageId}
+ onChange={(e) => setStorageId(e.target.value)}
+ placeholder={`e.g. ${DEMO_STORAGE_ID}`}
+ required
+ />
+ </label>
+
+ <label className="field">
+ <span>What should the model do?</span>
+ <textarea
+ className="search-textarea"
+ value={query}
+ onChange={(e) => setQuery(e.target.value)}
+ placeholder="evaluate medical pictures"
+ rows={3}
+ required
+ />
+ </label>
+
+ <button type="submit" disabled={loading || !query.trim()}>
+ {loading ? "Searching..." : "Find models"}
+ </button>
+ </form>
+
+ {error && <div className="alert alert-error">{error}</div>}
+
+ {detailLoading && <p className="empty-state">Loading model details...</p>}
+
+ {results.length > 0 && !detailLoading && (
+ <div className="list">
+ {results.map((r, idx) => {
+ const primary =
+ r.rerank_distance != null ? r.rerank_distance : r.short_distance;
+ return (
+ <button
+ key={r.hf_id}
+ type="button"
+ className="list-item"
+ onClick={() => handleSelectResult(r.hf_id)}
+ >
+ <div className="list-title">
+ <span className="search-rank">#{idx + 1}</span> {r.hf_id}
+ <span className="search-result-distance">
+ {((1 - primary) * 100).toFixed(1)}% match
+ {r.rerank_distance == null && " (short only)"}
+ </span>
+ </div>
+ {r.short_description && (
+ <div className="list-meta">
+ <span>{r.short_description}</span>
+ </div>
+ )}
+ <div className="list-meta">
+ <span>
+ short {((1 - r.short_distance) * 100).toFixed(1)}%
+ {r.rerank_distance != null && (
+ <>
+ {" "}
+ · long {((1 - r.rerank_distance) * 100).toFixed(1)}%
+ </>
+ )}
+ </span>
+ </div>
+ </button>
+ );
+ })}
+ </div>
+ )}
+
+ {!loading && results.length === 0 && (
+ <p className="empty-state">
+ Enter a description and click "Find models" to search.
+ </p>
+ )}
+ </>
+ );
+};
+
+const BrowseView: React.FC = () => {
+ const [storageId, setStorageId] = useState(DEMO_STORAGE_ID);
+ const [hfIdFilter, setHfIdFilter] = useState("");
+ const [maxCount, setMaxCount] = useState(30);
+ const [loading, setLoading] = useState(false);
+ const [detailLoading, setDetailLoading] = useState(false);
+ const [error, setError] = useState<string | null>(null);
+ const [models, setModels] = useState<ModelSummary[]>([]);
+ const [selected, setSelected] = useState<ModelCard | null>(null);
+ const [showGenerateModal, setShowGenerateModal] = useState(false);
+
+ const handleSearch = async (e: React.FormEvent) => {
+ e.preventDefault();
+ setLoading(true);
+ setError(null);
+ setSelected(null);
+
+ try {
+ const params = new URLSearchParams({ storage_id: storageId });
+ if (hfIdFilter.trim()) {
+ params.set("hf_id", hfIdFilter.trim());
+ }
+ params.set("max_count", String(maxCount));
+
+ const res = await fetch(`${API_BASE}/models/search?${params.toString()}`);
+
+ if (!res.ok) {
+ const text = await res.text();
+ throw new Error(text || `Request failed with status ${res.status}`);
+ }
+
+ const data: { models: ModelSummary[] } = await res.json();
+ setModels(data.models || []);
+ } catch (err) {
+ setError(
+ err instanceof Error ? err.message : "Unknown error while loading models"
+ );
+ } finally {
+ setLoading(false);
+ }
+ };
+
+ const handleSelect = async (summary: ModelSummary) => {
+ setDetailLoading(true);
+ setError(null);
+ try {
+ const params = new URLSearchParams({
+ storage_id: storageId,
+ hf_id: summary.hf_id,
+ });
+ const res = await fetch(`${API_BASE}/models/detail?${params.toString()}`);
+ if (!res.ok) {
+ const text = await res.text();
+ throw new Error(text || `Request failed with status ${res.status}`);
+ }
+ const data: ModelCard = await res.json();
+ setSelected(data);
+ } catch (err) {
+ setError(
+ err instanceof Error ? err.message : "Failed to load model details"
+ );
+ } finally {
+ setDetailLoading(false);
+ }
+ };
+
+ if (selected) {
+ return (
+ <>
+ <h1>LLM Card Details</h1>
+ <p className="subtitle">
+ Full details for <code>{selected.hf_id}</code> in storage{" "}
+ <code>{storageId}</code>.
+ </p>
+
+ <button type="button" onClick={() => setSelected(null)}>
+ Back to results
+ </button>
+
+ <div className="detail">
+ <div className="detail-row">
+ <span className="detail-label">HF ID</span>
+ <span className="detail-value code-like">{selected.hf_id}</span>
+ </div>
+ {selected.author && (
+ <div className="detail-row">
+ <span className="detail-label">Author</span>
+ <span className="detail-value">{selected.author}</span>
+ </div>
+ )}
+ <div className="detail-row">
+ <span className="detail-label">Created at (HF)</span>
+ <span className="detail-value">
+ {selected.created_at_hf
+ ? new Date(selected.created_at_hf).toLocaleString()
+ : "—"}
+ </span>
+ </div>
+ {selected.last_modified && (
+ <div className="detail-row">
+ <span className="detail-label">Last modified (HF)</span>
+ <span className="detail-value">
+ {new Date(selected.last_modified).toLocaleString()}
+ </span>
+ </div>
+ )}
+ <div className="detail-row">
+ <span className="detail-label">Stored at</span>
+ <span className="detail-value">
+ {selected.created_at
+ ? new Date(selected.created_at).toLocaleString()
+ : "—"}
+ </span>
+ </div>
+ <div className="detail-row">
+ <span className="detail-label">Downloads (30d)</span>
+ <span className="detail-value">
+ {selected.downloads_30d != null
+ ? selected.downloads_30d.toLocaleString()
+ : "—"}
+ </span>
+ </div>
+ <div className="detail-row">
+ <span className="detail-label">Downloads (all time)</span>
+ <span className="detail-value">
+ {selected.downloads_all_time != null
+ ? selected.downloads_all_time.toLocaleString()
+ : "—"}
+ </span>
+ </div>
+ <div className="detail-row">
+ <span className="detail-label">Likes</span>
+ <span className="detail-value">
+ {selected.likes != null ? selected.likes.toLocaleString() : "—"}
+ </span>
+ </div>
+ {(selected.pipeline_tag || selected.library_name) && (
+ <div className="detail-row">
+ <span className="detail-label">Pipeline / Library</span>
+ <span className="detail-value">
+ {selected.pipeline_tag ?? "—"}
+ {selected.pipeline_tag && selected.library_name ? " • " : ""}
+ {selected.library_name ?? ""}
+ </span>
+ </div>
+ )}
+ {selected.tags && selected.tags.length > 0 && (
+ <div className="detail-row">
+ <span className="detail-label">Tags</span>
+ <span className="detail-value">
+ {selected.tags.join(", ")}
+ </span>
+ </div>
+ )}
+
+ {selected.mteb_scores && selected.mteb_scores.length > 0 && (() => {
+ const taskScores = [...selected.mteb_scores].sort(
+ (a, b) => (b.main_score ?? 0) - (a.main_score ?? 0)
+ );
+
+ return (
+ <div className="detail-block">
+ <div className="detail-label">
+ MTEB Scores ({selected.mteb_scores!.length} tasks)
+ </div>
+ <div className="mteb-table-wrap">
+ <table className="mteb-table">
+ <thead>
+ <tr>
+ <th>Task</th>
+ <th>Score</th>
+ </tr>
+ </thead>
+ <tbody>
+ {taskScores.map((r) => (
+ <tr key={r.task_name}>
+ <td>{r.task_name}</td>
+ <td>
+ {r.main_score != null
+ ? (r.main_score * 100).toFixed(2) + "%"
+ : "—"}
+ </td>
+ </tr>
+ ))}
+ </tbody>
+ </table>
+ </div>
+ </div>
+ );
+ })()}
+
+ <div className="detail-block">
+ <div className="detail-block-header">
+ <div className="detail-label">Short description</div>
+ <button
+ type="button"
+ className="btn-generate"
+ onClick={() => setShowGenerateModal(true)}
+ >
+ Generate descriptions
+ </button>
+ </div>
+ <p className="detail-text">
+ {selected.short_description || <span className="placeholder">Not generated yet</span>}
+ </p>
+ </div>
+
+ <div className="detail-block">
+ <div className="detail-label">Long description</div>
+ <p className="detail-text">
+ {selected.long_description || <span className="placeholder">Not generated yet</span>}
+ </p>
+ </div>
+
+ {showGenerateModal && (
+ <GenerateModal
+ storageId={storageId}
+ hfId={selected.hf_id}
+ onClose={() => setShowGenerateModal(false)}
+ onDescriptionsSaved={(s, l) => {
+ setSelected({
+ ...selected,
+ short_description: s || selected.short_description,
+ long_description: l || selected.long_description,
+ });
+ }}
+ />
+ )}
+
+ <ReadmeBlock hfId={selected.hf_id} />
+ </div>
+
+ <button type="button" onClick={() => setSelected(null)}>
+ Back to results
+ </button>
+ </>
+ );
+ }
+
+ return (
+ <>
+ <h1>Browse LLM Cards</h1>
+ <p className="subtitle">
+ Enter a storage ID and optional LLM ID to list stored cards and inspect their
+ details. The bundled <code>{DEMO_STORAGE_ID}</code> storage works locally after
+ seeding the demo data.
+ </p>
+
+ <form onSubmit={handleSearch} className="form">
+ <label className="field">
+ <span>Storage ID</span>
+ <input
+ type="text"
+ value={storageId}
+ onChange={(e) => setStorageId(e.target.value)}
+ placeholder={`e.g. ${DEMO_STORAGE_ID}`}
+ required
+ />
+ </label>
+
+ <label className="field">
+ <span>LLM ID (optional)</span>
+ <input
+ type="text"
+ value={hfIdFilter}
+ onChange={(e) => setHfIdFilter(e.target.value)}
+ placeholder="Filter by HF model id"
+ />
+ </label>
+
+ <label className="field">
+ <span>Max item count</span>
+ <input
+ type="number"
+ value={maxCount}
+ onChange={(e) => setMaxCount(Math.max(1, Number(e.target.value)))}
+ min={1}
+ max={10000}
+ />
+ </label>
+
+ <button type="submit" disabled={loading}>
+ {loading ? "Searching..." : "Search cards"}
+ </button>
+ </form>
+
+ {error && <div className="alert alert-error">{error}</div>}
+
+ {detailLoading && <p className="empty-state">Loading model details…</p>}
+
+ {models.length > 0 && !detailLoading && (
+ <div className="list">
+ {models.map((m) => (
+ <button
+ key={`${m.hf_id}-${m.created_at}`}
+ type="button"
+ className="list-item"
+ onClick={() => handleSelect(m)}
+ >
+ <div className="list-title">{m.hf_id}</div>
+ <div className="list-meta">
+ <span>
+ 30d downloads:{" "}
+ {m.downloads_30d != null ? m.downloads_30d.toLocaleString() : "—"}
+ </span>
+ <span>
+ Stored:{" "}
+ {m.created_at
+ ? new Date(m.created_at).toLocaleDateString()
+ : "—"}
+ </span>
+ </div>
+ </button>
+ ))}
+ </div>
+ )}
+
+ {!loading && models.length === 0 && (
+ <p className="empty-state">
+ No cards loaded yet for this storage. Try running a download first.
+ </p>
+ )}
+ </>
+ );
+};
+
+export const App: React.FC = () => {
+ const [activeTab, setActiveTab] = useState<TabId>("search-rerank");
+
+ return (
+ <div className="page">
+ <div className="card">
+ <div className="tabs">
+ <button
+ type="button"
+ className={activeTab === "search-rerank" ? "tab active" : "tab"}
+ onClick={() => setActiveTab("search-rerank")}
+ >
+ Search with Reranking
+ </button>
+ <button
+ type="button"
+ className={activeTab === "search" ? "tab active" : "tab"}
+ onClick={() => setActiveTab("search")}
+ >
+ Simple search
+ </button>
+ <button
+ type="button"
+ className={activeTab === "download" ? "tab active" : "tab"}
+ onClick={() => setActiveTab("download")}
+ >
+ Download LLM Cards
+ </button>
+ <button
+ type="button"
+ className={activeTab === "browse" ? "tab active" : "tab"}
+ onClick={() => setActiveTab("browse")}
+ >
+ Browse LLM Cards
+ </button>
+ </div>
+
+ {activeTab === "search-rerank" ? (
+ <SearchWithRerankingView />
+ ) : activeTab === "search" ? (
+ <SearchView />
+ ) : activeTab === "download" ? (
+ <DownloadView />
+ ) : (
+ <BrowseView />
+ )}
+ </div>
+ </div>
+ );
+};
diff --git a/examples/sie-hugging-face-mteb-semantic-search/frontend/src/main.tsx b/examples/sie-hugging-face-mteb-semantic-search/frontend/src/main.tsx
new file mode 100644
index 000000000..31af7ac51
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/frontend/src/main.tsx
@@ -0,0 +1,10 @@
+import React from "react";
+import ReactDOM from "react-dom/client";
+import { App } from "./App";
+import "./styles.css";
+
+ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
+ <React.StrictMode>
+ <App />
+ </React.StrictMode>
+);
diff --git a/examples/sie-hugging-face-mteb-semantic-search/frontend/src/styles.css b/examples/sie-hugging-face-mteb-semantic-search/frontend/src/styles.css
new file mode 100644
index 000000000..4070df9ba
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/frontend/src/styles.css
@@ -0,0 +1,685 @@
+*,
+*::before,
+*::after {
+ box-sizing: border-box;
+}
+
+body {
+ margin: 0;
+ font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
+ background: radial-gradient(circle at top, #1e293b 0, #020617 45%, #000 100%);
+ color: #e5e7eb;
+}
+
+.page {
+ min-height: 100vh;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ padding: 2rem;
+}
+
+.card {
+ width: 100%;
+ max-width: 960px;
+ background: rgba(15, 23, 42, 0.9);
+ border-radius: 1.25rem;
+ padding: 2rem 2.5rem;
+ box-shadow:
+ 0 25px 50px -12px rgba(15, 23, 42, 0.9),
+ 0 0 0 1px rgba(148, 163, 184, 0.2);
+ backdrop-filter: blur(18px);
+}
+
+h1 {
+ font-size: 1.8rem;
+ margin: 0 0 0.5rem;
+}
+
+.subtitle {
+ margin: 0 0 2rem;
+ color: #9ca3af;
+ line-height: 1.5;
+}
+
+.form {
+ display: flex;
+ flex-direction: column;
+ gap: 1.25rem;
+}
+
+.field {
+ display: flex;
+ flex-direction: column;
+ gap: 0.35rem;
+ font-size: 0.95rem;
+}
+
+.field span {
+ color: #e5e7eb;
+}
+
+input[type="text"],
+input[type="number"] {
+ padding: 0.6rem 0.75rem;
+ border-radius: 0.7rem;
+ border: 1px solid #4b5563;
+ background: rgba(15, 23, 42, 0.9);
+ color: #e5e7eb;
+ outline: none;
+ font-size: 0.95rem;
+ transition:
+ border-color 0.15s ease,
+ box-shadow 0.15s ease,
+ background 0.15s ease;
+}
+
+input[type="text"]:focus,
+input[type="number"]:focus {
+ border-color: #38bdf8;
+ box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
+ background: rgba(15, 23, 42, 1);
+}
+
+button {
+ margin-top: 0.5rem;
+ padding: 0.7rem 0.75rem;
+ border-radius: 999px;
+ border: none;
+ background: linear-gradient(135deg, #38bdf8, #6366f1);
+ color: white;
+ font-weight: 600;
+ font-size: 0.95rem;
+ cursor: pointer;
+ transition:
+ transform 0.12s ease,
+ box-shadow 0.12s ease,
+ filter 0.12s ease;
+ box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
+}
+
+button:hover {
+ transform: translateY(-1px);
+ filter: brightness(1.05);
+ box-shadow: 0 16px 40px rgba(37, 99, 235, 0.6);
+}
+
+button:active {
+ transform: translateY(0);
+ box-shadow: 0 8px 20px rgba(37, 99, 235, 0.5);
+}
+
+button:disabled {
+ opacity: 0.6;
+ cursor: default;
+ transform: none;
+ box-shadow: 0 8px 20px rgba(15, 23, 42, 0.8);
+}
+
+.alert {
+ margin-top: 1.5rem;
+ padding: 0.75rem 0.9rem;
+ border-radius: 0.9rem;
+ font-size: 0.9rem;
+}
+
+.alert-error {
+ background: rgba(248, 113, 113, 0.15);
+ border: 1px solid rgba(248, 113, 113, 0.5);
+ color: #fecaca;
+}
+
+.alert-success {
+ background: rgba(34, 197, 94, 0.12);
+ border: 1px solid rgba(34, 197, 94, 0.5);
+ color: #bbf7d0;
+}
+
+code {
+ font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
+ Consolas, "Liberation Mono", "Courier New", monospace;
+ padding: 0.15rem 0.35rem;
+ border-radius: 0.4rem;
+ background: rgba(15, 23, 42, 0.9);
+ border: 1px solid rgba(148, 163, 184, 0.4);
+}
+
+@media (max-width: 640px) {
+ .card {
+ padding: 1.5rem 1.25rem;
+ }
+
+ h1 {
+ font-size: 1.5rem;
+ }
+}
+
+.tabs {
+ display: inline-flex;
+ padding: 0.25rem;
+ border-radius: 999px;
+ background: rgba(15, 23, 42, 0.9);
+ border: 1px solid rgba(148, 163, 184, 0.4);
+ margin-bottom: 1.75rem;
+ gap: 0.25rem;
+}
+
+.tab {
+ padding: 0.4rem 0.9rem;
+ border-radius: 999px;
+ border: none;
+ background: transparent;
+ color: #9ca3af;
+ font-size: 0.85rem;
+ font-weight: 500;
+ cursor: pointer;
+ box-shadow: none;
+ margin-top: 0;
+}
+
+.tab:hover {
+ transform: none;
+ filter: none;
+ box-shadow: none;
+ color: #e5e7eb;
+}
+
+.tab.active {
+ background: radial-gradient(circle at top left, #38bdf8, #6366f1);
+ color: #f9fafb;
+ box-shadow: 0 6px 18px rgba(37, 99, 235, 0.6);
+}
+
+.list {
+ margin-top: 1.5rem;
+ display: flex;
+ flex-direction: column;
+ gap: 0.6rem;
+ max-height: 360px;
+ overflow: auto;
+}
+
+.list-item {
+ width: 100%;
+ text-align: left;
+ padding: 0.7rem 0.9rem;
+ border-radius: 0.9rem;
+ background: rgba(15, 23, 42, 0.9);
+ border: 1px solid rgba(55, 65, 81, 0.9);
+ display: flex;
+ flex-direction: column;
+ gap: 0.25rem;
+ box-shadow: none;
+ margin-top: 0;
+}
+
+.list-item:hover {
+ transform: translateY(-1px);
+ box-shadow: 0 10px 25px rgba(15, 23, 42, 0.9);
+}
+
+.list-title {
+ font-size: 0.95rem;
+ font-weight: 600;
+ color: #e5e7eb;
+ display: flex;
+ align-items: center;
+ gap: 0.35rem;
+}
+
+.list-meta {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.75rem;
+ font-size: 0.8rem;
+ color: #9ca3af;
+}
+
+.empty-state {
+ margin-top: 1.5rem;
+ font-size: 0.9rem;
+ color: #9ca3af;
+}
+
+.detail {
+ margin-top: 1.25rem;
+ margin-bottom: 1.5rem;
+ display: flex;
+ flex-direction: column;
+ gap: 0.75rem;
+}
+
+.detail-row {
+ display: flex;
+ justify-content: space-between;
+ gap: 1rem;
+ font-size: 0.9rem;
+}
+
+.detail-label {
+ color: #9ca3af;
+}
+
+.detail-value {
+ color: #e5e7eb;
+ text-align: right;
+}
+
+.detail-block {
+ margin-top: 0.5rem;
+}
+
+.detail-block-header {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: 0.75rem;
+}
+
+.btn-generate {
+ margin-top: 0;
+ padding: 0.35rem 0.75rem;
+ font-size: 0.78rem;
+ border-radius: 999px;
+ background: linear-gradient(135deg, #6366f1, #8b5cf6);
+ box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
+ white-space: nowrap;
+}
+
+.btn-generate:hover {
+ box-shadow: 0 10px 28px rgba(99, 102, 241, 0.55);
+}
+
+.placeholder {
+ font-style: italic;
+ color: #6b7280;
+}
+
+.detail-text {
+ margin: 0.35rem 0 0;
+ font-size: 0.9rem;
+ color: #d1d5db;
+ line-height: 1.5;
+}
+
+.readme-content {
+ margin-top: 0.5rem;
+ padding: 1rem 1.25rem;
+ border-radius: 0.75rem;
+ background: rgba(2, 6, 23, 0.7);
+ border: 1px solid rgba(55, 65, 81, 0.8);
+ max-height: 420px;
+ overflow: auto;
+ font-size: 0.85rem;
+ line-height: 1.65;
+ color: #d1d5db;
+}
+
+.readme-content h1,
+.readme-content h2,
+.readme-content h3,
+.readme-content h4 {
+ color: #e5e7eb;
+ margin: 1.25rem 0 0.5rem;
+}
+
+.readme-content h1:first-child,
+.readme-content h2:first-child,
+.readme-content h3:first-child {
+ margin-top: 0;
+}
+
+.readme-content h1 { font-size: 1.3rem; }
+.readme-content h2 { font-size: 1.1rem; }
+.readme-content h3 { font-size: 0.95rem; }
+
+.readme-content p {
+ margin: 0.5rem 0;
+}
+
+.readme-content a {
+ color: #38bdf8;
+ text-decoration: none;
+}
+
+.readme-content a:hover {
+ text-decoration: underline;
+}
+
+.readme-content pre {
+ background: rgba(15, 23, 42, 0.9);
+ border: 1px solid rgba(55, 65, 81, 0.8);
+ border-radius: 0.5rem;
+ padding: 0.75rem 1rem;
+ overflow-x: auto;
+ font-size: 0.8rem;
+}
+
+.readme-content code {
+ font-size: 0.82rem;
+}
+
+.readme-content ul,
+.readme-content ol {
+ padding-left: 1.5rem;
+ margin: 0.5rem 0;
+}
+
+.readme-content li {
+ margin: 0.25rem 0;
+}
+
+.readme-content img {
+ max-width: 100%;
+ border-radius: 0.5rem;
+}
+
+.readme-content table {
+ width: 100%;
+ border-collapse: collapse;
+ margin: 0.75rem 0;
+ font-size: 0.82rem;
+}
+
+.readme-content th,
+.readme-content td {
+ border: 1px solid rgba(55, 65, 81, 0.8);
+ padding: 0.4rem 0.6rem;
+ text-align: left;
+}
+
+.readme-content th {
+ background: rgba(15, 23, 42, 0.9);
+ color: #e5e7eb;
+}
+
+.readme-content blockquote {
+ margin: 0.5rem 0;
+ padding: 0.5rem 1rem;
+ border-left: 3px solid #6366f1;
+ background: rgba(15, 23, 42, 0.5);
+ color: #9ca3af;
+}
+
+.readme-content hr {
+ border: none;
+ border-top: 1px solid rgba(55, 65, 81, 0.8);
+ margin: 1rem 0;
+}
+
+.mteb-table-wrap {
+ margin-top: 0.5rem;
+ max-height: 280px;
+ overflow: auto;
+ border-radius: 0.75rem;
+ border: 1px solid rgba(55, 65, 81, 0.8);
+}
+
+.mteb-table {
+ width: 100%;
+ border-collapse: collapse;
+ font-size: 0.82rem;
+}
+
+.mteb-table th,
+.mteb-table td {
+ padding: 0.4rem 0.75rem;
+ text-align: left;
+ border-bottom: 1px solid rgba(55, 65, 81, 0.6);
+}
+
+.mteb-table th {
+ background: rgba(15, 23, 42, 0.9);
+ color: #e5e7eb;
+ position: sticky;
+ top: 0;
+}
+
+.mteb-table td:last-child {
+ text-align: right;
+ font-variant-numeric: tabular-nums;
+ color: #38bdf8;
+}
+
+/* ── Generate Modal ── */
+
+.modal-backdrop {
+ position: fixed;
+ inset: 0;
+ background: rgba(0, 0, 0, 0.7);
+ backdrop-filter: blur(4px);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ z-index: 100;
+ padding: 1.5rem;
+}
+
+.modal {
+ width: 100%;
+ max-width: 900px;
+ max-height: 90vh;
+ background: rgba(15, 23, 42, 0.97);
+ border-radius: 1.25rem;
+ border: 1px solid rgba(148, 163, 184, 0.25);
+ box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
+ display: flex;
+ flex-direction: column;
+ overflow: hidden;
+}
+
+.modal-header {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: 1.25rem 1.5rem;
+ border-bottom: 1px solid rgba(55, 65, 81, 0.6);
+ flex-shrink: 0;
+}
+
+.modal-header h2 {
+ margin: 0;
+ font-size: 1.25rem;
+}
+
+.modal-close {
+ background: transparent;
+ border: none;
+ color: #9ca3af;
+ font-size: 1.5rem;
+ cursor: pointer;
+ padding: 0.25rem 0.5rem;
+ border-radius: 0.5rem;
+ box-shadow: none;
+ margin-top: 0;
+ line-height: 1;
+}
+
+.modal-close:hover {
+ color: #e5e7eb;
+ background: rgba(55, 65, 81, 0.5);
+ box-shadow: none;
+ transform: none;
+}
+
+.modal-body {
+ padding: 1.5rem;
+ overflow-y: auto;
+ display: flex;
+ flex-direction: column;
+ gap: 1.25rem;
+}
+
+.modal-field {
+ display: flex;
+ align-items: center;
+ gap: 0.75rem;
+ font-size: 0.95rem;
+}
+
+.input-model-name {
+ flex: 1;
+ padding: 0.4rem 0.6rem;
+ border: 1px solid rgba(55, 65, 81, 0.6);
+ border-radius: 6px;
+ background: rgba(2, 6, 23, 0.7);
+ color: #e5e7eb;
+ font-size: 0.88rem;
+ font-family: "Fira Code", "Cascadia Code", monospace;
+ outline: none;
+ transition: border-color 0.15s ease;
+}
+
+.input-model-name:focus {
+ border-color: #38bdf8;
+}
+
+.code-like {
+ font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
+ color: #38bdf8;
+}
+
+.modal-section {
+ display: flex;
+ flex-direction: column;
+ gap: 0.4rem;
+}
+
+.modal-textarea-large {
+ width: 100%;
+ min-height: 260px;
+ padding: 0.75rem;
+ border-radius: 0.7rem;
+ border: 1px solid #4b5563;
+ background: rgba(2, 6, 23, 0.7);
+ color: #e5e7eb;
+ font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
+ font-size: 0.78rem;
+ line-height: 1.5;
+ resize: vertical;
+ outline: none;
+ transition: border-color 0.15s ease;
+}
+
+.modal-textarea-large:focus {
+ border-color: #38bdf8;
+}
+
+.modal-textarea-medium {
+ width: 100%;
+ min-height: 140px;
+ padding: 0.75rem;
+ border-radius: 0.7rem;
+ border: 1px solid #4b5563;
+ background: rgba(2, 6, 23, 0.7);
+ color: #e5e7eb;
+ font-size: 0.85rem;
+ line-height: 1.5;
+ resize: vertical;
+ outline: none;
+ transition: border-color 0.15s ease;
+}
+
+.modal-textarea-medium:focus {
+ border-color: #38bdf8;
+}
+
+.modal-textarea-small {
+ width: 100%;
+ min-height: 80px;
+ padding: 0.75rem;
+ border-radius: 0.7rem;
+ border: 1px solid #4b5563;
+ background: rgba(2, 6, 23, 0.7);
+ color: #e5e7eb;
+ font-size: 0.85rem;
+ line-height: 1.5;
+ resize: vertical;
+ outline: none;
+ transition: border-color 0.15s ease;
+}
+
+.modal-textarea-small:focus {
+ border-color: #38bdf8;
+}
+
+.modal-buttons {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.6rem;
+}
+
+.modal-buttons .btn-generate {
+ flex: 1;
+ min-width: 180px;
+}
+
+.char-count {
+ margin-left: 0.5rem;
+ font-size: 0.78rem;
+ color: #6b7280;
+ font-weight: 400;
+}
+
+.modal-footer {
+ display: flex;
+ align-items: center;
+ gap: 1rem;
+ padding-top: 0.5rem;
+ border-top: 1px solid rgba(55, 65, 81, 0.5);
+ margin-top: 0.5rem;
+}
+
+.save-ok {
+ color: #34d399;
+ font-size: 0.85rem;
+}
+
+.save-info {
+ color: #9ca3af;
+ font-size: 0.85rem;
+}
+
+/* ── Search ── */
+
+.search-textarea {
+ width: 100%;
+ padding: 0.6rem 0.75rem;
+ border-radius: 0.7rem;
+ border: 1px solid #4b5563;
+ background: rgba(15, 23, 42, 0.9);
+ color: #e5e7eb;
+ font-size: 0.95rem;
+ line-height: 1.5;
+ resize: vertical;
+ outline: none;
+ font-family: inherit;
+ transition:
+ border-color 0.15s ease,
+ box-shadow 0.15s ease,
+ background 0.15s ease;
+}
+
+.search-textarea:focus {
+ border-color: #38bdf8;
+ box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
+ background: rgba(15, 23, 42, 1);
+}
+
+.search-rank {
+ color: #6b7280;
+ font-size: 0.82rem;
+ margin-right: 0.35rem;
+ font-weight: 400;
+}
+
+.search-result-distance {
+ margin-left: auto;
+ font-size: 0.78rem;
+ font-weight: 500;
+ padding: 0.15rem 0.5rem;
+ border-radius: 999px;
+ background: rgba(56, 189, 248, 0.15);
+ color: #38bdf8;
+ white-space: nowrap;
+}
diff --git a/examples/sie-hugging-face-mteb-semantic-search/frontend/tsconfig.json b/examples/sie-hugging-face-mteb-semantic-search/frontend/tsconfig.json
new file mode 100644
index 000000000..793724cba
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/frontend/tsconfig.json
@@ -0,0 +1,21 @@
+{
+ "compilerOptions": {
+ "target": "ESNext",
+ "useDefineForClassFields": true,
+ "lib": ["DOM", "DOM.Iterable", "ESNext"],
+ "allowJs": false,
+ "skipLibCheck": true,
+ "esModuleInterop": true,
+ "allowSyntheticDefaultImports": true,
+ "strict": true,
+ "forceConsistentCasingInFileNames": true,
+ "module": "ESNext",
+ "moduleResolution": "bundler",
+ "resolveJsonModule": true,
+ "isolatedModules": true,
+ "noEmit": true,
+ "jsx": "react-jsx"
+ },
+ "include": ["src"],
+ "references": []
+}
diff --git a/examples/sie-hugging-face-mteb-semantic-search/frontend/vite.config.ts b/examples/sie-hugging-face-mteb-semantic-search/frontend/vite.config.ts
new file mode 100644
index 000000000..e36546e78
--- /dev/null
+++ b/examples/sie-hugging-face-mteb-semantic-search/frontend/vite.config.ts
@@ -0,0 +1,10 @@
+import { defineConfig } from "vite";
+import react from "@vitejs/plugin-react-swc";
+
+export default defineConfig({
+ plugins: [react()],
+ server: {
+ port: 5173,
+ strictPort: true
+ }
+});
diff --git a/examples/taxonomy-classification/.env.example b/examples/taxonomy-classification/.env.example
new file mode 100644
index 000000000..c73393aed
--- /dev/null
+++ b/examples/taxonomy-classification/.env.example
@@ -0,0 +1,2 @@
+SIE_BASE_URL=http://localhost:8080
+SIE_API_KEY=
\ No newline at end of file
diff --git a/examples/taxonomy-classification/.gitignore b/examples/taxonomy-classification/.gitignore
new file mode 100644
index 000000000..2d8d3fc13
--- /dev/null
+++ b/examples/taxonomy-classification/.gitignore
@@ -0,0 +1,6 @@
+.venv/
+.ruff_cache/
+__pycache__/
+.env
+/data/
+/eval/
diff --git a/examples/taxonomy-classification/README.md b/examples/taxonomy-classification/README.md
new file mode 100644
index 000000000..e48c01705
--- /dev/null
+++ b/examples/taxonomy-classification/README.md
@@ -0,0 +1,371 @@
+# Taxonomy Classification with SIE
+
+Classify products into a large hierarchical taxonomy using SIE as the unified inference layer.
+
+## Problem
+
+Taxonomy classification assigns a category path (e.g. `Electronics > Computers > Laptops`) to a product given its description or image. Real-world taxonomies are large (10K+ categories), hierarchical (up to 8 levels deep), and ambiguous (multiple categories can be valid for the same product).
+
+Google's [Custom Taxonomy Classifier](https://github.com/google-marketing-solutions/custom-taxonomy-classifier) demonstrates a minimal version of this: embed flat category names with a single Vertex AI model, retrieve the nearest neighbor. This project goes further — we systematically evaluate multiple approaches across text, vision, with and without reranking on a hierarchical taxonomy.
+
+## Why SIE
+
+Taxonomy classification is not a single-model problem. Finding the best approach requires experimenting with fundamentally different model types:
+
+| SIE capability | Model type | Role |
+|---------------|-----------|------|
+| `extract` | NLI / zero-shot classifiers | Score query-category entailment |
+| `encode` | Text embedding models | Embed products and categories for retrieval |
+| `encode` | Vision models (CLIP, SigLIP) | Embed product images for retrieval |
+| `score` | Cross-encoder rerankers | Rerank retrieval candidates |
+
+SIE serves all of these behind a single API. Switching from text embeddings to NLI to image retrieval to cross-encoder reranking requires one code line change, not rebuilding infrastructure. This makes it practical to run a structured evaluation across approaches that would otherwise each need their own serving stack.
+
+## SIE setup
+
+All scripts in this example talk to a running SIE server. See the [SIE quickstart](https://superlinked.com/docs/quickstart) for how to run it locally or point at a cluster.
+
+Once SIE is reachable, create a `.env` in this directory with the URL of your SIE server or cluster:
+
+```bash
+cp .env.example .env
+# then edit SIE_BASE_URL (default: http://localhost:8080)
+```
+
+## Dataset and metrics
+
+We use [Shopify/product-catalogue](https://huggingface.co/datasets/Shopify/product-catalogue), based on the [Shopify Product Taxonomy](https://github.com/Shopify/product-taxonomy). Each row gives us a product title, product description, product image, one ground-truth category path, and `potential_product_categories` for plausible alternatives.
+
+For this example we keep the working set intentionally small: only the first train shard, which becomes 2,309 products after cleaning and trimming. The goal here is not to build the best possible classifier, but to show how SIE makes it easy to iterate quickly across very different ML approaches.
+
+To prepare the exact dataset used in this project:
+
+```bash
+uv sync
+uv run download-shopify-dataset
+uv run download-shopify-taxonomy
+uv run clean-shopify-dataset
+uv run trim-shopify-dataset-to-l3
+```
+
+These scripts generate the following files under `data/`:
+- `train-00000-of-00015.parquet` — the raw Shopify train shard downloaded from Hugging Face
+- `shopify-taxonomy-categories.txt` — the raw taxonomy categories file from Shopify
+- `shopify-products-clean-full-depth.parquet` — cleaned dataset with required fields and valid taxonomy labels
+- `shopify-taxonomy-l3.parquet` — taxonomy trimmed to 3 levels
+- `shopify-products-experiment-l3.parquet` — final L3 dataset used by the evaluation scripts
+
+To keep evaluation simple, we trim the taxonomy to 3 levels:
+- `26` L1 labels
+- `213` L2 nodes
+- `1,790` total nodes
+
+We report hierarchical F1 (`hF1`) in two settings:
+- **strict** — only the single `ground_truth_category` counts as correct
+- **lenient** — any label in `potential_product_categories` counts as correct
+
+## Approaches
+
+### Zero-Shot NLI
+
+This approach scores only the top-level Shopify category from `product_description` via `sie.extract()`. This is the simplest baseline: no index, no retrieval step, just direct scoring against all 26 L1 labels.
+
+![Zero-Shot NLI](assets/diagram-nli.svg)
+
+The actual eval uses all 26 Shopify L1 labels; the shorter example below uses three for readability:
+
+```python
+result = client.extract(
+ "knowledgator/gliclass-large-v3.0",
+ Item(text="Handwoven straw Panama hat with a cotton ribbon."),
+ labels=[
+ "Apparel & Accessories",
+ "Home & Garden",
+ "Sporting Goods",
+ ],
+)
+
+for classification in result["classifications"]:
+ print(f"{classification['label']}: {classification['score']:.2f}")
+# Apparel & Accessories: 1.00
+```
+
+CLI scripts for running full evaluation and one-off predictions:
+
+```bash
+# eval
+uv run eval-nli \
+ --model knowledgator/gliclass-large-v3.0 \
+ --output eval/nli/knowledgator-gliclass-large-v3.0.json
+
+# predict
+uv run predict-nli \
+ --model knowledgator/gliclass-large-v3.0 \
+ --description "Handwoven straw Panama hat with a cotton ribbon." \
+ --top-k 5
+```
+
+We evaluated two NLI models:
+
+- `knowledgator/gliclass-large-v3.0` (`0.5B`)
+- `cross-encoder/nli-deberta-v3-base` (`200M`)
+
+Since this approach predicts only L1, we report L1 macro F1 rather than hierarchical F1:
+
+| Approach | Model | Model size | L1 F1 (strict) | L1 F1 (lenient) |
+|---|---|---:|---:|---:|
+| nli | `knowledgator/gliclass-large-v3.0` | `0.5B` | `0.302` | `0.384` |
+| nli | `cross-encoder/nli-deberta-v3-base` | `200M` | `0.204` | `0.285` |
+
+This gives us a clean top-level baseline, but it is not a good fit for the full hierarchy. The label space grows from 26 L1 labels to 213 L2 nodes and 1,790 total nodes in the trimmed L3 taxonomy, so the next approaches switch to retrieval-based models more suitable for larger candidate sets.
+
+### Text Retrieval
+
+This is the first approach that works on the full hierarchy. We encode each `product_description` as a query vector, encode each taxonomy path as a category vector, store the category embeddings in Chroma, and return the nearest path. `full-path` uses strings like `Apparel & Accessories > Clothing Accessories > Hats`; `leaf` uses only the last node, like `Hats`.
+
+![Text Retrieval](assets/diagram-text-retrieval.svg)
+
+The raw `encode()` calls look like this. Here we compare one product against three candidate paths by hand; in the full pipeline, all category vectors live in Chroma.
+
+```python
+query = client.encode(
+ "NovaSearch/stella_en_1.5B_v5",
+ Item(text="Handwoven straw Panama hat with a cotton ribbon."),
+ is_query=True,
+)
+
+categories = client.encode(
+ "NovaSearch/stella_en_1.5B_v5",
+ [
+ Item(text="Apparel & Accessories > Clothing Accessories > Hats"),
+ Item(text="Home & Garden > Decor > Coat & Hat Racks"),
+ Item(text="Sporting Goods > Outdoor Recreation > Camping & Hiking"),
+ ],
+ is_query=False,
+)
+
+# After cosine similarity on the returned vectors:
+# Apparel & Accessories > Clothing Accessories > Hats: 0.46
+# Home & Garden > Decor > Coat & Hat Racks: 0.34
+# Sporting Goods > Outdoor Recreation > Camping & Hiking: 0.21
+```
+
+CLI scripts for running full evaluation and one-off predictions:
+
+```bash
+# eval
+uv run eval-text-retrieval \
+ --model NovaSearch/stella_en_1.5B_v5 \
+ --variant full-path \
+ --index-dir .cache/chroma \
+ --output eval/text-retrieval/NovaSearch-stella_en_1.5B_v5-full-path.json
+
+# predict
+uv run predict-text-retrieval \
+ --model NovaSearch/stella_en_1.5B_v5 \
+ --variant full-path \
+ --index-dir .cache/chroma \
+ --description "Handwoven straw Panama hat with a cotton ribbon." \
+ --top-k 5
+```
+
+We evaluated three text embedding models in both indexing variants:
+
+| Approach | Model | Model size | hF1 (strict) | hF1 (lenient) | Variant |
+|---|---|---:|---:|---:|---|
+| text-retrieval | `NovaSearch/stella_en_1.5B_v5` | `1.5B` | `0.425` | `0.553` | `full-path` |
+| text-retrieval | `NovaSearch/stella_en_1.5B_v5` | `1.5B` | `0.334` | `0.450` | `leaf` |
+| text-retrieval | `intfloat/multilingual-e5-large` | `0.6B` | `0.301` | `0.356` | `full-path` |
+| text-retrieval | `intfloat/multilingual-e5-large` | `0.6B` | `0.295` | `0.385` | `leaf` |
+| text-retrieval | `sentence-transformers/all-MiniLM-L6-v2` | `23M` | `0.253` | `0.344` | `leaf` |
+| text-retrieval | `sentence-transformers/all-MiniLM-L6-v2` | `23M` | `0.239` | `0.312` | `full-path` |
+
+Text retrieval ends up being the strongest family in this project. `NovaSearch/stella_en_1.5B_v5` with `full-path` indexing is the best overall result (`0.425` strict, `0.553` lenient). `full-path` clearly helps Stella, while the tiny `all-MiniLM-L6-v2` does slightly better with `leaf` labels.
+
+The dataset also includes product images, so the next step is to keep the same retrieval setup and swap the text query for an image query.
+
+### Image Retrieval
+
+Image retrieval keeps the same idea, but the query is now a product image instead of text. The category side is still text, so we need a multimodal model that maps images and taxonomy paths into the same vector space.
+
+![Image Retrieval](assets/diagram-image-retrieval.svg)
+
+Here is the same hat example, this time starting from an image:
+
+```python
+query = client.encode(
+ "laion/CLIP-ViT-H-14-laion2B-s32B-b79K",
+ Item(
+ images=[
+ {
+ "data": Path("assets/sample-images/03.jpg").read_bytes(),
+ "format": "jpeg",
+ }
+ ]
+ ),
+)
+
+categories = client.encode(
+ "laion/CLIP-ViT-H-14-laion2B-s32B-b79K",
+ [
+ Item(text="Apparel & Accessories > Clothing Accessories > Hats"),
+ Item(text="Home & Garden > Decor > Coat & Hat Racks"),
+ Item(text="Sporting Goods > Outdoor Recreation > Camping & Hiking"),
+ ],
+ is_query=False,
+)
+
+# After cosine similarity on the returned vectors:
+# Apparel & Accessories > Clothing Accessories > Hats: 0.25
+# Home & Garden > Decor > Coat & Hat Racks: 0.12
+# Sporting Goods > Outdoor Recreation > Camping & Hiking: 0.06
+```
+
+CLI scripts for running full evaluation and one-off predictions:
+
+```bash
+# eval
+uv run eval-image-retrieval \
+ --model laion/CLIP-ViT-H-14-laion2B-s32B-b79K \
+ --variant full-path \
+ --index-dir .cache/chroma \
+ --output eval/image-retrieval/laion-CLIP-ViT-H-14-laion2B-s32B-b79K-full-path.json
+
+# predict
+uv run predict-image-retrieval \
+ --model laion/CLIP-ViT-H-14-laion2B-s32B-b79K \
+ --variant full-path \
+ --index-dir .cache/chroma \
+ --image-path assets/sample-images/03.jpg \
+ --top-k 5
+```
+
+We evaluated two multimodal models in both indexing variants:
+
+| Approach | Model | Model size | hF1 (strict) | hF1 (lenient) | Variant |
+|---|---|---:|---:|---:|---|
+| image-retrieval | `laion/CLIP-ViT-H-14-laion2B-s32B-b79K` | `1B` | `0.353` | `0.451` | `full-path` |
+| image-retrieval | `laion/CLIP-ViT-H-14-laion2B-s32B-b79K` | `1B` | `0.325` | `0.420` | `leaf` |
+| image-retrieval | `openai/clip-vit-base-patch32` | `150M` | `0.208` | `0.258` | `full-path` |
+| image-retrieval | `openai/clip-vit-base-patch32` | `150M` | `0.189` | `0.245` | `leaf` |
+
+The best image-only result comes from `laion/CLIP-ViT-H-14-laion2B-s32B-b79K` with `full-path` indexing (`0.353` strict, `0.451` lenient). That is clearly better than the smaller CLIP model, but still below the best text retriever, so text remains the strongest signal in these runs.
+
+Since text retrieval is our best base method, the final question is whether a second-stage reranker can improve it.
+
+### Retrieval + Reranking
+
+Reranking starts with the best text retriever, keeps its top-5 candidates, and asks a cross-encoder to rescore them with `sie.score()`. The hope is that a more expensive second pass can fix mistakes from nearest-neighbor retrieval.
+
+![Retrieval + Reranking](assets/diagram-reranking.svg)
+
+In the full pipeline, the candidates come from Stella full-path retrieval. The reranking call itself looks like this:
+
+```python
+result = client.score(
+ "mixedbread-ai/mxbai-rerank-base-v2",
+ Item(text="Handwoven straw Panama hat with a cotton ribbon."),
+ [
+ Item(
+ id="Apparel & Accessories > Clothing Accessories > Hats",
+ text="Apparel & Accessories > Clothing Accessories > Hats",
+ ),
+ Item(
+ id="Home & Garden > Decor > Coat & Hat Racks",
+ text="Home & Garden > Decor > Coat & Hat Racks",
+ ),
+ Item(
+ id="Sporting Goods > Outdoor Recreation > Camping & Hiking",
+ text="Sporting Goods > Outdoor Recreation > Camping & Hiking",
+ ),
+ ],
+)
+
+for score in result["scores"]:
+ print(f"{score['item_id']}: {score['score']:.2f}")
+# Apparel & Accessories > Clothing Accessories > Hats: 1.00
+# Home & Garden > Decor > Coat & Hat Racks: 0.04
+# Sporting Goods > Outdoor Recreation > Camping & Hiking: 0.02
+```
+
+CLI scripts for running full evaluation and one-off predictions:
+
+```bash
+# eval
+uv run eval-reranking \
+ --retrieval-model NovaSearch/stella_en_1.5B_v5 \
+ --reranker-model mixedbread-ai/mxbai-rerank-base-v2 \
+ --variant full-path \
+ --index-dir .cache/chroma \
+ --top-k 5 \
+ --output eval/reranking/NovaSearch-stella_en_1.5B_v5-full-path-mixedbread-ai-mxbai-rerank-base-v2.json
+
+# predict
+uv run predict-reranking \
+ --retrieval-model NovaSearch/stella_en_1.5B_v5 \
+ --reranker-model mixedbread-ai/mxbai-rerank-base-v2 \
+ --variant full-path \
+ --index-dir .cache/chroma \
+ --description "Handwoven straw Panama hat with a cotton ribbon." \
+ --top-k 5
+```
+
+We compare the base Stella retriever against two rerankers:
+
+| Setup | Models | hF1 (strict) | hF1 (lenient) |
+|---|---|---:|---:|
+| retrieval baseline | `NovaSearch/stella_en_1.5B_v5` | `0.425` | `0.553` |
+| reranking | `NovaSearch/stella_en_1.5B_v5` + `mixedbread-ai/mxbai-rerank-base-v2` | `0.425` | `0.548` |
+| reranking | `NovaSearch/stella_en_1.5B_v5` + `cross-encoder/ms-marco-MiniLM-L-6-v2` | `0.315` | `0.424` |
+
+Reranking does not help in these runs. `mixedbread-ai/mxbai-rerank-base-v2` almost ties the baseline, but still lands slightly lower on the lenient metric (`0.548` vs `0.553`). `cross-encoder/ms-marco-MiniLM-L-6-v2` drops much further. So the simple Stella `full-path` retriever remains the best overall setup.
+
+## Results
+
+### Summary
+
+- Best overall hierarchical result: `text-retrieval` with `NovaSearch/stella_en_1.5B_v5` and `variant=full-path` (`strict hF1 0.425`, `lenient hF1 0.553`).
+- Reranking does not beat the base Stella full-path retriever in these runs. `mixedbread-ai/mxbai-rerank-base-v2` comes closest but is still slightly lower, while `cross-encoder/ms-marco-MiniLM-L-6-v2` drops more (`strict hF1 0.315`, `lenient hF1 0.424`).
+- Best image-only result: `image-retrieval` with `laion/CLIP-ViT-H-14-laion2B-s32B-b79K` and `variant=full-path` (`strict hF1 0.353`, `lenient hF1 0.451`).
+- NLI is shown separately because it reports L1 macro F1, not hierarchical F1. Within NLI, `knowledgator/gliclass-large-v3.0` beats `cross-encoder/nli-deberta-v3-base`.
+- `full-path` wins for Stella and both image models; `leaf` helps `all-MiniLM-L6-v2` and improves lenient F1 for `multilingual-e5-large`.
+
+### Metrics tables
+
+**L3 classification:**
+
+| Approach | Model | Model size | hF1 (strict) | hF1 (lenient) | Variant |
+|---|---|---:|---:|---:|---|
+| text-retrieval | `NovaSearch/stella_en_1.5B_v5` | `1.5B` | `0.425` | `0.553` | `full-path` |
+| reranking | `mixedbread-ai/mxbai-rerank-base-v2` | `0.5B` | `0.425` | `0.548` | `full-path` |
+| image-retrieval | `laion/CLIP-ViT-H-14-laion2B-s32B-b79K` | `1B` | `0.353` | `0.451` | `full-path` |
+| text-retrieval | `NovaSearch/stella_en_1.5B_v5` | `1.5B` | `0.334` | `0.450` | `leaf` |
+| image-retrieval | `laion/CLIP-ViT-H-14-laion2B-s32B-b79K` | `1B` | `0.325` | `0.420` | `leaf` |
+| reranking | `cross-encoder/ms-marco-MiniLM-L-6-v2` | `23M` | `0.315` | `0.424` | `full-path` |
+| text-retrieval | `intfloat/multilingual-e5-large` | `0.6B` | `0.301` | `0.356` | `full-path` |
+| text-retrieval | `intfloat/multilingual-e5-large` | `0.6B` | `0.295` | `0.385` | `leaf` |
+| text-retrieval | `sentence-transformers/all-MiniLM-L6-v2` | `23M` | `0.253` | `0.344` | `leaf` |
+| text-retrieval | `sentence-transformers/all-MiniLM-L6-v2` | `23M` | `0.239` | `0.312` | `full-path` |
+| image-retrieval | `openai/clip-vit-base-patch32` | `150M` | `0.208` | `0.258` | `full-path` |
+| image-retrieval | `openai/clip-vit-base-patch32` | `150M` | `0.189` | `0.245` | `leaf` |
+
+**L1 classification:**
+
+| Approach | Model | Model size | L1 F1 (strict) | L1 F1 (lenient) |
+|---|---|---:|---:|---:|
+| nli | `knowledgator/gliclass-large-v3.0` | `0.5B` | `0.302` | `0.384` |
+| nli | `cross-encoder/nli-deberta-v3-base` | `200M` | `0.204` | `0.285` |
+
+## Conclusion
+
+We tried several very different model families on the same taxonomy task: NLI for top-level classification, text embeddings for retrieval, image embeddings for multimodal retrieval, and rerankers for second-stage rescoring. That kind of exploration is the main point of this example.
+
+With SIE, the interesting part was the modeling, not the infrastructure. We could switch between `extract`, `encode`, and `score` without rebuilding the serving stack each time, which makes rapid iteration on ML ideas much smoother.
+
+There is still a lot of room to push these results further. A few directions we did not cover here:
+
+- **LLM-enriched category names** — generate richer descriptions for taxonomy nodes, then embed those instead of bare category names.
+- **Hierarchical cascade** — predict L1 first, then L2 inside the chosen branch, then L3.
+- **Fine-tuned embeddings** — train a contrastive model directly on `(product, category)` pairs from the dataset.
+
+If you want to take this further, try improving the current baselines or inventing a new approach entirely. That is the real takeaway: SIE makes it easy to explore the space quickly.
diff --git a/examples/taxonomy-classification/assets/diagram-image-retrieval.svg b/examples/taxonomy-classification/assets/diagram-image-retrieval.svg
new file mode 100644
index 000000000..882fc7bd9
--- /dev/null
+++ b/examples/taxonomy-classification/assets/diagram-image-retrieval.svg
@@ -0,0 +1,36 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="860" height="235" viewBox="0 0 860 235" font-family="Inter, Helvetica, Arial, sans-serif" font-size="13">
+ <defs>
+ <marker id="arrow" markerWidth="8" markerHeight="6" refX="8" refY="3" orient="auto">
+ <path d="M0,0 L8,3 L0,6" fill="#888"/>
+ </marker>
+ </defs>
+
+ <text x="430" y="26" text-anchor="middle" font-size="16" font-weight="700" fill="#333">Image Retrieval</text>
+ <text x="430" y="44" text-anchor="middle" font-size="11" fill="#777">Shared image-text embedding space</text>
+
+ <text x="30" y="74" font-size="10" font-weight="700" fill="#888">INDEX</text>
+ <rect x="30" y="84" width="170" height="38" rx="8" fill="#F6F6F6" stroke="#CFCFCF"/>
+ <text x="115" y="107" text-anchor="middle" font-size="11" fill="#555">Taxonomy labels</text>
+ <line x1="200" y1="103" x2="240" y2="103" stroke="#999" stroke-width="1.2" marker-end="url(#arrow)"/>
+ <rect x="250" y="74" width="220" height="58" rx="10" fill="#FEB97A" stroke="#E5A050" stroke-width="1.2"/>
+ <text x="360" y="99" text-anchor="middle" font-size="12" font-weight="700" fill="#fff">SIE — encode()</text>
+ <text x="360" y="117" text-anchor="middle" font-size="10" fill="rgba(255,255,255,0.88)">multimodal model, text mode</text>
+ <line x1="470" y1="103" x2="510" y2="103" stroke="#999" stroke-width="1.2" marker-end="url(#arrow)"/>
+ <rect x="520" y="84" width="170" height="38" rx="8" fill="#F6F6F6" stroke="#CFCFCF"/>
+ <text x="605" y="107" text-anchor="middle" font-size="11" fill="#555">Chroma index</text>
+
+ <text x="30" y="164" font-size="10" font-weight="700" fill="#555">QUERY</text>
+ <rect x="30" y="174" width="170" height="38" rx="8" fill="#F6F6F6" stroke="#BDBDBD" stroke-width="1.2"/>
+ <text x="115" y="197" text-anchor="middle" font-size="11" font-weight="600" fill="#333">Product image</text>
+ <line x1="200" y1="193" x2="240" y2="193" stroke="#888" stroke-width="1.4" marker-end="url(#arrow)"/>
+ <rect x="250" y="164" width="220" height="58" rx="10" fill="#FE8019" stroke="#D96A0B" stroke-width="1.4"/>
+ <text x="360" y="189" text-anchor="middle" font-size="13" font-weight="700" fill="#fff">SIE — encode()</text>
+ <text x="360" y="207" text-anchor="middle" font-size="10" fill="rgba(255,255,255,0.88)">multimodal model, image mode</text>
+ <line x1="470" y1="193" x2="510" y2="193" stroke="#888" stroke-width="1.4" marker-end="url(#arrow)"/>
+ <rect x="520" y="164" width="140" height="58" rx="10" fill="#F6F6F6" stroke="#BDBDBD" stroke-width="1.2"/>
+ <text x="590" y="189" text-anchor="middle" font-size="12" font-weight="600" fill="#333">Chroma search</text>
+ <text x="590" y="207" text-anchor="middle" font-size="10" fill="#777">nearest category</text>
+ <line x1="660" y1="193" x2="700" y2="193" stroke="#888" stroke-width="1.4" marker-end="url(#arrow)"/>
+ <rect x="710" y="174" width="120" height="38" rx="8" fill="#F6F6F6" stroke="#BDBDBD" stroke-width="1.2"/>
+ <text x="770" y="197" text-anchor="middle" font-size="11" fill="#555">Top category</text>
+</svg>
diff --git a/examples/taxonomy-classification/assets/diagram-nli.svg b/examples/taxonomy-classification/assets/diagram-nli.svg
new file mode 100644
index 000000000..c67c7389a
--- /dev/null
+++ b/examples/taxonomy-classification/assets/diagram-nli.svg
@@ -0,0 +1,31 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="860" height="180" viewBox="0 0 860 180" font-family="Inter, Helvetica, Arial, sans-serif" font-size="13">
+ <defs>
+ <marker id="arrow" markerWidth="8" markerHeight="6" refX="8" refY="3" orient="auto">
+ <path d="M0,0 L8,3 L0,6" fill="#888"/>
+ </marker>
+ </defs>
+
+ <text x="430" y="26" text-anchor="middle" font-size="16" font-weight="700" fill="#333">Zero-Shot NLI</text>
+ <text x="430" y="44" text-anchor="middle" font-size="11" fill="#777">L1 only</text>
+
+ <rect x="330" y="52" width="160" height="34" rx="8" fill="#F6F6F6" stroke="#CFCFCF"/>
+ <text x="410" y="72" text-anchor="middle" font-size="11" fill="#555">L1 category labels (26)</text>
+ <line x1="410" y1="86" x2="410" y2="96" stroke="#999" stroke-width="1.2" marker-end="url(#arrow)"/>
+
+ <rect x="30" y="104" width="190" height="48" rx="10" fill="#F6F6F6" stroke="#BDBDBD" stroke-width="1.2"/>
+ <text x="125" y="124" text-anchor="middle" font-weight="600" fill="#333">Product description</text>
+ <text x="125" y="140" text-anchor="middle" font-size="10" fill="#777">Input text</text>
+
+ <line x1="220" y1="128" x2="260" y2="128" stroke="#888" stroke-width="1.4" marker-end="url(#arrow)"/>
+
+ <rect x="270" y="94" width="280" height="68" rx="10" fill="#FE8019" stroke="#D96A0B" stroke-width="1.4"/>
+ <text x="410" y="120" text-anchor="middle" font-size="13" font-weight="700" fill="#fff">SIE — extract()</text>
+ <text x="410" y="138" text-anchor="middle" font-size="10" fill="rgba(255,255,255,0.88)">Score the description against every L1 label</text>
+
+ <line x1="550" y1="128" x2="590" y2="128" stroke="#888" stroke-width="1.4" marker-end="url(#arrow)"/>
+
+ <rect x="600" y="94" width="230" height="68" rx="10" fill="#F6F6F6" stroke="#BDBDBD" stroke-width="1.2"/>
+ <text x="715" y="116" text-anchor="middle" font-weight="600" fill="#333">Ranked L1 labels</text>
+ <text x="715" y="134" text-anchor="middle" font-size="10" fill="#555">1. Apparel &amp; Accessories</text>
+ <text x="715" y="148" text-anchor="middle" font-size="10" fill="#888">2. Sporting Goods</text>
+</svg>
diff --git a/examples/taxonomy-classification/assets/diagram-reranking.svg b/examples/taxonomy-classification/assets/diagram-reranking.svg
new file mode 100644
index 000000000..3c60fbea0
--- /dev/null
+++ b/examples/taxonomy-classification/assets/diagram-reranking.svg
@@ -0,0 +1,31 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="860" height="170" viewBox="0 0 860 170" font-family="Inter, Helvetica, Arial, sans-serif" font-size="13">
+ <defs>
+ <marker id="arrow" markerWidth="8" markerHeight="6" refX="8" refY="3" orient="auto">
+ <path d="M0,0 L8,3 L0,6" fill="#888"/>
+ </marker>
+ </defs>
+
+ <text x="430" y="26" text-anchor="middle" font-size="16" font-weight="700" fill="#333">Retrieval + Reranking</text>
+ <text x="430" y="44" text-anchor="middle" font-size="11" fill="#777">Reuse text retrieval, then rerank top-K with a cross-encoder</text>
+
+ <rect x="30" y="82" width="170" height="42" rx="8" fill="#F6F6F6" stroke="#BDBDBD" stroke-width="1.2"/>
+ <text x="115" y="107" text-anchor="middle" font-size="11" font-weight="600" fill="#333">Product description</text>
+
+ <line x1="200" y1="103" x2="240" y2="103" stroke="#888" stroke-width="1.4" marker-end="url(#arrow)"/>
+
+ <rect x="250" y="72" width="190" height="62" rx="10" fill="#FE8019" stroke="#D96A0B" stroke-width="1.4"/>
+ <text x="345" y="96" text-anchor="middle" font-size="13" font-weight="700" fill="#fff">Stage 1 — retrieve</text>
+ <text x="345" y="114" text-anchor="middle" font-size="10" fill="rgba(255,255,255,0.88)">text retrieval + Chroma</text>
+
+ <line x1="440" y1="103" x2="480" y2="103" stroke="#888" stroke-width="1.4" marker-end="url(#arrow)"/>
+
+ <rect x="490" y="82" width="120" height="42" rx="8" fill="#F6F6F6" stroke="#BDBDBD" stroke-width="1.2"/>
+ <text x="550" y="100" text-anchor="middle" font-size="11" font-weight="600" fill="#333">Top-K</text>
+ <text x="550" y="115" text-anchor="middle" font-size="10" fill="#777">candidates</text>
+
+ <line x1="610" y1="103" x2="650" y2="103" stroke="#888" stroke-width="1.4" marker-end="url(#arrow)"/>
+
+ <rect x="660" y="72" width="170" height="62" rx="10" fill="#FE8019" stroke="#D96A0B" stroke-width="1.4"/>
+ <text x="745" y="96" text-anchor="middle" font-size="13" font-weight="700" fill="#fff">Stage 2 — score()</text>
+ <text x="745" y="114" text-anchor="middle" font-size="10" fill="rgba(255,255,255,0.88)">cross-encoder reranker</text>
+</svg>
diff --git a/examples/taxonomy-classification/assets/diagram-text-retrieval.svg b/examples/taxonomy-classification/assets/diagram-text-retrieval.svg
new file mode 100644
index 000000000..6ececf1a4
--- /dev/null
+++ b/examples/taxonomy-classification/assets/diagram-text-retrieval.svg
@@ -0,0 +1,36 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="860" height="235" viewBox="0 0 860 235" font-family="Inter, Helvetica, Arial, sans-serif" font-size="13">
+ <defs>
+ <marker id="arrow" markerWidth="8" markerHeight="6" refX="8" refY="3" orient="auto">
+ <path d="M0,0 L8,3 L0,6" fill="#888"/>
+ </marker>
+ </defs>
+
+ <text x="430" y="26" text-anchor="middle" font-size="16" font-weight="700" fill="#333">Text Retrieval</text>
+ <text x="430" y="44" text-anchor="middle" font-size="11" fill="#777">Variant: leaf or full-path</text>
+
+ <text x="30" y="74" font-size="10" font-weight="700" fill="#888">INDEX</text>
+ <rect x="30" y="84" width="170" height="38" rx="8" fill="#F6F6F6" stroke="#CFCFCF"/>
+ <text x="115" y="107" text-anchor="middle" font-size="11" fill="#555">Taxonomy labels</text>
+ <line x1="200" y1="103" x2="240" y2="103" stroke="#999" stroke-width="1.2" marker-end="url(#arrow)"/>
+ <rect x="250" y="74" width="220" height="58" rx="10" fill="#FEB97A" stroke="#E5A050" stroke-width="1.2"/>
+ <text x="360" y="99" text-anchor="middle" font-size="12" font-weight="700" fill="#fff">SIE — encode()</text>
+ <text x="360" y="117" text-anchor="middle" font-size="10" fill="rgba(255,255,255,0.88)">text mode, is_query=False</text>
+ <line x1="470" y1="103" x2="510" y2="103" stroke="#999" stroke-width="1.2" marker-end="url(#arrow)"/>
+ <rect x="520" y="84" width="170" height="38" rx="8" fill="#F6F6F6" stroke="#CFCFCF"/>
+ <text x="605" y="107" text-anchor="middle" font-size="11" fill="#555">Chroma index</text>
+
+ <text x="30" y="164" font-size="10" font-weight="700" fill="#555">QUERY</text>
+ <rect x="30" y="174" width="170" height="38" rx="8" fill="#F6F6F6" stroke="#BDBDBD" stroke-width="1.2"/>
+ <text x="115" y="197" text-anchor="middle" font-size="11" font-weight="600" fill="#333">Product description</text>
+ <line x1="200" y1="193" x2="240" y2="193" stroke="#888" stroke-width="1.4" marker-end="url(#arrow)"/>
+ <rect x="250" y="164" width="220" height="58" rx="10" fill="#FE8019" stroke="#D96A0B" stroke-width="1.4"/>
+ <text x="360" y="189" text-anchor="middle" font-size="13" font-weight="700" fill="#fff">SIE — encode()</text>
+ <text x="360" y="207" text-anchor="middle" font-size="10" fill="rgba(255,255,255,0.88)">query mode, is_query=True</text>
+ <line x1="470" y1="193" x2="510" y2="193" stroke="#888" stroke-width="1.4" marker-end="url(#arrow)"/>
+ <rect x="520" y="164" width="140" height="58" rx="10" fill="#F6F6F6" stroke="#BDBDBD" stroke-width="1.2"/>
+ <text x="590" y="189" text-anchor="middle" font-size="12" font-weight="600" fill="#333">Chroma search</text>
+ <text x="590" y="207" text-anchor="middle" font-size="10" fill="#777">nearest category</text>
+ <line x1="660" y1="193" x2="700" y2="193" stroke="#888" stroke-width="1.4" marker-end="url(#arrow)"/>
+ <rect x="710" y="174" width="120" height="38" rx="8" fill="#F6F6F6" stroke="#BDBDBD" stroke-width="1.2"/>
+ <text x="770" y="197" text-anchor="middle" font-size="11" fill="#555">Top category</text>
+</svg>
diff --git a/examples/taxonomy-classification/assets/sample-images/01.jpg b/examples/taxonomy-classification/assets/sample-images/01.jpg
new file mode 100644
index 000000000..f86755bec
Binary files /dev/null and b/examples/taxonomy-classification/assets/sample-images/01.jpg differ
diff --git a/examples/taxonomy-classification/assets/sample-images/02.jpg b/examples/taxonomy-classification/assets/sample-images/02.jpg
new file mode 100644
index 000000000..dc0621e52
Binary files /dev/null and b/examples/taxonomy-classification/assets/sample-images/02.jpg differ
diff --git a/examples/taxonomy-classification/assets/sample-images/03.jpg b/examples/taxonomy-classification/assets/sample-images/03.jpg
new file mode 100644
index 000000000..32c8e7d99
Binary files /dev/null and b/examples/taxonomy-classification/assets/sample-images/03.jpg differ
diff --git a/examples/taxonomy-classification/assets/sample-images/04.jpg b/examples/taxonomy-classification/assets/sample-images/04.jpg
new file mode 100644
index 000000000..2b4154f27
Binary files /dev/null and b/examples/taxonomy-classification/assets/sample-images/04.jpg differ
diff --git a/examples/taxonomy-classification/assets/sample-images/05.jpg b/examples/taxonomy-classification/assets/sample-images/05.jpg
new file mode 100644
index 000000000..d5cb39611
Binary files /dev/null and b/examples/taxonomy-classification/assets/sample-images/05.jpg differ
diff --git a/examples/taxonomy-classification/pyproject.toml b/examples/taxonomy-classification/pyproject.toml
new file mode 100644
index 000000000..379cd393e
--- /dev/null
+++ b/examples/taxonomy-classification/pyproject.toml
@@ -0,0 +1,39 @@
+[project]
+name = "taxonomy_classification"
+version = "0.1.0"
+description = "Taxonomy classification example for SIE"
+readme = "README.md"
+requires-python = ">=3.12,<3.13"
+dependencies = [
+ "chromadb>=0.4",
+ "polars>=1.40.0",
+ "python-dotenv>=1.2.2",
+ "sie-sdk==0.2.0",
+ "tqdm>=4.67.3",
+]
+
+[project.scripts]
+clean-shopify-dataset = "taxonomy_classification.data.clean_shopify_dataset:main"
+download-shopify-dataset = "taxonomy_classification.data.download_shopify_dataset:main"
+download-shopify-taxonomy = "taxonomy_classification.data.download_shopify_taxonomy:main"
+trim-shopify-dataset-to-l3 = "taxonomy_classification.data.trim_shopify_dataset_to_l3:main"
+eval-nli = "taxonomy_classification.classifier.nli:eval_main"
+predict-nli = "taxonomy_classification.classifier.nli:predict_main"
+eval-text-retrieval = "taxonomy_classification.classifier.text_retrieval:eval_main"
+predict-text-retrieval = "taxonomy_classification.classifier.text_retrieval:predict_main"
+eval-image-retrieval = "taxonomy_classification.classifier.image_retrieval:eval_main"
+predict-image-retrieval = "taxonomy_classification.classifier.image_retrieval:predict_main"
+eval-reranking = "taxonomy_classification.classifier.reranking:eval_main"
+predict-reranking = "taxonomy_classification.classifier.reranking:predict_main"
+
+[dependency-groups]
+dev = [
+ "ruff>=0.11.0",
+]
+
+[build-system]
+requires = ["hatchling"]
+build-backend = "hatchling.build"
+
+[tool.ruff]
+target-version = "py312"
diff --git a/examples/taxonomy-classification/taxonomy_classification/__init__.py b/examples/taxonomy-classification/taxonomy_classification/__init__.py
new file mode 100644
index 000000000..54a7d0cf2
--- /dev/null
+++ b/examples/taxonomy-classification/taxonomy_classification/__init__.py
@@ -0,0 +1 @@
+"""Taxonomy classification example package."""
diff --git a/examples/taxonomy-classification/taxonomy_classification/chroma_index.py b/examples/taxonomy-classification/taxonomy_classification/chroma_index.py
new file mode 100644
index 000000000..1bdef8bee
--- /dev/null
+++ b/examples/taxonomy-classification/taxonomy_classification/chroma_index.py
@@ -0,0 +1,121 @@
+from __future__ import annotations
+
+from dataclasses import dataclass
+from pathlib import Path
+from typing import Literal, Sequence
+
+import chromadb
+from chromadb.api import ClientAPI
+from chromadb.api.models.Collection import Collection
+
+from taxonomy_classification.taxonomy import (
+ CategoryPath,
+ category_path_from_string,
+ full_path,
+ leaf_name,
+)
+
+DEFAULT_INDEX_DIR = Path("data/chroma")
+IndexVariant = Literal["leaf", "full-path"]
+
+
+@dataclass(frozen=True)
+class ChromaMatch:
+ category: CategoryPath
+ distance: float
+
+
+def persistent_client(index_dir: Path = DEFAULT_INDEX_DIR) -> ClientAPI:
+ return chromadb.PersistentClient(path=str(index_dir))
+
+
+def collection_name(model: str, variant: IndexVariant) -> str:
+ model_name = model.replace("/", "-").replace(":", "-").replace(" ", "-")
+ return f"taxonomy-classification-{variant}-{model_name}"
+
+
+def collection_text(category: CategoryPath, variant: IndexVariant) -> str:
+ if variant == "leaf":
+ return leaf_name(category)
+ return full_path(category)
+
+
+def has_collection(
+ model: str, variant: IndexVariant, index_dir: Path = DEFAULT_INDEX_DIR
+) -> bool:
+ name = collection_name(model, variant)
+ client = persistent_client(index_dir)
+ return name in {collection.name for collection in client.list_collections()}
+
+
+def get_collection(
+ model: str, variant: IndexVariant, index_dir: Path = DEFAULT_INDEX_DIR
+) -> Collection:
+ client = persistent_client(index_dir)
+ return client.get_collection(collection_name(model, variant))
+
+
+def build_index(
+ categories: Sequence[CategoryPath],
+ embeddings: Sequence[Sequence[float]],
+ model: str,
+ variant: IndexVariant,
+ index_dir: Path = DEFAULT_INDEX_DIR,
+ rebuild: bool = False,
+) -> Collection:
+ client = persistent_client(index_dir)
+ name = collection_name(model, variant)
+
+ if rebuild and name in {
+ collection.name for collection in client.list_collections()
+ }:
+ client.delete_collection(name)
+
+ collection = client.get_or_create_collection(
+ name=name,
+ metadata={"hnsw:space": "cosine"},
+ )
+ collection.upsert(
+ ids=[full_path(category) for category in categories],
+ documents=[collection_text(category, variant) for category in categories],
+ metadatas=[
+ {"path": full_path(category), "level": len(category)}
+ for category in categories
+ ],
+ embeddings=[list(embedding) for embedding in embeddings],
+ )
+ return collection
+
+
+def query_collection(
+ collection: Collection, query_embedding: Sequence[float], top_k: int
+) -> list[ChromaMatch]:
+ result = collection.query(
+ query_embeddings=[list(query_embedding)],
+ n_results=top_k,
+ include=["metadatas", "distances"],
+ )
+ matches: list[ChromaMatch] = []
+
+ for metadata, distance in zip(
+ result["metadatas"][0], result["distances"][0], strict=True
+ ):
+ matches.append(
+ ChromaMatch(
+ category=category_path_from_string(metadata["path"]),
+ distance=float(distance),
+ )
+ )
+
+ return matches
+
+
+def query_index(
+ model: str,
+ variant: IndexVariant,
+ query_embedding: Sequence[float],
+ top_k: int,
+ index_dir: Path = DEFAULT_INDEX_DIR,
+) -> list[ChromaMatch]:
+ collection = get_collection(model, variant, index_dir)
+ return query_collection(collection, query_embedding, top_k)
diff --git a/examples/taxonomy-classification/taxonomy_classification/classifier/__init__.py b/examples/taxonomy-classification/taxonomy_classification/classifier/__init__.py
new file mode 100644
index 000000000..a78d1ae1d
--- /dev/null
+++ b/examples/taxonomy-classification/taxonomy_classification/classifier/__init__.py
@@ -0,0 +1 @@
+"""Classifier implementations for the taxonomy classification example."""
diff --git a/examples/taxonomy-classification/taxonomy_classification/classifier/image_retrieval.py b/examples/taxonomy-classification/taxonomy_classification/classifier/image_retrieval.py
new file mode 100644
index 000000000..102929a88
--- /dev/null
+++ b/examples/taxonomy-classification/taxonomy_classification/classifier/image_retrieval.py
@@ -0,0 +1,273 @@
+from __future__ import annotations
+
+import argparse
+import json
+import time
+from pathlib import Path
+
+from sie_sdk import SIEClient
+
+from taxonomy_classification.chroma_index import (
+ DEFAULT_INDEX_DIR,
+ IndexVariant,
+ query_index,
+)
+from taxonomy_classification.classifier.latency import latency_summary
+from taxonomy_classification.classifier.models import (
+ EncodedItems,
+ LatencySummary,
+ PredictedCategories,
+ RetrievedMatches,
+)
+from tqdm import tqdm
+
+from taxonomy_classification.classifier.text_retrieval import ensure_index
+from taxonomy_classification.data.dataset import (
+ ProductImage,
+ ProductRecord,
+ load_dataset,
+)
+from taxonomy_classification.metrics import score_predictions
+from taxonomy_classification.sie_client import create_sie_client
+from taxonomy_classification.taxonomy import full_path
+
+DEFAULT_BATCH_SIZE = 16
+DEFAULT_PROVISION_TIMEOUT_S = 300.0
+DEFAULT_TOP_K = 5
+
+
+def parse_eval_args() -> argparse.Namespace:
+ parser = argparse.ArgumentParser(
+ description="Evaluate image retrieval on product images."
+ )
+ parser.add_argument("--model", required=True, help="SIE vision model name.")
+ parser.add_argument(
+ "--variant",
+ required=True,
+ choices=["leaf", "full-path"],
+ help="Category text form used in the index.",
+ )
+ parser.add_argument(
+ "--index-dir",
+ type=Path,
+ default=DEFAULT_INDEX_DIR,
+ help="Persistent Chroma index directory.",
+ )
+ parser.add_argument(
+ "--rebuild",
+ action="store_true",
+ help="Rebuild the persistent index.",
+ )
+ parser.add_argument(
+ "--limit",
+ type=int,
+ help="Optional number of examples to evaluate.",
+ )
+ parser.add_argument(
+ "--output",
+ type=Path,
+ required=True,
+ help="Output JSON path.",
+ )
+ return parser.parse_args()
+
+
+def parse_predict_args() -> argparse.Namespace:
+ parser = argparse.ArgumentParser(
+ description="Predict top taxonomy categories from an image."
+ )
+ parser.add_argument("--model", required=True, help="SIE vision model name.")
+ parser.add_argument(
+ "--variant",
+ required=True,
+ choices=["leaf", "full-path"],
+ help="Category text form used in the index.",
+ )
+ parser.add_argument(
+ "--index-dir",
+ type=Path,
+ default=DEFAULT_INDEX_DIR,
+ help="Persistent Chroma index directory.",
+ )
+ parser.add_argument("--image-path", type=Path, required=True, help="Image file.")
+ parser.add_argument(
+ "--top-k",
+ type=int,
+ default=DEFAULT_TOP_K,
+ help="Number of categories to print.",
+ )
+ return parser.parse_args()
+
+
+def image_format(path: str) -> str:
+ suffix = Path(path).suffix.lower().removeprefix(".")
+ if suffix == "jpg":
+ return "jpeg"
+ return suffix
+
+
+def load_image(path: Path) -> ProductImage:
+ return ProductImage(bytes=path.read_bytes(), path=str(path))
+
+
+def encode_images(
+ client: SIEClient,
+ model: str,
+ images: list[ProductImage],
+) -> EncodedItems:
+ embeddings: list[list[float]] = []
+ latencies_ms: list[float] = []
+
+ for start in tqdm(
+ range(0, len(images), DEFAULT_BATCH_SIZE),
+ total=(len(images) + DEFAULT_BATCH_SIZE - 1) // DEFAULT_BATCH_SIZE,
+ desc="Encoding images",
+ unit="batch",
+ ):
+ batch_images = images[start : start + DEFAULT_BATCH_SIZE]
+ start_time = time.perf_counter()
+ results = client.encode(
+ model,
+ [
+ {
+ "images": [
+ {
+ "data": image.bytes,
+ "format": image_format(image.path),
+ }
+ ]
+ }
+ for image in batch_images
+ ],
+ provision_timeout_s=DEFAULT_PROVISION_TIMEOUT_S,
+ )
+ latencies_ms.append((time.perf_counter() - start_time) * 1000)
+ for result in results:
+ embeddings.append(result["dense"].tolist())
+
+ return EncodedItems(embeddings=embeddings, latencies_ms=latencies_ms)
+
+
+def retrieve_matches(
+ client: SIEClient,
+ model: str,
+ variant: IndexVariant,
+ images: list[ProductImage],
+ top_k: int,
+ index_dir: Path,
+ rebuild: bool = False,
+) -> RetrievedMatches:
+ ensure_index(client, model, variant, index_dir, rebuild)
+ query_embeddings = encode_images(
+ client,
+ model,
+ images,
+ )
+ return RetrievedMatches(
+ matches=[
+ query_index(model, variant, embedding, top_k, index_dir=index_dir)
+ for embedding in query_embeddings.embeddings
+ ],
+ latencies_ms=query_embeddings.latencies_ms,
+ )
+
+
+def predict_categories(
+ client: SIEClient,
+ model: str,
+ variant: IndexVariant,
+ images: list[ProductImage],
+ top_k: int,
+ index_dir: Path,
+ rebuild: bool = False,
+) -> PredictedCategories:
+ matches = retrieve_matches(
+ client,
+ model,
+ variant,
+ images,
+ top_k,
+ index_dir,
+ rebuild=rebuild,
+ )
+ return PredictedCategories(
+ categories=[item_matches[0].category for item_matches in matches.matches],
+ latencies_ms=matches.latencies_ms,
+ )
+
+
+def evaluate_records(
+ client: SIEClient,
+ model: str,
+ variant: IndexVariant,
+ records: list[ProductRecord],
+ index_dir: Path,
+ rebuild: bool,
+) -> tuple[dict[str, object], LatencySummary]:
+ predictions = predict_categories(
+ client,
+ model,
+ variant,
+ [record.product_image for record in records],
+ 1,
+ index_dir,
+ rebuild=rebuild,
+ )
+ return score_predictions(
+ predictions.categories,
+ [record.ground_truth_category for record in records],
+ [record.potential_product_categories for record in records],
+ ), latency_summary(predictions.latencies_ms, batch_size=DEFAULT_BATCH_SIZE)
+
+
+def eval_main() -> None:
+ args = parse_eval_args()
+ records = load_dataset(limit=args.limit)
+
+ with create_sie_client(timeout_s=60) as client:
+ metrics, latency_ms = evaluate_records(
+ client,
+ args.model,
+ args.variant,
+ records,
+ args.index_dir,
+ args.rebuild,
+ )
+
+ summary = {
+ "model": args.model,
+ "variant": args.variant,
+ "index_dir": str(args.index_dir),
+ "rebuild": args.rebuild,
+ "limit": args.limit,
+ "count": len(records),
+ "strict": metrics["strict"],
+ "lenient": metrics["lenient"],
+ "latency_ms": latency_ms.as_dict(),
+ }
+
+ args.output.parent.mkdir(parents=True, exist_ok=True)
+ args.output.write_text(json.dumps(summary, indent=2) + "\n", encoding="utf-8")
+ print(json.dumps(summary, indent=2))
+
+
+def predict_main() -> None:
+ args = parse_predict_args()
+
+ with create_sie_client(timeout_s=60) as client:
+ matches = retrieve_matches(
+ client,
+ args.model,
+ args.variant,
+ [load_image(args.image_path)],
+ args.top_k,
+ args.index_dir,
+ )
+
+ for match in matches.matches[0]:
+ print(f"{full_path(match.category)}\t{match.distance}")
+ print(f"latency_ms\t{matches.latencies_ms[0]:.3f}")
+
+
+if __name__ == "__main__":
+ eval_main()
diff --git a/examples/taxonomy-classification/taxonomy_classification/classifier/latency.py b/examples/taxonomy-classification/taxonomy_classification/classifier/latency.py
new file mode 100644
index 000000000..fa49c5514
--- /dev/null
+++ b/examples/taxonomy-classification/taxonomy_classification/classifier/latency.py
@@ -0,0 +1,40 @@
+from __future__ import annotations
+
+import math
+
+from taxonomy_classification.classifier.models import LatencySummary
+
+
+def percentile(values: list[float], fraction: float) -> float:
+ if not values:
+ return 0.0
+
+ ordered_values = sorted(values)
+ if len(ordered_values) == 1:
+ return ordered_values[0]
+
+ position = (len(ordered_values) - 1) * fraction
+ lower_index = math.floor(position)
+ upper_index = math.ceil(position)
+
+ if lower_index == upper_index:
+ return ordered_values[lower_index]
+
+ lower_value = ordered_values[lower_index]
+ upper_value = ordered_values[upper_index]
+ return lower_value + (upper_value - lower_value) * (position - lower_index)
+
+
+def latency_summary(
+ latencies_ms: list[float],
+ *,
+ batch_size: int | None = None,
+ items_per_request: int | None = None,
+) -> LatencySummary:
+ return LatencySummary(
+ p50=percentile(latencies_ms, 0.5),
+ p95=percentile(latencies_ms, 0.95),
+ request_count=len(latencies_ms),
+ batch_size=batch_size,
+ items_per_request=items_per_request,
+ )
diff --git a/examples/taxonomy-classification/taxonomy_classification/classifier/models.py b/examples/taxonomy-classification/taxonomy_classification/classifier/models.py
new file mode 100644
index 000000000..1b8fd8e9b
--- /dev/null
+++ b/examples/taxonomy-classification/taxonomy_classification/classifier/models.py
@@ -0,0 +1,61 @@
+from __future__ import annotations
+
+from dataclasses import dataclass
+
+from taxonomy_classification.chroma_index import ChromaMatch
+from taxonomy_classification.taxonomy import CategoryPath
+
+
+@dataclass(frozen=True)
+class LatencySummary:
+ p50: float
+ p95: float
+ request_count: int
+ batch_size: int | None = None
+ items_per_request: int | None = None
+
+ def as_dict(self) -> dict[str, float | int]:
+ summary: dict[str, float | int] = {
+ "p50": self.p50,
+ "p95": self.p95,
+ "request_count": self.request_count,
+ }
+
+ if self.batch_size is not None:
+ summary["batch_size"] = self.batch_size
+
+ if self.items_per_request is not None:
+ summary["items_per_request"] = self.items_per_request
+
+ return summary
+
+
+@dataclass(frozen=True)
+class ClassifiedDescriptions:
+ rankings: list[list[tuple[str, float]]]
+ latencies_ms: list[float]
+
+
+@dataclass(frozen=True)
+class EncodedItems:
+ embeddings: list[list[float]]
+ latencies_ms: list[float]
+
+
+@dataclass(frozen=True)
+class RetrievedMatches:
+ matches: list[list[ChromaMatch]]
+ latencies_ms: list[float]
+
+
+@dataclass(frozen=True)
+class PredictedCategories:
+ categories: list[CategoryPath]
+ latencies_ms: list[float]
+
+
+@dataclass(frozen=True)
+class RerankedDescriptions:
+ rankings: list[list[tuple[CategoryPath, float]]]
+ retrieval_latencies_ms: list[float]
+ reranking_latencies_ms: list[float]
diff --git a/examples/taxonomy-classification/taxonomy_classification/classifier/nli.py b/examples/taxonomy-classification/taxonomy_classification/classifier/nli.py
new file mode 100644
index 000000000..a5af04e0c
--- /dev/null
+++ b/examples/taxonomy-classification/taxonomy_classification/classifier/nli.py
@@ -0,0 +1,186 @@
+from __future__ import annotations
+
+import argparse
+import json
+import time
+from pathlib import Path
+
+from sie_sdk import SIEClient
+
+from taxonomy_classification.classifier.latency import latency_summary
+from taxonomy_classification.classifier.models import (
+ ClassifiedDescriptions,
+ LatencySummary,
+ PredictedCategories,
+)
+from tqdm import tqdm
+
+from taxonomy_classification.data.dataset import ProductRecord, load_dataset
+from taxonomy_classification.metrics import score_predictions
+from taxonomy_classification.sie_client import create_sie_client
+from taxonomy_classification.taxonomy import CategoryPath, load_taxonomy
+
+DEFAULT_BATCH_SIZE = 16
+DEFAULT_PROVISION_TIMEOUT_S = 300.0
+DEFAULT_TOP_K = 5
+
+
+def parse_eval_args() -> argparse.Namespace:
+ parser = argparse.ArgumentParser(
+ description="Evaluate L1 zero-shot NLI classification on product descriptions."
+ )
+ parser.add_argument("--model", required=True, help="SIE NLI model name.")
+ parser.add_argument(
+ "--limit",
+ type=int,
+ help="Optional number of examples to evaluate.",
+ )
+ parser.add_argument(
+ "--output",
+ type=Path,
+ required=True,
+ help="Output JSON path.",
+ )
+ return parser.parse_args()
+
+
+def parse_predict_args() -> argparse.Namespace:
+ parser = argparse.ArgumentParser(
+ description="Predict top L1 labels from a product description."
+ )
+ parser.add_argument("--model", required=True, help="SIE NLI model name.")
+ parser.add_argument("--description", required=True, help="Product description.")
+ parser.add_argument(
+ "--top-k",
+ type=int,
+ default=DEFAULT_TOP_K,
+ help="Number of labels to print.",
+ )
+ return parser.parse_args()
+
+
+def l1_labels() -> list[str]:
+ return sorted({category[0] for category in load_taxonomy()})
+
+
+def l1_category(category: CategoryPath) -> CategoryPath:
+ return (category[0],)
+
+
+def classify_descriptions(
+ client: SIEClient,
+ model: str,
+ descriptions: list[str],
+ labels: list[str],
+) -> ClassifiedDescriptions:
+ rankings: list[list[tuple[str, float]]] = []
+ latencies_ms: list[float] = []
+
+ for start in tqdm(
+ range(0, len(descriptions), DEFAULT_BATCH_SIZE),
+ total=(len(descriptions) + DEFAULT_BATCH_SIZE - 1) // DEFAULT_BATCH_SIZE,
+ desc="Evaluating",
+ unit="batch",
+ ):
+ batch_descriptions = descriptions[start : start + DEFAULT_BATCH_SIZE]
+ start_time = time.perf_counter()
+ results = client.extract(
+ model,
+ [{"text": description} for description in batch_descriptions],
+ labels=labels,
+ provision_timeout_s=DEFAULT_PROVISION_TIMEOUT_S,
+ )
+ latencies_ms.append((time.perf_counter() - start_time) * 1000)
+ for result in results:
+ rankings.append(
+ [
+ (classification["label"], classification["score"])
+ for classification in result["classifications"]
+ ]
+ )
+
+ return ClassifiedDescriptions(rankings=rankings, latencies_ms=latencies_ms)
+
+
+def predict_l1_categories(
+ client: SIEClient,
+ model: str,
+ descriptions: list[str],
+ labels: list[str],
+) -> PredictedCategories:
+ classifications = classify_descriptions(
+ client,
+ model,
+ descriptions,
+ labels,
+ )
+ return PredictedCategories(
+ categories=[(ranking[0][0],) for ranking in classifications.rankings],
+ latencies_ms=classifications.latencies_ms,
+ )
+
+
+def evaluate_records(
+ client: SIEClient, model: str, records: list[ProductRecord]
+) -> tuple[dict[str, dict[str, float]], LatencySummary]:
+ labels = l1_labels()
+ predictions = predict_l1_categories(
+ client,
+ model,
+ [record.product_description for record in records],
+ labels,
+ )
+ scores = score_predictions(
+ predictions.categories,
+ [l1_category(record.ground_truth_category) for record in records],
+ [
+ [l1_category(category) for category in record.potential_product_categories]
+ for record in records
+ ],
+ )
+ return {
+ "strict": scores["strict"]["macro"]["l1"],
+ "lenient": scores["lenient"]["macro"]["l1"],
+ }, latency_summary(predictions.latencies_ms, batch_size=DEFAULT_BATCH_SIZE)
+
+
+def eval_main() -> None:
+ args = parse_eval_args()
+ records = load_dataset(limit=args.limit)
+
+ with create_sie_client(timeout_s=60) as client:
+ metrics, latency_ms = evaluate_records(client, args.model, records)
+
+ summary = {
+ "model": args.model,
+ "limit": args.limit,
+ "count": len(records),
+ "strict": metrics["strict"],
+ "lenient": metrics["lenient"],
+ "latency_ms": latency_ms.as_dict(),
+ }
+
+ args.output.parent.mkdir(parents=True, exist_ok=True)
+ args.output.write_text(json.dumps(summary, indent=2) + "\n", encoding="utf-8")
+ print(json.dumps(summary, indent=2))
+
+
+def predict_main() -> None:
+ args = parse_predict_args()
+ labels = l1_labels()
+
+ with create_sie_client(timeout_s=60) as client:
+ classifications = classify_descriptions(
+ client,
+ args.model,
+ [args.description],
+ labels,
+ )
+
+ for label, score in classifications.rankings[0][: args.top_k]:
+ print(f"{label}\t{score}")
+ print(f"latency_ms\t{classifications.latencies_ms[0]:.3f}")
+
+
+if __name__ == "__main__":
+ eval_main()
diff --git a/examples/taxonomy-classification/taxonomy_classification/classifier/reranking.py b/examples/taxonomy-classification/taxonomy_classification/classifier/reranking.py
new file mode 100644
index 000000000..4e44cf2ae
--- /dev/null
+++ b/examples/taxonomy-classification/taxonomy_classification/classifier/reranking.py
@@ -0,0 +1,278 @@
+from __future__ import annotations
+
+import argparse
+import json
+import time
+from pathlib import Path
+
+from sie_sdk import SIEClient
+
+from taxonomy_classification.chroma_index import (
+ DEFAULT_INDEX_DIR,
+ ChromaMatch,
+ IndexVariant,
+ collection_text,
+)
+from taxonomy_classification.classifier.latency import latency_summary
+from taxonomy_classification.classifier.models import (
+ LatencySummary,
+ RerankedDescriptions,
+)
+from tqdm import tqdm
+
+from taxonomy_classification.classifier.text_retrieval import (
+ DEFAULT_BATCH_SIZE as RETRIEVAL_BATCH_SIZE,
+ retrieve_matches,
+)
+from taxonomy_classification.data.dataset import ProductRecord, load_dataset
+from taxonomy_classification.metrics import score_predictions
+from taxonomy_classification.sie_client import create_sie_client
+from taxonomy_classification.taxonomy import CategoryPath, full_path
+
+DEFAULT_PROVISION_TIMEOUT_S = 300.0
+DEFAULT_TOP_K = 5
+
+
+def parse_eval_args() -> argparse.Namespace:
+ parser = argparse.ArgumentParser(
+ description="Evaluate retrieval + reranking on product descriptions."
+ )
+ parser.add_argument(
+ "--retrieval-model", required=True, help="SIE embedding model name."
+ )
+ parser.add_argument(
+ "--reranker-model", required=True, help="SIE reranker model name."
+ )
+ parser.add_argument(
+ "--variant",
+ required=True,
+ choices=["leaf", "full-path"],
+ help="Category text form used for retrieval and reranking.",
+ )
+ parser.add_argument(
+ "--index-dir",
+ type=Path,
+ default=DEFAULT_INDEX_DIR,
+ help="Persistent Chroma index directory.",
+ )
+ parser.add_argument(
+ "--rebuild",
+ action="store_true",
+ help="Rebuild the persistent retrieval index.",
+ )
+ parser.add_argument(
+ "--top-k",
+ type=int,
+ default=DEFAULT_TOP_K,
+ help="Number of retrieval candidates to rerank.",
+ )
+ parser.add_argument(
+ "--limit",
+ type=int,
+ help="Optional number of examples to evaluate.",
+ )
+ parser.add_argument(
+ "--output",
+ type=Path,
+ required=True,
+ help="Output JSON path.",
+ )
+ return parser.parse_args()
+
+
+def parse_predict_args() -> argparse.Namespace:
+ parser = argparse.ArgumentParser(
+ description="Predict top taxonomy categories with retrieval + reranking."
+ )
+ parser.add_argument(
+ "--retrieval-model", required=True, help="SIE embedding model name."
+ )
+ parser.add_argument(
+ "--reranker-model", required=True, help="SIE reranker model name."
+ )
+ parser.add_argument(
+ "--variant",
+ required=True,
+ choices=["leaf", "full-path"],
+ help="Category text form used for retrieval and reranking.",
+ )
+ parser.add_argument(
+ "--index-dir",
+ type=Path,
+ default=DEFAULT_INDEX_DIR,
+ help="Persistent Chroma index directory.",
+ )
+ parser.add_argument("--description", required=True, help="Product description.")
+ parser.add_argument(
+ "--top-k",
+ type=int,
+ default=DEFAULT_TOP_K,
+ help="Number of categories to print.",
+ )
+ return parser.parse_args()
+
+
+def rerank_matches(
+ client: SIEClient,
+ reranker_model: str,
+ variant: IndexVariant,
+ description: str,
+ matches: list[ChromaMatch],
+) -> tuple[list[tuple[CategoryPath, float]], float]:
+ start_time = time.perf_counter()
+ score_result = client.score(
+ reranker_model,
+ {"text": description},
+ [
+ {
+ "id": full_path(match.category),
+ "text": collection_text(match.category, variant),
+ }
+ for match in matches
+ ],
+ provision_timeout_s=DEFAULT_PROVISION_TIMEOUT_S,
+ )
+ latency_ms = (time.perf_counter() - start_time) * 1000
+ category_lookup = {full_path(match.category): match.category for match in matches}
+ return [
+ (category_lookup[score["item_id"]], score["score"])
+ for score in score_result["scores"]
+ ], latency_ms
+
+
+def rerank_descriptions(
+ client: SIEClient,
+ retrieval_model: str,
+ reranker_model: str,
+ variant: IndexVariant,
+ descriptions: list[str],
+ top_k: int,
+ index_dir: Path,
+ rebuild: bool = False,
+) -> RerankedDescriptions:
+ retrieved_matches = retrieve_matches(
+ client,
+ retrieval_model,
+ variant,
+ descriptions,
+ top_k,
+ index_dir,
+ rebuild=rebuild,
+ )
+ rankings: list[list[tuple[CategoryPath, float]]] = []
+ reranking_latencies_ms: list[float] = []
+
+ for description, matches in tqdm(
+ zip(descriptions, retrieved_matches.matches, strict=True),
+ total=len(descriptions),
+ desc="Reranking",
+ unit="item",
+ ):
+ ranking, latency_ms = rerank_matches(
+ client,
+ reranker_model,
+ variant,
+ description,
+ matches,
+ )
+ rankings.append(ranking)
+ reranking_latencies_ms.append(latency_ms)
+
+ return RerankedDescriptions(
+ rankings=rankings,
+ retrieval_latencies_ms=retrieved_matches.latencies_ms,
+ reranking_latencies_ms=reranking_latencies_ms,
+ )
+
+
+def evaluate_records(
+ client: SIEClient,
+ retrieval_model: str,
+ reranker_model: str,
+ variant: IndexVariant,
+ records: list[ProductRecord],
+ top_k: int,
+ index_dir: Path,
+ rebuild: bool,
+) -> tuple[dict[str, object], LatencySummary, LatencySummary]:
+ reranked = rerank_descriptions(
+ client,
+ retrieval_model,
+ reranker_model,
+ variant,
+ [record.product_description for record in records],
+ top_k,
+ index_dir,
+ rebuild=rebuild,
+ )
+ return (
+ score_predictions(
+ [ranking[0][0] for ranking in reranked.rankings],
+ [record.ground_truth_category for record in records],
+ [record.potential_product_categories for record in records],
+ ),
+ latency_summary(
+ reranked.retrieval_latencies_ms, batch_size=RETRIEVAL_BATCH_SIZE
+ ),
+ latency_summary(reranked.reranking_latencies_ms, items_per_request=top_k),
+ )
+
+
+def eval_main() -> None:
+ args = parse_eval_args()
+ records = load_dataset(limit=args.limit)
+
+ with create_sie_client(timeout_s=60) as client:
+ metrics, retrieval_latency_ms, reranking_latency_ms = evaluate_records(
+ client,
+ args.retrieval_model,
+ args.reranker_model,
+ args.variant,
+ records,
+ args.top_k,
+ args.index_dir,
+ args.rebuild,
+ )
+
+ summary = {
+ "retrieval_model": args.retrieval_model,
+ "reranker_model": args.reranker_model,
+ "variant": args.variant,
+ "index_dir": str(args.index_dir),
+ "rebuild": args.rebuild,
+ "top_k": args.top_k,
+ "limit": args.limit,
+ "count": len(records),
+ "strict": metrics["strict"],
+ "lenient": metrics["lenient"],
+ "retrieval_latency_ms": retrieval_latency_ms.as_dict(),
+ "reranking_latency_ms": reranking_latency_ms.as_dict(),
+ }
+
+ args.output.parent.mkdir(parents=True, exist_ok=True)
+ args.output.write_text(json.dumps(summary, indent=2) + "\n", encoding="utf-8")
+ print(json.dumps(summary, indent=2))
+
+
+def predict_main() -> None:
+ args = parse_predict_args()
+
+ with create_sie_client(timeout_s=60) as client:
+ reranked = rerank_descriptions(
+ client,
+ args.retrieval_model,
+ args.reranker_model,
+ args.variant,
+ [args.description],
+ args.top_k,
+ args.index_dir,
+ )
+
+ for category, score in reranked.rankings[0]:
+ print(f"{full_path(category)}\t{score}")
+ print(f"retrieval_latency_ms\t{reranked.retrieval_latencies_ms[0]:.3f}")
+ print(f"reranking_latency_ms\t{reranked.reranking_latencies_ms[0]:.3f}")
+
+
+if __name__ == "__main__":
+ eval_main()
diff --git a/examples/taxonomy-classification/taxonomy_classification/classifier/text_retrieval.py b/examples/taxonomy-classification/taxonomy_classification/classifier/text_retrieval.py
new file mode 100644
index 000000000..bc289958c
--- /dev/null
+++ b/examples/taxonomy-classification/taxonomy_classification/classifier/text_retrieval.py
@@ -0,0 +1,284 @@
+from __future__ import annotations
+
+import argparse
+import json
+import time
+from pathlib import Path
+
+from sie_sdk import SIEClient
+
+from taxonomy_classification.chroma_index import (
+ DEFAULT_INDEX_DIR,
+ IndexVariant,
+ build_index,
+ collection_text,
+ has_collection,
+ query_index,
+)
+from taxonomy_classification.classifier.latency import latency_summary
+from taxonomy_classification.classifier.models import (
+ EncodedItems,
+ LatencySummary,
+ PredictedCategories,
+ RetrievedMatches,
+)
+from tqdm import tqdm
+
+from taxonomy_classification.data.dataset import ProductRecord, load_dataset
+from taxonomy_classification.metrics import score_predictions
+from taxonomy_classification.sie_client import create_sie_client
+from taxonomy_classification.taxonomy import full_path, load_taxonomy
+
+DEFAULT_BATCH_SIZE = 8
+DEFAULT_PROVISION_TIMEOUT_S = 300.0
+DEFAULT_TOP_K = 5
+
+
+def parse_eval_args() -> argparse.Namespace:
+ parser = argparse.ArgumentParser(
+ description="Evaluate text embedding retrieval on product descriptions."
+ )
+ parser.add_argument("--model", required=True, help="SIE embedding model name.")
+ parser.add_argument(
+ "--variant",
+ required=True,
+ choices=["leaf", "full-path"],
+ help="Category text form used in the index.",
+ )
+ parser.add_argument(
+ "--index-dir",
+ type=Path,
+ default=DEFAULT_INDEX_DIR,
+ help="Persistent Chroma index directory.",
+ )
+ parser.add_argument(
+ "--rebuild",
+ action="store_true",
+ help="Rebuild the persistent index.",
+ )
+ parser.add_argument(
+ "--limit",
+ type=int,
+ help="Optional number of examples to evaluate.",
+ )
+ parser.add_argument(
+ "--output",
+ type=Path,
+ required=True,
+ help="Output JSON path.",
+ )
+ return parser.parse_args()
+
+
+def parse_predict_args() -> argparse.Namespace:
+ parser = argparse.ArgumentParser(
+ description="Predict top taxonomy categories from a product description."
+ )
+ parser.add_argument("--model", required=True, help="SIE embedding model name.")
+ parser.add_argument(
+ "--variant",
+ required=True,
+ choices=["leaf", "full-path"],
+ help="Category text form used in the index.",
+ )
+ parser.add_argument(
+ "--index-dir",
+ type=Path,
+ default=DEFAULT_INDEX_DIR,
+ help="Persistent Chroma index directory.",
+ )
+ parser.add_argument("--description", required=True, help="Product description.")
+ parser.add_argument(
+ "--top-k",
+ type=int,
+ default=DEFAULT_TOP_K,
+ help="Number of categories to print.",
+ )
+ return parser.parse_args()
+
+
+def encode_texts(
+ client: SIEClient,
+ model: str,
+ texts: list[str],
+ is_query: bool,
+ progress_desc: str = "Encoding",
+) -> EncodedItems:
+ embeddings: list[list[float]] = []
+ latencies_ms: list[float] = []
+
+ for start in tqdm(
+ range(0, len(texts), DEFAULT_BATCH_SIZE),
+ total=(len(texts) + DEFAULT_BATCH_SIZE - 1) // DEFAULT_BATCH_SIZE,
+ desc=progress_desc,
+ unit="batch",
+ ):
+ batch_texts = texts[start : start + DEFAULT_BATCH_SIZE]
+ start_time = time.perf_counter()
+ results = client.encode(
+ model,
+ [{"text": text} for text in batch_texts],
+ is_query=is_query,
+ provision_timeout_s=DEFAULT_PROVISION_TIMEOUT_S,
+ )
+ latencies_ms.append((time.perf_counter() - start_time) * 1000)
+ for result in results:
+ embeddings.append(result["dense"].tolist())
+
+ return EncodedItems(embeddings=embeddings, latencies_ms=latencies_ms)
+
+
+def ensure_index(
+ client: SIEClient,
+ model: str,
+ variant: IndexVariant,
+ index_dir: Path,
+ rebuild: bool,
+) -> None:
+ if has_collection(model, variant, index_dir) and not rebuild:
+ return
+
+ categories = load_taxonomy()
+ category_texts = [collection_text(category, variant) for category in categories]
+ category_embeddings = encode_texts(
+ client,
+ model,
+ category_texts,
+ False,
+ progress_desc="Encoding categories",
+ )
+ build_index(
+ categories,
+ category_embeddings.embeddings,
+ model,
+ variant,
+ index_dir=index_dir,
+ rebuild=rebuild,
+ )
+
+
+def retrieve_matches(
+ client: SIEClient,
+ model: str,
+ variant: IndexVariant,
+ descriptions: list[str],
+ top_k: int,
+ index_dir: Path,
+ rebuild: bool = False,
+) -> RetrievedMatches:
+ ensure_index(client, model, variant, index_dir, rebuild)
+ query_embeddings = encode_texts(
+ client,
+ model,
+ descriptions,
+ True,
+ progress_desc="Encoding queries",
+ )
+ return RetrievedMatches(
+ matches=[
+ query_index(model, variant, embedding, top_k, index_dir=index_dir)
+ for embedding in query_embeddings.embeddings
+ ],
+ latencies_ms=query_embeddings.latencies_ms,
+ )
+
+
+def predict_categories(
+ client: SIEClient,
+ model: str,
+ variant: IndexVariant,
+ descriptions: list[str],
+ top_k: int,
+ index_dir: Path,
+ rebuild: bool = False,
+) -> PredictedCategories:
+ matches = retrieve_matches(
+ client,
+ model,
+ variant,
+ descriptions,
+ top_k,
+ index_dir,
+ rebuild=rebuild,
+ )
+ return PredictedCategories(
+ categories=[item_matches[0].category for item_matches in matches.matches],
+ latencies_ms=matches.latencies_ms,
+ )
+
+
+def evaluate_records(
+ client: SIEClient,
+ model: str,
+ variant: IndexVariant,
+ records: list[ProductRecord],
+ index_dir: Path,
+ rebuild: bool,
+) -> tuple[dict[str, object], LatencySummary]:
+ predictions = predict_categories(
+ client,
+ model,
+ variant,
+ [record.product_description for record in records],
+ 1,
+ index_dir,
+ rebuild=rebuild,
+ )
+ return score_predictions(
+ predictions.categories,
+ [record.ground_truth_category for record in records],
+ [record.potential_product_categories for record in records],
+ ), latency_summary(predictions.latencies_ms, batch_size=DEFAULT_BATCH_SIZE)
+
+
+def eval_main() -> None:
+ args = parse_eval_args()
+ records = load_dataset(limit=args.limit)
+
+ with create_sie_client(timeout_s=60) as client:
+ metrics, latency_ms = evaluate_records(
+ client,
+ args.model,
+ args.variant,
+ records,
+ args.index_dir,
+ args.rebuild,
+ )
+
+ summary = {
+ "model": args.model,
+ "variant": args.variant,
+ "index_dir": str(args.index_dir),
+ "rebuild": args.rebuild,
+ "limit": args.limit,
+ "count": len(records),
+ "strict": metrics["strict"],
+ "lenient": metrics["lenient"],
+ "latency_ms": latency_ms.as_dict(),
+ }
+
+ args.output.parent.mkdir(parents=True, exist_ok=True)
+ args.output.write_text(json.dumps(summary, indent=2) + "\n", encoding="utf-8")
+ print(json.dumps(summary, indent=2))
+
+
+def predict_main() -> None:
+ args = parse_predict_args()
+
+ with create_sie_client(timeout_s=60) as client:
+ matches = retrieve_matches(
+ client,
+ args.model,
+ args.variant,
+ [args.description],
+ args.top_k,
+ args.index_dir,
+ )
+
+ for match in matches.matches[0]:
+ print(f"{full_path(match.category)}\t{match.distance}")
+ print(f"latency_ms\t{matches.latencies_ms[0]:.3f}")
+
+
+if __name__ == "__main__":
+ eval_main()
diff --git a/examples/taxonomy-classification/taxonomy_classification/data/__init__.py b/examples/taxonomy-classification/taxonomy_classification/data/__init__.py
new file mode 100644
index 000000000..22cfbba3a
--- /dev/null
+++ b/examples/taxonomy-classification/taxonomy_classification/data/__init__.py
@@ -0,0 +1 @@
+"""Data preparation utilities for the taxonomy classification example."""
diff --git a/examples/taxonomy-classification/taxonomy_classification/data/clean_shopify_dataset.py b/examples/taxonomy-classification/taxonomy_classification/data/clean_shopify_dataset.py
new file mode 100644
index 000000000..111034253
--- /dev/null
+++ b/examples/taxonomy-classification/taxonomy_classification/data/clean_shopify_dataset.py
@@ -0,0 +1,139 @@
+from __future__ import annotations
+
+import argparse
+import json
+from pathlib import Path
+
+import polars as pl
+
+REQUIRED_COLUMNS = [
+ "product_description",
+ "product_title",
+ "ground_truth_category",
+ "potential_product_categories",
+ "product_image",
+]
+DEFAULT_INPUT = Path("data/train-00000-of-00015.parquet")
+DEFAULT_TAXONOMY_FILE = Path("data/shopify-taxonomy-categories.txt")
+DEFAULT_OUTPUT = Path("data/shopify-products-clean-full-depth.parquet")
+
+
+def parse_args() -> argparse.Namespace:
+ parser = argparse.ArgumentParser(
+ description=(
+ "Clean the Shopify product catalogue shard with Polars, drop rows "
+ "missing required fields, and keep only rows whose categories are "
+ "present in the Shopify taxonomy."
+ )
+ )
+ parser.add_argument(
+ "--input",
+ type=Path,
+ default=DEFAULT_INPUT,
+ help="Input Shopify shard parquet path.",
+ )
+ parser.add_argument(
+ "--taxonomy-file",
+ type=Path,
+ default=DEFAULT_TAXONOMY_FILE,
+ help="Path to Shopify taxonomy categories.txt.",
+ )
+ parser.add_argument(
+ "--output",
+ type=Path,
+ default=DEFAULT_OUTPUT,
+ help="Output parquet path for the cleaned, full-depth dataset.",
+ )
+ return parser.parse_args()
+
+
+def load_valid_categories(path: Path) -> set[str]:
+ valid_categories: set[str] = set()
+ for raw_line in path.read_text(encoding="utf-8").splitlines():
+ line = raw_line.strip()
+ if not line or line.startswith("#"):
+ continue
+ _, category_path = line.split(" : ", maxsplit=1)
+ valid_categories.add(category_path.strip())
+ return valid_categories
+
+
+def normalize_columns(frame: pl.DataFrame) -> pl.DataFrame:
+ return frame.with_columns(
+ product_title=pl.col("product_title").str.strip_chars(),
+ product_description=pl.col("product_description").str.strip_chars(),
+ ground_truth_category=pl.col("ground_truth_category").str.strip_chars(),
+ potential_product_categories=pl.col("potential_product_categories").list.eval(
+ pl.element().str.strip_chars()
+ ),
+ product_image=pl.struct(
+ pl.col("product_image").struct.field("bytes").alias("bytes"),
+ pl.col("product_image")
+ .struct.field("path")
+ .str.strip_chars()
+ .alias("path"),
+ ),
+ )
+
+
+def required_row_mask() -> pl.Expr:
+ return (
+ pl.col("product_title").is_not_null()
+ & (pl.col("product_title") != "")
+ & pl.col("product_description").is_not_null()
+ & (pl.col("product_description") != "")
+ & pl.col("ground_truth_category").is_not_null()
+ & (pl.col("ground_truth_category") != "")
+ & pl.col("potential_product_categories").is_not_null()
+ & (pl.col("potential_product_categories").list.len() > 0).fill_null(False)
+ & ~pl.col("potential_product_categories")
+ .list.eval(pl.element().is_null())
+ .list.any()
+ .fill_null(False)
+ & ~pl.col("potential_product_categories")
+ .list.eval(pl.element() == "")
+ .list.any()
+ .fill_null(False)
+ & pl.col("product_image").is_not_null()
+ & pl.col("product_image").struct.field("bytes").is_not_null()
+ & (pl.col("product_image").struct.field("bytes").bin.size() > 0).fill_null(
+ False
+ )
+ & pl.col("product_image").struct.field("path").is_not_null()
+ & (pl.col("product_image").struct.field("path") != "").fill_null(False)
+ )
+
+
+def valid_taxonomy_row_mask(valid_categories: set[str]) -> pl.Expr:
+ return pl.col("ground_truth_category").is_in(valid_categories) & pl.col(
+ "potential_product_categories"
+ ).list.eval(pl.element().is_in(valid_categories)).list.all().fill_null(False)
+
+
+def main() -> None:
+ args = parse_args()
+ valid_categories = load_valid_categories(args.taxonomy_file)
+ normalized = normalize_columns(pl.read_parquet(args.input)).select(REQUIRED_COLUMNS)
+ required_rows = normalized.filter(required_row_mask())
+ cleaned = required_rows.filter(valid_taxonomy_row_mask(valid_categories))
+
+ args.output.parent.mkdir(parents=True, exist_ok=True)
+ cleaned.write_parquet(args.output)
+
+ print(
+ json.dumps(
+ {
+ "input_path": str(args.input),
+ "taxonomy_file": str(args.taxonomy_file),
+ "output_path": str(args.output),
+ "input_rows": normalized.height,
+ "rows_after_required_filter": required_rows.height,
+ "output_rows": cleaned.height,
+ },
+ indent=2,
+ )
+ )
+
+
+if __name__ == "__main__":
+ main()
diff --git a/examples/taxonomy-classification/taxonomy_classification/data/dataset.py b/examples/taxonomy-classification/taxonomy_classification/data/dataset.py
new file mode 100644
index 000000000..856eccd46
--- /dev/null
+++ b/examples/taxonomy-classification/taxonomy_classification/data/dataset.py
@@ -0,0 +1,65 @@
+from __future__ import annotations
+
+from dataclasses import dataclass
+from pathlib import Path
+from typing import cast
+
+import polars as pl
+
+from taxonomy_classification.taxonomy import CategoryPath, category_path
+
+REQUIRED_COLUMNS = [
+ "product_description",
+ "product_title",
+ "ground_truth_category",
+ "potential_product_categories",
+ "product_image",
+]
+
+DEFAULT_DATASET_PATH = Path("data/shopify-products-experiment-l3.parquet")
+
+
+@dataclass(frozen=True)
+class ProductImage:
+ bytes: bytes
+ path: str
+
+
+@dataclass(frozen=True)
+class ProductRecord:
+ product_description: str
+ product_title: str
+ ground_truth_category: CategoryPath
+ potential_product_categories: list[CategoryPath]
+ product_image: ProductImage
+
+
+def load_dataset(
+ path: Path = DEFAULT_DATASET_PATH, limit: int | None = None
+) -> list[ProductRecord]:
+ frame = pl.read_parquet(path, columns=REQUIRED_COLUMNS, n_rows=limit)
+ records: list[ProductRecord] = []
+
+ for row in frame.iter_rows(named=True):
+ image = cast(dict[str, object], row["product_image"])
+ records.append(
+ ProductRecord(
+ product_description=cast(str, row["product_description"]),
+ product_title=cast(str, row["product_title"]),
+ ground_truth_category=category_path(
+ cast(list[str], row["ground_truth_category"])
+ ),
+ potential_product_categories=[
+ category_path(category)
+ for category in cast(
+ list[list[str]], row["potential_product_categories"]
+ )
+ ],
+ product_image=ProductImage(
+ bytes=cast(bytes, image["bytes"]),
+ path=cast(str, image["path"]),
+ ),
+ )
+ )
+
+ return records
diff --git a/examples/taxonomy-classification/taxonomy_classification/data/download_shopify_dataset.py b/examples/taxonomy-classification/taxonomy_classification/data/download_shopify_dataset.py
new file mode 100644
index 000000000..2988e9fc1
--- /dev/null
+++ b/examples/taxonomy-classification/taxonomy_classification/data/download_shopify_dataset.py
@@ -0,0 +1,91 @@
+from __future__ import annotations
+
+import argparse
+import json
+import shutil
+from pathlib import Path
+from tempfile import NamedTemporaryFile
+from urllib.request import urlopen
+
+DATASET_URL = (
+ "https://huggingface.co/datasets/Shopify/product-catalogue/resolve/"
+ "main/data/train-00000-of-00015.parquet"
+)
+DEFAULT_OUTPUT = Path("data/train-00000-of-00015.parquet")
+
+
+def parse_args() -> argparse.Namespace:
+ parser = argparse.ArgumentParser(
+ description="Download the fixed Shopify dataset shard used by this example."
+ )
+ parser.add_argument(
+ "--output",
+ type=Path,
+ default=DEFAULT_OUTPUT,
+ help="Output parquet path.",
+ )
+ parser.add_argument(
+ "--refresh",
+ action="store_true",
+ help="Re-download even when the output file already exists.",
+ )
+ return parser.parse_args()
+
+
+def download_file(output: Path) -> int:
+ temporary_path: Path | None = None
+
+ try:
+ with urlopen(DATASET_URL) as response:
+ with NamedTemporaryFile(
+ dir=output.parent,
+ prefix=f"{output.name}.",
+ suffix=".tmp",
+ delete=False,
+ ) as temporary_file:
+ temporary_path = Path(temporary_file.name)
+ shutil.copyfileobj(response, temporary_file)
+ temporary_path.replace(output)
+ except Exception:
+ if temporary_path is not None:
+ temporary_path.unlink(missing_ok=True)
+ raise
+
+ return output.stat().st_size
+
+
+def main() -> None:
+ args = parse_args()
+ output = args.output
+ output.parent.mkdir(parents=True, exist_ok=True)
+
+ if output.exists() and not args.refresh:
+ print(
+ json.dumps(
+ {
+ "status": "skipped_existing",
+ "source_url": DATASET_URL,
+ "output_path": str(output),
+ "file_size_bytes": output.stat().st_size,
+ },
+ indent=2,
+ )
+ )
+ return
+
+ downloaded_bytes = download_file(output)
+ print(
+ json.dumps(
+ {
+ "status": "downloaded",
+ "source_url": DATASET_URL,
+ "output_path": str(output),
+ "file_size_bytes": downloaded_bytes,
+ },
+ indent=2,
+ )
+ )
+
+
+if __name__ == "__main__":
+ main()
diff --git a/examples/taxonomy-classification/taxonomy_classification/data/download_shopify_taxonomy.py b/examples/taxonomy-classification/taxonomy_classification/data/download_shopify_taxonomy.py
new file mode 100644
index 000000000..cf2818813
--- /dev/null
+++ b/examples/taxonomy-classification/taxonomy_classification/data/download_shopify_taxonomy.py
@@ -0,0 +1,78 @@
+from __future__ import annotations
+
+import argparse
+import json
+from pathlib import Path
+from urllib.request import urlopen
+
+TAXONOMY_CATEGORIES_URL = (
+ "https://raw.githubusercontent.com/Shopify/product-taxonomy/"
+ "main/dist/en/categories.txt"
+)
+DEFAULT_OUTPUT = Path("data/shopify-taxonomy-categories.txt")
+
+
+def parse_args() -> argparse.Namespace:
+ parser = argparse.ArgumentParser(
+ description=(
+ "Download the Shopify taxonomy categories list used by this example."
+ )
+ )
+ parser.add_argument(
+ "--output",
+ type=Path,
+ default=DEFAULT_OUTPUT,
+ help="Output categories.txt path.",
+ )
+ parser.add_argument(
+ "--refresh",
+ action="store_true",
+ help="Re-download even when the output file already exists.",
+ )
+ return parser.parse_args()
+
+
+def download_file(output: Path) -> int:
+ with urlopen(TAXONOMY_CATEGORIES_URL) as response:
+ content = response.read()
+
+ output.write_bytes(content)
+ return len(content)
+
+
+def main() -> None:
+ args = parse_args()
+ output = args.output
+
+ output.parent.mkdir(parents=True, exist_ok=True)
+
+ if output.exists() and not args.refresh:
+ print(
+ json.dumps(
+ {
+ "status": "skipped_existing",
+ "source_url": TAXONOMY_CATEGORIES_URL,
+ "output_path": str(output),
+ "file_size_bytes": output.stat().st_size,
+ },
+ indent=2,
+ )
+ )
+ return
+
+ downloaded_bytes = download_file(output)
+ print(
+ json.dumps(
+ {
+ "status": "downloaded",
+ "source_url": TAXONOMY_CATEGORIES_URL,
+ "output_path": str(output),
+ "file_size_bytes": downloaded_bytes,
+ },
+ indent=2,
+ )
+ )
+
+
+if __name__ == "__main__":
+ main()
diff --git a/examples/taxonomy-classification/taxonomy_classification/data/trim_shopify_dataset_to_l3.py b/examples/taxonomy-classification/taxonomy_classification/data/trim_shopify_dataset_to_l3.py
new file mode 100644
index 000000000..13fdfc4a2
--- /dev/null
+++ b/examples/taxonomy-classification/taxonomy_classification/data/trim_shopify_dataset_to_l3.py
@@ -0,0 +1,151 @@
+from __future__ import annotations
+
+import argparse
+import json
+from pathlib import Path
+
+import polars as pl
+
+from taxonomy_classification.data.clean_shopify_dataset import (
+ REQUIRED_COLUMNS,
+ load_valid_categories,
+)
+
+CATEGORY_SEPARATOR = " > "
+MAX_LEVELS = 3
+DEFAULT_INPUT = Path("data/shopify-products-clean-full-depth.parquet")
+DEFAULT_TAXONOMY_FILE = Path("data/shopify-taxonomy-categories.txt")
+DEFAULT_TAXONOMY_OUTPUT = Path("data/shopify-taxonomy-l3.parquet")
+DEFAULT_OUTPUT = Path("data/shopify-products-experiment-l3.parquet")
+
+
+def parse_args() -> argparse.Namespace:
+ parser = argparse.ArgumentParser(
+ description=(
+ "Trim the cleaned Shopify dataset and taxonomy to L3 and store "
+ "categories as node lists."
+ )
+ )
+ parser.add_argument(
+ "--input",
+ type=Path,
+ default=DEFAULT_INPUT,
+ help="Input cleaned full-depth parquet path.",
+ )
+ parser.add_argument(
+ "--taxonomy-file",
+ type=Path,
+ default=DEFAULT_TAXONOMY_FILE,
+ help="Path to Shopify taxonomy categories.txt.",
+ )
+ parser.add_argument(
+ "--taxonomy-output",
+ type=Path,
+ default=DEFAULT_TAXONOMY_OUTPUT,
+ help="Output parquet path for the trimmed L3 taxonomy.",
+ )
+ parser.add_argument(
+ "--output",
+ type=Path,
+ default=DEFAULT_OUTPUT,
+ help="Output parquet path for the final experiment dataset.",
+ )
+ return parser.parse_args()
+
+
+def trimmed_category_key(path: str) -> tuple[str, ...]:
+ return tuple(part.strip() for part in path.split(CATEGORY_SEPARATOR)[:MAX_LEVELS])
+
+
+def trim_potential_categories(categories: list[str]) -> list[list[str]]:
+ trimmed_categories: list[list[str]] = []
+ seen: set[tuple[str, ...]] = set()
+
+ for category in categories:
+ trimmed = trimmed_category_key(category)
+ if trimmed in seen:
+ continue
+ seen.add(trimmed)
+ trimmed_categories.append(list(trimmed))
+
+ return trimmed_categories
+
+
+def build_trimmed_taxonomy(
+ valid_categories: set[str],
+) -> tuple[pl.DataFrame, set[tuple[str, ...]]]:
+ trimmed_categories = sorted(
+ {trimmed_category_key(category) for category in valid_categories}
+ )
+ return (
+ pl.DataFrame({"category": [list(category) for category in trimmed_categories]}),
+ set(trimmed_categories),
+ )
+
+
+def main() -> None:
+ args = parse_args()
+ full_depth = pl.read_parquet(args.input).select(REQUIRED_COLUMNS)
+ trimmed_taxonomy, valid_trimmed_categories = build_trimmed_taxonomy(
+ load_valid_categories(args.taxonomy_file)
+ )
+
+ trimmed = full_depth.with_columns(
+ ground_truth_category=pl.col("ground_truth_category").map_elements(
+ lambda category: list(trimmed_category_key(category)),
+ return_dtype=pl.List(pl.String),
+ ),
+ potential_product_categories=pl.col(
+ "potential_product_categories"
+ ).map_elements(
+ trim_potential_categories,
+ return_dtype=pl.List(pl.List(pl.String)),
+ ),
+ )
+
+ invalid_ground_truth_rows = trimmed.filter(
+ ~pl.col("ground_truth_category").map_elements(
+ lambda category: tuple(category) in valid_trimmed_categories,
+ return_dtype=pl.Boolean,
+ )
+ ).height
+ invalid_potential_rows = trimmed.filter(
+ pl.col("potential_product_categories").map_elements(
+ lambda categories: any(
+ tuple(category) not in valid_trimmed_categories
+ for category in categories
+ ),
+ return_dtype=pl.Boolean,
+ )
+ ).height
+
+ if invalid_ground_truth_rows or invalid_potential_rows:
+ raise RuntimeError(
+ "Trimmed dataset contains categories missing from the trimmed "
+ f"taxonomy: invalid_ground_truth_rows={invalid_ground_truth_rows}, "
+ f"invalid_potential_rows={invalid_potential_rows}"
+ )
+
+ args.taxonomy_output.parent.mkdir(parents=True, exist_ok=True)
+ args.output.parent.mkdir(parents=True, exist_ok=True)
+ trimmed_taxonomy.write_parquet(args.taxonomy_output)
+ trimmed.select(REQUIRED_COLUMNS).write_parquet(args.output)
+
+ print(
+ json.dumps(
+ {
+ "input_path": str(args.input),
+ "taxonomy_file": str(args.taxonomy_file),
+ "taxonomy_output_path": str(args.taxonomy_output),
+ "output_path": str(args.output),
+ "input_rows": full_depth.height,
+ "output_rows": trimmed.height,
+ "taxonomy_rows": trimmed_taxonomy.height,
+ },
+ indent=2,
+ )
+ )
+
+
+if __name__ == "__main__":
+ main()
diff --git a/examples/taxonomy-classification/taxonomy_classification/metrics.py b/examples/taxonomy-classification/taxonomy_classification/metrics.py
new file mode 100644
index 000000000..4817c760d
--- /dev/null
+++ b/examples/taxonomy-classification/taxonomy_classification/metrics.py
@@ -0,0 +1,185 @@
+from __future__ import annotations
+
+from typing import Sequence
+
+from taxonomy_classification.taxonomy import CategoryPath, ancestor_set
+
+
+def category_prefix(category: CategoryPath, level: int) -> CategoryPath | None:
+ if len(category) < level:
+ return None
+ return category[:level]
+
+
+def hierarchical_precision(
+ predictions: Sequence[CategoryPath], references: Sequence[CategoryPath]
+) -> float:
+ overlap_count = 0
+ predicted_count = 0
+
+ for prediction, reference in zip(predictions, references, strict=True):
+ predicted_ancestors = ancestor_set(prediction)
+ reference_ancestors = ancestor_set(reference)
+ overlap_count += len(predicted_ancestors & reference_ancestors)
+ predicted_count += len(predicted_ancestors)
+
+ if predicted_count == 0:
+ return 0.0
+
+ return overlap_count / predicted_count
+
+
+def hierarchical_recall(
+ predictions: Sequence[CategoryPath], references: Sequence[CategoryPath]
+) -> float:
+ overlap_count = 0
+ reference_count = 0
+
+ for prediction, reference in zip(predictions, references, strict=True):
+ predicted_ancestors = ancestor_set(prediction)
+ reference_ancestors = ancestor_set(reference)
+ overlap_count += len(predicted_ancestors & reference_ancestors)
+ reference_count += len(reference_ancestors)
+
+ if reference_count == 0:
+ return 0.0
+
+ return overlap_count / reference_count
+
+
+def f1_score(precision: float, recall: float) -> float:
+ if precision + recall == 0:
+ return 0.0
+ return 2 * precision * recall / (precision + recall)
+
+
+def hierarchical_metrics(
+ predictions: Sequence[CategoryPath], references: Sequence[CategoryPath]
+) -> dict[str, float]:
+ precision = hierarchical_precision(predictions, references)
+ recall = hierarchical_recall(predictions, references)
+ return {
+ "precision": precision,
+ "recall": recall,
+ "f1": f1_score(precision, recall),
+ }
+
+
+def macro_metrics(
+ predictions: Sequence[CategoryPath | None],
+ references: Sequence[CategoryPath | None],
+) -> dict[str, float]:
+ labels = sorted(
+ {label for label in predictions if label is not None}
+ | {label for label in references if label is not None}
+ )
+
+ if not labels:
+ return {"precision": 0.0, "recall": 0.0, "f1": 0.0}
+
+ precision_sum = 0.0
+ recall_sum = 0.0
+ f1_sum = 0.0
+
+ for label in labels:
+ true_positives = 0
+ false_positives = 0
+ false_negatives = 0
+
+ for prediction, reference in zip(predictions, references, strict=True):
+ if prediction == label and reference == label:
+ true_positives += 1
+ elif prediction == label and reference != label:
+ false_positives += 1
+ elif prediction != label and reference == label:
+ false_negatives += 1
+
+ if true_positives + false_positives == 0:
+ precision = 0.0
+ else:
+ precision = true_positives / (true_positives + false_positives)
+
+ if true_positives + false_negatives == 0:
+ recall = 0.0
+ else:
+ recall = true_positives / (true_positives + false_negatives)
+
+ precision_sum += precision
+ recall_sum += recall
+ f1_sum += f1_score(precision, recall)
+
+ label_count = len(labels)
+ return {
+ "precision": precision_sum / label_count,
+ "recall": recall_sum / label_count,
+ "f1": f1_sum / label_count,
+ }
+
+
+def level_metrics(
+ predictions: Sequence[CategoryPath], references: Sequence[CategoryPath], level: int
+) -> dict[str, float]:
+ level_predictions: list[CategoryPath | None] = []
+ level_references: list[CategoryPath] = []
+
+ for prediction, reference in zip(predictions, references, strict=True):
+ reference_label = category_prefix(reference, level)
+ if reference_label is None:
+ continue
+ level_predictions.append(category_prefix(prediction, level))
+ level_references.append(reference_label)
+
+ return macro_metrics(level_predictions, level_references)
+
+
+def exact_lenient_references(
+ predictions: Sequence[CategoryPath],
+ ground_truth_categories: Sequence[CategoryPath],
+ potential_product_categories: Sequence[list[CategoryPath]],
+) -> list[CategoryPath]:
+ references: list[CategoryPath] = []
+
+ for prediction, ground_truth, potential_categories in zip(
+ predictions,
+ ground_truth_categories,
+ potential_product_categories,
+ strict=True,
+ ):
+ acceptable_categories = {ground_truth, *potential_categories}
+ if prediction in acceptable_categories:
+ references.append(prediction)
+ else:
+ references.append(ground_truth)
+
+ return references
+
+
+def evaluate_predictions(
+ predictions: Sequence[CategoryPath], references: Sequence[CategoryPath]
+) -> dict[str, object]:
+ return {
+ "hierarchical": hierarchical_metrics(predictions, references),
+ "macro": {
+ "l1": level_metrics(predictions, references, 1),
+ "l2": level_metrics(predictions, references, 2),
+ "l3": level_metrics(predictions, references, 3),
+ },
+ }
+
+
+def score_predictions(
+ predictions: Sequence[CategoryPath],
+ ground_truth_categories: Sequence[CategoryPath],
+ potential_product_categories: Sequence[list[CategoryPath]],
+) -> dict[str, object]:
+ strict_references = list(ground_truth_categories)
+ lenient_references = exact_lenient_references(
+ predictions,
+ ground_truth_categories,
+ potential_product_categories,
+ )
+
+ return {
+ "strict": evaluate_predictions(predictions, strict_references),
+ "lenient": evaluate_predictions(predictions, lenient_references),
+ }
diff --git a/examples/taxonomy-classification/taxonomy_classification/sie_client.py b/examples/taxonomy-classification/taxonomy_classification/sie_client.py
new file mode 100644
index 000000000..3c8b733d7
--- /dev/null
+++ b/examples/taxonomy-classification/taxonomy_classification/sie_client.py
@@ -0,0 +1,29 @@
+from __future__ import annotations
+
+import os
+from pathlib import Path
+
+from dotenv import dotenv_values
+from sie_sdk import SIEClient
+
+DEFAULT_SIE_BASE_URL = "http://localhost:8080"
+
+
+def project_env_path() -> Path:
+ return Path(__file__).resolve().parent.parent / ".env"
+
+
+def read_sie_settings() -> tuple[str, str | None]:
+ values = dotenv_values(project_env_path())
+ base_url = (
+ os.environ.get("SIE_BASE_URL")
+ or values.get("SIE_BASE_URL")
+ or DEFAULT_SIE_BASE_URL
+ )
+ api_key = os.environ.get("SIE_API_KEY") or values.get("SIE_API_KEY")
+ return base_url, api_key
+
+
+def create_sie_client(*, timeout_s: float = 30) -> SIEClient:
+ base_url, api_key = read_sie_settings()
+ return SIEClient(base_url, timeout_s=timeout_s, api_key=api_key)
diff --git a/examples/taxonomy-classification/taxonomy_classification/taxonomy.py b/examples/taxonomy-classification/taxonomy_classification/taxonomy.py
new file mode 100644
index 000000000..e276f6c07
--- /dev/null
+++ b/examples/taxonomy-classification/taxonomy_classification/taxonomy.py
@@ -0,0 +1,43 @@
+from __future__ import annotations
+
+from pathlib import Path
+from typing import Sequence
+
+import polars as pl
+
+CATEGORY_SEPARATOR = " > "
+DEFAULT_TAXONOMY_PATH = Path("data/shopify-taxonomy-l3.parquet")
+CategoryPath = tuple[str, ...]
+
+
+def category_path(nodes: Sequence[str]) -> CategoryPath:
+ return tuple(nodes)
+
+
+def category_path_from_string(path: str) -> CategoryPath:
+ return tuple(path.split(CATEGORY_SEPARATOR))
+
+
+def load_taxonomy(path: Path = DEFAULT_TAXONOMY_PATH) -> list[CategoryPath]:
+ frame = pl.read_parquet(path, columns=["category"])
+ return [category_path(nodes) for nodes in frame["category"].to_list()]
+
+
+def leaf_name(category: CategoryPath) -> str:
+ return category[-1]
+
+
+def full_path(category: CategoryPath) -> str:
+ return CATEGORY_SEPARATOR.join(category)
+
+
+def ancestor_set(category: CategoryPath) -> set[CategoryPath]:
+ return {category[:level] for level in range(1, len(category) + 1)}
+
+
+def level(category: CategoryPath) -> int:
+ return len(category)
+
+
+def level_lookup(categories: list[CategoryPath]) -> dict[CategoryPath, int]:
+ return {category: level(category) for category in categories}
diff --git a/examples/taxonomy-classification/uv.lock b/examples/taxonomy-classification/uv.lock
new file mode 100644
index 000000000..24b3d826a
--- /dev/null
+++ b/examples/taxonomy-classification/uv.lock
@@ -0,0 +1,1435 @@
+version = 1
+revision = 3
+requires-python = "==3.12.*"
+
+[[package]]
+name = "aiohappyeyeballs"
+version = "2.6.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/26/30/f84a107a9c4331c14b2b586036f40965c128aa4fee4dda5d3d51cb14ad54/aiohappyeyeballs-2.6.1.tar.gz", hash = "sha256:c3f9d0113123803ccadfdf3f0faa505bc78e6a72d1cc4806cbd719826e943558", size = 22760, upload-time = "2025-03-12T01:42:48.764Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/0f/15/5bf3b99495fb160b63f95972b81750f18f7f4e02ad051373b669d17d44f2/aiohappyeyeballs-2.6.1-py3-none-any.whl", hash = "sha256:f349ba8f4b75cb25c99c5c2d84e997e485204d2902a9597802b0371f09331fb8", size = 15265, upload-time = "2025-03-12T01:42:47.083Z" },
+]
+
+[[package]]
+name = "aiohttp"
+version = "3.13.5"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "aiohappyeyeballs" },
+ { name = "aiosignal" },
+ { name = "attrs" },
+ { name = "frozenlist" },
+ { name = "multidict" },
+ { name = "propcache" },
+ { name = "yarl" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/77/9a/152096d4808df8e4268befa55fba462f440f14beab85e8ad9bf990516918/aiohttp-3.13.5.tar.gz", hash = "sha256:9d98cc980ecc96be6eb4c1994ce35d28d8b1f5e5208a23b421187d1209dbb7d1", size = 7858271, upload-time = "2026-03-31T22:01:03.343Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/be/6f/353954c29e7dcce7cf00280a02c75f30e133c00793c7a2ed3776d7b2f426/aiohttp-3.13.5-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:023ecba036ddd840b0b19bf195bfae970083fd7024ce1ac22e9bba90464620e9", size = 748876, upload-time = "2026-03-31T21:57:36.319Z" },
+ { url = "https://files.pythonhosted.org/packages/f5/1b/428a7c64687b3b2e9cd293186695affc0e1e54a445d0361743b231f11066/aiohttp-3.13.5-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:15c933ad7920b7d9a20de151efcd05a6e38302cbf0e10c9b2acb9a42210a2416", size = 499557, upload-time = "2026-03-31T21:57:38.236Z" },
+ { url = "https://files.pythonhosted.org/packages/29/47/7be41556bfbb6917069d6a6634bb7dd5e163ba445b783a90d40f5ac7e3a7/aiohttp-3.13.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ab2899f9fa2f9f741896ebb6fa07c4c883bfa5c7f2ddd8cf2aafa86fa981b2d2", size = 500258, upload-time = "2026-03-31T21:57:39.923Z" },
+ { url = "https://files.pythonhosted.org/packages/67/84/c9ecc5828cb0b3695856c07c0a6817a99d51e2473400f705275a2b3d9239/aiohttp-3.13.5-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a60eaa2d440cd4707696b52e40ed3e2b0f73f65be07fd0ef23b6b539c9c0b0b4", size = 1749199, upload-time = "2026-03-31T21:57:41.938Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/d3/3c6d610e66b495657622edb6ae7c7fd31b2e9086b4ec50b47897ad6042a9/aiohttp-3.13.5-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:55b3bdd3292283295774ab585160c4004f4f2f203946997f49aac032c84649e9", size = 1721013, upload-time = "2026-03-31T21:57:43.904Z" },
+ { url = "https://files.pythonhosted.org/packages/49/a0/24409c12217456df0bae7babe3b014e460b0b38a8e60753d6cb339f6556d/aiohttp-3.13.5-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c2b2355dc094e5f7d45a7bb262fe7207aa0460b37a0d87027dcf21b5d890e7d5", size = 1781501, upload-time = "2026-03-31T21:57:46.285Z" },
+ { url = "https://files.pythonhosted.org/packages/98/9d/b65ec649adc5bccc008b0957a9a9c691070aeac4e41cea18559fef49958b/aiohttp-3.13.5-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b38765950832f7d728297689ad78f5f2cf79ff82487131c4d26fe6ceecdc5f8e", size = 1878981, upload-time = "2026-03-31T21:57:48.734Z" },
+ { url = "https://files.pythonhosted.org/packages/57/d8/8d44036d7eb7b6a8ec4c5494ea0c8c8b94fbc0ed3991c1a7adf230df03bf/aiohttp-3.13.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b18f31b80d5a33661e08c89e202edabf1986e9b49c42b4504371daeaa11b47c1", size = 1767934, upload-time = "2026-03-31T21:57:51.171Z" },
+ { url = "https://files.pythonhosted.org/packages/31/04/d3f8211f273356f158e3464e9e45484d3fb8c4ce5eb2f6fe9405c3273983/aiohttp-3.13.5-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:33add2463dde55c4f2d9635c6ab33ce154e5ecf322bd26d09af95c5f81cfa286", size = 1566671, upload-time = "2026-03-31T21:57:53.326Z" },
+ { url = "https://files.pythonhosted.org/packages/41/db/073e4ebe00b78e2dfcacff734291651729a62953b48933d765dc513bf798/aiohttp-3.13.5-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:327cc432fdf1356fb4fbc6fe833ad4e9f6aacb71a8acaa5f1855e4b25910e4a9", size = 1705219, upload-time = "2026-03-31T21:57:55.385Z" },
+ { url = "https://files.pythonhosted.org/packages/48/45/7dfba71a2f9fd97b15c95c06819de7eb38113d2cdb6319669195a7d64270/aiohttp-3.13.5-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:7c35b0bf0b48a70b4cb4fc5d7bed9b932532728e124874355de1a0af8ec4bc88", size = 1743049, upload-time = "2026-03-31T21:57:57.341Z" },
+ { url = "https://files.pythonhosted.org/packages/18/71/901db0061e0f717d226386a7f471bb59b19566f2cae5f0d93874b017271f/aiohttp-3.13.5-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:df23d57718f24badef8656c49743e11a89fd6f5358fa8a7b96e728fda2abf7d3", size = 1749557, upload-time = "2026-03-31T21:57:59.626Z" },
+ { url = "https://files.pythonhosted.org/packages/08/d5/41eebd16066e59cd43728fe74bce953d7402f2b4ddfdfef2c0e9f17ca274/aiohttp-3.13.5-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:02e048037a6501a5ec1f6fc9736135aec6eb8a004ce48838cb951c515f32c80b", size = 1558931, upload-time = "2026-03-31T21:58:01.972Z" },
+ { url = "https://files.pythonhosted.org/packages/30/e6/4a799798bf05740e66c3a1161079bda7a3dd8e22ca392481d7a7f9af82a6/aiohttp-3.13.5-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:31cebae8b26f8a615d2b546fee45d5ffb76852ae6450e2a03f42c9102260d6fe", size = 1774125, upload-time = "2026-03-31T21:58:04.007Z" },
+ { url = "https://files.pythonhosted.org/packages/84/63/7749337c90f92bc2cb18f9560d67aa6258c7060d1397d21529b8004fcf6f/aiohttp-3.13.5-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:888e78eb5ca55a615d285c3c09a7a91b42e9dd6fc699b166ebd5dee87c9ccf14", size = 1732427, upload-time = "2026-03-31T21:58:06.337Z" },
+ { url = "https://files.pythonhosted.org/packages/98/de/cf2f44ff98d307e72fb97d5f5bbae3bfcb442f0ea9790c0bf5c5c2331404/aiohttp-3.13.5-cp312-cp312-win32.whl", hash = "sha256:8bd3ec6376e68a41f9f95f5ed170e2fcf22d4eb27a1f8cb361d0508f6e0557f3", size = 433534, upload-time = "2026-03-31T21:58:08.712Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/ca/eadf6f9c8fa5e31d40993e3db153fb5ed0b11008ad5d9de98a95045bed84/aiohttp-3.13.5-cp312-cp312-win_amd64.whl", hash = "sha256:110e448e02c729bcebb18c60b9214a87ba33bac4a9fa5e9a5f139938b56c6cb1", size = 460446, upload-time = "2026-03-31T21:58:10.945Z" },
+]
+
+[[package]]
+name = "aiosignal"
+version = "1.4.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "frozenlist" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/61/62/06741b579156360248d1ec624842ad0edf697050bbaf7c3e46394e106ad1/aiosignal-1.4.0.tar.gz", hash = "sha256:f47eecd9468083c2029cc99945502cb7708b082c232f9aca65da147157b251c7", size = 25007, upload-time = "2025-07-03T22:54:43.528Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/fb/76/641ae371508676492379f16e2fa48f4e2c11741bd63c48be4b12a6b09cba/aiosignal-1.4.0-py3-none-any.whl", hash = "sha256:053243f8b92b990551949e63930a839ff0cf0b0ebbe0597b0f3fb19e1a0fe82e", size = 7490, upload-time = "2025-07-03T22:54:42.156Z" },
+]
+
+[[package]]
+name = "annotated-doc"
+version = "0.0.4"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/57/ba/046ceea27344560984e26a590f90bc7f4a75b06701f653222458922b558c/annotated_doc-0.0.4.tar.gz", hash = "sha256:fbcda96e87e9c92ad167c2e53839e57503ecfda18804ea28102353485033faa4", size = 7288, upload-time = "2025-11-10T22:07:42.062Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/1e/d3/26bf1008eb3d2daa8ef4cacc7f3bfdc11818d111f7e2d0201bc6e3b49d45/annotated_doc-0.0.4-py3-none-any.whl", hash = "sha256:571ac1dc6991c450b25a9c2d84a3705e2ae7a53467b5d111c24fa8baabbed320", size = 5303, upload-time = "2025-11-10T22:07:40.673Z" },
+]
+
+[[package]]
+name = "annotated-types"
+version = "0.7.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/ee/67/531ea369ba64dcff5ec9c3402f9f51bf748cec26dde048a2f973a4eea7f5/annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89", size = 16081, upload-time = "2024-05-20T21:33:25.928Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53", size = 13643, upload-time = "2024-05-20T21:33:24.1Z" },
+]
+
+[[package]]
+name = "anyio"
+version = "4.13.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "idna" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/19/14/2c5dd9f512b66549ae92767a9c7b330ae88e1932ca57876909410251fe13/anyio-4.13.0.tar.gz", hash = "sha256:334b70e641fd2221c1505b3890c69882fe4a2df910cba14d97019b90b24439dc", size = 231622, upload-time = "2026-03-24T12:59:09.671Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/da/42/e921fccf5015463e32a3cf6ee7f980a6ed0f395ceeaa45060b61d86486c2/anyio-4.13.0-py3-none-any.whl", hash = "sha256:08b310f9e24a9594186fd75b4f73f4a4152069e3853f1ed8bfbf58369f4ad708", size = 114353, upload-time = "2026-03-24T12:59:08.246Z" },
+]
+
+[[package]]
+name = "attrs"
+version = "26.1.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/9a/8e/82a0fe20a541c03148528be8cac2408564a6c9a0cc7e9171802bc1d26985/attrs-26.1.0.tar.gz", hash = "sha256:d03ceb89cb322a8fd706d4fb91940737b6642aa36998fe130a9bc96c985eff32", size = 952055, upload-time = "2026-03-19T14:22:25.026Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/64/b4/17d4b0b2a2dc85a6df63d1157e028ed19f90d4cd97c36717afef2bc2f395/attrs-26.1.0-py3-none-any.whl", hash = "sha256:c647aa4a12dfbad9333ca4e71fe62ddc36f4e63b2d260a37a8b83d2f043ac309", size = 67548, upload-time = "2026-03-19T14:22:23.645Z" },
+]
+
+[[package]]
+name = "bcrypt"
+version = "5.0.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/d4/36/3329e2518d70ad8e2e5817d5a4cac6bba05a47767ec416c7d020a965f408/bcrypt-5.0.0.tar.gz", hash = "sha256:f748f7c2d6fd375cc93d3fba7ef4a9e3a092421b8dbf34d8d4dc06be9492dfdd", size = 25386, upload-time = "2025-09-25T19:50:47.829Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/84/29/6237f151fbfe295fe3e074ecc6d44228faa1e842a81f6d34a02937ee1736/bcrypt-5.0.0-cp38-abi3-macosx_10_12_universal2.whl", hash = "sha256:fc746432b951e92b58317af8e0ca746efe93e66555f1b40888865ef5bf56446b", size = 494553, upload-time = "2025-09-25T19:49:49.006Z" },
+ { url = "https://files.pythonhosted.org/packages/45/b6/4c1205dde5e464ea3bd88e8742e19f899c16fa8916fb8510a851fae985b5/bcrypt-5.0.0-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:c2388ca94ffee269b6038d48747f4ce8df0ffbea43f31abfa18ac72f0218effb", size = 275009, upload-time = "2025-09-25T19:49:50.581Z" },
+ { url = "https://files.pythonhosted.org/packages/3b/71/427945e6ead72ccffe77894b2655b695ccf14ae1866cd977e185d606dd2f/bcrypt-5.0.0-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:560ddb6ec730386e7b3b26b8b4c88197aaed924430e7b74666a586ac997249ef", size = 278029, upload-time = "2025-09-25T19:49:52.533Z" },
+ { url = "https://files.pythonhosted.org/packages/17/72/c344825e3b83c5389a369c8a8e58ffe1480b8a699f46c127c34580c4666b/bcrypt-5.0.0-cp38-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:d79e5c65dcc9af213594d6f7f1fa2c98ad3fc10431e7aa53c176b441943efbdd", size = 275907, upload-time = "2025-09-25T19:49:54.709Z" },
+ { url = "https://files.pythonhosted.org/packages/0b/7e/d4e47d2df1641a36d1212e5c0514f5291e1a956a7749f1e595c07a972038/bcrypt-5.0.0-cp38-abi3-manylinux_2_28_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:2b732e7d388fa22d48920baa267ba5d97cca38070b69c0e2d37087b381c681fd", size = 296500, upload-time = "2025-09-25T19:49:56.013Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/c3/0ae57a68be2039287ec28bc463b82e4b8dc23f9d12c0be331f4782e19108/bcrypt-5.0.0-cp38-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:0c8e093ea2532601a6f686edbc2c6b2ec24131ff5c52f7610dd64fa4553b5464", size = 278412, upload-time = "2025-09-25T19:49:57.356Z" },
+ { url = "https://files.pythonhosted.org/packages/45/2b/77424511adb11e6a99e3a00dcc7745034bee89036ad7d7e255a7e47be7d8/bcrypt-5.0.0-cp38-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:5b1589f4839a0899c146e8892efe320c0fa096568abd9b95593efac50a87cb75", size = 275486, upload-time = "2025-09-25T19:49:59.116Z" },
+ { url = "https://files.pythonhosted.org/packages/43/0a/405c753f6158e0f3f14b00b462d8bca31296f7ecfc8fc8bc7919c0c7d73a/bcrypt-5.0.0-cp38-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:89042e61b5e808b67daf24a434d89bab164d4de1746b37a8d173b6b14f3db9ff", size = 277940, upload-time = "2025-09-25T19:50:00.869Z" },
+ { url = "https://files.pythonhosted.org/packages/62/83/b3efc285d4aadc1fa83db385ec64dcfa1707e890eb42f03b127d66ac1b7b/bcrypt-5.0.0-cp38-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:e3cf5b2560c7b5a142286f69bde914494b6d8f901aaa71e453078388a50881c4", size = 310776, upload-time = "2025-09-25T19:50:02.393Z" },
+ { url = "https://files.pythonhosted.org/packages/95/7d/47ee337dacecde6d234890fe929936cb03ebc4c3a7460854bbd9c97780b8/bcrypt-5.0.0-cp38-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:f632fd56fc4e61564f78b46a2269153122db34988e78b6be8b32d28507b7eaeb", size = 312922, upload-time = "2025-09-25T19:50:04.232Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/3a/43d494dfb728f55f4e1cf8fd435d50c16a2d75493225b54c8d06122523c6/bcrypt-5.0.0-cp38-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:801cad5ccb6b87d1b430f183269b94c24f248dddbbc5c1f78b6ed231743e001c", size = 341367, upload-time = "2025-09-25T19:50:05.559Z" },
+ { url = "https://files.pythonhosted.org/packages/55/ab/a0727a4547e383e2e22a630e0f908113db37904f58719dc48d4622139b5c/bcrypt-5.0.0-cp38-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:3cf67a804fc66fc217e6914a5635000259fbbbb12e78a99488e4d5ba445a71eb", size = 359187, upload-time = "2025-09-25T19:50:06.916Z" },
+ { url = "https://files.pythonhosted.org/packages/1b/bb/461f352fdca663524b4643d8b09e8435b4990f17fbf4fea6bc2a90aa0cc7/bcrypt-5.0.0-cp38-abi3-win32.whl", hash = "sha256:3abeb543874b2c0524ff40c57a4e14e5d3a66ff33fb423529c88f180fd756538", size = 153752, upload-time = "2025-09-25T19:50:08.515Z" },
+ { url = "https://files.pythonhosted.org/packages/41/aa/4190e60921927b7056820291f56fc57d00d04757c8b316b2d3c0d1d6da2c/bcrypt-5.0.0-cp38-abi3-win_amd64.whl", hash = "sha256:35a77ec55b541e5e583eb3436ffbbf53b0ffa1fa16ca6782279daf95d146dcd9", size = 150881, upload-time = "2025-09-25T19:50:09.742Z" },
+ { url = "https://files.pythonhosted.org/packages/54/12/cd77221719d0b39ac0b55dbd39358db1cd1246e0282e104366ebbfb8266a/bcrypt-5.0.0-cp38-abi3-win_arm64.whl", hash = "sha256:cde08734f12c6a4e28dc6755cd11d3bdfea608d93d958fffbe95a7026ebe4980", size = 144931, upload-time = "2025-09-25T19:50:11.016Z" },
+ { url = "https://files.pythonhosted.org/packages/5d/ba/2af136406e1c3839aea9ecadc2f6be2bcd1eff255bd451dd39bcf302c47a/bcrypt-5.0.0-cp39-abi3-macosx_10_12_universal2.whl", hash = "sha256:0c418ca99fd47e9c59a301744d63328f17798b5947b0f791e9af3c1c499c2d0a", size = 495313, upload-time = "2025-09-25T19:50:12.309Z" },
+ { url = "https://files.pythonhosted.org/packages/ac/ee/2f4985dbad090ace5ad1f7dd8ff94477fe089b5fab2040bd784a3d5f187b/bcrypt-5.0.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:ddb4e1500f6efdd402218ffe34d040a1196c072e07929b9820f363a1fd1f4191", size = 275290, upload-time = "2025-09-25T19:50:13.673Z" },
+ { url = "https://files.pythonhosted.org/packages/e4/6e/b77ade812672d15cf50842e167eead80ac3514f3beacac8902915417f8b7/bcrypt-5.0.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7aeef54b60ceddb6f30ee3db090351ecf0d40ec6e2abf41430997407a46d2254", size = 278253, upload-time = "2025-09-25T19:50:15.089Z" },
+ { url = "https://files.pythonhosted.org/packages/36/c4/ed00ed32f1040f7990dac7115f82273e3c03da1e1a1587a778d8cea496d8/bcrypt-5.0.0-cp39-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:f0ce778135f60799d89c9693b9b398819d15f1921ba15fe719acb3178215a7db", size = 276084, upload-time = "2025-09-25T19:50:16.699Z" },
+ { url = "https://files.pythonhosted.org/packages/e7/c4/fa6e16145e145e87f1fa351bbd54b429354fd72145cd3d4e0c5157cf4c70/bcrypt-5.0.0-cp39-abi3-manylinux_2_28_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:a71f70ee269671460b37a449f5ff26982a6f2ba493b3eabdd687b4bf35f875ac", size = 297185, upload-time = "2025-09-25T19:50:18.525Z" },
+ { url = "https://files.pythonhosted.org/packages/24/b4/11f8a31d8b67cca3371e046db49baa7c0594d71eb40ac8121e2fc0888db0/bcrypt-5.0.0-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:f8429e1c410b4073944f03bd778a9e066e7fad723564a52ff91841d278dfc822", size = 278656, upload-time = "2025-09-25T19:50:19.809Z" },
+ { url = "https://files.pythonhosted.org/packages/ac/31/79f11865f8078e192847d2cb526e3fa27c200933c982c5b2869720fa5fce/bcrypt-5.0.0-cp39-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:edfcdcedd0d0f05850c52ba3127b1fce70b9f89e0fe5ff16517df7e81fa3cbb8", size = 275662, upload-time = "2025-09-25T19:50:21.567Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/8d/5e43d9584b3b3591a6f9b68f755a4da879a59712981ef5ad2a0ac1379f7a/bcrypt-5.0.0-cp39-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:611f0a17aa4a25a69362dcc299fda5c8a3d4f160e2abb3831041feb77393a14a", size = 278240, upload-time = "2025-09-25T19:50:23.305Z" },
+ { url = "https://files.pythonhosted.org/packages/89/48/44590e3fc158620f680a978aafe8f87a4c4320da81ed11552f0323aa9a57/bcrypt-5.0.0-cp39-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:db99dca3b1fdc3db87d7c57eac0c82281242d1eabf19dcb8a6b10eb29a2e72d1", size = 311152, upload-time = "2025-09-25T19:50:24.597Z" },
+ { url = "https://files.pythonhosted.org/packages/5f/85/e4fbfc46f14f47b0d20493669a625da5827d07e8a88ee460af6cd9768b44/bcrypt-5.0.0-cp39-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:5feebf85a9cefda32966d8171f5db7e3ba964b77fdfe31919622256f80f9cf42", size = 313284, upload-time = "2025-09-25T19:50:26.268Z" },
+ { url = "https://files.pythonhosted.org/packages/25/ae/479f81d3f4594456a01ea2f05b132a519eff9ab5768a70430fa1132384b1/bcrypt-5.0.0-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:3ca8a166b1140436e058298a34d88032ab62f15aae1c598580333dc21d27ef10", size = 341643, upload-time = "2025-09-25T19:50:28.02Z" },
+ { url = "https://files.pythonhosted.org/packages/df/d2/36a086dee1473b14276cd6ea7f61aef3b2648710b5d7f1c9e032c29b859f/bcrypt-5.0.0-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:61afc381250c3182d9078551e3ac3a41da14154fbff647ddf52a769f588c4172", size = 359698, upload-time = "2025-09-25T19:50:31.347Z" },
+ { url = "https://files.pythonhosted.org/packages/c0/f6/688d2cd64bfd0b14d805ddb8a565e11ca1fb0fd6817175d58b10052b6d88/bcrypt-5.0.0-cp39-abi3-win32.whl", hash = "sha256:64d7ce196203e468c457c37ec22390f1a61c85c6f0b8160fd752940ccfb3a683", size = 153725, upload-time = "2025-09-25T19:50:34.384Z" },
+ { url = "https://files.pythonhosted.org/packages/9f/b9/9d9a641194a730bda138b3dfe53f584d61c58cd5230e37566e83ec2ffa0d/bcrypt-5.0.0-cp39-abi3-win_amd64.whl", hash = "sha256:64ee8434b0da054d830fa8e89e1c8bf30061d539044a39524ff7dec90481e5c2", size = 150912, upload-time = "2025-09-25T19:50:35.69Z" },
+ { url = "https://files.pythonhosted.org/packages/27/44/d2ef5e87509158ad2187f4dd0852df80695bb1ee0cfe0a684727b01a69e0/bcrypt-5.0.0-cp39-abi3-win_arm64.whl", hash = "sha256:f2347d3534e76bf50bca5500989d6c1d05ed64b440408057a37673282c654927", size = 144953, upload-time = "2025-09-25T19:50:37.32Z" },
+]
+
+[[package]]
+name = "build"
+version = "1.4.3"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "colorama", marker = "os_name == 'nt'" },
+ { name = "packaging" },
+ { name = "pyproject-hooks" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/3f/16/4b272700dea44c1d2e8ca963ebb3c684efe22b3eba8cfa31c5fdb60de707/build-1.4.3.tar.gz", hash = "sha256:5aa4231ae0e807efdf1fd0623e07366eca2ab215921345a2e38acdd5d0fa0a74", size = 89314, upload-time = "2026-04-10T21:25:40.857Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b2/30/f169e1d8b2071beaf8b97088787e30662b1d8fb82f8c0941d14678c0cbf1/build-1.4.3-py3-none-any.whl", hash = "sha256:1bc22b19b383303de8f2c8554c9a32894a58d3f185fe3756b0b20d255bee9a38", size = 26171, upload-time = "2026-04-10T21:25:39.671Z" },
+]
+
+[[package]]
+name = "certifi"
+version = "2026.2.25"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/af/2d/7bf41579a8986e348fa033a31cdd0e4121114f6bce2457e8876010b092dd/certifi-2026.2.25.tar.gz", hash = "sha256:e887ab5cee78ea814d3472169153c2d12cd43b14bd03329a39a9c6e2e80bfba7", size = 155029, upload-time = "2026-02-25T02:54:17.342Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/9a/3c/c17fb3ca2d9c3acff52e30b309f538586f9f5b9c9cf454f3845fc9af4881/certifi-2026.2.25-py3-none-any.whl", hash = "sha256:027692e4402ad994f1c42e52a4997a9763c646b73e4096e4d5d6db8af1d6f0fa", size = 153684, upload-time = "2026-02-25T02:54:15.766Z" },
+]
+
+[[package]]
+name = "charset-normalizer"
+version = "3.4.7"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/e7/a1/67fe25fac3c7642725500a3f6cfe5821ad557c3abb11c9d20d12c7008d3e/charset_normalizer-3.4.7.tar.gz", hash = "sha256:ae89db9e5f98a11a4bf50407d4363e7b09b31e55bc117b4f7d80aab97ba009e5", size = 144271, upload-time = "2026-04-02T09:28:39.342Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/0c/eb/4fc8d0a7110eb5fc9cc161723a34a8a6c200ce3b4fbf681bc86feee22308/charset_normalizer-3.4.7-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:eca9705049ad3c7345d574e3510665cb2cf844c2f2dcfe675332677f081cbd46", size = 311328, upload-time = "2026-04-02T09:26:24.331Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/e3/0fadc706008ac9d7b9b5be6dc767c05f9d3e5df51744ce4cc9605de7b9f4/charset_normalizer-3.4.7-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6178f72c5508bfc5fd446a5905e698c6212932f25bcdd4b47a757a50605a90e2", size = 208061, upload-time = "2026-04-02T09:26:25.568Z" },
+ { url = "https://files.pythonhosted.org/packages/42/f0/3dd1045c47f4a4604df85ec18ad093912ae1344ac706993aff91d38773a2/charset_normalizer-3.4.7-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e1421b502d83040e6d7fb2fb18dff63957f720da3d77b2fbd3187ceb63755d7b", size = 229031, upload-time = "2026-04-02T09:26:26.865Z" },
+ { url = "https://files.pythonhosted.org/packages/dc/67/675a46eb016118a2fbde5a277a5d15f4f69d5f3f5f338e5ee2f8948fcf43/charset_normalizer-3.4.7-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:edac0f1ab77644605be2cbba52e6b7f630731fc42b34cb0f634be1a6eface56a", size = 225239, upload-time = "2026-04-02T09:26:28.044Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/f8/d0118a2f5f23b02cd166fa385c60f9b0d4f9194f574e2b31cef350ad7223/charset_normalizer-3.4.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5649fd1c7bade02f320a462fdefd0b4bd3ce036065836d4f42e0de958038e116", size = 216589, upload-time = "2026-04-02T09:26:29.239Z" },
+ { url = "https://files.pythonhosted.org/packages/b1/f1/6d2b0b261b6c4ceef0fcb0d17a01cc5bc53586c2d4796fa04b5c540bc13d/charset_normalizer-3.4.7-cp312-cp312-manylinux_2_31_armv7l.whl", hash = "sha256:203104ed3e428044fd943bc4bf45fa73c0730391f9621e37fe39ecf477b128cb", size = 202733, upload-time = "2026-04-02T09:26:30.5Z" },
+ { url = "https://files.pythonhosted.org/packages/6f/c0/7b1f943f7e87cc3db9626ba17807d042c38645f0a1d4415c7a14afb5591f/charset_normalizer-3.4.7-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:298930cec56029e05497a76988377cbd7457ba864beeea92ad7e844fe74cd1f1", size = 212652, upload-time = "2026-04-02T09:26:31.709Z" },
+ { url = "https://files.pythonhosted.org/packages/38/dd/5a9ab159fe45c6e72079398f277b7d2b523e7f716acc489726115a910097/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:708838739abf24b2ceb208d0e22403dd018faeef86ddac04319a62ae884c4f15", size = 211229, upload-time = "2026-04-02T09:26:33.282Z" },
+ { url = "https://files.pythonhosted.org/packages/d5/ff/531a1cad5ca855d1c1a8b69cb71abfd6d85c0291580146fda7c82857caa1/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:0f7eb884681e3938906ed0434f20c63046eacd0111c4ba96f27b76084cd679f5", size = 203552, upload-time = "2026-04-02T09:26:34.845Z" },
+ { url = "https://files.pythonhosted.org/packages/c1/4c/a5fb52d528a8ca41f7598cb619409ece30a169fbdf9cdce592e53b46c3a6/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:4dc1e73c36828f982bfe79fadf5919923f8a6f4df2860804db9a98c48824ce8d", size = 230806, upload-time = "2026-04-02T09:26:36.152Z" },
+ { url = "https://files.pythonhosted.org/packages/59/7a/071feed8124111a32b316b33ae4de83d36923039ef8cf48120266844285b/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:aed52fea0513bac0ccde438c188c8a471c4e0f457c2dd20cdbf6ea7a450046c7", size = 212316, upload-time = "2026-04-02T09:26:37.672Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/35/f7dba3994312d7ba508e041eaac39a36b120f32d4c8662b8814dab876431/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:fea24543955a6a729c45a73fe90e08c743f0b3334bbf3201e6c4bc1b0c7fa464", size = 227274, upload-time = "2026-04-02T09:26:38.93Z" },
+ { url = "https://files.pythonhosted.org/packages/8a/2d/a572df5c9204ab7688ec1edc895a73ebded3b023bb07364710b05dd1c9be/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:bb6d88045545b26da47aa879dd4a89a71d1dce0f0e549b1abcb31dfe4a8eac49", size = 218468, upload-time = "2026-04-02T09:26:40.17Z" },
+ { url = "https://files.pythonhosted.org/packages/86/eb/890922a8b03a568ca2f336c36585a4713c55d4d67bf0f0c78924be6315ca/charset_normalizer-3.4.7-cp312-cp312-win32.whl", hash = "sha256:2257141f39fe65a3fdf38aeccae4b953e5f3b3324f4ff0daf9f15b8518666a2c", size = 148460, upload-time = "2026-04-02T09:26:41.416Z" },
+ { url = "https://files.pythonhosted.org/packages/35/d9/0e7dffa06c5ab081f75b1b786f0aefc88365825dfcd0ac544bdb7b2b6853/charset_normalizer-3.4.7-cp312-cp312-win_amd64.whl", hash = "sha256:5ed6ab538499c8644b8a3e18debabcd7ce684f3fa91cf867521a7a0279cab2d6", size = 159330, upload-time = "2026-04-02T09:26:42.554Z" },
+ { url = "https://files.pythonhosted.org/packages/9e/5d/481bcc2a7c88ea6b0878c299547843b2521ccbc40980cb406267088bc701/charset_normalizer-3.4.7-cp312-cp312-win_arm64.whl", hash = "sha256:56be790f86bfb2c98fb742ce566dfb4816e5a83384616ab59c49e0604d49c51d", size = 147828, upload-time = "2026-04-02T09:26:44.075Z" },
+ { url = "https://files.pythonhosted.org/packages/db/8f/61959034484a4a7c527811f4721e75d02d653a35afb0b6054474d8185d4c/charset_normalizer-3.4.7-py3-none-any.whl", hash = "sha256:3dce51d0f5e7951f8bb4900c257dad282f49190fdbebecd4ba99bcc41fef404d", size = 61958, upload-time = "2026-04-02T09:28:37.794Z" },
+]
+
+[[package]]
+name = "chromadb"
+version = "1.5.8"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "bcrypt" },
+ { name = "build" },
+ { name = "grpcio" },
+ { name = "httpx" },
+ { name = "importlib-resources" },
+ { name = "jsonschema" },
+ { name = "kubernetes" },
+ { name = "mmh3" },
+ { name = "numpy" },
+ { name = "onnxruntime" },
+ { name = "opentelemetry-api" },
+ { name = "opentelemetry-exporter-otlp-proto-grpc" },
+ { name = "opentelemetry-sdk" },
+ { name = "orjson" },
+ { name = "overrides" },
+ { name = "pybase64" },
+ { name = "pydantic" },
+ { name = "pydantic-settings" },
+ { name = "pypika" },
+ { name = "pyyaml" },
+ { name = "rich" },
+ { name = "tenacity" },
+ { name = "tokenizers" },
+ { name = "tqdm" },
+ { name = "typer" },
+ { name = "typing-extensions" },
+ { name = "uvicorn", extra = ["standard"] },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/98/45/39696984553ede2bed1c54550f194111c66ef6ba86c0cd5bd8099d39b2c3/chromadb-1.5.8.tar.gz", hash = "sha256:9f5dfaea989128793c4e1928de6a150d70ae55e44403d85448be94ff32f2c962", size = 2515918, upload-time = "2026-04-16T23:35:11.731Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e9/20/5c0218014f1dd8f39e48e9e7d4dc15bd36039510747a167a29e5999d1d68/chromadb-1.5.8-cp39-abi3-macosx_10_12_x86_64.whl", hash = "sha256:397331d749aefc95222733509172b4598688d7306659459a59421f8763ba83b7", size = 22482099, upload-time = "2026-04-16T23:35:09.27Z" },
+ { url = "https://files.pythonhosted.org/packages/82/90/4d8ebfc4c168295b2e903dd385f4b76b155980d3c8db69e7383a6770e178/chromadb-1.5.8-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:852aae44eac81d73e9c349e8daa2eaa34873576afeb2604765aeebd01eb03346", size = 21595370, upload-time = "2026-04-16T23:35:06.091Z" },
+ { url = "https://files.pythonhosted.org/packages/7f/de/3c4c0661152cef02b5d0684fa8d0195aa36d3242e56903d211ff2acd3424/chromadb-1.5.8-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:33976c781a9d6e6386a15481a58f5bde88e68fce87925aa5f30bca4f142c8303", size = 22568047, upload-time = "2026-04-16T23:34:59.376Z" },
+ { url = "https://files.pythonhosted.org/packages/4d/45/53556edcbbd273c54b81e07c1b21c79f7209ab4edf9603f94babb4ecf4f6/chromadb-1.5.8-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9494f0cf734dcfd2976890f9e3a446fdd5ca565375ffebe0de388ce994ac1f5e", size = 23214104, upload-time = "2026-04-16T23:35:02.583Z" },
+ { url = "https://files.pythonhosted.org/packages/5e/ea/d6df4e0718bde638563225c8690be110f53874d5b5fb74f347d9a7747a1f/chromadb-1.5.8-cp39-abi3-win_amd64.whl", hash = "sha256:b7490b26843c9851e1e9bb0333a1d584e5e77b5a49a78713424600af9b3a28e6", size = 23413244, upload-time = "2026-04-16T23:35:14.328Z" },
+]
+
+[[package]]
+name = "click"
+version = "8.3.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "colorama", marker = "sys_platform == 'win32'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/57/75/31212c6bf2503fdf920d87fee5d7a86a2e3bcf444984126f13d8e4016804/click-8.3.2.tar.gz", hash = "sha256:14162b8b3b3550a7d479eafa77dfd3c38d9dc8951f6f69c78913a8f9a7540fd5", size = 302856, upload-time = "2026-04-03T19:14:45.118Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e4/20/71885d8b97d4f3dde17b1fdb92dbd4908b00541c5a3379787137285f602e/click-8.3.2-py3-none-any.whl", hash = "sha256:1924d2c27c5653561cd2cae4548d1406039cb79b858b747cfea24924bbc1616d", size = 108379, upload-time = "2026-04-03T19:14:43.505Z" },
+]
+
+[[package]]
+name = "colorama"
+version = "0.4.6"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" },
+]
+
+[[package]]
+name = "durationpy"
+version = "0.10"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/9d/a4/e44218c2b394e31a6dd0d6b095c4e1f32d0be54c2a4b250032d717647bab/durationpy-0.10.tar.gz", hash = "sha256:1fa6893409a6e739c9c72334fc65cca1f355dbdd93405d30f726deb5bde42fba", size = 3335, upload-time = "2025-05-17T13:52:37.26Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b0/0d/9feae160378a3553fa9a339b0e9c1a048e147a4127210e286ef18b730f03/durationpy-0.10-py3-none-any.whl", hash = "sha256:3b41e1b601234296b4fb368338fdcd3e13e0b4fb5b67345948f4f2bf9868b286", size = 3922, upload-time = "2025-05-17T13:52:36.463Z" },
+]
+
+[[package]]
+name = "filelock"
+version = "3.29.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/b5/fe/997687a931ab51049acce6fa1f23e8f01216374ea81374ddee763c493db5/filelock-3.29.0.tar.gz", hash = "sha256:69974355e960702e789734cb4871f884ea6fe50bd8404051a3530bc07809cf90", size = 57571, upload-time = "2026-04-19T15:39:10.068Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/81/47/dd9a212ef6e343a6857485ffe25bba537304f1913bdbed446a23f7f592e1/filelock-3.29.0-py3-none-any.whl", hash = "sha256:96f5f6344709aa1572bbf631c640e4ebeeb519e08da902c39a001882f30ac258", size = 39812, upload-time = "2026-04-19T15:39:08.752Z" },
+]
+
+[[package]]
+name = "flatbuffers"
+version = "25.12.19"
+source = { registry = "https://pypi.org/simple" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e8/2d/d2a548598be01649e2d46231d151a6c56d10b964d94043a335ae56ea2d92/flatbuffers-25.12.19-py2.py3-none-any.whl", hash = "sha256:7634f50c427838bb021c2d66a3d1168e9d199b0607e6329399f04846d42e20b4", size = 26661, upload-time = "2025-12-19T23:16:13.622Z" },
+]
+
+[[package]]
+name = "frozenlist"
+version = "1.8.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/2d/f5/c831fac6cc817d26fd54c7eaccd04ef7e0288806943f7cc5bbf69f3ac1f0/frozenlist-1.8.0.tar.gz", hash = "sha256:3ede829ed8d842f6cd48fc7081d7a41001a56f1f38603f9d49bf3020d59a31ad", size = 45875, upload-time = "2025-10-06T05:38:17.865Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/69/29/948b9aa87e75820a38650af445d2ef2b6b8a6fab1a23b6bb9e4ef0be2d59/frozenlist-1.8.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:78f7b9e5d6f2fdb88cdde9440dc147259b62b9d3b019924def9f6478be254ac1", size = 87782, upload-time = "2025-10-06T05:36:06.649Z" },
+ { url = "https://files.pythonhosted.org/packages/64/80/4f6e318ee2a7c0750ed724fa33a4bdf1eacdc5a39a7a24e818a773cd91af/frozenlist-1.8.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:229bf37d2e4acdaf808fd3f06e854a4a7a3661e871b10dc1f8f1896a3b05f18b", size = 50594, upload-time = "2025-10-06T05:36:07.69Z" },
+ { url = "https://files.pythonhosted.org/packages/2b/94/5c8a2b50a496b11dd519f4a24cb5496cf125681dd99e94c604ccdea9419a/frozenlist-1.8.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f833670942247a14eafbb675458b4e61c82e002a148f49e68257b79296e865c4", size = 50448, upload-time = "2025-10-06T05:36:08.78Z" },
+ { url = "https://files.pythonhosted.org/packages/6a/bd/d91c5e39f490a49df14320f4e8c80161cfcce09f1e2cde1edd16a551abb3/frozenlist-1.8.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:494a5952b1c597ba44e0e78113a7266e656b9794eec897b19ead706bd7074383", size = 242411, upload-time = "2025-10-06T05:36:09.801Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/83/f61505a05109ef3293dfb1ff594d13d64a2324ac3482be2cedc2be818256/frozenlist-1.8.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:96f423a119f4777a4a056b66ce11527366a8bb92f54e541ade21f2374433f6d4", size = 243014, upload-time = "2025-10-06T05:36:11.394Z" },
+ { url = "https://files.pythonhosted.org/packages/d8/cb/cb6c7b0f7d4023ddda30cf56b8b17494eb3a79e3fda666bf735f63118b35/frozenlist-1.8.0-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:3462dd9475af2025c31cc61be6652dfa25cbfb56cbbf52f4ccfe029f38decaf8", size = 234909, upload-time = "2025-10-06T05:36:12.598Z" },
+ { url = "https://files.pythonhosted.org/packages/31/c5/cd7a1f3b8b34af009fb17d4123c5a778b44ae2804e3ad6b86204255f9ec5/frozenlist-1.8.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c4c800524c9cd9bac5166cd6f55285957fcfc907db323e193f2afcd4d9abd69b", size = 250049, upload-time = "2025-10-06T05:36:14.065Z" },
+ { url = "https://files.pythonhosted.org/packages/c0/01/2f95d3b416c584a1e7f0e1d6d31998c4a795f7544069ee2e0962a4b60740/frozenlist-1.8.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d6a5df73acd3399d893dafc71663ad22534b5aa4f94e8a2fabfe856c3c1b6a52", size = 256485, upload-time = "2025-10-06T05:36:15.39Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/03/024bf7720b3abaebcff6d0793d73c154237b85bdf67b7ed55e5e9596dc9a/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:405e8fe955c2280ce66428b3ca55e12b3c4e9c336fb2103a4937e891c69a4a29", size = 237619, upload-time = "2025-10-06T05:36:16.558Z" },
+ { url = "https://files.pythonhosted.org/packages/69/fa/f8abdfe7d76b731f5d8bd217827cf6764d4f1d9763407e42717b4bed50a0/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:908bd3f6439f2fef9e85031b59fd4f1297af54415fb60e4254a95f75b3cab3f3", size = 250320, upload-time = "2025-10-06T05:36:17.821Z" },
+ { url = "https://files.pythonhosted.org/packages/f5/3c/b051329f718b463b22613e269ad72138cc256c540f78a6de89452803a47d/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:294e487f9ec720bd8ffcebc99d575f7eff3568a08a253d1ee1a0378754b74143", size = 246820, upload-time = "2025-10-06T05:36:19.046Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/ae/58282e8f98e444b3f4dd42448ff36fa38bef29e40d40f330b22e7108f565/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:74c51543498289c0c43656701be6b077f4b265868fa7f8a8859c197006efb608", size = 250518, upload-time = "2025-10-06T05:36:20.763Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/96/007e5944694d66123183845a106547a15944fbbb7154788cbf7272789536/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:776f352e8329135506a1d6bf16ac3f87bc25b28e765949282dcc627af36123aa", size = 239096, upload-time = "2025-10-06T05:36:22.129Z" },
+ { url = "https://files.pythonhosted.org/packages/66/bb/852b9d6db2fa40be96f29c0d1205c306288f0684df8fd26ca1951d461a56/frozenlist-1.8.0-cp312-cp312-win32.whl", hash = "sha256:433403ae80709741ce34038da08511d4a77062aa924baf411ef73d1146e74faf", size = 39985, upload-time = "2025-10-06T05:36:23.661Z" },
+ { url = "https://files.pythonhosted.org/packages/b8/af/38e51a553dd66eb064cdf193841f16f077585d4d28394c2fa6235cb41765/frozenlist-1.8.0-cp312-cp312-win_amd64.whl", hash = "sha256:34187385b08f866104f0c0617404c8eb08165ab1272e884abc89c112e9c00746", size = 44591, upload-time = "2025-10-06T05:36:24.958Z" },
+ { url = "https://files.pythonhosted.org/packages/a7/06/1dc65480ab147339fecc70797e9c2f69d9cea9cf38934ce08df070fdb9cb/frozenlist-1.8.0-cp312-cp312-win_arm64.whl", hash = "sha256:fe3c58d2f5db5fbd18c2987cba06d51b0529f52bc3a6cdc33d3f4eab725104bd", size = 40102, upload-time = "2025-10-06T05:36:26.333Z" },
+ { url = "https://files.pythonhosted.org/packages/9a/9a/e35b4a917281c0b8419d4207f4334c8e8c5dbf4f3f5f9ada73958d937dcc/frozenlist-1.8.0-py3-none-any.whl", hash = "sha256:0c18a16eab41e82c295618a77502e17b195883241c563b00f0aa5106fc4eaa0d", size = 13409, upload-time = "2025-10-06T05:38:16.721Z" },
+]
+
+[[package]]
+name = "fsspec"
+version = "2026.3.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/e1/cf/b50ddf667c15276a9ab15a70ef5f257564de271957933ffea49d2cdbcdfb/fsspec-2026.3.0.tar.gz", hash = "sha256:1ee6a0e28677557f8c2f994e3eea77db6392b4de9cd1f5d7a9e87a0ae9d01b41", size = 313547, upload-time = "2026-03-27T19:11:14.892Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d5/1f/5f4a3cd9e4440e9d9bc78ad0a91a1c8d46b4d429d5239ebe6793c9fe5c41/fsspec-2026.3.0-py3-none-any.whl", hash = "sha256:d2ceafaad1b3457968ed14efa28798162f1638dbb5d2a6868a2db002a5ee39a4", size = 202595, upload-time = "2026-03-27T19:11:13.595Z" },
+]
+
+[[package]]
+name = "googleapis-common-protos"
+version = "1.74.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "protobuf" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/20/18/a746c8344152d368a5aac738d4c857012f2c5d1fd2eac7e17b647a7861bd/googleapis_common_protos-1.74.0.tar.gz", hash = "sha256:57971e4eeeba6aad1163c1f0fc88543f965bb49129b8bb55b2b7b26ecab084f1", size = 151254, upload-time = "2026-04-02T21:23:26.679Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b6/b0/be5d3329badb9230b765de6eea66b73abd5944bdeb5afb3562ddcd80ae84/googleapis_common_protos-1.74.0-py3-none-any.whl", hash = "sha256:702216f78610bb510e3f12ac3cafd281b7ac45cc5d86e90ad87e4d301a3426b5", size = 300743, upload-time = "2026-04-02T21:22:49.108Z" },
+]
+
+[[package]]
+name = "grpcio"
+version = "1.80.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/b7/48/af6173dbca4454f4637a4678b67f52ca7e0c1ed7d5894d89d434fecede05/grpcio-1.80.0.tar.gz", hash = "sha256:29aca15edd0688c22ba01d7cc01cb000d72b2033f4a3c72a81a19b56fd143257", size = 12978905, upload-time = "2026-03-30T08:49:10.502Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/5c/e8/a2b749265eb3415abc94f2e619bbd9e9707bebdda787e61c593004ec927a/grpcio-1.80.0-cp312-cp312-linux_armv7l.whl", hash = "sha256:c624cc9f1008361014378c9d776de7182b11fe8b2e5a81bc69f23a295f2a1ad0", size = 6015616, upload-time = "2026-03-30T08:47:13.428Z" },
+ { url = "https://files.pythonhosted.org/packages/3e/97/b1282161a15d699d1e90c360df18d19165a045ce1c343c7f313f5e8a0b77/grpcio-1.80.0-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:f49eddcac43c3bf350c0385366a58f36bed8cc2c0ec35ef7b74b49e56552c0c2", size = 12014204, upload-time = "2026-03-30T08:47:15.873Z" },
+ { url = "https://files.pythonhosted.org/packages/6e/5e/d319c6e997b50c155ac5a8cb12f5173d5b42677510e886d250d50264949d/grpcio-1.80.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d334591df610ab94714048e0d5b4f3dd5ad1bee74dfec11eee344220077a79de", size = 6563866, upload-time = "2026-03-30T08:47:18.588Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/f6/fdd975a2cb4d78eb67769a7b3b3830970bfa2e919f1decf724ae4445f42c/grpcio-1.80.0-cp312-cp312-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:0cb517eb1d0d0aaf1d87af7cc5b801d686557c1d88b2619f5e31fab3c2315921", size = 7273060, upload-time = "2026-03-30T08:47:21.113Z" },
+ { url = "https://files.pythonhosted.org/packages/db/f0/a3deb5feba60d9538a962913e37bd2e69a195f1c3376a3dd44fe0427e996/grpcio-1.80.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:4e78c4ac0d97dc2e569b2f4bcbbb447491167cb358d1a389fc4af71ab6f70411", size = 6782121, upload-time = "2026-03-30T08:47:23.827Z" },
+ { url = "https://files.pythonhosted.org/packages/ca/84/36c6dcfddc093e108141f757c407902a05085e0c328007cb090d56646cdf/grpcio-1.80.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:2ed770b4c06984f3b47eb0517b1c69ad0b84ef3f40128f51448433be904634cd", size = 7383811, upload-time = "2026-03-30T08:47:26.517Z" },
+ { url = "https://files.pythonhosted.org/packages/7c/ef/f3a77e3dc5b471a0ec86c564c98d6adfa3510d38f8ee99010410858d591e/grpcio-1.80.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:256507e2f524092f1473071a05e65a5b10d84b82e3ff24c5b571513cfaa61e2f", size = 8393860, upload-time = "2026-03-30T08:47:29.439Z" },
+ { url = "https://files.pythonhosted.org/packages/9b/8d/9d4d27ed7f33d109c50d6b5ce578a9914aa68edab75d65869a17e630a8d1/grpcio-1.80.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:9a6284a5d907c37db53350645567c522be314bac859a64a7a5ca63b77bb7958f", size = 7830132, upload-time = "2026-03-30T08:47:33.254Z" },
+ { url = "https://files.pythonhosted.org/packages/14/e4/9990b41c6d7a44e1e9dee8ac11d7a9802ba1378b40d77468a7761d1ad288/grpcio-1.80.0-cp312-cp312-win32.whl", hash = "sha256:c71309cfce2f22be26aa4a847357c502db6c621f1a49825ae98aa0907595b193", size = 4140904, upload-time = "2026-03-30T08:47:35.319Z" },
+ { url = "https://files.pythonhosted.org/packages/2f/2c/296f6138caca1f4b92a31ace4ae1b87dab692fc16a7a3417af3bb3c805bf/grpcio-1.80.0-cp312-cp312-win_amd64.whl", hash = "sha256:9fe648599c0e37594c4809d81a9e77bd138cc82eb8baa71b6a86af65426723ff", size = 4880944, upload-time = "2026-03-30T08:47:37.831Z" },
+]
+
+[[package]]
+name = "h11"
+version = "0.16.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/01/ee/02a2c011bdab74c6fb3c75474d40b3052059d95df7e73351460c8588d963/h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1", size = 101250, upload-time = "2025-04-24T03:35:25.427Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86", size = 37515, upload-time = "2025-04-24T03:35:24.344Z" },
+]
+
+[[package]]
+name = "hf-xet"
+version = "1.4.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/53/92/ec9ad04d0b5728dca387a45af7bc98fbb0d73b2118759f5f6038b61a57e8/hf_xet-1.4.3.tar.gz", hash = "sha256:8ddedb73c8c08928c793df2f3401ec26f95be7f7e516a7bee2fbb546f6676113", size = 670477, upload-time = "2026-03-31T22:40:07.874Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ac/9f/9c23e4a447b8f83120798f9279d0297a4d1360bdbf59ef49ebec78fe2545/hf_xet-1.4.3-cp37-abi3-macosx_10_12_x86_64.whl", hash = "sha256:d0da85329eaf196e03e90b84c2d0aca53bd4573d097a75f99609e80775f98025", size = 3805048, upload-time = "2026-03-31T22:39:53.105Z" },
+ { url = "https://files.pythonhosted.org/packages/0b/f8/7aacb8e5f4a7899d39c787b5984e912e6c18b11be136ef13947d7a66d265/hf_xet-1.4.3-cp37-abi3-macosx_11_0_arm64.whl", hash = "sha256:e23717ce4186b265f69afa66e6f0069fe7efbf331546f5c313d00e123dc84583", size = 3562178, upload-time = "2026-03-31T22:39:51.295Z" },
+ { url = "https://files.pythonhosted.org/packages/df/9a/a24b26dc8a65f0ecc0fe5be981a19e61e7ca963b85e062c083f3a9100529/hf_xet-1.4.3-cp37-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:fc360b70c815bf340ed56c7b8c63aacf11762a4b099b2fe2c9bd6d6068668c08", size = 4212320, upload-time = "2026-03-31T22:39:42.922Z" },
+ { url = "https://files.pythonhosted.org/packages/53/60/46d493db155d2ee2801b71fb1b0fd67696359047fdd8caee2c914cc50c79/hf_xet-1.4.3-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:39f2d2e9654cd9b4319885733993807aab6de9dfbd34c42f0b78338d6617421f", size = 3991546, upload-time = "2026-03-31T22:39:41.335Z" },
+ { url = "https://files.pythonhosted.org/packages/bc/f5/067363e1c96c6b17256910830d1b54099d06287e10f4ec6ec4e7e08371fc/hf_xet-1.4.3-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:49ad8a8cead2b56051aa84d7fce3e1335efe68df3cf6c058f22a65513885baac", size = 4193200, upload-time = "2026-03-31T22:40:01.936Z" },
+ { url = "https://files.pythonhosted.org/packages/42/4b/53951592882d9c23080c7644542fda34a3813104e9e11fa1a7d82d419cb8/hf_xet-1.4.3-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:7716d62015477a70ea272d2d68cd7cad140f61c52ee452e133e139abfe2c17ba", size = 4429392, upload-time = "2026-03-31T22:40:03.492Z" },
+ { url = "https://files.pythonhosted.org/packages/8a/21/75a6c175b4e79662ad8e62f46a40ce341d8d6b206b06b4320d07d55b188c/hf_xet-1.4.3-cp37-abi3-win_amd64.whl", hash = "sha256:6b591fcad34e272a5b02607485e4f2a1334aebf1bc6d16ce8eb1eb8978ac2021", size = 3677359, upload-time = "2026-03-31T22:40:13.619Z" },
+ { url = "https://files.pythonhosted.org/packages/8a/7c/44314ecd0e89f8b2b51c9d9e5e7a60a9c1c82024ac471d415860557d3cd8/hf_xet-1.4.3-cp37-abi3-win_arm64.whl", hash = "sha256:7c2c7e20bcfcc946dc67187c203463f5e932e395845d098cc2a93f5b67ca0b47", size = 3533664, upload-time = "2026-03-31T22:40:12.152Z" },
+]
+
+[[package]]
+name = "httpcore"
+version = "1.0.9"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "certifi" },
+ { name = "h11" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/06/94/82699a10bca87a5556c9c59b5963f2d039dbd239f25bc2a63907a05a14cb/httpcore-1.0.9.tar.gz", hash = "sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8", size = 85484, upload-time = "2025-04-24T22:06:22.219Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl", hash = "sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55", size = 78784, upload-time = "2025-04-24T22:06:20.566Z" },
+]
+
+[[package]]
+name = "httptools"
+version = "0.7.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/b5/46/120a669232c7bdedb9d52d4aeae7e6c7dfe151e99dc70802e2fc7a5e1993/httptools-0.7.1.tar.gz", hash = "sha256:abd72556974f8e7c74a259655924a717a2365b236c882c3f6f8a45fe94703ac9", size = 258961, upload-time = "2025-10-10T03:55:08.559Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/53/7f/403e5d787dc4942316e515e949b0c8a013d84078a915910e9f391ba9b3ed/httptools-0.7.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:38e0c83a2ea9746ebbd643bdfb521b9aa4a91703e2cd705c20443405d2fd16a5", size = 206280, upload-time = "2025-10-10T03:54:39.274Z" },
+ { url = "https://files.pythonhosted.org/packages/2a/0d/7f3fd28e2ce311ccc998c388dd1c53b18120fda3b70ebb022b135dc9839b/httptools-0.7.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f25bbaf1235e27704f1a7b86cd3304eabc04f569c828101d94a0e605ef7205a5", size = 110004, upload-time = "2025-10-10T03:54:40.403Z" },
+ { url = "https://files.pythonhosted.org/packages/84/a6/b3965e1e146ef5762870bbe76117876ceba51a201e18cc31f5703e454596/httptools-0.7.1-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:2c15f37ef679ab9ecc06bfc4e6e8628c32a8e4b305459de7cf6785acd57e4d03", size = 517655, upload-time = "2025-10-10T03:54:41.347Z" },
+ { url = "https://files.pythonhosted.org/packages/11/7d/71fee6f1844e6fa378f2eddde6c3e41ce3a1fb4b2d81118dd544e3441ec0/httptools-0.7.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7fe6e96090df46b36ccfaf746f03034e5ab723162bc51b0a4cf58305324036f2", size = 511440, upload-time = "2025-10-10T03:54:42.452Z" },
+ { url = "https://files.pythonhosted.org/packages/22/a5/079d216712a4f3ffa24af4a0381b108aa9c45b7a5cc6eb141f81726b1823/httptools-0.7.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:f72fdbae2dbc6e68b8239defb48e6a5937b12218e6ffc2c7846cc37befa84362", size = 495186, upload-time = "2025-10-10T03:54:43.937Z" },
+ { url = "https://files.pythonhosted.org/packages/e9/9e/025ad7b65278745dee3bd0ebf9314934c4592560878308a6121f7f812084/httptools-0.7.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e99c7b90a29fd82fea9ef57943d501a16f3404d7b9ee81799d41639bdaae412c", size = 499192, upload-time = "2025-10-10T03:54:45.003Z" },
+ { url = "https://files.pythonhosted.org/packages/6d/de/40a8f202b987d43afc4d54689600ff03ce65680ede2f31df348d7f368b8f/httptools-0.7.1-cp312-cp312-win_amd64.whl", hash = "sha256:3e14f530fefa7499334a79b0cf7e7cd2992870eb893526fb097d51b4f2d0f321", size = 86694, upload-time = "2025-10-10T03:54:45.923Z" },
+]
+
+[[package]]
+name = "httpx"
+version = "0.28.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "anyio" },
+ { name = "certifi" },
+ { name = "httpcore" },
+ { name = "idna" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/b1/df/48c586a5fe32a0f01324ee087459e112ebb7224f646c0b5023f5e79e9956/httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc", size = 141406, upload-time = "2024-12-06T15:37:23.222Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517, upload-time = "2024-12-06T15:37:21.509Z" },
+]
+
+[[package]]
+name = "huggingface-hub"
+version = "1.11.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "filelock" },
+ { name = "fsspec" },
+ { name = "hf-xet", marker = "platform_machine == 'AMD64' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64'" },
+ { name = "httpx" },
+ { name = "packaging" },
+ { name = "pyyaml" },
+ { name = "tqdm" },
+ { name = "typer" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/dc/89/e7aa12d8a6b9259bed10671abb25ae6fa437c0f88a86ecbf59617bae7759/huggingface_hub-1.11.0.tar.gz", hash = "sha256:15fb3713c7f9cdff7b808a94fd91664f661ab142796bb48c9cd9493e8d166278", size = 761749, upload-time = "2026-04-16T13:07:39.73Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/37/02/4f3f8997d1ea7fe0146b343e5e14bd065fa87af790d07e5576d31b31cc18/huggingface_hub-1.11.0-py3-none-any.whl", hash = "sha256:42a6de0afbfeb5e022222d36398f029679db4eb4778801aafda32257ae9131ab", size = 645499, upload-time = "2026-04-16T13:07:37.716Z" },
+]
+
+[[package]]
+name = "idna"
+version = "3.11"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/6f/6d/0703ccc57f3a7233505399edb88de3cbd678da106337b9fcde432b65ed60/idna-3.11.tar.gz", hash = "sha256:795dafcc9c04ed0c1fb032c2aa73654d8e8c5023a7df64a53f39190ada629902", size = 194582, upload-time = "2025-10-12T14:55:20.501Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/0e/61/66938bbb5fc52dbdf84594873d5b51fb1f7c7794e9c0f5bd885f30bc507b/idna-3.11-py3-none-any.whl", hash = "sha256:771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea", size = 71008, upload-time = "2025-10-12T14:55:18.883Z" },
+]
+
+[[package]]
+name = "importlib-metadata"
+version = "8.7.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "zipp" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/f3/49/3b30cad09e7771a4982d9975a8cbf64f00d4a1ececb53297f1d9a7be1b10/importlib_metadata-8.7.1.tar.gz", hash = "sha256:49fef1ae6440c182052f407c8d34a68f72efc36db9ca90dc0113398f2fdde8bb", size = 57107, upload-time = "2025-12-21T10:00:19.278Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/fa/5e/f8e9a1d23b9c20a551a8a02ea3637b4642e22c2626e3a13a9a29cdea99eb/importlib_metadata-8.7.1-py3-none-any.whl", hash = "sha256:5a1f80bf1daa489495071efbb095d75a634cf28a8bc299581244063b53176151", size = 27865, upload-time = "2025-12-21T10:00:18.329Z" },
+]
+
+[[package]]
+name = "importlib-resources"
+version = "7.1.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/e4/06/b56dfa750b44e86157093bc8fca0ab81dccbf5260510de4eaf1cb69b5b99/importlib_resources-7.1.0.tar.gz", hash = "sha256:0722d4c6212489c530f2a145a34c0a7a3b4721bc96a15fada5930e2a0b760708", size = 44985, upload-time = "2026-04-12T16:36:09.232Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/8a/db/55a262f3606bebcae07cc14095338471ad7c0bbcaa37707e6f0ee49725b7/importlib_resources-7.1.0-py3-none-any.whl", hash = "sha256:1bd7b48b4088eddb2cd16382150bb515af0bd2c70128194392725f82ad2c96a1", size = 37232, upload-time = "2026-04-12T16:36:08.219Z" },
+]
+
+[[package]]
+name = "jsonschema"
+version = "4.26.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "attrs" },
+ { name = "jsonschema-specifications" },
+ { name = "referencing" },
+ { name = "rpds-py" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/b3/fc/e067678238fa451312d4c62bf6e6cf5ec56375422aee02f9cb5f909b3047/jsonschema-4.26.0.tar.gz", hash = "sha256:0c26707e2efad8aa1bfc5b7ce170f3fccc2e4918ff85989ba9ffa9facb2be326", size = 366583, upload-time = "2026-01-07T13:41:07.246Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/69/90/f63fb5873511e014207a475e2bb4e8b2e570d655b00ac19a9a0ca0a385ee/jsonschema-4.26.0-py3-none-any.whl", hash = "sha256:d489f15263b8d200f8387e64b4c3a75f06629559fb73deb8fdfb525f2dab50ce", size = 90630, upload-time = "2026-01-07T13:41:05.306Z" },
+]
+
+[[package]]
+name = "jsonschema-specifications"
+version = "2025.9.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "referencing" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/19/74/a633ee74eb36c44aa6d1095e7cc5569bebf04342ee146178e2d36600708b/jsonschema_specifications-2025.9.1.tar.gz", hash = "sha256:b540987f239e745613c7a9176f3edb72b832a4ac465cf02712288397832b5e8d", size = 32855, upload-time = "2025-09-08T01:34:59.186Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/41/45/1a4ed80516f02155c51f51e8cedb3c1902296743db0bbc66608a0db2814f/jsonschema_specifications-2025.9.1-py3-none-any.whl", hash = "sha256:98802fee3a11ee76ecaca44429fda8a41bff98b00a0f2838151b113f210cc6fe", size = 18437, upload-time = "2025-09-08T01:34:57.871Z" },
+]
+
+[[package]]
+name = "kubernetes"
+version = "35.0.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "certifi" },
+ { name = "durationpy" },
+ { name = "python-dateutil" },
+ { name = "pyyaml" },
+ { name = "requests" },
+ { name = "requests-oauthlib" },
+ { name = "six" },
+ { name = "urllib3" },
+ { name = "websocket-client" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/2c/8f/85bf51ad4150f64e8c665daf0d9dfe9787ae92005efb9a4d1cba592bd79d/kubernetes-35.0.0.tar.gz", hash = "sha256:3d00d344944239821458b9efd484d6df9f011da367ecb155dadf9513f05f09ee", size = 1094642, upload-time = "2026-01-16T01:05:27.76Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/0c/70/05b685ea2dffcb2adbf3cdcea5d8865b7bc66f67249084cf845012a0ff13/kubernetes-35.0.0-py2.py3-none-any.whl", hash = "sha256:39e2b33b46e5834ef6c3985ebfe2047ab39135d41de51ce7641a7ca5b372a13d", size = 2017602, upload-time = "2026-01-16T01:05:25.991Z" },
+]
+
+[[package]]
+name = "markdown-it-py"
+version = "4.0.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "mdurl" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/5b/f5/4ec618ed16cc4f8fb3b701563655a69816155e79e24a17b651541804721d/markdown_it_py-4.0.0.tar.gz", hash = "sha256:cb0a2b4aa34f932c007117b194e945bd74e0ec24133ceb5bac59009cda1cb9f3", size = 73070, upload-time = "2025-08-11T12:57:52.854Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/94/54/e7d793b573f298e1c9013b8c4dade17d481164aa517d1d7148619c2cedbf/markdown_it_py-4.0.0-py3-none-any.whl", hash = "sha256:87327c59b172c5011896038353a81343b6754500a08cd7a4973bb48c6d578147", size = 87321, upload-time = "2025-08-11T12:57:51.923Z" },
+]
+
+[[package]]
+name = "mdurl"
+version = "0.1.2"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/d6/54/cfe61301667036ec958cb99bd3efefba235e65cdeb9c84d24a8293ba1d90/mdurl-0.1.2.tar.gz", hash = "sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba", size = 8729, upload-time = "2022-08-14T12:40:10.846Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b3/38/89ba8ad64ae25be8de66a6d463314cf1eb366222074cfda9ee839c56a4b4/mdurl-0.1.2-py3-none-any.whl", hash = "sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8", size = 9979, upload-time = "2022-08-14T12:40:09.779Z" },
+]
+
+[[package]]
+name = "mmh3"
+version = "5.2.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/91/1a/edb23803a168f070ded7a3014c6d706f63b90c84ccc024f89d794a3b7a6d/mmh3-5.2.1.tar.gz", hash = "sha256:bbea5b775f0ac84945191fb83f845a6fd9a21a03ea7f2e187defac7e401616ad", size = 33775, upload-time = "2026-03-05T15:55:57.716Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/92/94/bc5c3b573b40a328c4d141c20e399039ada95e5e2a661df3425c5165fd84/mmh3-5.2.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:0cc21533878e5586b80d74c281d7f8da7932bc8ace50b8d5f6dbf7e3935f63f1", size = 56087, upload-time = "2026-03-05T15:54:21.92Z" },
+ { url = "https://files.pythonhosted.org/packages/f6/80/64a02cc3e95c3af0aaa2590849d9ed24a9f14bb93537addde688e039b7c3/mmh3-5.2.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:4eda76074cfca2787c8cf1bec603eaebdddd8b061ad5502f85cddae998d54f00", size = 40500, upload-time = "2026-03-05T15:54:22.953Z" },
+ { url = "https://files.pythonhosted.org/packages/8b/72/e6d6602ce18adf4ddcd0e48f2e13590cc92a536199e52109f46f259d3c46/mmh3-5.2.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:eee884572b06bbe8a2b54f424dbd996139442cf83c76478e1ec162512e0dd2c7", size = 40034, upload-time = "2026-03-05T15:54:23.943Z" },
+ { url = "https://files.pythonhosted.org/packages/59/c2/bf4537a8e58e21886ef16477041238cab5095c836496e19fafc34b7445d2/mmh3-5.2.1-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:0d0b7e803191db5f714d264044e06189c8ccd3219e936cc184f07106bd17fd7b", size = 97292, upload-time = "2026-03-05T15:54:25.335Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/e2/51ed62063b44d10b06d975ac87af287729eeb5e3ed9772f7584a17983e90/mmh3-5.2.1-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:8e6c219e375f6341d0959af814296372d265a8ca1af63825f65e2e87c618f006", size = 103274, upload-time = "2026-03-05T15:54:26.44Z" },
+ { url = "https://files.pythonhosted.org/packages/75/ce/12a7524dca59eec92e5b31fdb13ede1e98eda277cf2b786cf73bfbc24e81/mmh3-5.2.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:26fb5b9c3946bf7f1daed7b37e0c03898a6f062149127570f8ede346390a0825", size = 106158, upload-time = "2026-03-05T15:54:28.578Z" },
+ { url = "https://files.pythonhosted.org/packages/86/1f/d3ba6dd322d01ab5d44c46c8f0c38ab6bbbf9b5e20e666dfc05bf4a23604/mmh3-5.2.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:3c38d142c706201db5b2345166eeef1e7740e3e2422b470b8ba5c8727a9b4c7a", size = 113005, upload-time = "2026-03-05T15:54:29.767Z" },
+ { url = "https://files.pythonhosted.org/packages/b6/a9/15d6b6f913294ea41b44d901741298e3718e1cb89ee626b3694625826a43/mmh3-5.2.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:50885073e2909251d4718634a191c49ae5f527e5e1736d738e365c3e8be8f22b", size = 120744, upload-time = "2026-03-05T15:54:30.931Z" },
+ { url = "https://files.pythonhosted.org/packages/76/b3/70b73923fd0284c439860ff5c871b20210dfdbe9a6b9dd0ee6496d77f174/mmh3-5.2.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:b3f99e1756fc48ad507b95e5d86f2fb21b3d495012ff13e6592ebac14033f166", size = 99111, upload-time = "2026-03-05T15:54:32.353Z" },
+ { url = "https://files.pythonhosted.org/packages/dd/38/99f7f75cd27d10d8b899a1caafb9d531f3903e4d54d572220e3d8ac35e89/mmh3-5.2.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:62815d2c67f2dd1be76a253d88af4e1da19aeaa1820146dec52cf8bee2958b16", size = 98623, upload-time = "2026-03-05T15:54:33.801Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/68/6e292c0853e204c44d2f03ea5f090be3317a0e2d9417ecb62c9eb27687df/mmh3-5.2.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:8f767ba0911602ddef289404e33835a61168314ebd3c729833db2ed685824211", size = 106437, upload-time = "2026-03-05T15:54:35.177Z" },
+ { url = "https://files.pythonhosted.org/packages/dd/c6/fedd7284c459cfb58721d461fcf5607a4c1f5d9ab195d113d51d10164d16/mmh3-5.2.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:67e41a497bac88cc1de96eeba56eeb933c39d54bc227352f8455aa87c4ca4000", size = 110002, upload-time = "2026-03-05T15:54:36.673Z" },
+ { url = "https://files.pythonhosted.org/packages/3b/ac/ca8e0c19a34f5b71390171d2ff0b9f7f187550d66801a731bb68925126a4/mmh3-5.2.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3d74a03fb57757ece25aa4b3c1c60157a1cece37a020542785f942e2f827eed5", size = 97507, upload-time = "2026-03-05T15:54:37.804Z" },
+ { url = "https://files.pythonhosted.org/packages/df/94/6ebb9094cfc7ac5e7950776b9d13a66bb4a34f83814f32ba2abc9494fc68/mmh3-5.2.1-cp312-cp312-win32.whl", hash = "sha256:7374d6e3ef72afe49697ecd683f3da12f4fc06af2d75433d0580c6746d2fa025", size = 40773, upload-time = "2026-03-05T15:54:40.077Z" },
+ { url = "https://files.pythonhosted.org/packages/5b/3c/cd3527198cf159495966551c84a5f36805a10ac17b294f41f67b83f6a4d6/mmh3-5.2.1-cp312-cp312-win_amd64.whl", hash = "sha256:3a9fed49c6ce4ed7e73f13182760c65c816da006debe67f37635580dfb0fae00", size = 41560, upload-time = "2026-03-05T15:54:41.148Z" },
+ { url = "https://files.pythonhosted.org/packages/15/96/6fe5ebd0f970a076e3ed5512871ce7569447b962e96c125528a2f9724470/mmh3-5.2.1-cp312-cp312-win_arm64.whl", hash = "sha256:bbfcb95d9a744e6e2827dfc66ad10e1020e0cac255eb7f85652832d5a264c2fc", size = 39313, upload-time = "2026-03-05T15:54:42.171Z" },
+]
+
+[[package]]
+name = "mpmath"
+version = "1.3.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/e0/47/dd32fa426cc72114383ac549964eecb20ecfd886d1e5ccf5340b55b02f57/mpmath-1.3.0.tar.gz", hash = "sha256:7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f", size = 508106, upload-time = "2023-03-07T16:47:11.061Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/43/e3/7d92a15f894aa0c9c4b49b8ee9ac9850d6e63b03c9c32c0367a13ae62209/mpmath-1.3.0-py3-none-any.whl", hash = "sha256:a0b2b9fe80bbcd81a6647ff13108738cfb482d481d826cc0e02f5b35e5c88d2c", size = 536198, upload-time = "2023-03-07T16:47:09.197Z" },
+]
+
+[[package]]
+name = "msgpack"
+version = "1.1.2"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/4d/f2/bfb55a6236ed8725a96b0aa3acbd0ec17588e6a2c3b62a93eb513ed8783f/msgpack-1.1.2.tar.gz", hash = "sha256:3b60763c1373dd60f398488069bcdc703cd08a711477b5d480eecc9f9626f47e", size = 173581, upload-time = "2025-10-08T09:15:56.596Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ad/bd/8b0d01c756203fbab65d265859749860682ccd2a59594609aeec3a144efa/msgpack-1.1.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:70a0dff9d1f8da25179ffcf880e10cf1aad55fdb63cd59c9a49a1b82290062aa", size = 81939, upload-time = "2025-10-08T09:15:01.472Z" },
+ { url = "https://files.pythonhosted.org/packages/34/68/ba4f155f793a74c1483d4bdef136e1023f7bcba557f0db4ef3db3c665cf1/msgpack-1.1.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:446abdd8b94b55c800ac34b102dffd2f6aa0ce643c55dfc017ad89347db3dbdb", size = 85064, upload-time = "2025-10-08T09:15:03.764Z" },
+ { url = "https://files.pythonhosted.org/packages/f2/60/a064b0345fc36c4c3d2c743c82d9100c40388d77f0b48b2f04d6041dbec1/msgpack-1.1.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c63eea553c69ab05b6747901b97d620bb2a690633c77f23feb0c6a947a8a7b8f", size = 417131, upload-time = "2025-10-08T09:15:05.136Z" },
+ { url = "https://files.pythonhosted.org/packages/65/92/a5100f7185a800a5d29f8d14041f61475b9de465ffcc0f3b9fba606e4505/msgpack-1.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:372839311ccf6bdaf39b00b61288e0557916c3729529b301c52c2d88842add42", size = 427556, upload-time = "2025-10-08T09:15:06.837Z" },
+ { url = "https://files.pythonhosted.org/packages/f5/87/ffe21d1bf7d9991354ad93949286f643b2bb6ddbeab66373922b44c3b8cc/msgpack-1.1.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:2929af52106ca73fcb28576218476ffbb531a036c2adbcf54a3664de124303e9", size = 404920, upload-time = "2025-10-08T09:15:08.179Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/41/8543ed2b8604f7c0d89ce066f42007faac1eaa7d79a81555f206a5cdb889/msgpack-1.1.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:be52a8fc79e45b0364210eef5234a7cf8d330836d0a64dfbb878efa903d84620", size = 415013, upload-time = "2025-10-08T09:15:09.83Z" },
+ { url = "https://files.pythonhosted.org/packages/41/0d/2ddfaa8b7e1cee6c490d46cb0a39742b19e2481600a7a0e96537e9c22f43/msgpack-1.1.2-cp312-cp312-win32.whl", hash = "sha256:1fff3d825d7859ac888b0fbda39a42d59193543920eda9d9bea44d958a878029", size = 65096, upload-time = "2025-10-08T09:15:11.11Z" },
+ { url = "https://files.pythonhosted.org/packages/8c/ec/d431eb7941fb55a31dd6ca3404d41fbb52d99172df2e7707754488390910/msgpack-1.1.2-cp312-cp312-win_amd64.whl", hash = "sha256:1de460f0403172cff81169a30b9a92b260cb809c4cb7e2fc79ae8d0510c78b6b", size = 72708, upload-time = "2025-10-08T09:15:12.554Z" },
+ { url = "https://files.pythonhosted.org/packages/c5/31/5b1a1f70eb0e87d1678e9624908f86317787b536060641d6798e3cf70ace/msgpack-1.1.2-cp312-cp312-win_arm64.whl", hash = "sha256:be5980f3ee0e6bd44f3a9e9dea01054f175b50c3e6cdb692bc9424c0bbb8bf69", size = 64119, upload-time = "2025-10-08T09:15:13.589Z" },
+]
+
+[[package]]
+name = "msgpack-numpy"
+version = "0.4.8"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "msgpack" },
+ { name = "numpy" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/08/94/61e8aee142733ebfdc400a05bdac6e1763c4514bba3b42743d223f388450/msgpack-numpy-0.4.8.tar.gz", hash = "sha256:c667d3180513422f9c7545be5eec5d296dcbb357e06f72ed39cc683797556e69", size = 10923, upload-time = "2022-06-09T03:43:08.739Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/9b/5d/f25ac7d4fb77cbd53ddc6d05d833c6bf52b12770a44fa9a447eed470ca9a/msgpack_numpy-0.4.8-py2.py3-none-any.whl", hash = "sha256:773c19d4dfbae1b3c7b791083e2caf66983bb19b40901646f61d8731554ae3da", size = 6919, upload-time = "2022-06-09T03:43:06.82Z" },
+]
+
+[[package]]
+name = "multidict"
+version = "6.7.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/1a/c2/c2d94cbe6ac1753f3fc980da97b3d930efe1da3af3c9f5125354436c073d/multidict-6.7.1.tar.gz", hash = "sha256:ec6652a1bee61c53a3e5776b6049172c53b6aaba34f18c9ad04f82712bac623d", size = 102010, upload-time = "2026-01-26T02:46:45.979Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/8d/9c/f20e0e2cf80e4b2e4b1c365bf5fe104ee633c751a724246262db8f1a0b13/multidict-6.7.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:a90f75c956e32891a4eda3639ce6dd86e87105271f43d43442a3aedf3cddf172", size = 76893, upload-time = "2026-01-26T02:43:52.754Z" },
+ { url = "https://files.pythonhosted.org/packages/fe/cf/18ef143a81610136d3da8193da9d80bfe1cb548a1e2d1c775f26b23d024a/multidict-6.7.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:3fccb473e87eaa1382689053e4a4618e7ba7b9b9b8d6adf2027ee474597128cd", size = 45456, upload-time = "2026-01-26T02:43:53.893Z" },
+ { url = "https://files.pythonhosted.org/packages/a9/65/1caac9d4cd32e8433908683446eebc953e82d22b03d10d41a5f0fefe991b/multidict-6.7.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b0fa96985700739c4c7853a43c0b3e169360d6855780021bfc6d0f1ce7c123e7", size = 43872, upload-time = "2026-01-26T02:43:55.041Z" },
+ { url = "https://files.pythonhosted.org/packages/cf/3b/d6bd75dc4f3ff7c73766e04e705b00ed6dbbaccf670d9e05a12b006f5a21/multidict-6.7.1-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:cb2a55f408c3043e42b40cc8eecd575afa27b7e0b956dfb190de0f8499a57a53", size = 251018, upload-time = "2026-01-26T02:43:56.198Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/80/c959c5933adedb9ac15152e4067c702a808ea183a8b64cf8f31af8ad3155/multidict-6.7.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:eb0ce7b2a32d09892b3dd6cc44877a0d02a33241fafca5f25c8b6b62374f8b75", size = 258883, upload-time = "2026-01-26T02:43:57.499Z" },
+ { url = "https://files.pythonhosted.org/packages/86/85/7ed40adafea3d4f1c8b916e3b5cc3a8e07dfcdcb9cd72800f4ed3ca1b387/multidict-6.7.1-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c3a32d23520ee37bf327d1e1a656fec76a2edd5c038bf43eddfa0572ec49c60b", size = 242413, upload-time = "2026-01-26T02:43:58.755Z" },
+ { url = "https://files.pythonhosted.org/packages/d2/57/b8565ff533e48595503c785f8361ff9a4fde4d67de25c207cd0ba3befd03/multidict-6.7.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9c90fed18bffc0189ba814749fdcc102b536e83a9f738a9003e569acd540a733", size = 268404, upload-time = "2026-01-26T02:44:00.216Z" },
+ { url = "https://files.pythonhosted.org/packages/e0/50/9810c5c29350f7258180dfdcb2e52783a0632862eb334c4896ac717cebcb/multidict-6.7.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:da62917e6076f512daccfbbde27f46fed1c98fee202f0559adec8ee0de67f71a", size = 269456, upload-time = "2026-01-26T02:44:02.202Z" },
+ { url = "https://files.pythonhosted.org/packages/f3/8d/5e5be3ced1d12966fefb5c4ea3b2a5b480afcea36406559442c6e31d4a48/multidict-6.7.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bfde23ef6ed9db7eaee6c37dcec08524cb43903c60b285b172b6c094711b3961", size = 256322, upload-time = "2026-01-26T02:44:03.56Z" },
+ { url = "https://files.pythonhosted.org/packages/31/6e/d8a26d81ac166a5592782d208dd90dfdc0a7a218adaa52b45a672b46c122/multidict-6.7.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3758692429e4e32f1ba0df23219cd0b4fc0a52f476726fff9337d1a57676a582", size = 253955, upload-time = "2026-01-26T02:44:04.845Z" },
+ { url = "https://files.pythonhosted.org/packages/59/4c/7c672c8aad41534ba619bcd4ade7a0dc87ed6b8b5c06149b85d3dd03f0cd/multidict-6.7.1-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:398c1478926eca669f2fd6a5856b6de9c0acf23a2cb59a14c0ba5844fa38077e", size = 251254, upload-time = "2026-01-26T02:44:06.133Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/bd/84c24de512cbafbdbc39439f74e967f19570ce7924e3007174a29c348916/multidict-6.7.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:c102791b1c4f3ab36ce4101154549105a53dc828f016356b3e3bcae2e3a039d3", size = 252059, upload-time = "2026-01-26T02:44:07.518Z" },
+ { url = "https://files.pythonhosted.org/packages/fa/ba/f5449385510825b73d01c2d4087bf6d2fccc20a2d42ac34df93191d3dd03/multidict-6.7.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:a088b62bd733e2ad12c50dad01b7d0166c30287c166e137433d3b410add807a6", size = 263588, upload-time = "2026-01-26T02:44:09.382Z" },
+ { url = "https://files.pythonhosted.org/packages/d7/11/afc7c677f68f75c84a69fe37184f0f82fce13ce4b92f49f3db280b7e92b3/multidict-6.7.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:3d51ff4785d58d3f6c91bdbffcb5e1f7ddfda557727043aa20d20ec4f65e324a", size = 259642, upload-time = "2026-01-26T02:44:10.73Z" },
+ { url = "https://files.pythonhosted.org/packages/2b/17/ebb9644da78c4ab36403739e0e6e0e30ebb135b9caf3440825001a0bddcb/multidict-6.7.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fc5907494fccf3e7d3f94f95c91d6336b092b5fc83811720fae5e2765890dfba", size = 251377, upload-time = "2026-01-26T02:44:12.042Z" },
+ { url = "https://files.pythonhosted.org/packages/ca/a4/840f5b97339e27846c46307f2530a2805d9d537d8b8bd416af031cad7fa0/multidict-6.7.1-cp312-cp312-win32.whl", hash = "sha256:28ca5ce2fd9716631133d0e9a9b9a745ad7f60bac2bccafb56aa380fc0b6c511", size = 41887, upload-time = "2026-01-26T02:44:14.245Z" },
+ { url = "https://files.pythonhosted.org/packages/80/31/0b2517913687895f5904325c2069d6a3b78f66cc641a86a2baf75a05dcbb/multidict-6.7.1-cp312-cp312-win_amd64.whl", hash = "sha256:fcee94dfbd638784645b066074b338bc9cc155d4b4bffa4adce1615c5a426c19", size = 46053, upload-time = "2026-01-26T02:44:15.371Z" },
+ { url = "https://files.pythonhosted.org/packages/0c/5b/aba28e4ee4006ae4c7df8d327d31025d760ffa992ea23812a601d226e682/multidict-6.7.1-cp312-cp312-win_arm64.whl", hash = "sha256:ba0a9fb644d0c1a2194cf7ffb043bd852cea63a57f66fbd33959f7dae18517bf", size = 43307, upload-time = "2026-01-26T02:44:16.852Z" },
+ { url = "https://files.pythonhosted.org/packages/81/08/7036c080d7117f28a4af526d794aab6a84463126db031b007717c1a6676e/multidict-6.7.1-py3-none-any.whl", hash = "sha256:55d97cc6dae627efa6a6e548885712d4864b81110ac76fa4e534c03819fa4a56", size = 12319, upload-time = "2026-01-26T02:46:44.004Z" },
+]
+
+[[package]]
+name = "numpy"
+version = "2.4.4"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/d7/9f/b8cef5bffa569759033adda9481211426f12f53299629b410340795c2514/numpy-2.4.4.tar.gz", hash = "sha256:2d390634c5182175533585cc89f3608a4682ccb173cc9bb940b2881c8d6f8fa0", size = 20731587, upload-time = "2026-03-29T13:22:01.298Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/28/05/32396bec30fb2263770ee910142f49c1476d08e8ad41abf8403806b520ce/numpy-2.4.4-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:15716cfef24d3a9762e3acdf87e27f58dc823d1348f765bbea6bef8c639bfa1b", size = 16689272, upload-time = "2026-03-29T13:18:49.223Z" },
+ { url = "https://files.pythonhosted.org/packages/c5/f3/a983d28637bfcd763a9c7aafdb6d5c0ebf3d487d1e1459ffdb57e2f01117/numpy-2.4.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:23cbfd4c17357c81021f21540da84ee282b9c8fba38a03b7b9d09ba6b951421e", size = 14699573, upload-time = "2026-03-29T13:18:52.629Z" },
+ { url = "https://files.pythonhosted.org/packages/9b/fd/e5ecca1e78c05106d98028114f5c00d3eddb41207686b2b7de3e477b0e22/numpy-2.4.4-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:8b3b60bb7cba2c8c81837661c488637eee696f59a877788a396d33150c35d842", size = 5204782, upload-time = "2026-03-29T13:18:55.579Z" },
+ { url = "https://files.pythonhosted.org/packages/de/2f/702a4594413c1a8632092beae8aba00f1d67947389369b3777aed783fdca/numpy-2.4.4-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:e4a010c27ff6f210ff4c6ef34394cd61470d01014439b192ec22552ee867f2a8", size = 6552038, upload-time = "2026-03-29T13:18:57.769Z" },
+ { url = "https://files.pythonhosted.org/packages/7f/37/eed308a8f56cba4d1fdf467a4fc67ef4ff4bf1c888f5fc980481890104b1/numpy-2.4.4-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f9e75681b59ddaa5e659898085ae0eaea229d054f2ac0c7e563a62205a700121", size = 15670666, upload-time = "2026-03-29T13:19:00.341Z" },
+ { url = "https://files.pythonhosted.org/packages/0a/0d/0e3ecece05b7a7e87ab9fb587855548da437a061326fff64a223b6dcb78a/numpy-2.4.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:81f4a14bee47aec54f883e0cad2d73986640c1590eb9bfaaba7ad17394481e6e", size = 16645480, upload-time = "2026-03-29T13:19:03.63Z" },
+ { url = "https://files.pythonhosted.org/packages/34/49/f2312c154b82a286758ee2f1743336d50651f8b5195db18cdb63675ff649/numpy-2.4.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:62d6b0f03b694173f9fcb1fb317f7222fd0b0b103e784c6549f5e53a27718c44", size = 17020036, upload-time = "2026-03-29T13:19:07.428Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/e9/736d17bd77f1b0ec4f9901aaec129c00d59f5d84d5e79bba540ef12c2330/numpy-2.4.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fbc356aae7adf9e6336d336b9c8111d390a05df88f1805573ebb0807bd06fd1d", size = 18368643, upload-time = "2026-03-29T13:19:10.775Z" },
+ { url = "https://files.pythonhosted.org/packages/63/f6/d417977c5f519b17c8a5c3bc9e8304b0908b0e21136fe43bf628a1343914/numpy-2.4.4-cp312-cp312-win32.whl", hash = "sha256:0d35aea54ad1d420c812bfa0385c71cd7cc5bcf7c65fed95fc2cd02fe8c79827", size = 5961117, upload-time = "2026-03-29T13:19:13.464Z" },
+ { url = "https://files.pythonhosted.org/packages/2d/5b/e1deebf88ff431b01b7406ca3583ab2bbb90972bbe1c568732e49c844f7e/numpy-2.4.4-cp312-cp312-win_amd64.whl", hash = "sha256:b5f0362dc928a6ecd9db58868fca5e48485205e3855957bdedea308f8672ea4a", size = 12320584, upload-time = "2026-03-29T13:19:16.155Z" },
+ { url = "https://files.pythonhosted.org/packages/58/89/e4e856ac82a68c3ed64486a544977d0e7bdd18b8da75b78a577ca31c4395/numpy-2.4.4-cp312-cp312-win_arm64.whl", hash = "sha256:846300f379b5b12cc769334464656bc882e0735d27d9726568bc932fdc49d5ec", size = 10221450, upload-time = "2026-03-29T13:19:18.994Z" },
+]
+
+[[package]]
+name = "oauthlib"
+version = "3.3.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/0b/5f/19930f824ffeb0ad4372da4812c50edbd1434f678c90c2733e1188edfc63/oauthlib-3.3.1.tar.gz", hash = "sha256:0f0f8aa759826a193cf66c12ea1af1637f87b9b4622d46e866952bb022e538c9", size = 185918, upload-time = "2025-06-19T22:48:08.269Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/be/9c/92789c596b8df838baa98fa71844d84283302f7604ed565dafe5a6b5041a/oauthlib-3.3.1-py3-none-any.whl", hash = "sha256:88119c938d2b8fb88561af5f6ee0eec8cc8d552b7bb1f712743136eb7523b7a1", size = 160065, upload-time = "2025-06-19T22:48:06.508Z" },
+]
+
+[[package]]
+name = "onnxruntime"
+version = "1.24.4"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "flatbuffers" },
+ { name = "numpy" },
+ { name = "packaging" },
+ { name = "protobuf" },
+ { name = "sympy" },
+]
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d7/38/31db1b232b4ba960065a90c1506ad7a56995cd8482033184e97fadca17cc/onnxruntime-1.24.4-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:cad1c2b3f455c55678ab2a8caa51fb420c25e6e3cf10f4c23653cdabedc8de78", size = 17341875, upload-time = "2026-03-17T22:05:51.669Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/60/c4d1c8043eb42f8a9aa9e931c8c293d289c48ff463267130eca97d13357f/onnxruntime-1.24.4-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1a5c5a544b22f90859c88617ecb30e161ee3349fcc73878854f43d77f00558b5", size = 15172485, upload-time = "2026-03-17T22:03:32.182Z" },
+ { url = "https://files.pythonhosted.org/packages/6d/ab/5b68110e0460d73fad814d5bd11c7b1ddcce5c37b10177eb264d6a36e331/onnxruntime-1.24.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0d640eb9f3782689b55cfa715094474cd5662f2f137be6a6f847a594b6e9705c", size = 17244912, upload-time = "2026-03-17T22:04:37.251Z" },
+ { url = "https://files.pythonhosted.org/packages/8b/f4/6b89e297b93704345f0f3f8c62229bee323ef25682a3f9b4f89a39324950/onnxruntime-1.24.4-cp312-cp312-win_amd64.whl", hash = "sha256:535b29475ca42b593c45fbb2152fbf1cdf3f287315bf650e6a724a0a1d065cdb", size = 12596856, upload-time = "2026-03-17T22:05:41.224Z" },
+ { url = "https://files.pythonhosted.org/packages/43/06/8b8ec6e9e6a474fcd5d772453f627ad4549dfe3ab8c0bf70af5afcde551b/onnxruntime-1.24.4-cp312-cp312-win_arm64.whl", hash = "sha256:e6214096e14b7b52e3bee1903dc12dc7ca09cb65e26664668a4620cc5e6f9a90", size = 12270275, upload-time = "2026-03-17T22:05:31.132Z" },
+]
+
+[[package]]
+name = "opentelemetry-api"
+version = "1.41.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "importlib-metadata" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/47/8e/3778a7e87801d994869a9396b9fc2a289e5f9be91ff54a27d41eace494b0/opentelemetry_api-1.41.0.tar.gz", hash = "sha256:9421d911326ec12dee8bc933f7839090cad7a3f13fcfb0f9e82f8174dc003c09", size = 71416, upload-time = "2026-04-09T14:38:34.544Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/58/ee/99ab786653b3bda9c37ade7e24a7b607a1b1f696063172768417539d876d/opentelemetry_api-1.41.0-py3-none-any.whl", hash = "sha256:0e77c806e6a89c9e4f8d372034622f3e1418a11bdbe1c80a50b3d3397ad0fa4f", size = 69007, upload-time = "2026-04-09T14:38:11.833Z" },
+]
+
+[[package]]
+name = "opentelemetry-exporter-otlp-proto-common"
+version = "1.41.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "opentelemetry-proto" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/8c/28/e8eca94966fe9a1465f6094dc5ddc5398473682180279c94020bc23b4906/opentelemetry_exporter_otlp_proto_common-1.41.0.tar.gz", hash = "sha256:966bbce537e9edb166154779a7c4f8ab6b8654a03a28024aeaf1a3eacb07d6ee", size = 20411, upload-time = "2026-04-09T14:38:36.572Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/26/c4/78b9bf2d9c1d5e494f44932988d9d91c51a66b9a7b48adf99b62f7c65318/opentelemetry_exporter_otlp_proto_common-1.41.0-py3-none-any.whl", hash = "sha256:7a99177bf61f85f4f9ed2072f54d676364719c066f6d11f515acc6c745c7acf0", size = 18366, upload-time = "2026-04-09T14:38:15.135Z" },
+]
+
+[[package]]
+name = "opentelemetry-exporter-otlp-proto-grpc"
+version = "1.41.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "googleapis-common-protos" },
+ { name = "grpcio" },
+ { name = "opentelemetry-api" },
+ { name = "opentelemetry-exporter-otlp-proto-common" },
+ { name = "opentelemetry-proto" },
+ { name = "opentelemetry-sdk" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/42/46/d75a3f8c91915f2e58f61d0a2e4ada63891e7c7a37a20ff7949ba184a6b2/opentelemetry_exporter_otlp_proto_grpc-1.41.0.tar.gz", hash = "sha256:f704201251c6f65772b11bddea1c948000554459101bdbb0116e0a01b70592f6", size = 25754, upload-time = "2026-04-09T14:38:37.423Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/81/f6/b09e2e0c9f0b5750cebc6eaf31527b910821453cef40a5a0fe93550422b2/opentelemetry_exporter_otlp_proto_grpc-1.41.0-py3-none-any.whl", hash = "sha256:3a1a86bd24806ccf136ec9737dbfa4c09b069f9130ff66b0acb014f9c5255fd1", size = 20299, upload-time = "2026-04-09T14:38:17.01Z" },
+]
+
+[[package]]
+name = "opentelemetry-proto"
+version = "1.41.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "protobuf" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/e0/d9/08e3dc6156878713e8c811682bc76151f5fe1a3cb7f3abda3966fd56e71e/opentelemetry_proto-1.41.0.tar.gz", hash = "sha256:95d2e576f9fb1800473a3e4cfcca054295d06bdb869fda4dc9f4f779dc68f7b6", size = 45669, upload-time = "2026-04-09T14:38:45.978Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/49/8c/65ef7a9383a363864772022e822b5d5c6988e6f9dabeebb9278f5b86ebc3/opentelemetry_proto-1.41.0-py3-none-any.whl", hash = "sha256:b970ab537309f9eed296be482c3e7cca05d8aca8165346e929f658dbe153b247", size = 72074, upload-time = "2026-04-09T14:38:29.38Z" },
+]
+
+[[package]]
+name = "opentelemetry-sdk"
+version = "1.41.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "opentelemetry-api" },
+ { name = "opentelemetry-semantic-conventions" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/f8/0e/a586df1186f9f56b5a0879d52653effc40357b8e88fc50fe300038c3c08b/opentelemetry_sdk-1.41.0.tar.gz", hash = "sha256:7bddf3961131b318fc2d158947971a8e37e38b1cd23470cfb72b624e7cc108bd", size = 230181, upload-time = "2026-04-09T14:38:47.225Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/2c/13/a7825118208cb32e6a4edcd0a99f925cbef81e77b3b0aedfd9125583c543/opentelemetry_sdk-1.41.0-py3-none-any.whl", hash = "sha256:a596f5687964a3e0d7f8edfdcf5b79cbca9c93c7025ebf5fb00f398a9443b0bd", size = 180214, upload-time = "2026-04-09T14:38:30.657Z" },
+]
+
+[[package]]
+name = "opentelemetry-semantic-conventions"
+version = "0.62b0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "opentelemetry-api" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/a3/b0/c14f723e86c049b7bf8ff431160d982519b97a7be2857ed2247377397a24/opentelemetry_semantic_conventions-0.62b0.tar.gz", hash = "sha256:cbfb3c8fc259575cf68a6e1b94083cc35adc4a6b06e8cf431efa0d62606c0097", size = 145753, upload-time = "2026-04-09T14:38:48.274Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/58/6c/5e86fa1759a525ef91c2d8b79d668574760ff3f900d114297765eb8786cb/opentelemetry_semantic_conventions-0.62b0-py3-none-any.whl", hash = "sha256:0ddac1ce59eaf1a827d9987ab60d9315fb27aea23304144242d1fcad9e16b489", size = 231619, upload-time = "2026-04-09T14:38:32.394Z" },
+]
+
+[[package]]
+name = "orjson"
+version = "3.11.8"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/9d/1b/2024d06792d0779f9dbc51531b61c24f76c75b9f4ce05e6f3377a1814cea/orjson-3.11.8.tar.gz", hash = "sha256:96163d9cdc5a202703e9ad1b9ae757d5f0ca62f4fa0cc93d1f27b0e180cc404e", size = 5603832, upload-time = "2026-03-31T16:16:27.878Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/01/f6/8d58b32ab32d9215973a1688aebd098252ee8af1766c0e4e36e7831f0295/orjson-3.11.8-cp312-cp312-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl", hash = "sha256:1cd0b77e77c95758f8e1100139844e99f3ccc87e71e6fc8e1c027e55807c549f", size = 229233, upload-time = "2026-03-31T16:15:12.762Z" },
+ { url = "https://files.pythonhosted.org/packages/a9/8b/2ffe35e71f6b92622e8ea4607bf33ecf7dfb51b3619dcfabfd36cbe2d0a5/orjson-3.11.8-cp312-cp312-macosx_15_0_arm64.whl", hash = "sha256:6a3d159d5ffa0e3961f353c4b036540996bf8b9697ccc38261c0eac1fd3347a6", size = 128772, upload-time = "2026-03-31T16:15:14.237Z" },
+ { url = "https://files.pythonhosted.org/packages/27/d2/1f8682ae50d5c6897a563cb96bc106da8c9cb5b7b6e81a52e4cc086679b9/orjson-3.11.8-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:76070a76e9c5ae661e2d9848f216980d8d533e0f8143e6ed462807b242e3c5e8", size = 131946, upload-time = "2026-03-31T16:15:15.607Z" },
+ { url = "https://files.pythonhosted.org/packages/52/4b/5500f76f0eece84226e0689cb48dcde081104c2fa6e2483d17ca13685ffb/orjson-3.11.8-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:54153d21520a71a4c82a0dbb4523e468941d549d221dc173de0f019678cf3813", size = 130368, upload-time = "2026-03-31T16:15:17.066Z" },
+ { url = "https://files.pythonhosted.org/packages/da/4e/58b927e08fbe9840e6c920d9e299b051ea667463b1f39a56e668669f8508/orjson-3.11.8-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:469ac2125611b7c5741a0b3798cd9e5786cbad6345f9f400c77212be89563bec", size = 135540, upload-time = "2026-03-31T16:15:18.404Z" },
+ { url = "https://files.pythonhosted.org/packages/56/7c/ba7cb871cba1bcd5cd02ee34f98d894c6cea96353ad87466e5aef2429c60/orjson-3.11.8-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:14778ffd0f6896aa613951a7fbf4690229aa7a543cb2bfbe9f358e08aafa9546", size = 146877, upload-time = "2026-03-31T16:15:19.833Z" },
+ { url = "https://files.pythonhosted.org/packages/0b/5d/eb9c25fc1386696c6a342cd361c306452c75e0b55e86ad602dd4827a7fd7/orjson-3.11.8-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ea56a955056a6d6c550cf18b3348656a9d9a4f02e2d0c02cabf3c73f1055d506", size = 132837, upload-time = "2026-03-31T16:15:21.282Z" },
+ { url = "https://files.pythonhosted.org/packages/37/87/5ddeb7fc1fbd9004aeccab08426f34c81a5b4c25c7061281862b015fce2b/orjson-3.11.8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:53a0f57e59a530d18a142f4d4ba6dfc708dc5fdedce45e98ff06b44930a2a48f", size = 133624, upload-time = "2026-03-31T16:15:22.641Z" },
+ { url = "https://files.pythonhosted.org/packages/22/09/90048793db94ee4b2fcec4ac8e5ddb077367637d6650be896b3494b79bb7/orjson-3.11.8-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:9b48e274f8824567d74e2158199e269597edf00823a1b12b63d48462bbf5123e", size = 141904, upload-time = "2026-03-31T16:15:24.435Z" },
+ { url = "https://files.pythonhosted.org/packages/c0/cf/eb284847487821a5d415e54149a6449ba9bfc5872ce63ab7be41b8ec401c/orjson-3.11.8-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:3f262401086a3960586af06c054609365e98407151f5ea24a62893a40d80dbbb", size = 423742, upload-time = "2026-03-31T16:15:26.155Z" },
+ { url = "https://files.pythonhosted.org/packages/44/09/e12423d327071c851c13e76936f144a96adacfc037394dec35ac3fc8d1e8/orjson-3.11.8-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:8e8c6218b614badf8e229b697865df4301afa74b791b6c9ade01d19a9953a942", size = 147806, upload-time = "2026-03-31T16:15:27.909Z" },
+ { url = "https://files.pythonhosted.org/packages/b3/6d/37c2589ba864e582ffe7611643314785c6afb1f83c701654ef05daa8fcc7/orjson-3.11.8-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:093d489fa039ddade2db541097dbb484999fcc65fc2b0ff9819141e2ab364f25", size = 136485, upload-time = "2026-03-31T16:15:29.749Z" },
+ { url = "https://files.pythonhosted.org/packages/be/c9/135194a02ab76b04ed9a10f68624b7ebd238bbe55548878b11ff15a0f352/orjson-3.11.8-cp312-cp312-win32.whl", hash = "sha256:e0950ed1bcb9893f4293fd5c5a7ee10934fbf82c4101c70be360db23ce24b7d2", size = 131966, upload-time = "2026-03-31T16:15:31.687Z" },
+ { url = "https://files.pythonhosted.org/packages/ed/9a/9796f8fbe3cf30ce9cb696748dbb535e5c87be4bf4fe2e9ca498ef1fa8cf/orjson-3.11.8-cp312-cp312-win_amd64.whl", hash = "sha256:3cf17c141617b88ced4536b2135c552490f07799f6ad565948ea07bef0dcb9a6", size = 127441, upload-time = "2026-03-31T16:15:33.333Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/47/5aaf54524a7a4a0dd09dd778f3fa65dd2108290615b652e23d944152bc8e/orjson-3.11.8-cp312-cp312-win_arm64.whl", hash = "sha256:48854463b0572cc87dac7d981aa72ed8bf6deedc0511853dc76b8bbd5482d36d", size = 127364, upload-time = "2026-03-31T16:15:34.748Z" },
+]
+
+[[package]]
+name = "overrides"
+version = "7.7.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/36/86/b585f53236dec60aba864e050778b25045f857e17f6e5ea0ae95fe80edd2/overrides-7.7.0.tar.gz", hash = "sha256:55158fa3d93b98cc75299b1e67078ad9003ca27945c76162c1c0766d6f91820a", size = 22812, upload-time = "2024-01-27T21:01:33.423Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/2c/ab/fc8290c6a4c722e5514d80f62b2dc4c4df1a68a41d1364e625c35990fcf3/overrides-7.7.0-py3-none-any.whl", hash = "sha256:c7ed9d062f78b8e4c1a7b70bd8796b35ead4d9f510227ef9c5dc7626c60d7e49", size = 17832, upload-time = "2024-01-27T21:01:31.393Z" },
+]
+
+[[package]]
+name = "packaging"
+version = "26.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/df/de/0d2b39fb4af88a0258f3bac87dfcbb48e73fbdea4a2ed0e2213f9a4c2f9a/packaging-26.1.tar.gz", hash = "sha256:f042152b681c4bfac5cae2742a55e103d27ab2ec0f3d88037136b6bfe7c9c5de", size = 215519, upload-time = "2026-04-14T21:12:49.362Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/7a/c2/920ef838e2f0028c8262f16101ec09ebd5969864e5a64c4c05fad0617c56/packaging-26.1-py3-none-any.whl", hash = "sha256:5d9c0669c6285e491e0ced2eee587eaf67b670d94a19e94e3984a481aba6802f", size = 95831, upload-time = "2026-04-14T21:12:47.56Z" },
+]
+
+[[package]]
+name = "pillow"
+version = "11.3.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/f3/0d/d0d6dea55cd152ce3d6767bb38a8fc10e33796ba4ba210cbab9354b6d238/pillow-11.3.0.tar.gz", hash = "sha256:3828ee7586cd0b2091b6209e5ad53e20d0649bbe87164a459d0676e035e8f523", size = 47113069, upload-time = "2025-07-01T09:16:30.666Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/40/fe/1bc9b3ee13f68487a99ac9529968035cca2f0a51ec36892060edcc51d06a/pillow-11.3.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:fdae223722da47b024b867c1ea0be64e0df702c5e0a60e27daad39bf960dd1e4", size = 5278800, upload-time = "2025-07-01T09:14:17.648Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/32/7e2ac19b5713657384cec55f89065fb306b06af008cfd87e572035b27119/pillow-11.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:921bd305b10e82b4d1f5e802b6850677f965d8394203d182f078873851dada69", size = 4686296, upload-time = "2025-07-01T09:14:19.828Z" },
+ { url = "https://files.pythonhosted.org/packages/8e/1e/b9e12bbe6e4c2220effebc09ea0923a07a6da1e1f1bfbc8d7d29a01ce32b/pillow-11.3.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:eb76541cba2f958032d79d143b98a3a6b3ea87f0959bbe256c0b5e416599fd5d", size = 5871726, upload-time = "2025-07-03T13:10:04.448Z" },
+ { url = "https://files.pythonhosted.org/packages/8d/33/e9200d2bd7ba00dc3ddb78df1198a6e80d7669cce6c2bdbeb2530a74ec58/pillow-11.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:67172f2944ebba3d4a7b54f2e95c786a3a50c21b88456329314caaa28cda70f6", size = 7644652, upload-time = "2025-07-03T13:10:10.391Z" },
+ { url = "https://files.pythonhosted.org/packages/41/f1/6f2427a26fc683e00d985bc391bdd76d8dd4e92fac33d841127eb8fb2313/pillow-11.3.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:97f07ed9f56a3b9b5f49d3661dc9607484e85c67e27f3e8be2c7d28ca032fec7", size = 5977787, upload-time = "2025-07-01T09:14:21.63Z" },
+ { url = "https://files.pythonhosted.org/packages/e4/c9/06dd4a38974e24f932ff5f98ea3c546ce3f8c995d3f0985f8e5ba48bba19/pillow-11.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:676b2815362456b5b3216b4fd5bd89d362100dc6f4945154ff172e206a22c024", size = 6645236, upload-time = "2025-07-01T09:14:23.321Z" },
+ { url = "https://files.pythonhosted.org/packages/40/e7/848f69fb79843b3d91241bad658e9c14f39a32f71a301bcd1d139416d1be/pillow-11.3.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3e184b2f26ff146363dd07bde8b711833d7b0202e27d13540bfe2e35a323a809", size = 6086950, upload-time = "2025-07-01T09:14:25.237Z" },
+ { url = "https://files.pythonhosted.org/packages/0b/1a/7cff92e695a2a29ac1958c2a0fe4c0b2393b60aac13b04a4fe2735cad52d/pillow-11.3.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:6be31e3fc9a621e071bc17bb7de63b85cbe0bfae91bb0363c893cbe67247780d", size = 6723358, upload-time = "2025-07-01T09:14:27.053Z" },
+ { url = "https://files.pythonhosted.org/packages/26/7d/73699ad77895f69edff76b0f332acc3d497f22f5d75e5360f78cbcaff248/pillow-11.3.0-cp312-cp312-win32.whl", hash = "sha256:7b161756381f0918e05e7cb8a371fff367e807770f8fe92ecb20d905d0e1c149", size = 6275079, upload-time = "2025-07-01T09:14:30.104Z" },
+ { url = "https://files.pythonhosted.org/packages/8c/ce/e7dfc873bdd9828f3b6e5c2bbb74e47a98ec23cc5c74fc4e54462f0d9204/pillow-11.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:a6444696fce635783440b7f7a9fc24b3ad10a9ea3f0ab66c5905be1c19ccf17d", size = 6986324, upload-time = "2025-07-01T09:14:31.899Z" },
+ { url = "https://files.pythonhosted.org/packages/16/8f/b13447d1bf0b1f7467ce7d86f6e6edf66c0ad7cf44cf5c87a37f9bed9936/pillow-11.3.0-cp312-cp312-win_arm64.whl", hash = "sha256:2aceea54f957dd4448264f9bf40875da0415c83eb85f55069d89c0ed436e3542", size = 2423067, upload-time = "2025-07-01T09:14:33.709Z" },
+]
+
+[[package]]
+name = "polars"
+version = "1.40.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "polars-runtime-32" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/d9/1b/eea7d6fe6daafc1d784cc0f76c729b28051837ccb2d51ae64a0a3f798142/polars-1.40.0.tar.gz", hash = "sha256:711dd50dcbc35ba42a2625fcadc2a1349e2e9abf48e35631bdabafb90d89874b", size = 732943, upload-time = "2026-04-18T05:25:26.077Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b4/ad/d5ed79269b7fe59a3dbbfbdbecbe1e59a0b56e38d36491e57d2bfb5846c1/polars-1.40.0-py3-none-any.whl", hash = "sha256:60b1d677ca363e2fc6fdea8c3d16c0653fd52cc37f0249e0f29d9536d5aa45ef", size = 828012, upload-time = "2026-04-18T05:23:39.055Z" },
+]
+
+[[package]]
+name = "polars-runtime-32"
+version = "1.40.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/fb/b2/eae6c1b3d16c7a64ff382f557985ff939cce13455e8c9d056ab8e1e0fc87/polars_runtime_32-1.40.0.tar.gz", hash = "sha256:e31bff8bd37492c714e155e2e1429ac2d9ddf2dd6ec6474cc1cc70ac0b2bd6af", size = 2935285, upload-time = "2026-04-18T05:25:28.038Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b0/e4/2325689d2af4f9e70699ff98e8a2543707bebc34af78a5fe0e654107d9ed/polars_runtime_32-1.40.0-cp310-abi3-macosx_10_12_x86_64.whl", hash = "sha256:cab3ac7ff5bc9e0f4b3b146015569e9417cf0eaff8d3fb71004d73d67b6f09c7", size = 52092528, upload-time = "2026-04-18T05:23:42.341Z" },
+ { url = "https://files.pythonhosted.org/packages/19/a6/82157b19c5c40b2c1ed0493b87b9eaf9b4863cdedca5575ee083488b45ba/polars_runtime_32-1.40.0-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:d29624c75c4049253300786d00882fce620b3677ce495ebc4199292de8c2ba02", size = 46365073, upload-time = "2026-04-18T05:23:46.7Z" },
+ { url = "https://files.pythonhosted.org/packages/85/b5/5c4f1f2545f56c664cc57bbdd1aa66fcfcb129aa137ed72cc81d58eb480f/polars_runtime_32-1.40.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a034dc0d8481fc1ca0456ab33e98e53a4c6d6cc6a2edb36246cc81c936b925dc", size = 50250561, upload-time = "2026-04-18T05:23:51.316Z" },
+ { url = "https://files.pythonhosted.org/packages/8e/51/cb5eb75394f39c0ec14fddcc9b11adb707e1f28224a552ecbfa72d39b61b/polars_runtime_32-1.40.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:70e78c2f13a54a9d92ae30d2625bda759173cc4867ad6a39f85f140058d899c6", size = 56243695, upload-time = "2026-04-18T05:23:55.932Z" },
+ { url = "https://files.pythonhosted.org/packages/16/3a/be1437c0fbecbb07d81b151456089c3cf054eea5a791f849ed39b67611ca/polars_runtime_32-1.40.0-cp310-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:1843272c0ef49f4a07435888f0059eca08ec16ab9880219c457195a081df0281", size = 50427843, upload-time = "2026-04-18T05:24:00.159Z" },
+ { url = "https://files.pythonhosted.org/packages/be/c7/ea6449a2161816a13ed1d8aa02177d5a0594e011f0df5ddd2fad8e5bf20e/polars_runtime_32-1.40.0-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:081237dba07f15d61fc151825f203165480e9503ebe72a474a8c99aa78021962", size = 54153077, upload-time = "2026-04-18T05:24:05.066Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/1a/0b239138afe8b80a1a0b4c95db3884e6afbbe82ec3318918ab03bc57f231/polars_runtime_32-1.40.0-cp310-abi3-win_amd64.whl", hash = "sha256:a916040e0b7f461ce987e4551fed9eea5914b4fbb5af907b1d9e80db71fadeb5", size = 51822748, upload-time = "2026-04-18T05:24:09.384Z" },
+ { url = "https://files.pythonhosted.org/packages/06/ce/c16ef8fd3030b7342032b040fab21a42f6fee57e47ee7f41e2f1a1e36f01/polars_runtime_32-1.40.0-cp310-abi3-win_arm64.whl", hash = "sha256:719c64eecde24a95aa3599eb9c8efc98c1499bab7ef9c01cbbe8939cd583e654", size = 45819617, upload-time = "2026-04-18T05:24:13.214Z" },
+]
+
+[[package]]
+name = "propcache"
+version = "0.4.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/9e/da/e9fc233cf63743258bff22b3dfa7ea5baef7b5bc324af47a0ad89b8ffc6f/propcache-0.4.1.tar.gz", hash = "sha256:f48107a8c637e80362555f37ecf49abe20370e557cc4ab374f04ec4423c97c3d", size = 46442, upload-time = "2025-10-08T19:49:02.291Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a2/0f/f17b1b2b221d5ca28b4b876e8bb046ac40466513960646bda8e1853cdfa2/propcache-0.4.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:e153e9cd40cc8945138822807139367f256f89c6810c2634a4f6902b52d3b4e2", size = 80061, upload-time = "2025-10-08T19:46:46.075Z" },
+ { url = "https://files.pythonhosted.org/packages/76/47/8ccf75935f51448ba9a16a71b783eb7ef6b9ee60f5d14c7f8a8a79fbeed7/propcache-0.4.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:cd547953428f7abb73c5ad82cbb32109566204260d98e41e5dfdc682eb7f8403", size = 46037, upload-time = "2025-10-08T19:46:47.23Z" },
+ { url = "https://files.pythonhosted.org/packages/0a/b6/5c9a0e42df4d00bfb4a3cbbe5cf9f54260300c88a0e9af1f47ca5ce17ac0/propcache-0.4.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f048da1b4f243fc44f205dfd320933a951b8d89e0afd4c7cacc762a8b9165207", size = 47324, upload-time = "2025-10-08T19:46:48.384Z" },
+ { url = "https://files.pythonhosted.org/packages/9e/d3/6c7ee328b39a81ee877c962469f1e795f9db87f925251efeb0545e0020d0/propcache-0.4.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ec17c65562a827bba85e3872ead335f95405ea1674860d96483a02f5c698fa72", size = 225505, upload-time = "2025-10-08T19:46:50.055Z" },
+ { url = "https://files.pythonhosted.org/packages/01/5d/1c53f4563490b1d06a684742cc6076ef944bc6457df6051b7d1a877c057b/propcache-0.4.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:405aac25c6394ef275dee4c709be43745d36674b223ba4eb7144bf4d691b7367", size = 230242, upload-time = "2025-10-08T19:46:51.815Z" },
+ { url = "https://files.pythonhosted.org/packages/20/e1/ce4620633b0e2422207c3cb774a0ee61cac13abc6217763a7b9e2e3f4a12/propcache-0.4.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0013cb6f8dde4b2a2f66903b8ba740bdfe378c943c4377a200551ceb27f379e4", size = 238474, upload-time = "2025-10-08T19:46:53.208Z" },
+ { url = "https://files.pythonhosted.org/packages/46/4b/3aae6835b8e5f44ea6a68348ad90f78134047b503765087be2f9912140ea/propcache-0.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:15932ab57837c3368b024473a525e25d316d8353016e7cc0e5ba9eb343fbb1cf", size = 221575, upload-time = "2025-10-08T19:46:54.511Z" },
+ { url = "https://files.pythonhosted.org/packages/6e/a5/8a5e8678bcc9d3a1a15b9a29165640d64762d424a16af543f00629c87338/propcache-0.4.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:031dce78b9dc099f4c29785d9cf5577a3faf9ebf74ecbd3c856a7b92768c3df3", size = 216736, upload-time = "2025-10-08T19:46:56.212Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/63/b7b215eddeac83ca1c6b934f89d09a625aa9ee4ba158338854c87210cc36/propcache-0.4.1-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:ab08df6c9a035bee56e31af99be621526bd237bea9f32def431c656b29e41778", size = 213019, upload-time = "2025-10-08T19:46:57.595Z" },
+ { url = "https://files.pythonhosted.org/packages/57/74/f580099a58c8af587cac7ba19ee7cb418506342fbbe2d4a4401661cca886/propcache-0.4.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:4d7af63f9f93fe593afbf104c21b3b15868efb2c21d07d8732c0c4287e66b6a6", size = 220376, upload-time = "2025-10-08T19:46:59.067Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/ee/542f1313aff7eaf19c2bb758c5d0560d2683dac001a1c96d0774af799843/propcache-0.4.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:cfc27c945f422e8b5071b6e93169679e4eb5bf73bbcbf1ba3ae3a83d2f78ebd9", size = 226988, upload-time = "2025-10-08T19:47:00.544Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/18/9c6b015dd9c6930f6ce2229e1f02fb35298b847f2087ea2b436a5bfa7287/propcache-0.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:35c3277624a080cc6ec6f847cbbbb5b49affa3598c4535a0a4682a697aaa5c75", size = 215615, upload-time = "2025-10-08T19:47:01.968Z" },
+ { url = "https://files.pythonhosted.org/packages/80/9e/e7b85720b98c45a45e1fca6a177024934dc9bc5f4d5dd04207f216fc33ed/propcache-0.4.1-cp312-cp312-win32.whl", hash = "sha256:671538c2262dadb5ba6395e26c1731e1d52534bfe9ae56d0b5573ce539266aa8", size = 38066, upload-time = "2025-10-08T19:47:03.503Z" },
+ { url = "https://files.pythonhosted.org/packages/54/09/d19cff2a5aaac632ec8fc03737b223597b1e347416934c1b3a7df079784c/propcache-0.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:cb2d222e72399fcf5890d1d5cc1060857b9b236adff2792ff48ca2dfd46c81db", size = 41655, upload-time = "2025-10-08T19:47:04.973Z" },
+ { url = "https://files.pythonhosted.org/packages/68/ab/6b5c191bb5de08036a8c697b265d4ca76148efb10fa162f14af14fb5f076/propcache-0.4.1-cp312-cp312-win_arm64.whl", hash = "sha256:204483131fb222bdaaeeea9f9e6c6ed0cac32731f75dfc1d4a567fc1926477c1", size = 37789, upload-time = "2025-10-08T19:47:06.077Z" },
+ { url = "https://files.pythonhosted.org/packages/5b/5a/bc7b4a4ef808fa59a816c17b20c4bef6884daebbdf627ff2a161da67da19/propcache-0.4.1-py3-none-any.whl", hash = "sha256:af2a6052aeb6cf17d3e46ee169099044fd8224cbaf75c76a2ef596e8163e2237", size = 13305, upload-time = "2025-10-08T19:49:00.792Z" },
+]
+
+[[package]]
+name = "protobuf"
+version = "6.33.6"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/66/70/e908e9c5e52ef7c3a6c7902c9dfbb34c7e29c25d2f81ade3856445fd5c94/protobuf-6.33.6.tar.gz", hash = "sha256:a6768d25248312c297558af96a9f9c929e8c4cee0659cb07e780731095f38135", size = 444531, upload-time = "2026-03-18T19:05:00.988Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/fc/9f/2f509339e89cfa6f6a4c4ff50438db9ca488dec341f7e454adad60150b00/protobuf-6.33.6-cp310-abi3-win32.whl", hash = "sha256:7d29d9b65f8afef196f8334e80d6bc1d5d4adedb449971fefd3723824e6e77d3", size = 425739, upload-time = "2026-03-18T19:04:48.373Z" },
+ { url = "https://files.pythonhosted.org/packages/76/5d/683efcd4798e0030c1bab27374fd13a89f7c2515fb1f3123efdfaa5eab57/protobuf-6.33.6-cp310-abi3-win_amd64.whl", hash = "sha256:0cd27b587afca21b7cfa59a74dcbd48a50f0a6400cfb59391340ad729d91d326", size = 437089, upload-time = "2026-03-18T19:04:50.381Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/01/a3c3ed5cd186f39e7880f8303cc51385a198a81469d53d0fdecf1f64d929/protobuf-6.33.6-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:9720e6961b251bde64edfdab7d500725a2af5280f3f4c87e57c0208376aa8c3a", size = 427737, upload-time = "2026-03-18T19:04:51.866Z" },
+ { url = "https://files.pythonhosted.org/packages/ee/90/b3c01fdec7d2f627b3a6884243ba328c1217ed2d978def5c12dc50d328a3/protobuf-6.33.6-cp39-abi3-manylinux2014_aarch64.whl", hash = "sha256:e2afbae9b8e1825e3529f88d514754e094278bb95eadc0e199751cdd9a2e82a2", size = 324610, upload-time = "2026-03-18T19:04:53.096Z" },
+ { url = "https://files.pythonhosted.org/packages/9b/ca/25afc144934014700c52e05103c2421997482d561f3101ff352e1292fb81/protobuf-6.33.6-cp39-abi3-manylinux2014_s390x.whl", hash = "sha256:c96c37eec15086b79762ed265d59ab204dabc53056e3443e702d2681f4b39ce3", size = 339381, upload-time = "2026-03-18T19:04:54.616Z" },
+ { url = "https://files.pythonhosted.org/packages/16/92/d1e32e3e0d894fe00b15ce28ad4944ab692713f2e7f0a99787405e43533a/protobuf-6.33.6-cp39-abi3-manylinux2014_x86_64.whl", hash = "sha256:e9db7e292e0ab79dd108d7f1a94fe31601ce1ee3f7b79e0692043423020b0593", size = 323436, upload-time = "2026-03-18T19:04:55.768Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/72/02445137af02769918a93807b2b7890047c32bfb9f90371cbc12688819eb/protobuf-6.33.6-py3-none-any.whl", hash = "sha256:77179e006c476e69bf8e8ce866640091ec42e1beb80b213c3900006ecfba6901", size = 170656, upload-time = "2026-03-18T19:04:59.826Z" },
+]
+
+[[package]]
+name = "pybase64"
+version = "1.4.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/aa/b8/4ed5c7ad5ec15b08d35cc79ace6145d5c1ae426e46435f4987379439dfea/pybase64-1.4.3.tar.gz", hash = "sha256:c2ed274c9e0ba9c8f9c4083cfe265e66dd679126cd9c2027965d807352f3f053", size = 137272, upload-time = "2025-12-06T13:27:04.013Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/86/a7/efcaa564f091a2af7f18a83c1c4875b1437db56ba39540451dc85d56f653/pybase64-1.4.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:18d85e5ab8b986bb32d8446aca6258ed80d1bafe3603c437690b352c648f5967", size = 38167, upload-time = "2025-12-06T13:23:16.821Z" },
+ { url = "https://files.pythonhosted.org/packages/db/c7/c7ad35adff2d272bf2930132db2b3eea8c44bb1b1f64eb9b2b8e57cde7b4/pybase64-1.4.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:3f5791a3491d116d0deaf4d83268f48792998519698f8751efb191eac84320e9", size = 31673, upload-time = "2025-12-06T13:23:17.835Z" },
+ { url = "https://files.pythonhosted.org/packages/43/1b/9a8cab0042b464e9a876d5c65fe5127445a2436da36fda64899b119b1a1b/pybase64-1.4.3-cp312-cp312-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:f0b3f200c3e06316f6bebabd458b4e4bcd4c2ca26af7c0c766614d91968dee27", size = 68210, upload-time = "2025-12-06T13:23:18.813Z" },
+ { url = "https://files.pythonhosted.org/packages/62/f7/965b79ff391ad208b50e412b5d3205ccce372a2d27b7218ae86d5295b105/pybase64-1.4.3-cp312-cp312-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:bb632edfd132b3eaf90c39c89aa314beec4e946e210099b57d40311f704e11d4", size = 71599, upload-time = "2025-12-06T13:23:20.195Z" },
+ { url = "https://files.pythonhosted.org/packages/03/4b/a3b5175130b3810bbb8ccfa1edaadbd3afddb9992d877c8a1e2f274b476e/pybase64-1.4.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:356ef1d74648ce997f5a777cf8f1aefecc1c0b4fe6201e0ef3ec8a08170e1b54", size = 59922, upload-time = "2025-12-06T13:23:21.487Z" },
+ { url = "https://files.pythonhosted.org/packages/da/5d/c38d1572027fc601b62d7a407721688b04b4d065d60ca489912d6893e6cf/pybase64-1.4.3-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:c48361f90db32bacaa5518419d4eb9066ba558013aaf0c7781620279ecddaeb9", size = 56712, upload-time = "2025-12-06T13:23:22.77Z" },
+ { url = "https://files.pythonhosted.org/packages/e7/d4/4e04472fef485caa8f561d904d4d69210a8f8fc1608ea15ebd9012b92655/pybase64-1.4.3-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:702bcaa16ae02139d881aeaef5b1c8ffb4a3fae062fe601d1e3835e10310a517", size = 59300, upload-time = "2025-12-06T13:23:24.543Z" },
+ { url = "https://files.pythonhosted.org/packages/86/e7/16e29721b86734b881d09b7e23dfd7c8408ad01a4f4c7525f3b1088e25ec/pybase64-1.4.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:53d0ffe1847b16b647c6413d34d1de08942b7724273dd57e67dcbdb10c574045", size = 60278, upload-time = "2025-12-06T13:23:25.608Z" },
+ { url = "https://files.pythonhosted.org/packages/b1/02/18515f211d7c046be32070709a8efeeef8a0203de4fd7521e6b56404731b/pybase64-1.4.3-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:9a1792e8b830a92736dae58f0c386062eb038dfe8004fb03ba33b6083d89cd43", size = 54817, upload-time = "2025-12-06T13:23:26.633Z" },
+ { url = "https://files.pythonhosted.org/packages/e7/be/14e29d8e1a481dbff151324c96dd7b5d2688194bb65dc8a00ca0e1ad1e86/pybase64-1.4.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:1d468b1b1ac5ad84875a46eaa458663c3721e8be5f155ade356406848d3701f6", size = 58611, upload-time = "2025-12-06T13:23:27.684Z" },
+ { url = "https://files.pythonhosted.org/packages/b4/8a/a2588dfe24e1bbd742a554553778ab0d65fdf3d1c9a06d10b77047d142aa/pybase64-1.4.3-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:e97b7bdbd62e71898cd542a6a9e320d9da754ff3ebd02cb802d69087ee94d468", size = 52404, upload-time = "2025-12-06T13:23:28.714Z" },
+ { url = "https://files.pythonhosted.org/packages/27/fc/afcda7445bebe0cbc38cafdd7813234cdd4fc5573ff067f1abf317bb0cec/pybase64-1.4.3-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:b33aeaa780caaa08ffda87fc584d5eab61e3d3bbb5d86ead02161dc0c20d04bc", size = 68817, upload-time = "2025-12-06T13:23:30.079Z" },
+ { url = "https://files.pythonhosted.org/packages/d3/3a/87c3201e555ed71f73e961a787241a2438c2bbb2ca8809c29ddf938a3157/pybase64-1.4.3-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:1c0efcf78f11cf866bed49caa7b97552bc4855a892f9cc2372abcd3ed0056f0d", size = 57854, upload-time = "2025-12-06T13:23:31.17Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/7d/931c2539b31a7b375e7d595b88401eeb5bd6c5ce1059c9123f9b608aaa14/pybase64-1.4.3-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:66e3791f2ed725a46593f8bd2761ff37d01e2cdad065b1dceb89066f476e50c6", size = 54333, upload-time = "2025-12-06T13:23:32.422Z" },
+ { url = "https://files.pythonhosted.org/packages/de/5e/537601e02cc01f27e9d75f440f1a6095b8df44fc28b1eef2cd739aea8cec/pybase64-1.4.3-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:72bb0b6bddadab26e1b069bb78e83092711a111a80a0d6b9edcb08199ad7299b", size = 56492, upload-time = "2025-12-06T13:23:33.515Z" },
+ { url = "https://files.pythonhosted.org/packages/96/97/2a2e57acf8f5c9258d22aba52e71f8050e167b29ed2ee1113677c1b600c1/pybase64-1.4.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:5b3365dbcbcdb0a294f0f50af0c0a16b27a232eddeeb0bceeefd844ef30d2a23", size = 70974, upload-time = "2025-12-06T13:23:36.27Z" },
+ { url = "https://files.pythonhosted.org/packages/75/2e/a9e28941c6dab6f06e6d3f6783d3373044be9b0f9a9d3492c3d8d2260ac0/pybase64-1.4.3-cp312-cp312-win32.whl", hash = "sha256:7bca1ed3a5df53305c629ca94276966272eda33c0d71f862d2d3d043f1e1b91a", size = 33686, upload-time = "2025-12-06T13:23:37.848Z" },
+ { url = "https://files.pythonhosted.org/packages/83/e3/507ab649d8c3512c258819c51d25c45d6e29d9ca33992593059e7b646a33/pybase64-1.4.3-cp312-cp312-win_amd64.whl", hash = "sha256:9f2da8f56d9b891b18b4daf463a0640eae45a80af548ce435be86aa6eff3603b", size = 35833, upload-time = "2025-12-06T13:23:38.877Z" },
+ { url = "https://files.pythonhosted.org/packages/bc/8a/6eba66cd549a2fc74bb4425fd61b839ba0ab3022d3c401b8a8dc2cc00c7a/pybase64-1.4.3-cp312-cp312-win_arm64.whl", hash = "sha256:0631d8a2d035de03aa9bded029b9513e1fee8ed80b7ddef6b8e9389ffc445da0", size = 31185, upload-time = "2025-12-06T13:23:39.908Z" },
+ { url = "https://files.pythonhosted.org/packages/17/45/92322aec1b6979e789b5710f73c59f2172bc37c8ce835305434796824b7b/pybase64-1.4.3-graalpy312-graalpy250_312_native-macosx_10_13_x86_64.whl", hash = "sha256:2baaa092f3475f3a9c87ac5198023918ea8b6c125f4c930752ab2cbe3cd1d520", size = 38746, upload-time = "2025-12-06T13:26:25.869Z" },
+ { url = "https://files.pythonhosted.org/packages/11/94/f1a07402870388fdfc2ecec0c718111189732f7d0f2d7fe1386e19e8fad0/pybase64-1.4.3-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:cde13c0764b1af07a631729f26df019070dad759981d6975527b7e8ecb465b6c", size = 32573, upload-time = "2025-12-06T13:26:27.792Z" },
+ { url = "https://files.pythonhosted.org/packages/fa/8f/43c3bb11ca9bacf81cb0b7a71500bb65b2eda6d5fe07433c09b543de97f3/pybase64-1.4.3-graalpy312-graalpy250_312_native-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:5c29a582b0ea3936d02bd6fe9bf674ab6059e6e45ab71c78404ab2c913224414", size = 43461, upload-time = "2025-12-06T13:26:28.906Z" },
+ { url = "https://files.pythonhosted.org/packages/2d/4c/2a5258329200be57497d3972b5308558c6de42e3749c6cc2aa1cbe34b25a/pybase64-1.4.3-graalpy312-graalpy250_312_native-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:b6b664758c804fa919b4f1257aa8cf68e95db76fc331de5f70bfc3a34655afe1", size = 36058, upload-time = "2025-12-06T13:26:30.092Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/6d/41faa414cde66ec023b0ca8402a8f11cb61731c3dc27c082909cbbd1f929/pybase64-1.4.3-graalpy312-graalpy250_312_native-win_amd64.whl", hash = "sha256:f7537fa22ae56a0bf51e4b0ffc075926ad91c618e1416330939f7ef366b58e3b", size = 36231, upload-time = "2025-12-06T13:26:31.656Z" },
+]
+
+[[package]]
+name = "pydantic"
+version = "2.13.3"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "annotated-types" },
+ { name = "pydantic-core" },
+ { name = "typing-extensions" },
+ { name = "typing-inspection" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/d9/e4/40d09941a2cebcb20609b86a559817d5b9291c49dd6f8c87e5feffbe703a/pydantic-2.13.3.tar.gz", hash = "sha256:af09e9d1d09f4e7fe37145c1f577e1d61ceb9a41924bf0094a36506285d0a84d", size = 844068, upload-time = "2026-04-20T14:46:43.632Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/f3/0a/fd7d723f8f8153418fb40cf9c940e82004fce7e987026b08a68a36dd3fe7/pydantic-2.13.3-py3-none-any.whl", hash = "sha256:6db14ac8dfc9a1e57f87ea2c0de670c251240f43cb0c30a5130e9720dc612927", size = 471981, upload-time = "2026-04-20T14:46:41.402Z" },
+]
+
+[[package]]
+name = "pydantic-core"
+version = "2.46.3"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/2a/ef/f7abb56c49382a246fd2ce9c799691e3c3e7175ec74b14d99e798bcddb1a/pydantic_core-2.46.3.tar.gz", hash = "sha256:41c178f65b8c29807239d47e6050262eb6bf84eb695e41101e62e38df4a5bc2c", size = 471412, upload-time = "2026-04-20T14:40:56.672Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/4b/cb/5b47425556ecc1f3fe18ed2a0083188aa46e1dd812b06e406475b3a5d536/pydantic_core-2.46.3-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:b11b59b3eee90a80a36701ddb4576d9ae31f93f05cb9e277ceaa09e6bf074a67", size = 2101946, upload-time = "2026-04-20T14:40:52.581Z" },
+ { url = "https://files.pythonhosted.org/packages/a1/4f/2fb62c2267cae99b815bbf4a7b9283812c88ca3153ef29f7707200f1d4e5/pydantic_core-2.46.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:af8653713055ea18a3abc1537fe2ebc42f5b0bbb768d1eb79fd74eb47c0ac089", size = 1951612, upload-time = "2026-04-20T14:42:42.996Z" },
+ { url = "https://files.pythonhosted.org/packages/50/6e/b7348fd30d6556d132cddd5bd79f37f96f2601fe0608afac4f5fb01ec0b3/pydantic_core-2.46.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:75a519dab6d63c514f3a81053e5266c549679e4aa88f6ec57f2b7b854aceb1b0", size = 1977027, upload-time = "2026-04-20T14:42:02.001Z" },
+ { url = "https://files.pythonhosted.org/packages/82/11/31d60ee2b45540d3fb0b29302a393dbc01cd771c473f5b5147bcd353e593/pydantic_core-2.46.3-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a6cd87cb1575b1ad05ba98894c5b5c96411ef678fa2f6ed2576607095b8d9789", size = 2063008, upload-time = "2026-04-20T14:44:17.952Z" },
+ { url = "https://files.pythonhosted.org/packages/8a/db/3a9d1957181b59258f44a2300ab0f0be9d1e12d662a4f57bb31250455c52/pydantic_core-2.46.3-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f80a55484b8d843c8ada81ebf70a682f3f00a3d40e378c06cf17ecb44d280d7d", size = 2233082, upload-time = "2026-04-20T14:40:57.934Z" },
+ { url = "https://files.pythonhosted.org/packages/9c/e1/3277c38792aeb5cfb18c2f0c5785a221d9ff4e149abbe1184d53d5f72273/pydantic_core-2.46.3-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3861f1731b90c50a3266316b9044f5c9b405eecb8e299b0a7120596334e4fe9c", size = 2304615, upload-time = "2026-04-20T14:42:12.584Z" },
+ { url = "https://files.pythonhosted.org/packages/5e/d5/e3d9717c9eba10855325650afd2a9cba8e607321697f18953af9d562da2f/pydantic_core-2.46.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fb528e295ed31570ac3dcc9bfdd6e0150bc11ce6168ac87a8082055cf1a67395", size = 2094380, upload-time = "2026-04-20T14:43:05.522Z" },
+ { url = "https://files.pythonhosted.org/packages/a1/20/abac35dedcbfd66c6f0b03e4e3564511771d6c9b7ede10a362d03e110d9b/pydantic_core-2.46.3-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:367508faa4973b992b271ba1494acaab36eb7e8739d1e47be5035fb1ea225396", size = 2135429, upload-time = "2026-04-20T14:41:55.549Z" },
+ { url = "https://files.pythonhosted.org/packages/6c/a5/41bfd1df69afad71b5cf0535055bccc73022715ad362edbc124bc1e021d7/pydantic_core-2.46.3-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:5ad3c826fe523e4becf4fe39baa44286cff85ef137c729a2c5e269afbfd0905d", size = 2174582, upload-time = "2026-04-20T14:41:45.96Z" },
+ { url = "https://files.pythonhosted.org/packages/79/65/38d86ea056b29b2b10734eb23329b7a7672ca604df4f2b6e9c02d4ee22fe/pydantic_core-2.46.3-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:ec638c5d194ef8af27db69f16c954a09797c0dc25015ad6123eb2c73a4d271ca", size = 2187533, upload-time = "2026-04-20T14:40:55.367Z" },
+ { url = "https://files.pythonhosted.org/packages/b6/55/a1129141678a2026badc539ad1dee0a71d06f54c2f06a4bd68c030ac781b/pydantic_core-2.46.3-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:28ed528c45446062ee66edb1d33df5d88828ae167de76e773a3c7f64bd14e976", size = 2332985, upload-time = "2026-04-20T14:44:13.05Z" },
+ { url = "https://files.pythonhosted.org/packages/d7/60/cb26f4077719f709e54819f4e8e1d43f4091f94e285eb6bd21e1190a7b7c/pydantic_core-2.46.3-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:aed19d0c783886d5bd86d80ae5030006b45e28464218747dcf83dabfdd092c7b", size = 2373670, upload-time = "2026-04-20T14:41:53.421Z" },
+ { url = "https://files.pythonhosted.org/packages/6b/7e/c3f21882bdf1d8d086876f81b5e296206c69c6082551d776895de7801fa0/pydantic_core-2.46.3-cp312-cp312-win32.whl", hash = "sha256:06d5d8820cbbdb4147578c1fe7ffcd5b83f34508cb9f9ab76e807be7db6ff0a4", size = 1966722, upload-time = "2026-04-20T14:44:30.588Z" },
+ { url = "https://files.pythonhosted.org/packages/57/be/6b5e757b859013ebfbd7adba02f23b428f37c86dcbf78b5bb0b4ffd36e99/pydantic_core-2.46.3-cp312-cp312-win_amd64.whl", hash = "sha256:c3212fda0ee959c1dd04c60b601ec31097aaa893573a3a1abd0a47bcac2968c1", size = 2072970, upload-time = "2026-04-20T14:42:54.248Z" },
+ { url = "https://files.pythonhosted.org/packages/bf/f8/a989b21cc75e9a32d24192ef700eea606521221a89faa40c919ce884f2b1/pydantic_core-2.46.3-cp312-cp312-win_arm64.whl", hash = "sha256:f1f8338dd7a7f31761f1f1a3c47503a9a3b34eea3c8b01fa6ee96408affb5e72", size = 2035963, upload-time = "2026-04-20T14:44:20.4Z" },
+ { url = "https://files.pythonhosted.org/packages/34/42/f426db557e8ab2791bc7562052299944a118655496fbff99914e564c0a94/pydantic_core-2.46.3-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:b12dd51f1187c2eb489af8e20f880362db98e954b54ab792fa5d92e8bcc6b803", size = 2091877, upload-time = "2026-04-20T14:43:27.091Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/4f/86a832a9d14df58e663bfdf4627dc00d3317c2bd583c4fb23390b0f04b8e/pydantic_core-2.46.3-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:f00a0961b125f1a47af7bcc17f00782e12f4cd056f83416006b30111d941dfa3", size = 1932428, upload-time = "2026-04-20T14:40:45.781Z" },
+ { url = "https://files.pythonhosted.org/packages/11/1a/fe857968954d93fb78e0d4b6df5c988c74c4aaa67181c60be7cfe327c0ca/pydantic_core-2.46.3-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:57697d7c056aca4bbb680200f96563e841a6386ac1129370a0102592f4dddff5", size = 1997550, upload-time = "2026-04-20T14:44:02.425Z" },
+ { url = "https://files.pythonhosted.org/packages/17/eb/9d89ad2d9b0ba8cd65393d434471621b98912abb10fbe1df08e480ba57b5/pydantic_core-2.46.3-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fd35aa21299def8db7ef4fe5c4ff862941a9a158ca7b63d61e66fe67d30416b4", size = 2137657, upload-time = "2026-04-20T14:42:45.149Z" },
+]
+
+[[package]]
+name = "pydantic-settings"
+version = "2.14.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "pydantic" },
+ { name = "python-dotenv" },
+ { name = "typing-inspection" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/42/98/c8345dccdc31de4228c039a98f6467a941e39558da41c1744fbe29fa5666/pydantic_settings-2.14.0.tar.gz", hash = "sha256:24285fd4b0e0c06507dd9fdfd331ee23794305352aaec8fc4eb92d4047aeb67d", size = 235709, upload-time = "2026-04-20T13:37:40.293Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/01/dd/bebff3040138f00ae8a102d426b27349b9a49acc310fcae7f92112d867e3/pydantic_settings-2.14.0-py3-none-any.whl", hash = "sha256:fc8d5d692eb7092e43c8647c1c35a3ecd00e040fcf02ed86f4cb5458ca62182e", size = 60940, upload-time = "2026-04-20T13:37:38.586Z" },
+]
+
+[[package]]
+name = "pygments"
+version = "2.20.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/c3/b2/bc9c9196916376152d655522fdcebac55e66de6603a76a02bca1b6414f6c/pygments-2.20.0.tar.gz", hash = "sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f", size = 4955991, upload-time = "2026-03-29T13:29:33.898Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/f4/7e/a72dd26f3b0f4f2bf1dd8923c85f7ceb43172af56d63c7383eb62b332364/pygments-2.20.0-py3-none-any.whl", hash = "sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176", size = 1231151, upload-time = "2026-03-29T13:29:30.038Z" },
+]
+
+[[package]]
+name = "pypika"
+version = "0.51.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/f8/78/cbaebba88e05e2dcda13ca203131b38d3640219f20ebb49676d26714861b/pypika-0.51.1.tar.gz", hash = "sha256:c30c7c1048fbf056fd3920c5a2b88b0c29dd190a9b2bee971fd17e4abe4d0ebe", size = 80919, upload-time = "2026-02-04T11:27:48.304Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/57/83/c77dfeed04022e8930b08eedca2b6e5efed256ab3321396fde90066efb65/pypika-0.51.1-py2.py3-none-any.whl", hash = "sha256:77985b4d7ce71b9905255bf12468cf598349e98837c037541cfc240e528aec46", size = 60585, upload-time = "2026-02-04T11:27:46.251Z" },
+]
+
+[[package]]
+name = "pyproject-hooks"
+version = "1.2.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/e7/82/28175b2414effca1cdac8dc99f76d660e7a4fb0ceefa4b4ab8f5f6742925/pyproject_hooks-1.2.0.tar.gz", hash = "sha256:1e859bd5c40fae9448642dd871adf459e5e2084186e8d2c2a79a824c970da1f8", size = 19228, upload-time = "2024-09-29T09:24:13.293Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/bd/24/12818598c362d7f300f18e74db45963dbcb85150324092410c8b49405e42/pyproject_hooks-1.2.0-py3-none-any.whl", hash = "sha256:9e5c6bfa8dcc30091c74b0cf803c81fdd29d94f01992a7707bc97babb1141913", size = 10216, upload-time = "2024-09-29T09:24:11.978Z" },
+]
+
+[[package]]
+name = "python-dateutil"
+version = "2.9.0.post0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "six" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/66/c0/0c8b6ad9f17a802ee498c46e004a0eb49bc148f2fd230864601a86dcf6db/python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3", size = 342432, upload-time = "2024-03-01T18:36:20.211Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427", size = 229892, upload-time = "2024-03-01T18:36:18.57Z" },
+]
+
+[[package]]
+name = "python-dotenv"
+version = "1.2.2"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/82/ed/0301aeeac3e5353ef3d94b6ec08bbcabd04a72018415dcb29e588514bba8/python_dotenv-1.2.2.tar.gz", hash = "sha256:2c371a91fbd7ba082c2c1dc1f8bf89ca22564a087c2c287cd9b662adde799cf3", size = 50135, upload-time = "2026-03-01T16:00:26.196Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/0b/d7/1959b9648791274998a9c3526f6d0ec8fd2233e4d4acce81bbae76b44b2a/python_dotenv-1.2.2-py3-none-any.whl", hash = "sha256:1d8214789a24de455a8b8bd8ae6fe3c6b69a5e3d64aa8a8e5d68e694bbcb285a", size = 22101, upload-time = "2026-03-01T16:00:25.09Z" },
+]
+
+[[package]]
+name = "pyyaml"
+version = "6.0.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f", size = 130960, upload-time = "2025-09-25T21:33:16.546Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d1/33/422b98d2195232ca1826284a76852ad5a86fe23e31b009c9886b2d0fb8b2/pyyaml-6.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7f047e29dcae44602496db43be01ad42fc6f1cc0d8cd6c83d342306c32270196", size = 182063, upload-time = "2025-09-25T21:32:11.445Z" },
+ { url = "https://files.pythonhosted.org/packages/89/a0/6cf41a19a1f2f3feab0e9c0b74134aa2ce6849093d5517a0c550fe37a648/pyyaml-6.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0", size = 173973, upload-time = "2025-09-25T21:32:12.492Z" },
+ { url = "https://files.pythonhosted.org/packages/ed/23/7a778b6bd0b9a8039df8b1b1d80e2e2ad78aa04171592c8a5c43a56a6af4/pyyaml-6.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9149cad251584d5fb4981be1ecde53a1ca46c891a79788c0df828d2f166bda28", size = 775116, upload-time = "2025-09-25T21:32:13.652Z" },
+ { url = "https://files.pythonhosted.org/packages/65/30/d7353c338e12baef4ecc1b09e877c1970bd3382789c159b4f89d6a70dc09/pyyaml-6.0.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5fdec68f91a0c6739b380c83b951e2c72ac0197ace422360e6d5a959d8d97b2c", size = 844011, upload-time = "2025-09-25T21:32:15.21Z" },
+ { url = "https://files.pythonhosted.org/packages/8b/9d/b3589d3877982d4f2329302ef98a8026e7f4443c765c46cfecc8858c6b4b/pyyaml-6.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ba1cc08a7ccde2d2ec775841541641e4548226580ab850948cbfda66a1befcdc", size = 807870, upload-time = "2025-09-25T21:32:16.431Z" },
+ { url = "https://files.pythonhosted.org/packages/05/c0/b3be26a015601b822b97d9149ff8cb5ead58c66f981e04fedf4e762f4bd4/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8dc52c23056b9ddd46818a57b78404882310fb473d63f17b07d5c40421e47f8e", size = 761089, upload-time = "2025-09-25T21:32:17.56Z" },
+ { url = "https://files.pythonhosted.org/packages/be/8e/98435a21d1d4b46590d5459a22d88128103f8da4c2d4cb8f14f2a96504e1/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:41715c910c881bc081f1e8872880d3c650acf13dfa8214bad49ed4cede7c34ea", size = 790181, upload-time = "2025-09-25T21:32:18.834Z" },
+ { url = "https://files.pythonhosted.org/packages/74/93/7baea19427dcfbe1e5a372d81473250b379f04b1bd3c4c5ff825e2327202/pyyaml-6.0.3-cp312-cp312-win32.whl", hash = "sha256:96b533f0e99f6579b3d4d4995707cf36df9100d67e0c8303a0c55b27b5f99bc5", size = 137658, upload-time = "2025-09-25T21:32:20.209Z" },
+ { url = "https://files.pythonhosted.org/packages/86/bf/899e81e4cce32febab4fb42bb97dcdf66bc135272882d1987881a4b519e9/pyyaml-6.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:5fcd34e47f6e0b794d17de1b4ff496c00986e1c83f7ab2fb8fcfe9616ff7477b", size = 154003, upload-time = "2025-09-25T21:32:21.167Z" },
+ { url = "https://files.pythonhosted.org/packages/1a/08/67bd04656199bbb51dbed1439b7f27601dfb576fb864099c7ef0c3e55531/pyyaml-6.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:64386e5e707d03a7e172c0701abfb7e10f0fb753ee1d773128192742712a98fd", size = 140344, upload-time = "2025-09-25T21:32:22.617Z" },
+]
+
+[[package]]
+name = "referencing"
+version = "0.37.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "attrs" },
+ { name = "rpds-py" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/22/f5/df4e9027acead3ecc63e50fe1e36aca1523e1719559c499951bb4b53188f/referencing-0.37.0.tar.gz", hash = "sha256:44aefc3142c5b842538163acb373e24cce6632bd54bdb01b21ad5863489f50d8", size = 78036, upload-time = "2025-10-13T15:30:48.871Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/2c/58/ca301544e1fa93ed4f80d724bf5b194f6e4b945841c5bfd555878eea9fcb/referencing-0.37.0-py3-none-any.whl", hash = "sha256:381329a9f99628c9069361716891d34ad94af76e461dcb0335825aecc7692231", size = 26766, upload-time = "2025-10-13T15:30:47.625Z" },
+]
+
+[[package]]
+name = "requests"
+version = "2.33.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "certifi" },
+ { name = "charset-normalizer" },
+ { name = "idna" },
+ { name = "urllib3" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/5f/a4/98b9c7c6428a668bf7e42ebb7c79d576a1c3c1e3ae2d47e674b468388871/requests-2.33.1.tar.gz", hash = "sha256:18817f8c57c6263968bc123d237e3b8b08ac046f5456bd1e307ee8f4250d3517", size = 134120, upload-time = "2026-03-30T16:09:15.531Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d7/8e/7540e8a2036f79a125c1d2ebadf69ed7901608859186c856fa0388ef4197/requests-2.33.1-py3-none-any.whl", hash = "sha256:4e6d1ef462f3626a1f0a0a9c42dd93c63bad33f9f1c1937509b8c5c8718ab56a", size = 64947, upload-time = "2026-03-30T16:09:13.83Z" },
+]
+
+[[package]]
+name = "requests-oauthlib"
+version = "2.0.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "oauthlib" },
+ { name = "requests" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/42/f2/05f29bc3913aea15eb670be136045bf5c5bbf4b99ecb839da9b422bb2c85/requests-oauthlib-2.0.0.tar.gz", hash = "sha256:b3dffaebd884d8cd778494369603a9e7b58d29111bf6b41bdc2dcd87203af4e9", size = 55650, upload-time = "2024-03-22T20:32:29.939Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/3b/5d/63d4ae3b9daea098d5d6f5da83984853c1bbacd5dc826764b249fe119d24/requests_oauthlib-2.0.0-py2.py3-none-any.whl", hash = "sha256:7dd8a5c40426b779b0868c404bdef9768deccf22749cde15852df527e6269b36", size = 24179, upload-time = "2024-03-22T20:32:28.055Z" },
+]
+
+[[package]]
+name = "rich"
+version = "15.0.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "markdown-it-py" },
+ { name = "pygments" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/c0/8f/0722ca900cc807c13a6a0c696dacf35430f72e0ec571c4275d2371fca3e9/rich-15.0.0.tar.gz", hash = "sha256:edd07a4824c6b40189fb7ac9bc4c52536e9780fbbfbddf6f1e2502c31b068c36", size = 230680, upload-time = "2026-04-12T08:24:00.75Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/82/3b/64d4899d73f91ba49a8c18a8ff3f0ea8f1c1d75481760df8c68ef5235bf5/rich-15.0.0-py3-none-any.whl", hash = "sha256:33bd4ef74232fb73fe9279a257718407f169c09b78a87ad3d296f548e27de0bb", size = 310654, upload-time = "2026-04-12T08:24:02.83Z" },
+]
+
+[[package]]
+name = "rpds-py"
+version = "0.30.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/20/af/3f2f423103f1113b36230496629986e0ef7e199d2aa8392452b484b38ced/rpds_py-0.30.0.tar.gz", hash = "sha256:dd8ff7cf90014af0c0f787eea34794ebf6415242ee1d6fa91eaba725cc441e84", size = 69469, upload-time = "2025-11-30T20:24:38.837Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/03/e7/98a2f4ac921d82f33e03f3835f5bf3a4a40aa1bfdc57975e74a97b2b4bdd/rpds_py-0.30.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:a161f20d9a43006833cd7068375a94d035714d73a172b681d8881820600abfad", size = 375086, upload-time = "2025-11-30T20:22:17.93Z" },
+ { url = "https://files.pythonhosted.org/packages/4d/a1/bca7fd3d452b272e13335db8d6b0b3ecde0f90ad6f16f3328c6fb150c889/rpds_py-0.30.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6abc8880d9d036ecaafe709079969f56e876fcf107f7a8e9920ba6d5a3878d05", size = 359053, upload-time = "2025-11-30T20:22:19.297Z" },
+ { url = "https://files.pythonhosted.org/packages/65/1c/ae157e83a6357eceff62ba7e52113e3ec4834a84cfe07fa4b0757a7d105f/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ca28829ae5f5d569bb62a79512c842a03a12576375d5ece7d2cadf8abe96ec28", size = 390763, upload-time = "2025-11-30T20:22:21.661Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/36/eb2eb8515e2ad24c0bd43c3ee9cd74c33f7ca6430755ccdb240fd3144c44/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a1010ed9524c73b94d15919ca4d41d8780980e1765babf85f9a2f90d247153dd", size = 408951, upload-time = "2025-11-30T20:22:23.408Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/65/ad8dc1784a331fabbd740ef6f71ce2198c7ed0890dab595adb9ea2d775a1/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f8d1736cfb49381ba528cd5baa46f82fdc65c06e843dab24dd70b63d09121b3f", size = 514622, upload-time = "2025-11-30T20:22:25.16Z" },
+ { url = "https://files.pythonhosted.org/packages/63/8e/0cfa7ae158e15e143fe03993b5bcd743a59f541f5952e1546b1ac1b5fd45/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d948b135c4693daff7bc2dcfc4ec57237a29bd37e60c2fabf5aff2bbacf3e2f1", size = 414492, upload-time = "2025-11-30T20:22:26.505Z" },
+ { url = "https://files.pythonhosted.org/packages/60/1b/6f8f29f3f995c7ffdde46a626ddccd7c63aefc0efae881dc13b6e5d5bb16/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:47f236970bccb2233267d89173d3ad2703cd36a0e2a6e92d0560d333871a3d23", size = 394080, upload-time = "2025-11-30T20:22:27.934Z" },
+ { url = "https://files.pythonhosted.org/packages/6d/d5/a266341051a7a3ca2f4b750a3aa4abc986378431fc2da508c5034d081b70/rpds_py-0.30.0-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:2e6ecb5a5bcacf59c3f912155044479af1d0b6681280048b338b28e364aca1f6", size = 408680, upload-time = "2025-11-30T20:22:29.341Z" },
+ { url = "https://files.pythonhosted.org/packages/10/3b/71b725851df9ab7a7a4e33cf36d241933da66040d195a84781f49c50490c/rpds_py-0.30.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:a8fa71a2e078c527c3e9dc9fc5a98c9db40bcc8a92b4e8858e36d329f8684b51", size = 423589, upload-time = "2025-11-30T20:22:31.469Z" },
+ { url = "https://files.pythonhosted.org/packages/00/2b/e59e58c544dc9bd8bd8384ecdb8ea91f6727f0e37a7131baeff8d6f51661/rpds_py-0.30.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:73c67f2db7bc334e518d097c6d1e6fed021bbc9b7d678d6cc433478365d1d5f5", size = 573289, upload-time = "2025-11-30T20:22:32.997Z" },
+ { url = "https://files.pythonhosted.org/packages/da/3e/a18e6f5b460893172a7d6a680e86d3b6bc87a54c1f0b03446a3c8c7b588f/rpds_py-0.30.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:5ba103fb455be00f3b1c2076c9d4264bfcb037c976167a6047ed82f23153f02e", size = 599737, upload-time = "2025-11-30T20:22:34.419Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/e2/714694e4b87b85a18e2c243614974413c60aa107fd815b8cbc42b873d1d7/rpds_py-0.30.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:7cee9c752c0364588353e627da8a7e808a66873672bcb5f52890c33fd965b394", size = 563120, upload-time = "2025-11-30T20:22:35.903Z" },
+ { url = "https://files.pythonhosted.org/packages/6f/ab/d5d5e3bcedb0a77f4f613706b750e50a5a3ba1c15ccd3665ecc636c968fd/rpds_py-0.30.0-cp312-cp312-win32.whl", hash = "sha256:1ab5b83dbcf55acc8b08fc62b796ef672c457b17dbd7820a11d6c52c06839bdf", size = 223782, upload-time = "2025-11-30T20:22:37.271Z" },
+ { url = "https://files.pythonhosted.org/packages/39/3b/f786af9957306fdc38a74cef405b7b93180f481fb48453a114bb6465744a/rpds_py-0.30.0-cp312-cp312-win_amd64.whl", hash = "sha256:a090322ca841abd453d43456ac34db46e8b05fd9b3b4ac0c78bcde8b089f959b", size = 240463, upload-time = "2025-11-30T20:22:39.021Z" },
+ { url = "https://files.pythonhosted.org/packages/f3/d2/b91dc748126c1559042cfe41990deb92c4ee3e2b415f6b5234969ffaf0cc/rpds_py-0.30.0-cp312-cp312-win_arm64.whl", hash = "sha256:669b1805bd639dd2989b281be2cfd951c6121b65e729d9b843e9639ef1fd555e", size = 230868, upload-time = "2025-11-30T20:22:40.493Z" },
+]
+
+[[package]]
+name = "ruff"
+version = "0.15.11"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/e4/8d/192f3d7103816158dfd5ea50d098ef2aec19194e6cbccd4b3485bdb2eb2d/ruff-0.15.11.tar.gz", hash = "sha256:f092b21708bf0e7437ce9ada249dfe688ff9a0954fc94abab05dcea7dcd29c33", size = 4637264, upload-time = "2026-04-16T18:46:26.58Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/02/1e/6aca3427f751295ab011828e15e9bf452200ac74484f1db4be0197b8170b/ruff-0.15.11-py3-none-linux_armv6l.whl", hash = "sha256:e927cfff503135c558eb581a0c9792264aae9507904eb27809cdcff2f2c847b7", size = 10607943, upload-time = "2026-04-16T18:46:05.967Z" },
+ { url = "https://files.pythonhosted.org/packages/e7/26/1341c262e74f36d4e84f3d6f4df0ac68cd53331a66bfc5080daa17c84c0b/ruff-0.15.11-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:7a1b5b2938d8f890b76084d4fa843604d787a912541eae85fd7e233398bbb73e", size = 10988592, upload-time = "2026-04-16T18:46:00.742Z" },
+ { url = "https://files.pythonhosted.org/packages/03/71/850b1d6ffa9564fbb6740429bad53df1094082fe515c8c1e74b6d8d05f18/ruff-0.15.11-py3-none-macosx_11_0_arm64.whl", hash = "sha256:d4176f3d194afbdaee6e41b9ccb1a2c287dba8700047df474abfbe773825d1cb", size = 10338501, upload-time = "2026-04-16T18:46:03.723Z" },
+ { url = "https://files.pythonhosted.org/packages/f2/11/cc1284d3e298c45a817a6aadb6c3e1d70b45c9b36d8d9cce3387b495a03a/ruff-0.15.11-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3b17c886fb88203ced3afe7f14e8d5ae96e9d2f4ccc0ee66aa19f2c2675a27e4", size = 10670693, upload-time = "2026-04-16T18:46:41.941Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/9e/f8288b034ab72b371513c13f9a41d9ba3effac54e24bfb467b007daee2ca/ruff-0.15.11-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:49fafa220220afe7758a487b048de4c8f9f767f37dfefad46b9dd06759d003eb", size = 10416177, upload-time = "2026-04-16T18:46:21.717Z" },
+ { url = "https://files.pythonhosted.org/packages/85/71/504d79abfd3d92532ba6bbe3d1c19fada03e494332a59e37c7c2dabae427/ruff-0.15.11-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f2ab8427e74a00d93b8bda1307b1e60970d40f304af38bccb218e056c220120d", size = 11221886, upload-time = "2026-04-16T18:46:15.086Z" },
+ { url = "https://files.pythonhosted.org/packages/43/5a/947e6ab7a5ad603d65b474be15a4cbc6d29832db5d762cd142e4e3a74164/ruff-0.15.11-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:195072c0c8e1fc8f940652073df082e37a5d9cb43b4ab1e4d0566ab8977a13b7", size = 12075183, upload-time = "2026-04-16T18:46:07.944Z" },
+ { url = "https://files.pythonhosted.org/packages/9f/a1/0b7bb6268775fdd3a0818aee8efd8f5b4e231d24dd4d528ced2534023182/ruff-0.15.11-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a3a0996d486af3920dec930a2e7daed4847dfc12649b537a9335585ada163e9e", size = 11516575, upload-time = "2026-04-16T18:46:31.687Z" },
+ { url = "https://files.pythonhosted.org/packages/30/c3/bb5168fc4d233cc06e95f482770d0f3c87945a0cd9f614b90ea8dc2f2833/ruff-0.15.11-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1bef2cb556d509259f1fe440bb9cd33c756222cf0a7afe90d15edf0866702431", size = 11306537, upload-time = "2026-04-16T18:46:36.988Z" },
+ { url = "https://files.pythonhosted.org/packages/e4/92/4cfae6441f3967317946f3b788136eecf093729b94d6561f963ed810c82e/ruff-0.15.11-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:030d921a836d7d4a12cf6e8d984a88b66094ccb0e0f17ddd55067c331191bf19", size = 11296813, upload-time = "2026-04-16T18:46:24.182Z" },
+ { url = "https://files.pythonhosted.org/packages/43/26/972784c5dde8313acde8ac71ba8ac65475b85db4a2352a76c9934361f9bc/ruff-0.15.11-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:0e783b599b4577788dbbb66b9addcef87e9a8832f4ce0c19e34bf55543a2f890", size = 10633136, upload-time = "2026-04-16T18:46:39.802Z" },
+ { url = "https://files.pythonhosted.org/packages/5b/53/3985a4f185020c2f367f2e08a103032e12564829742a1b417980ce1514a0/ruff-0.15.11-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:ae90592246625ba4a34349d68ec28d4400d75182b71baa196ddb9f82db025ef5", size = 10424701, upload-time = "2026-04-16T18:46:10.381Z" },
+ { url = "https://files.pythonhosted.org/packages/d3/57/bf0dfb32241b56c83bb663a826133da4bf17f682ba8c096973065f6e6a68/ruff-0.15.11-py3-none-musllinux_1_2_i686.whl", hash = "sha256:1f111d62e3c983ed20e0ca2e800f8d77433a5b1161947df99a5c2a3fb60514f0", size = 10873887, upload-time = "2026-04-16T18:46:29.157Z" },
+ { url = "https://files.pythonhosted.org/packages/02/05/e48076b2a57dc33ee8c7a957296f97c744ca891a8ffb4ffb1aaa3b3f517d/ruff-0.15.11-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:06f483d6646f59eaffba9ae30956370d3a886625f511a3108994000480621d1c", size = 11404316, upload-time = "2026-04-16T18:46:19.462Z" },
+ { url = "https://files.pythonhosted.org/packages/88/27/0195d15fe7a897cbcba0904792c4b7c9fdd958456c3a17d2ea6093716a9a/ruff-0.15.11-py3-none-win32.whl", hash = "sha256:476a2aa56b7da0b73a3ee80b6b2f0e19cce544245479adde7baa65466664d5f3", size = 10655535, upload-time = "2026-04-16T18:46:12.47Z" },
+ { url = "https://files.pythonhosted.org/packages/3a/5e/c927b325bd4c1d3620211a4b96f47864633199feed60fa936025ab27e090/ruff-0.15.11-py3-none-win_amd64.whl", hash = "sha256:8b6756d88d7e234fb0c98c91511aae3cd519d5e3ed271cae31b20f39cb2a12a3", size = 11779692, upload-time = "2026-04-16T18:46:17.268Z" },
+ { url = "https://files.pythonhosted.org/packages/63/b6/aeadee5443e49baa2facd51131159fd6301cc4ccfc1541e4df7b021c37dd/ruff-0.15.11-py3-none-win_arm64.whl", hash = "sha256:063fed18cc1bbe0ee7393957284a6fe8b588c6a406a285af3ee3f46da2391ee4", size = 11032614, upload-time = "2026-04-16T18:46:34.487Z" },
+]
+
+[[package]]
+name = "shellingham"
+version = "1.5.4"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/58/15/8b3609fd3830ef7b27b655beb4b4e9c62313a4e8da8c676e142cc210d58e/shellingham-1.5.4.tar.gz", hash = "sha256:8dbca0739d487e5bd35ab3ca4b36e11c4078f3a234bfce294b0a0291363404de", size = 10310, upload-time = "2023-10-24T04:13:40.426Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e0/f9/0595336914c5619e5f28a1fb793285925a8cd4b432c9da0a987836c7f822/shellingham-1.5.4-py2.py3-none-any.whl", hash = "sha256:7ecfff8f2fd72616f7481040475a65b2bf8af90a56c89140852d1120324e8686", size = 9755, upload-time = "2023-10-24T04:13:38.866Z" },
+]
+
+[[package]]
+name = "sie-sdk"
+version = "0.2.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "aiohttp" },
+ { name = "httpx" },
+ { name = "msgpack" },
+ { name = "msgpack-numpy" },
+ { name = "numpy" },
+ { name = "pillow" },
+ { name = "pyyaml" },
+ { name = "websockets" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/93/4b/3a2b4ea4a4979383671d342eec3c1358b49923c407d9681e9f60f6dcac94/sie_sdk-0.2.0.tar.gz", hash = "sha256:08925c9bcb666f460bd63bf4e7384250acbde9d0d90433d08e6b3627319fc266", size = 74302, upload-time = "2026-04-17T10:59:28.546Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/c5/47/b7c611cc8cde927e179c7d60be864248c48ba2dd2f8a4ef5053d06f0eedc/sie_sdk-0.2.0-py3-none-any.whl", hash = "sha256:67060efd3b5b288ffd8cd30ec9e693323cecb97cbc48b0320e2ad2066527ddcd", size = 60711, upload-time = "2026-04-17T10:59:26.926Z" },
+]
+
+[[package]]
+name = "six"
+version = "1.17.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/94/e7/b2c673351809dca68a0e064b6af791aa332cf192da575fd474ed7d6f16a2/six-1.17.0.tar.gz", hash = "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81", size = 34031, upload-time = "2024-12-04T17:35:28.174Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274", size = 11050, upload-time = "2024-12-04T17:35:26.475Z" },
+]
+
+[[package]]
+name = "sympy"
+version = "1.14.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "mpmath" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/83/d3/803453b36afefb7c2bb238361cd4ae6125a569b4db67cd9e79846ba2d68c/sympy-1.14.0.tar.gz", hash = "sha256:d3d3fe8df1e5a0b42f0e7bdf50541697dbe7d23746e894990c030e2b05e72517", size = 7793921, upload-time = "2025-04-27T18:05:01.611Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a2/09/77d55d46fd61b4a135c444fc97158ef34a095e5681d0a6c10b75bf356191/sympy-1.14.0-py3-none-any.whl", hash = "sha256:e091cc3e99d2141a0ba2847328f5479b05d94a6635cb96148ccb3f34671bd8f5", size = 6299353, upload-time = "2025-04-27T18:04:59.103Z" },
+]
+
+[[package]]
+name = "taxonomy-classification"
+version = "0.1.0"
+source = { editable = "." }
+dependencies = [
+ { name = "chromadb" },
+ { name = "polars" },
+ { name = "python-dotenv" },
+ { name = "sie-sdk" },
+ { name = "tqdm" },
+]
+
+[package.dev-dependencies]
+dev = [
+ { name = "ruff" },
+]
+
+[package.metadata]
+requires-dist = [
+ { name = "chromadb", specifier = ">=0.4" },
+ { name = "polars", specifier = ">=1.40.0" },
+ { name = "python-dotenv", specifier = ">=1.2.2" },
+ { name = "sie-sdk", specifier = "==0.2.0" },
+ { name = "tqdm", specifier = ">=4.67.3" },
+]
+
+[package.metadata.requires-dev]
+dev = [{ name = "ruff", specifier = ">=0.11.0" }]
+
+[[package]]
+name = "tenacity"
+version = "9.1.4"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/47/c6/ee486fd809e357697ee8a44d3d69222b344920433d3b6666ccd9b374630c/tenacity-9.1.4.tar.gz", hash = "sha256:adb31d4c263f2bd041081ab33b498309a57c77f9acf2db65aadf0898179cf93a", size = 49413, upload-time = "2026-02-07T10:45:33.841Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d7/c1/eb8f9debc45d3b7918a32ab756658a0904732f75e555402972246b0b8e71/tenacity-9.1.4-py3-none-any.whl", hash = "sha256:6095a360c919085f28c6527de529e76a06ad89b23659fa881ae0649b867a9d55", size = 28926, upload-time = "2026-02-07T10:45:32.24Z" },
+]
+
+[[package]]
+name = "tokenizers"
+version = "0.22.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "huggingface-hub" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/73/6f/f80cfef4a312e1fb34baf7d85c72d4411afde10978d4657f8cdd811d3ccc/tokenizers-0.22.2.tar.gz", hash = "sha256:473b83b915e547aa366d1eee11806deaf419e17be16310ac0a14077f1e28f917", size = 372115, upload-time = "2026-01-05T10:45:15.988Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/92/97/5dbfabf04c7e348e655e907ed27913e03db0923abb5dfdd120d7b25630e1/tokenizers-0.22.2-cp39-abi3-macosx_10_12_x86_64.whl", hash = "sha256:544dd704ae7238755d790de45ba8da072e9af3eea688f698b137915ae959281c", size = 3100275, upload-time = "2026-01-05T10:41:02.158Z" },
+ { url = "https://files.pythonhosted.org/packages/2e/47/174dca0502ef88b28f1c9e06b73ce33500eedfac7a7692108aec220464e7/tokenizers-0.22.2-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:1e418a55456beedca4621dbab65a318981467a2b188e982a23e117f115ce5001", size = 2981472, upload-time = "2026-01-05T10:41:00.276Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/84/7990e799f1309a8b87af6b948f31edaa12a3ed22d11b352eaf4f4b2e5753/tokenizers-0.22.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2249487018adec45d6e3554c71d46eb39fa8ea67156c640f7513eb26f318cec7", size = 3290736, upload-time = "2026-01-05T10:40:32.165Z" },
+ { url = "https://files.pythonhosted.org/packages/78/59/09d0d9ba94dcd5f4f1368d4858d24546b4bdc0231c2354aa31d6199f0399/tokenizers-0.22.2-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:25b85325d0815e86e0bac263506dd114578953b7b53d7de09a6485e4a160a7dd", size = 3168835, upload-time = "2026-01-05T10:40:38.847Z" },
+ { url = "https://files.pythonhosted.org/packages/47/50/b3ebb4243e7160bda8d34b731e54dd8ab8b133e50775872e7a434e524c28/tokenizers-0.22.2-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bfb88f22a209ff7b40a576d5324bf8286b519d7358663db21d6246fb17eea2d5", size = 3521673, upload-time = "2026-01-05T10:40:56.614Z" },
+ { url = "https://files.pythonhosted.org/packages/e0/fa/89f4cb9e08df770b57adb96f8cbb7e22695a4cb6c2bd5f0c4f0ebcf33b66/tokenizers-0.22.2-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1c774b1276f71e1ef716e5486f21e76333464f47bece56bbd554485982a9e03e", size = 3724818, upload-time = "2026-01-05T10:40:44.507Z" },
+ { url = "https://files.pythonhosted.org/packages/64/04/ca2363f0bfbe3b3d36e95bf67e56a4c88c8e3362b658e616d1ac185d47f2/tokenizers-0.22.2-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:df6c4265b289083bf710dff49bc51ef252f9d5be33a45ee2bed151114a56207b", size = 3379195, upload-time = "2026-01-05T10:40:51.139Z" },
+ { url = "https://files.pythonhosted.org/packages/2e/76/932be4b50ef6ccedf9d3c6639b056a967a86258c6d9200643f01269211ca/tokenizers-0.22.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:369cc9fc8cc10cb24143873a0d95438bb8ee257bb80c71989e3ee290e8d72c67", size = 3274982, upload-time = "2026-01-05T10:40:58.331Z" },
+ { url = "https://files.pythonhosted.org/packages/1d/28/5f9f5a4cc211b69e89420980e483831bcc29dade307955cc9dc858a40f01/tokenizers-0.22.2-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:29c30b83d8dcd061078b05ae0cb94d3c710555fbb44861139f9f83dcca3dc3e4", size = 9478245, upload-time = "2026-01-05T10:41:04.053Z" },
+ { url = "https://files.pythonhosted.org/packages/6c/fb/66e2da4704d6aadebf8cb39f1d6d1957df667ab24cff2326b77cda0dcb85/tokenizers-0.22.2-cp39-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:37ae80a28c1d3265bb1f22464c856bd23c02a05bb211e56d0c5301a435be6c1a", size = 9560069, upload-time = "2026-01-05T10:45:10.673Z" },
+ { url = "https://files.pythonhosted.org/packages/16/04/fed398b05caa87ce9b1a1bb5166645e38196081b225059a6edaff6440fac/tokenizers-0.22.2-cp39-abi3-musllinux_1_2_i686.whl", hash = "sha256:791135ee325f2336f498590eb2f11dc5c295232f288e75c99a36c5dbce63088a", size = 9899263, upload-time = "2026-01-05T10:45:12.559Z" },
+ { url = "https://files.pythonhosted.org/packages/05/a1/d62dfe7376beaaf1394917e0f8e93ee5f67fea8fcf4107501db35996586b/tokenizers-0.22.2-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:38337540fbbddff8e999d59970f3c6f35a82de10053206a7562f1ea02d046fa5", size = 10033429, upload-time = "2026-01-05T10:45:14.333Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/18/a545c4ea42af3df6effd7d13d250ba77a0a86fb20393143bbb9a92e434d4/tokenizers-0.22.2-cp39-abi3-win32.whl", hash = "sha256:a6bf3f88c554a2b653af81f3204491c818ae2ac6fbc09e76ef4773351292bc92", size = 2502363, upload-time = "2026-01-05T10:45:20.593Z" },
+ { url = "https://files.pythonhosted.org/packages/65/71/0670843133a43d43070abeb1949abfdef12a86d490bea9cd9e18e37c5ff7/tokenizers-0.22.2-cp39-abi3-win_amd64.whl", hash = "sha256:c9ea31edff2968b44a88f97d784c2f16dc0729b8b143ed004699ebca91f05c48", size = 2747786, upload-time = "2026-01-05T10:45:18.411Z" },
+ { url = "https://files.pythonhosted.org/packages/72/f4/0de46cfa12cdcbcd464cc59fde36912af405696f687e53a091fb432f694c/tokenizers-0.22.2-cp39-abi3-win_arm64.whl", hash = "sha256:9ce725d22864a1e965217204946f830c37876eee3b2ba6fc6255e8e903d5fcbc", size = 2612133, upload-time = "2026-01-05T10:45:17.232Z" },
+]
+
+[[package]]
+name = "tqdm"
+version = "4.67.3"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "colorama", marker = "sys_platform == 'win32'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/09/a9/6ba95a270c6f1fbcd8dac228323f2777d886cb206987444e4bce66338dd4/tqdm-4.67.3.tar.gz", hash = "sha256:7d825f03f89244ef73f1d4ce193cb1774a8179fd96f31d7e1dcde62092b960bb", size = 169598, upload-time = "2026-02-03T17:35:53.048Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/16/e1/3079a9ff9b8e11b846c6ac5c8b5bfb7ff225eee721825310c91b3b50304f/tqdm-4.67.3-py3-none-any.whl", hash = "sha256:ee1e4c0e59148062281c49d80b25b67771a127c85fc9676d3be5f243206826bf", size = 78374, upload-time = "2026-02-03T17:35:50.982Z" },
+]
+
+[[package]]
+name = "typer"
+version = "0.24.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "annotated-doc" },
+ { name = "click" },
+ { name = "rich" },
+ { name = "shellingham" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/f5/24/cb09efec5cc954f7f9b930bf8279447d24618bb6758d4f6adf2574c41780/typer-0.24.1.tar.gz", hash = "sha256:e39b4732d65fbdcde189ae76cf7cd48aeae72919dea1fdfc16593be016256b45", size = 118613, upload-time = "2026-02-21T16:54:40.609Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/4a/91/48db081e7a63bb37284f9fbcefda7c44c277b18b0e13fbc36ea2335b71e6/typer-0.24.1-py3-none-any.whl", hash = "sha256:112c1f0ce578bfb4cab9ffdabc68f031416ebcc216536611ba21f04e9aa84c9e", size = 56085, upload-time = "2026-02-21T16:54:41.616Z" },
+]
+
+[[package]]
+name = "typing-extensions"
+version = "4.15.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/72/94/1a15dd82efb362ac84269196e94cf00f187f7ed21c242792a923cdb1c61f/typing_extensions-4.15.0.tar.gz", hash = "sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466", size = 109391, upload-time = "2025-08-25T13:49:26.313Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/18/67/36e9267722cc04a6b9f15c7f3441c2363321a3ea07da7ae0c0707beb2a9c/typing_extensions-4.15.0-py3-none-any.whl", hash = "sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548", size = 44614, upload-time = "2025-08-25T13:49:24.86Z" },
+]
+
+[[package]]
+name = "typing-inspection"
+version = "0.4.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/55/e3/70399cb7dd41c10ac53367ae42139cf4b1ca5f36bb3dc6c9d33acdb43655/typing_inspection-0.4.2.tar.gz", hash = "sha256:ba561c48a67c5958007083d386c3295464928b01faa735ab8547c5692e87f464", size = 75949, upload-time = "2025-10-01T02:14:41.687Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/dc/9b/47798a6c91d8bdb567fe2698fe81e0c6b7cb7ef4d13da4114b41d239f65d/typing_inspection-0.4.2-py3-none-any.whl", hash = "sha256:4ed1cacbdc298c220f1bd249ed5287caa16f34d44ef4e9c3d0cbad5b521545e7", size = 14611, upload-time = "2025-10-01T02:14:40.154Z" },
+]
+
+[[package]]
+name = "urllib3"
+version = "2.6.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/c7/24/5f1b3bdffd70275f6661c76461e25f024d5a38a46f04aaca912426a2b1d3/urllib3-2.6.3.tar.gz", hash = "sha256:1b62b6884944a57dbe321509ab94fd4d3b307075e0c2eae991ac71ee15ad38ed", size = 435556, upload-time = "2026-01-07T16:24:43.925Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/39/08/aaaad47bc4e9dc8c725e68f9d04865dbcb2052843ff09c97b08904852d84/urllib3-2.6.3-py3-none-any.whl", hash = "sha256:bf272323e553dfb2e87d9bfd225ca7b0f467b919d7bbd355436d3fd37cb0acd4", size = 131584, upload-time = "2026-01-07T16:24:42.685Z" },
+]
+
+[[package]]
+name = "uvicorn"
+version = "0.44.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "click" },
+ { name = "h11" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/5e/da/6eee1ff8b6cbeed47eeb5229749168e81eb4b7b999a1a15a7176e51410c9/uvicorn-0.44.0.tar.gz", hash = "sha256:6c942071b68f07e178264b9152f1f16dfac5da85880c4ce06366a96d70d4f31e", size = 86947, upload-time = "2026-04-06T09:23:22.826Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b7/23/a5bbd9600dd607411fa644c06ff4951bec3a4d82c4b852374024359c19c0/uvicorn-0.44.0-py3-none-any.whl", hash = "sha256:ce937c99a2cc70279556967274414c087888e8cec9f9c94644dfca11bd3ced89", size = 69425, upload-time = "2026-04-06T09:23:21.524Z" },
+]
+
+[package.optional-dependencies]
+standard = [
+ { name = "colorama", marker = "sys_platform == 'win32'" },
+ { name = "httptools" },
+ { name = "python-dotenv" },
+ { name = "pyyaml" },
+ { name = "uvloop", marker = "platform_python_implementation != 'PyPy' and sys_platform != 'cygwin' and sys_platform != 'win32'" },
+ { name = "watchfiles" },
+ { name = "websockets" },
+]
+
+[[package]]
+name = "uvloop"
+version = "0.22.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/06/f0/18d39dbd1971d6d62c4629cc7fa67f74821b0dc1f5a77af43719de7936a7/uvloop-0.22.1.tar.gz", hash = "sha256:6c84bae345b9147082b17371e3dd5d42775bddce91f885499017f4607fdaf39f", size = 2443250, upload-time = "2025-10-16T22:17:19.342Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/3d/ff/7f72e8170be527b4977b033239a83a68d5c881cc4775fca255c677f7ac5d/uvloop-0.22.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:fe94b4564e865d968414598eea1a6de60adba0c040ba4ed05ac1300de402cd42", size = 1359936, upload-time = "2025-10-16T22:16:29.436Z" },
+ { url = "https://files.pythonhosted.org/packages/c3/c6/e5d433f88fd54d81ef4be58b2b7b0cea13c442454a1db703a1eea0db1a59/uvloop-0.22.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:51eb9bd88391483410daad430813d982010f9c9c89512321f5b60e2cddbdddd6", size = 752769, upload-time = "2025-10-16T22:16:30.493Z" },
+ { url = "https://files.pythonhosted.org/packages/24/68/a6ac446820273e71aa762fa21cdcc09861edd3536ff47c5cd3b7afb10eeb/uvloop-0.22.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:700e674a166ca5778255e0e1dc4e9d79ab2acc57b9171b79e65feba7184b3370", size = 4317413, upload-time = "2025-10-16T22:16:31.644Z" },
+ { url = "https://files.pythonhosted.org/packages/5f/6f/e62b4dfc7ad6518e7eff2516f680d02a0f6eb62c0c212e152ca708a0085e/uvloop-0.22.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7b5b1ac819a3f946d3b2ee07f09149578ae76066d70b44df3fa990add49a82e4", size = 4426307, upload-time = "2025-10-16T22:16:32.917Z" },
+ { url = "https://files.pythonhosted.org/packages/90/60/97362554ac21e20e81bcef1150cb2a7e4ffdaf8ea1e5b2e8bf7a053caa18/uvloop-0.22.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e047cc068570bac9866237739607d1313b9253c3051ad84738cbb095be0537b2", size = 4131970, upload-time = "2025-10-16T22:16:34.015Z" },
+ { url = "https://files.pythonhosted.org/packages/99/39/6b3f7d234ba3964c428a6e40006340f53ba37993f46ed6e111c6e9141d18/uvloop-0.22.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:512fec6815e2dd45161054592441ef76c830eddaad55c8aa30952e6fe1ed07c0", size = 4296343, upload-time = "2025-10-16T22:16:35.149Z" },
+]
+
+[[package]]
+name = "watchfiles"
+version = "1.1.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "anyio" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/c2/c9/8869df9b2a2d6c59d79220a4db37679e74f807c559ffe5265e08b227a210/watchfiles-1.1.1.tar.gz", hash = "sha256:a173cb5c16c4f40ab19cecf48a534c409f7ea983ab8fed0741304a1c0a31b3f2", size = 94440, upload-time = "2025-10-14T15:06:21.08Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/74/d5/f039e7e3c639d9b1d09b07ea412a6806d38123f0508e5f9b48a87b0a76cc/watchfiles-1.1.1-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:8c89f9f2f740a6b7dcc753140dd5e1ab9215966f7a3530d0c0705c83b401bd7d", size = 404745, upload-time = "2025-10-14T15:04:46.731Z" },
+ { url = "https://files.pythonhosted.org/packages/a5/96/a881a13aa1349827490dab2d363c8039527060cfcc2c92cc6d13d1b1049e/watchfiles-1.1.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:bd404be08018c37350f0d6e34676bd1e2889990117a2b90070b3007f172d0610", size = 391769, upload-time = "2025-10-14T15:04:48.003Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/5b/d3b460364aeb8da471c1989238ea0e56bec24b6042a68046adf3d9ddb01c/watchfiles-1.1.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8526e8f916bb5b9a0a777c8317c23ce65de259422bba5b31325a6fa6029d33af", size = 449374, upload-time = "2025-10-14T15:04:49.179Z" },
+ { url = "https://files.pythonhosted.org/packages/b9/44/5769cb62d4ed055cb17417c0a109a92f007114a4e07f30812a73a4efdb11/watchfiles-1.1.1-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:2edc3553362b1c38d9f06242416a5d8e9fe235c204a4072e988ce2e5bb1f69f6", size = 459485, upload-time = "2025-10-14T15:04:50.155Z" },
+ { url = "https://files.pythonhosted.org/packages/19/0c/286b6301ded2eccd4ffd0041a1b726afda999926cf720aab63adb68a1e36/watchfiles-1.1.1-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:30f7da3fb3f2844259cba4720c3fc7138eb0f7b659c38f3bfa65084c7fc7abce", size = 488813, upload-time = "2025-10-14T15:04:51.059Z" },
+ { url = "https://files.pythonhosted.org/packages/c7/2b/8530ed41112dd4a22f4dcfdb5ccf6a1baad1ff6eed8dc5a5f09e7e8c41c7/watchfiles-1.1.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f8979280bdafff686ba5e4d8f97840f929a87ed9cdf133cbbd42f7766774d2aa", size = 594816, upload-time = "2025-10-14T15:04:52.031Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/d2/f5f9fb49489f184f18470d4f99f4e862a4b3e9ac2865688eb2099e3d837a/watchfiles-1.1.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:dcc5c24523771db3a294c77d94771abcfcb82a0e0ee8efd910c37c59ec1b31bb", size = 475186, upload-time = "2025-10-14T15:04:53.064Z" },
+ { url = "https://files.pythonhosted.org/packages/cf/68/5707da262a119fb06fbe214d82dd1fe4a6f4af32d2d14de368d0349eb52a/watchfiles-1.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1db5d7ae38ff20153d542460752ff397fcf5c96090c1230803713cf3147a6803", size = 456812, upload-time = "2025-10-14T15:04:55.174Z" },
+ { url = "https://files.pythonhosted.org/packages/66/ab/3cbb8756323e8f9b6f9acb9ef4ec26d42b2109bce830cc1f3468df20511d/watchfiles-1.1.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:28475ddbde92df1874b6c5c8aaeb24ad5be47a11f87cde5a28ef3835932e3e94", size = 630196, upload-time = "2025-10-14T15:04:56.22Z" },
+ { url = "https://files.pythonhosted.org/packages/78/46/7152ec29b8335f80167928944a94955015a345440f524d2dfe63fc2f437b/watchfiles-1.1.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:36193ed342f5b9842edd3532729a2ad55c4160ffcfa3700e0d54be496b70dd43", size = 622657, upload-time = "2025-10-14T15:04:57.521Z" },
+ { url = "https://files.pythonhosted.org/packages/0a/bf/95895e78dd75efe9a7f31733607f384b42eb5feb54bd2eb6ed57cc2e94f4/watchfiles-1.1.1-cp312-cp312-win32.whl", hash = "sha256:859e43a1951717cc8de7f4c77674a6d389b106361585951d9e69572823f311d9", size = 272042, upload-time = "2025-10-14T15:04:59.046Z" },
+ { url = "https://files.pythonhosted.org/packages/87/0a/90eb755f568de2688cb220171c4191df932232c20946966c27a59c400850/watchfiles-1.1.1-cp312-cp312-win_amd64.whl", hash = "sha256:91d4c9a823a8c987cce8fa2690923b069966dabb196dd8d137ea2cede885fde9", size = 288410, upload-time = "2025-10-14T15:05:00.081Z" },
+ { url = "https://files.pythonhosted.org/packages/36/76/f322701530586922fbd6723c4f91ace21364924822a8772c549483abed13/watchfiles-1.1.1-cp312-cp312-win_arm64.whl", hash = "sha256:a625815d4a2bdca61953dbba5a39d60164451ef34c88d751f6c368c3ea73d404", size = 278209, upload-time = "2025-10-14T15:05:01.168Z" },
+]
+
+[[package]]
+name = "websocket-client"
+version = "1.9.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/2c/41/aa4bf9664e4cda14c3b39865b12251e8e7d239f4cd0e3cc1b6c2ccde25c1/websocket_client-1.9.0.tar.gz", hash = "sha256:9e813624b6eb619999a97dc7958469217c3176312b3a16a4bd1bc7e08a46ec98", size = 70576, upload-time = "2025-10-07T21:16:36.495Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/34/db/b10e48aa8fff7407e67470363eac595018441cf32d5e1001567a7aeba5d2/websocket_client-1.9.0-py3-none-any.whl", hash = "sha256:af248a825037ef591efbf6ed20cc5faa03d3b47b9e5a2230a529eeee1c1fc3ef", size = 82616, upload-time = "2025-10-07T21:16:34.951Z" },
+]
+
+[[package]]
+name = "websockets"
+version = "14.2"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/94/54/8359678c726243d19fae38ca14a334e740782336c9f19700858c4eb64a1e/websockets-14.2.tar.gz", hash = "sha256:5059ed9c54945efb321f097084b4c7e52c246f2c869815876a69d1efc4ad6eb5", size = 164394, upload-time = "2025-01-19T21:00:56.431Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/c1/81/04f7a397653dc8bec94ddc071f34833e8b99b13ef1a3804c149d59f92c18/websockets-14.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:1f20522e624d7ffbdbe259c6b6a65d73c895045f76a93719aa10cd93b3de100c", size = 163096, upload-time = "2025-01-19T20:59:29.763Z" },
+ { url = "https://files.pythonhosted.org/packages/ec/c5/de30e88557e4d70988ed4d2eabd73fd3e1e52456b9f3a4e9564d86353b6d/websockets-14.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:647b573f7d3ada919fd60e64d533409a79dcf1ea21daeb4542d1d996519ca967", size = 160758, upload-time = "2025-01-19T20:59:32.095Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/8c/d130d668781f2c77d106c007b6c6c1d9db68239107c41ba109f09e6c218a/websockets-14.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6af99a38e49f66be5a64b1e890208ad026cda49355661549c507152113049990", size = 160995, upload-time = "2025-01-19T20:59:33.527Z" },
+ { url = "https://files.pythonhosted.org/packages/a6/bc/f6678a0ff17246df4f06765e22fc9d98d1b11a258cc50c5968b33d6742a1/websockets-14.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:091ab63dfc8cea748cc22c1db2814eadb77ccbf82829bac6b2fbe3401d548eda", size = 170815, upload-time = "2025-01-19T20:59:35.837Z" },
+ { url = "https://files.pythonhosted.org/packages/d8/b2/8070cb970c2e4122a6ef38bc5b203415fd46460e025652e1ee3f2f43a9a3/websockets-14.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b374e8953ad477d17e4851cdc66d83fdc2db88d9e73abf755c94510ebddceb95", size = 169759, upload-time = "2025-01-19T20:59:38.216Z" },
+ { url = "https://files.pythonhosted.org/packages/81/da/72f7caabd94652e6eb7e92ed2d3da818626e70b4f2b15a854ef60bf501ec/websockets-14.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a39d7eceeea35db85b85e1169011bb4321c32e673920ae9c1b6e0978590012a3", size = 170178, upload-time = "2025-01-19T20:59:40.423Z" },
+ { url = "https://files.pythonhosted.org/packages/31/e0/812725b6deca8afd3a08a2e81b3c4c120c17f68c9b84522a520b816cda58/websockets-14.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0a6f3efd47ffd0d12080594f434faf1cd2549b31e54870b8470b28cc1d3817d9", size = 170453, upload-time = "2025-01-19T20:59:41.996Z" },
+ { url = "https://files.pythonhosted.org/packages/66/d3/8275dbc231e5ba9bb0c4f93144394b4194402a7a0c8ffaca5307a58ab5e3/websockets-14.2-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:065ce275e7c4ffb42cb738dd6b20726ac26ac9ad0a2a48e33ca632351a737267", size = 169830, upload-time = "2025-01-19T20:59:44.669Z" },
+ { url = "https://files.pythonhosted.org/packages/a3/ae/e7d1a56755ae15ad5a94e80dd490ad09e345365199600b2629b18ee37bc7/websockets-14.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e9d0e53530ba7b8b5e389c02282f9d2aa47581514bd6049d3a7cffe1385cf5fe", size = 169824, upload-time = "2025-01-19T20:59:46.932Z" },
+ { url = "https://files.pythonhosted.org/packages/b6/32/88ccdd63cb261e77b882e706108d072e4f1c839ed723bf91a3e1f216bf60/websockets-14.2-cp312-cp312-win32.whl", hash = "sha256:20e6dd0984d7ca3037afcb4494e48c74ffb51e8013cac71cf607fffe11df7205", size = 163981, upload-time = "2025-01-19T20:59:49.228Z" },
+ { url = "https://files.pythonhosted.org/packages/b3/7d/32cdb77990b3bdc34a306e0a0f73a1275221e9a66d869f6ff833c95b56ef/websockets-14.2-cp312-cp312-win_amd64.whl", hash = "sha256:44bba1a956c2c9d268bdcdf234d5e5ff4c9b6dc3e300545cbe99af59dda9dcce", size = 164421, upload-time = "2025-01-19T20:59:50.674Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/c8/d529f8a32ce40d98309f4470780631e971a5a842b60aec864833b3615786/websockets-14.2-py3-none-any.whl", hash = "sha256:7a6ceec4ea84469f15cf15807a747e9efe57e369c384fa86e022b3bea679b79b", size = 157416, upload-time = "2025-01-19T21:00:54.843Z" },
+]
+
+[[package]]
+name = "yarl"
+version = "1.23.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "idna" },
+ { name = "multidict" },
+ { name = "propcache" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/23/6e/beb1beec874a72f23815c1434518bfc4ed2175065173fb138c3705f658d4/yarl-1.23.0.tar.gz", hash = "sha256:53b1ea6ca88ebd4420379c330aea57e258408dd0df9af0992e5de2078dc9f5d5", size = 194676, upload-time = "2026-03-01T22:07:53.373Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/88/8a/94615bc31022f711add374097ad4144d569e95ff3c38d39215d07ac153a0/yarl-1.23.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:1932b6b8bba8d0160a9d1078aae5838a66039e8832d41d2992daa9a3a08f7860", size = 124737, upload-time = "2026-03-01T22:05:12.897Z" },
+ { url = "https://files.pythonhosted.org/packages/e3/6f/c6554045d59d64052698add01226bc867b52fe4a12373415d7991fdca95d/yarl-1.23.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:411225bae281f114067578891bc75534cfb3d92a3b4dfef7a6ca78ba354e6069", size = 87029, upload-time = "2026-03-01T22:05:14.376Z" },
+ { url = "https://files.pythonhosted.org/packages/19/2a/725ecc166d53438bc88f76822ed4b1e3b10756e790bafd7b523fe97c322d/yarl-1.23.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:13a563739ae600a631c36ce096615fe307f131344588b0bc0daec108cdb47b25", size = 86310, upload-time = "2026-03-01T22:05:15.71Z" },
+ { url = "https://files.pythonhosted.org/packages/99/30/58260ed98e6ff7f90ba84442c1ddd758c9170d70327394a6227b310cd60f/yarl-1.23.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9cbf44c5cb4a7633d078788e1b56387e3d3cf2b8139a3be38040b22d6c3221c8", size = 97587, upload-time = "2026-03-01T22:05:17.384Z" },
+ { url = "https://files.pythonhosted.org/packages/76/0a/8b08aac08b50682e65759f7f8dde98ae8168f72487e7357a5d684c581ef9/yarl-1.23.0-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:53ad387048f6f09a8969631e4de3f1bf70c50e93545d64af4f751b2498755072", size = 92528, upload-time = "2026-03-01T22:05:18.804Z" },
+ { url = "https://files.pythonhosted.org/packages/52/07/0b7179101fe5f8385ec6c6bb5d0cb9f76bd9fb4a769591ab6fb5cdbfc69a/yarl-1.23.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:4a59ba56f340334766f3a4442e0efd0af895fae9e2b204741ef885c446b3a1a8", size = 105339, upload-time = "2026-03-01T22:05:20.235Z" },
+ { url = "https://files.pythonhosted.org/packages/d3/8a/36d82869ab5ec829ca8574dfcb92b51286fcfb1e9c7a73659616362dc880/yarl-1.23.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:803a3c3ce4acc62eaf01eaca1208dcf0783025ef27572c3336502b9c232005e7", size = 105061, upload-time = "2026-03-01T22:05:22.268Z" },
+ { url = "https://files.pythonhosted.org/packages/66/3e/868e5c3364b6cee19ff3e1a122194fa4ce51def02c61023970442162859e/yarl-1.23.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a3d2bff8f37f8d0f96c7ec554d16945050d54462d6e95414babaa18bfafc7f51", size = 100132, upload-time = "2026-03-01T22:05:23.638Z" },
+ { url = "https://files.pythonhosted.org/packages/cf/26/9c89acf82f08a52cb52d6d39454f8d18af15f9d386a23795389d1d423823/yarl-1.23.0-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c75eb09e8d55bceb4367e83496ff8ef2bc7ea6960efb38e978e8073ea59ecb67", size = 99289, upload-time = "2026-03-01T22:05:25.749Z" },
+ { url = "https://files.pythonhosted.org/packages/6f/54/5b0db00d2cb056922356104468019c0a132e89c8d3ab67d8ede9f4483d2a/yarl-1.23.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:877b0738624280e34c55680d6054a307aa94f7d52fa0e3034a9cc6e790871da7", size = 96950, upload-time = "2026-03-01T22:05:27.318Z" },
+ { url = "https://files.pythonhosted.org/packages/f6/40/10fa93811fd439341fad7e0718a86aca0de9548023bbb403668d6555acab/yarl-1.23.0-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:b5405bb8f0e783a988172993cfc627e4d9d00432d6bbac65a923041edacf997d", size = 93960, upload-time = "2026-03-01T22:05:28.738Z" },
+ { url = "https://files.pythonhosted.org/packages/bc/d2/8ae2e6cd77d0805f4526e30ec43b6f9a3dfc542d401ac4990d178e4bf0cf/yarl-1.23.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:1c3a3598a832590c5a3ce56ab5576361b5688c12cb1d39429cf5dba30b510760", size = 104703, upload-time = "2026-03-01T22:05:30.438Z" },
+ { url = "https://files.pythonhosted.org/packages/2f/0c/b3ceacf82c3fe21183ce35fa2acf5320af003d52bc1fcf5915077681142e/yarl-1.23.0-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:8419ebd326430d1cbb7efb5292330a2cf39114e82df5cc3d83c9a0d5ebeaf2f2", size = 98325, upload-time = "2026-03-01T22:05:31.835Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/e0/12900edd28bdab91a69bd2554b85ad7b151f64e8b521fe16f9ad2f56477a/yarl-1.23.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:be61f6fff406ca40e3b1d84716fde398fc08bc63dd96d15f3a14230a0973ed86", size = 105067, upload-time = "2026-03-01T22:05:33.358Z" },
+ { url = "https://files.pythonhosted.org/packages/15/61/74bb1182cf79c9bbe4eb6b1f14a57a22d7a0be5e9cedf8e2d5c2086474c3/yarl-1.23.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3ceb13c5c858d01321b5d9bb65e4cf37a92169ea470b70fec6f236b2c9dd7e34", size = 100285, upload-time = "2026-03-01T22:05:35.4Z" },
+ { url = "https://files.pythonhosted.org/packages/69/7f/cd5ef733f2550de6241bd8bd8c3febc78158b9d75f197d9c7baa113436af/yarl-1.23.0-cp312-cp312-win32.whl", hash = "sha256:fffc45637bcd6538de8b85f51e3df3223e4ad89bccbfca0481c08c7fc8b7ed7d", size = 82359, upload-time = "2026-03-01T22:05:36.811Z" },
+ { url = "https://files.pythonhosted.org/packages/f5/be/25216a49daeeb7af2bec0db22d5e7df08ed1d7c9f65d78b14f3b74fd72fc/yarl-1.23.0-cp312-cp312-win_amd64.whl", hash = "sha256:f69f57305656a4852f2a7203efc661d8c042e6cc67f7acd97d8667fb448a426e", size = 87674, upload-time = "2026-03-01T22:05:38.171Z" },
+ { url = "https://files.pythonhosted.org/packages/d2/35/aeab955d6c425b227d5b7247eafb24f2653fedc32f95373a001af5dfeb9e/yarl-1.23.0-cp312-cp312-win_arm64.whl", hash = "sha256:6e87a6e8735b44816e7db0b2fbc9686932df473c826b0d9743148432e10bb9b9", size = 81879, upload-time = "2026-03-01T22:05:40.006Z" },
+ { url = "https://files.pythonhosted.org/packages/69/68/c8739671f5699c7dc470580a4f821ef37c32c4cb0b047ce223a7f115757f/yarl-1.23.0-py3-none-any.whl", hash = "sha256:a2df6afe50dea8ae15fa34c9f824a3ee958d785fd5d089063d960bae1daa0a3f", size = 48288, upload-time = "2026-03-01T22:07:51.388Z" },
+]
+
+[[package]]
+name = "zipp"
+version = "3.23.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/30/21/093488dfc7cc8964ded15ab726fad40f25fd3d788fd741cc1c5a17d78ee8/zipp-3.23.1.tar.gz", hash = "sha256:32120e378d32cd9714ad503c1d024619063ec28aad2248dc6672ad13edfa5110", size = 25965, upload-time = "2026-04-13T23:21:46.6Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/08/8a/0861bec20485572fbddf3dfba2910e38fe249796cb73ecdeb74e07eeb8d3/zipp-3.23.1-py3-none-any.whl", hash = "sha256:0b3596c50a5c700c9cb40ba8d86d9f2cc4807e9bedb06bcdf7fac85633e444dc", size = 10378, upload-time = "2026-04-13T23:21:45.386Z" },
+]
diff --git a/examples/wine-recommender/.env.example b/examples/wine-recommender/.env.example
index 495ed58ea..acb30fd18 100644
--- a/examples/wine-recommender/.env.example
+++ b/examples/wine-recommender/.env.example
@@ -1,38 +1,16 @@
# Root app environment for `app.py` and the main backend.
# The `wine_picture_detection` folder can also have its own local `.env` for standalone work.
-#
-# Copy this file to `.env` in the same directory before running `docker compose up`:
-# cp .env.example .env
-# Then fill in CLUSTER_URL and API_KEY (see README "Get your SIE credentials" section).
-# --- SIE cluster (required) ---
-# You bring your own SIE cluster. These values come from the SIE dashboard for a
-# managed cluster, or from your local SIE server config if self-hosting.
-# See https://sie.dev/docs/quickstart for setup options.
-CLUSTER_URL=https://your-sie-cluster-url
-API_KEY=your-sie-api-key
-
-# --- Reranker configuration ---
-# Two reranker modes are available:
-#
-# custom: embedding-based reranker. Calls SIE `encode` on generated
-# tasting notes and reviews, then ranks candidates by cosine
-# similarity against the user query embedding. Works with the
-# bundled SQLite catalog (which has no per-wine reviews).
-# Also called "dense re-scoring" in the retrieval literature.
-#
-# standard: cross-encoder reranker. Calls SIE `score` on each
-# (prompt term, wine review) pair. Only produces meaningful
-# scores when wines have review text - re-run db_creation.py
-# to fetch reviews from Vivino first, otherwise every wine will
-# score 0 and matchPercentage will be 0%.
-RERANK_METHOD=custom
+# Docker Compose backend runs inside a container. If SIE is running on
+# your host machine through Docker Desktop, this points back to host port 8080.
+CLUSTER_URL=http://host.docker.internal:8080
+# Optional: only needed for managed/auth-enabled SIE clusters.
+API_KEY=
+RERANK_METHOD=standard
SIE_RERANK_MODEL=BAAI/bge-reranker-v2-m3
SIE_EMBEDDING_MODEL=BAAI/bge-m3
RERANK_ALPHA=0.7
CUSTOM_RERANK_A=0.75
CUSTOM_RERANK_NO_REVIEW_PENALTY=0.5
-
-# --- SIE runtime options ---
SIE_GPU=l4-spot
SIE_PROVISION_TIMEOUT_S=900
diff --git a/examples/wine-recommender/README.md b/examples/wine-recommender/README.md
index 8a6c6919b..b1dd1a143 100644
--- a/examples/wine-recommender/README.md
+++ b/examples/wine-recommender/README.md
@@ -1,11 +1,11 @@
# WineRetrieval
-WineRetrieval is a runnable demo app that shows how to combine retrieval, reranking, and OCR-style extraction with [SIE](https://sie.dev/docs/). You can use it to explore wine recommendations from taste preferences, then switch to label detection from an uploaded bottle image.
+WineRetrieval is a runnable demo app that shows how to combine retrieval, reranking, and OCR-style extraction with [SIE](https://superlinked.com/docs/). You can use it to explore wine recommendations from taste preferences, then switch to label detection from an uploaded bottle image.
It wires together two separate prototype features:
-- `wine_flavor/`: wine retrieval and reranking from flavor + structure preferences. This uses both the [encode](https://sie.dev/docs/encode) and [score](https://sie.dev/docs/score) primitives of the SIE.
-- `wine_picture_detection/`: OCR-based wine label detection, using the [extract](https://sie.dev/docs/extract) primitive.
+- `wine_flavor/`: wine retrieval and reranking from flavor + structure preferences. This uses both the [encode](https://superlinked.com/docs/encode) and [score](https://superlinked.com/docs/score) primitives of the SIE.
+- `wine_picture_detection/`: OCR-based wine label detection, using the [extract](https://superlinked.com/docs/extract) primitive.
Those two pieces are connected through the root `app.py` so you can try them in one UI, but they are also meant to be runnable on their own from inside their own folders. Please refer to the instructions in the README in each sub-folder to do so.
@@ -27,13 +27,9 @@ The duplicated database files (`wine_flavor.db`) and local `.env` setup are inte
## SIE Features Used
-- [`encode`](https://sie.dev/docs/encode) for tasting-note and review embeddings in the **embedding-based reranker** (config value `custom`)
-- [`score`](https://sie.dev/docs/score) for cross-encoder reranking of candidate reviews in the **cross-encoder reranker** (config value `standard`)
-- [`extract`](https://sie.dev/docs/extract) for OCR-based wine label detection
-
-Retrieval itself (the first stage that narrows 5k+ wines down to a candidate set) runs locally with a TF-IDF cosine over structured flavor and taste attributes, so the first-stage retrieval does not call SIE. SIE engages at the reranking and extraction stages.
-
-A note on terminology: this demo uses the word "reranker" for both modes, but they are different kinds of reranking. A **cross-encoder reranker** (the `standard` mode) feeds each `(query, document)` pair into one model call and gets a relevance score directly, which is what SIE's `score` primitive does. An **embedding-based reranker** (the `custom` mode) embeds the query and each candidate document independently with SIE `encode`, then ranks by cosine similarity in that dense vector space. Cross-encoders are generally higher precision at the same model budget; embedding-based rerankers are cheaper per candidate and degrade more gracefully when some documents lack the text the cross-encoder would score against.
+- `encode` for retrieval embeddings
+- `score` for reranking candidate wines
+- `extract` for OCR-based wine label detection
## Why The OCR Flow Matters
@@ -70,29 +66,12 @@ flowchart TD;
D --> E["Wine identification"];
```
-## Pre-requisites
-
-### Get your SIE credentials
-
-This demo does not bundle an SIE server - you bring your own. You need:
-
-- **`CLUSTER_URL`**: the URL of a running SIE cluster you can reach from the machine that runs the backend container
-- **`API_KEY`**: a valid API key for that cluster
-
-You can get these either by:
+## Pre-requisite
-1. **Self-hosting SIE** - see the [SIE quickstart](https://sie.dev/docs/quickstart) to run an SIE server locally or on your own infrastructure, then use that `CLUSTER_URL` and issue yourself an `API_KEY` from the server config
-2. **Using a managed SIE cluster** - grab the `CLUSTER_URL` and `API_KEY` from your SIE dashboard
+In order to run this demo, you will need to start the SIE server. Please refer to the [SIE quickstart page](https://superlinked.com/docs/quickstart) for detailed instructions
-Background on the SIE primitives this demo uses:
-
-- [`encode`](https://sie.dev/docs/encode) - dense embeddings for tasting notes and reviews (used by the "custom" reranker)
-- [`score`](https://sie.dev/docs/score) - cross-encoder reranking (used by the "standard" reranker)
-- [`extract`](https://sie.dev/docs/extract) - OCR-style extraction on wine label images
-
-### Docker and Docker Compose
-
-You need Docker and Docker Compose v2 installed. The backend builds against `python:3.12-slim`, so no local Python setup is required.
+The app needs `CLUSTER_URL` so it knows where SIE is running. `API_KEY`
+is optional and should stay blank for a local unauthenticated SIE server.
## Running the full Demo
@@ -105,7 +84,8 @@ From the repo root:
```bash
cd examples/wine-recommender
-cp .env.example .env # edit .env and fill in CLUSTER_URL and API_KEY
+cp .env.example .env
+# If SIE is not running on your host at port 8080, edit CLUSTER_URL in .env.
docker compose up --build
```
@@ -124,18 +104,12 @@ docker compose down
## Environment Files
-- The root app and `wine_flavor/` subproject use the root `.env` (copy from `.env.example`)
-- `wine_picture_detection/` can also use its own local `.env` / `.env.example` when you run that subproject standalone
+- The root app and `wine_flavor/` subproject use the root `.env`
+- `wine_picture_detection/` can also use its own local `.env` / `.env.example`
- The duplicated setup is intentional so both subprojects can be run individually
If you are running the full demo, put the required backend keys in the root `.env`.
-
-## Reranker Modes
-
-The recommendation flow supports two reranking strategies, selected via `RERANK_METHOD` in `.env`. Both re-order the top-20 candidates produced by the local TF-IDF retrieval stage, but they call SIE in different ways:
-
-- **`custom` (embedding-based reranker, default)**: calls SIE [`encode`](https://sie.dev/docs/encode) on generated tasting notes and (when available) per-wine reviews, embeds the user query the same way, then ranks candidates by cosine similarity in the shared embedding space. Works out of the box with the bundled SQLite catalog, which has structured taste and flavor attributes but no per-wine reviews. The code calls this path `custom_rerank` and the config value is `custom`; in the retrieval literature this is more precisely an embedding-based reranker or a dense re-scoring pass.
-- **`standard` (cross-encoder reranker)**: calls SIE [`score`](https://sie.dev/docs/score) to rerank each candidate wine's reviews against a set of structure and flavor prompt terms, with each `(term, review)` pair scored by a cross-encoder model such as `BAAI/bge-reranker-v2-m3`. This mode only produces meaningful scores when wines actually have reviews - the bundled catalog ships without reviews, so every wine will get a zero rerank score in `standard` mode. If you want to try `standard` mode, re-run the database ingestion under `wine_flavor/db_creation.py` to fetch reviews from Vivino first.
+For local/self-hosted SIE without auth, leave `API_KEY=` blank.
## What To Try
diff --git a/examples/wine-recommender/app.py b/examples/wine-recommender/app.py
index 38d938460..0f9fff124 100644
--- a/examples/wine-recommender/app.py
+++ b/examples/wine-recommender/app.py
@@ -9,9 +9,10 @@ from uuid import uuid4
import pandas as pd
import uvicorn
from dotenv import load_dotenv
-from fastapi import FastAPI, File, UploadFile
+from fastapi import FastAPI, File, HTTPException, UploadFile
from fastapi.encoders import jsonable_encoder
from fastapi.middleware.cors import CORSMiddleware
+from openai import OpenAI
from pydantic import BaseModel, Field
from wine_flavor import datasource, service
from wine_picture_detection import detect_wine_from_image_bytes
@@ -48,7 +49,7 @@ def _require_int_env(name, default):
try:
SIE_BASE_URL = _require_env("CLUSTER_URL")
- SIE_API_KEY = _require_env("API_KEY")
+ SIE_API_KEY = os.getenv("API_KEY") or None
RERANK_METHOD = _require_env("RERANK_METHOD")
SIE_RERANK_MODEL = _require_env("SIE_RERANK_MODEL")
SIE_EMBEDDING_MODEL = _require_env("SIE_EMBEDDING_MODEL")
@@ -103,6 +104,10 @@ class RecommendationRequest(BaseModel):
top_k: int = Field(default=COSINE_TOP_K, ge=1, le=50)
+class FlavorPromptRequest(BaseModel):
+ prompt: str = Field(min_length=1, max_length=500)
+
+
class DemoCatalog:
def __init__(self):
self._lock = Lock()
@@ -374,6 +379,41 @@ def _build_flavor_tags(wines):
]
+def _prompt_flavor_adjustment(prompt: str, available_flavors: list[str]) -> dict:
+ api_key = os.getenv("OPENAI_API_KEY")
+ if not api_key:
+ raise ValueError("Missing required environment variable: OPENAI_API_KEY")
+
+ client = OpenAI(api_key=api_key)
+ response = client.responses.create(
+ model="gpt-4.1-mini",
+ text={"format": {"type": "json_object"}},
+ input=[
+ {
+ "role": "system",
+ "content": (
+ "Return only JSON with keys structure and flavors. "
+ "Structure must contain acidity, fizziness, intensity, sweetness, tannin as integers from 0 to 100. "
+ "Flavors must be an array of up to 8 strings chosen only from the provided list."
+ ),
+ },
+ {
+ "role": "user",
+ "content": f"Prompt: {prompt}\nAvailable flavors: {', '.join(available_flavors[:250])}",
+ },
+ ],
+ )
+
+ output_text = (response.output_text or "").strip()
+ if not output_text:
+ raise ValueError("OpenAI returned an empty response")
+
+ try:
+ return json.loads(output_text)
+ except json.JSONDecodeError as exc:
+ raise ValueError(f"OpenAI returned invalid JSON: {output_text}") from exc
+
+
def _to_recommendation_record(record):
score = float(record.get("rerank_score") or 0.0)
return {
@@ -467,6 +507,41 @@ def recommendations(payload: RecommendationRequest):
)
[email protected]("/analyze-flavor-prompt")
+def analyze_flavor_prompt(payload: FlavorPromptRequest):
+ catalog.load()
+ available_flavors = sorted(set(catalog.unique_flavors or []))
+ available_flavors_set = set(available_flavors)
+
+ try:
+ result = _prompt_flavor_adjustment(payload.prompt, available_flavors)
+ except ValueError as exc:
+ raise HTTPException(status_code=500, detail=str(exc)) from exc
+ except Exception as exc:
+ raise HTTPException(
+ status_code=502, detail=f"Prompt analysis failed: {exc}"
+ ) from exc
+
+ structure = result.get("structure") or {}
+ flavors = [
+ flavor
+ for flavor in (result.get("flavors") or [])
+ if flavor in available_flavors_set
+ ]
+ return jsonable_encoder(
+ {
+ "structure": {
+ "acidity": max(0, min(100, int(structure.get("acidity", 50)))),
+ "fizziness": max(0, min(100, int(structure.get("fizziness", 0)))),
+ "intensity": max(0, min(100, int(structure.get("intensity", 50)))),
+ "sweetness": max(0, min(100, int(structure.get("sweetness", 10)))),
+ "tannin": max(0, min(100, int(structure.get("tannin", 50)))),
+ },
+ "flavors": flavors[:8],
+ }
+ )
+
+
@app.post("/detect-wine-image")
async def detect_wine_image(file: UploadFile = File(...)):
catalog.load()
diff --git a/examples/wine-recommender/app/components/wine-recommender.tsx b/examples/wine-recommender/app/components/wine-recommender.tsx
index ce11d252d..b78cc1388 100644
--- a/examples/wine-recommender/app/components/wine-recommender.tsx
+++ b/examples/wine-recommender/app/components/wine-recommender.tsx
@@ -477,7 +477,7 @@ export function WineRecommender() {
onClick={() => {
setSelectedReferenceWine("")
setDetectedWine(null)
- setDetectionConfidence(null)
+ setDetectionMatchScore(null)
}}
className="text-xs text-muted-foreground hover:text-foreground"
>
@@ -557,7 +557,7 @@ export function WineRecommender() {
onClick={() => {
setSelectedReferenceWine("")
setDetectedWine(null)
- setDetectionConfidence(null)
+ setDetectionMatchScore(null)
}}
className="p-1.5 rounded-full hover:bg-muted transition-colors"
>
diff --git a/examples/wine-recommender/app/next.config.mjs b/examples/wine-recommender/app/next.config.mjs
index 4cd9948a8..10d79672e 100644
--- a/examples/wine-recommender/app/next.config.mjs
+++ b/examples/wine-recommender/app/next.config.mjs
@@ -1,7 +1,12 @@
+import { dirname } from "node:path"
+import { fileURLToPath } from "node:url"
+
+const appDir = dirname(fileURLToPath(import.meta.url))
+
/** @type {import('next').NextConfig} */
const nextConfig = {
- typescript: {
- ignoreBuildErrors: true,
+ turbopack: {
+ root: appDir,
},
images: {
unoptimized: true,
diff --git a/examples/wine-recommender/app/package-lock.json b/examples/wine-recommender/app/package-lock.json
index 911537274..a4dd06832 100644
--- a/examples/wine-recommender/app/package-lock.json
+++ b/examples/wine-recommender/app/package-lock.json
@@ -1,11 +1,11 @@
{
- "name": "my-project",
+ "name": "sommelier",
"version": "0.1.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
- "name": "my-project",
+ "name": "sommelier",
"version": "0.1.0",
"dependencies": {
"@hookform/resolvers": "^3.9.1",
@@ -36,7 +36,6 @@
"@radix-ui/react-toggle": "1.1.10",
"@radix-ui/react-toggle-group": "1.1.11",
"@radix-ui/react-tooltip": "1.2.8",
- "@vercel/analytics": "1.6.1",
"autoprefixer": "^10.4.20",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
@@ -2806,6 +2805,7 @@
"integrity": "sha512-ilcTH/UniCkMdtexkoCN0bI7pMcJDvmQFPvuPvmEaYA/NSfFTAgdUSLAoVjaRJm7+6PvcM+q1zYOwS4wTYMF9w==",
"devOptional": true,
"license": "MIT",
+ "peer": true,
"dependencies": {
"csstype": "^3.2.2"
}
@@ -2816,48 +2816,11 @@
"integrity": "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==",
"devOptional": true,
"license": "MIT",
+ "peer": true,
"peerDependencies": {
"@types/react": "^19.2.0"
}
},
- "node_modules/@vercel/analytics": {
- "version": "1.6.1",
- "resolved": "https://registry.npmjs.org/@vercel/analytics/-/analytics-1.6.1.tgz",
- "integrity": "sha512-oH9He/bEM+6oKlv3chWuOOcp8Y6fo6/PSro8hEkgCW3pu9/OiCXiUpRUogDh3Fs3LH2sosDrx8CxeOLBEE+afg==",
- "license": "MPL-2.0",
- "peerDependencies": {
- "@remix-run/react": "^2",
- "@sveltejs/kit": "^1 || ^2",
- "next": ">= 13",
- "react": "^18 || ^19 || ^19.0.0-rc",
- "svelte": ">= 4",
- "vue": "^3",
- "vue-router": "^4"
- },
- "peerDependenciesMeta": {
- "@remix-run/react": {
- "optional": true
- },
- "@sveltejs/kit": {
- "optional": true
- },
- "next": {
- "optional": true
- },
- "react": {
- "optional": true
- },
- "svelte": {
- "optional": true
- },
- "vue": {
- "optional": true
- },
- "vue-router": {
- "optional": true
- }
- }
- },
"node_modules/aria-hidden": {
"version": "1.2.6",
"resolved": "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.6.tgz",
@@ -2937,6 +2900,7 @@
}
],
"license": "MIT",
+ "peer": true,
"dependencies": {
"baseline-browser-mapping": "^2.10.12",
"caniuse-lite": "^1.0.30001782",
@@ -3199,7 +3163,8 @@
"version": "8.6.0",
"resolved": "https://registry.npmjs.org/embla-carousel/-/embla-carousel-8.6.0.tgz",
"integrity": "sha512-SjWyZBHJPbqxHOzckOfo8lHisEaJWmwd23XppYFYVh10bU66/Pn5tkVkbkCMZVdbUE5eTCI2nD8OyIP4Z+uwkA==",
- "license": "MIT"
+ "license": "MIT",
+ "peer": true
},
"node_modules/embla-carousel-react": {
"version": "8.6.0",
@@ -3772,6 +3737,7 @@
}
],
"license": "MIT",
+ "peer": true,
"dependencies": {
"nanoid": "^3.3.11",
"picocolors": "^1.1.1",
@@ -3809,6 +3775,7 @@
"resolved": "https://registry.npmjs.org/react/-/react-19.2.4.tgz",
"integrity": "sha512-9nfp2hYpCwOjAN+8TZFGhtWEwgvWHXqESH8qT89AT/lWklpLON22Lc8pEtnpsZz7VmawabSU0gCjnj8aC0euHQ==",
"license": "MIT",
+ "peer": true,
"engines": {
"node": ">=0.10.0"
}
@@ -3839,6 +3806,7 @@
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.4.tgz",
"integrity": "sha512-AXJdLo8kgMbimY95O2aKQqsz2iWi9jMgKJhRBAxECE4IFxfcazB2LmzloIoibJI3C12IlY20+KFaLv+71bUJeQ==",
"license": "MIT",
+ "peer": true,
"dependencies": {
"scheduler": "^0.27.0"
},
@@ -3851,6 +3819,7 @@
"resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.72.1.tgz",
"integrity": "sha512-RhwBoy2ygeVZje+C+bwJ8g0NjTdBmDlJvAUHTxRjTmSUKPYsKfMphkS2sgEMotsY03bP358yEYlnUeZy//D9Ig==",
"license": "MIT",
+ "peer": true,
"engines": {
"node": ">=18.0.0"
},
diff --git a/examples/wine-recommender/app/package.json b/examples/wine-recommender/app/package.json
index 3cd114044..f262ca966 100644
--- a/examples/wine-recommender/app/package.json
+++ b/examples/wine-recommender/app/package.json
@@ -5,8 +5,7 @@
"scripts": {
"dev": "next dev",
"build": "next build",
- "start": "next start",
- "lint": "eslint ."
+ "start": "next start"
},
"dependencies": {
"@hookform/resolvers": "^3.9.1",
diff --git a/examples/wine-recommender/app/pnpm-lock.yaml b/examples/wine-recommender/app/pnpm-lock.yaml
deleted file mode 100644
index 9b6f830d2..000000000
--- a/examples/wine-recommender/app/pnpm-lock.yaml
+++ /dev/null
@@ -1,3208 +0,0 @@
-lockfileVersion: '9.0'
-
-settings:
- autoInstallPeers: true
- excludeLinksFromLockfile: false
-
-importers:
-
- .:
- dependencies:
- '@hookform/resolvers':
- specifier: ^3.9.1
- '@radix-ui/react-accordion':
- specifier: 1.2.12
- '@radix-ui/react-alert-dialog':
- specifier: 1.1.15
- '@radix-ui/react-aspect-ratio':
- specifier: 1.1.8
- '@radix-ui/react-avatar':
- specifier: 1.1.11
- '@radix-ui/react-checkbox':
- specifier: 1.3.3
- '@radix-ui/react-collapsible':
- specifier: 1.1.12
- '@radix-ui/react-context-menu':
- specifier: 2.2.16
- '@radix-ui/react-dialog':
- specifier: 1.1.15
- '@radix-ui/react-dropdown-menu':
- specifier: 2.1.16
- '@radix-ui/react-hover-card':
- specifier: 1.1.15
- '@radix-ui/react-label':
- specifier: 2.1.8
- '@radix-ui/react-menubar':
- specifier: 1.1.16
- '@radix-ui/react-navigation-menu':
- specifier: 1.2.14
- '@radix-ui/react-popover':
- specifier: 1.1.15
- '@radix-ui/react-progress':
- specifier: 1.1.8
- '@radix-ui/react-radio-group':
- specifier: 1.3.8
- '@radix-ui/react-scroll-area':
- specifier: 1.2.10
- '@radix-ui/react-select':
- specifier: 2.2.6
- '@radix-ui/react-separator':
- specifier: 1.1.8
- '@radix-ui/react-slider':
- specifier: 1.3.6
- '@radix-ui/react-slot':
- specifier: 1.2.4
- version: 1.2.4(@types/[email protected])([email protected])
- '@radix-ui/react-switch':
- specifier: 1.2.6
- '@radix-ui/react-tabs':
- specifier: 1.1.13
- '@radix-ui/react-toast':
- specifier: 1.2.15
- '@radix-ui/react-toggle':
- specifier: 1.1.10
- '@radix-ui/react-toggle-group':
- specifier: 1.1.11
- '@radix-ui/react-tooltip':
- specifier: 1.2.8
- '@vercel/analytics':
- specifier: 1.6.1
- autoprefixer:
- specifier: ^10.4.20
- version: 10.4.24([email protected])
- class-variance-authority:
- specifier: ^0.7.1
- version: 0.7.1
- clsx:
- specifier: ^2.1.1
- version: 2.1.1
- cmdk:
- specifier: 1.1.1
- date-fns:
- specifier: 4.1.0
- version: 4.1.0
- embla-carousel-react:
- specifier: 8.6.0
- version: 8.6.0([email protected])
- input-otp:
- specifier: 1.4.2
- lucide-react:
- specifier: ^0.564.0
- version: 0.564.0([email protected])
- next:
- specifier: 16.1.6
- next-themes:
- specifier: ^0.4.6
- react:
- specifier: 19.2.4
- version: 19.2.4
- react-day-picker:
- specifier: 9.13.2
- version: 9.13.2([email protected])
- react-dom:
- specifier: 19.2.4
- version: 19.2.4([email protected])
- react-hook-form:
- specifier: ^7.54.1
- version: 7.71.1([email protected])
- react-resizable-panels:
- specifier: ^2.1.7
- recharts:
- specifier: 2.15.0
- sonner:
- specifier: ^1.7.1
- tailwind-merge:
- specifier: ^3.3.1
- version: 3.4.0
- vaul:
- specifier: ^1.1.2
- zod:
- specifier: ^3.24.1
- version: 3.25.76
- devDependencies:
- '@tailwindcss/postcss':
- specifier: ^4.2.0
- version: 4.2.0
- '@types/node':
- specifier: ^22
- version: 22.19.11
- '@types/react':
- specifier: 19.2.14
- version: 19.2.14
- '@types/react-dom':
- specifier: 19.2.3
- version: 19.2.3(@types/[email protected])
- postcss:
- specifier: ^8.5
- version: 8.5.6
- tailwindcss:
- specifier: ^4.2.0
- version: 4.2.0
- tw-animate-css:
- specifier: 1.3.3
- version: 1.3.3
- typescript:
- specifier: 5.7.3
- version: 5.7.3
-
-packages:
-
- '@alloc/[email protected]':
- resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==}
- engines: {node: '>=10'}
-
- '@babel/[email protected]':
- resolution: {integrity: sha512-05WQkdpL9COIMz4LjTxGpPNCdlpyimKppYNoJ5Di5EUObifl8t4tuLuUBBZEpoLYOmfvIWrsp9fCl0HoPRVTdA==}
- engines: {node: '>=6.9.0'}
-
- '@date-fns/[email protected]':
- resolution: {integrity: sha512-P5LUNhtbj6YfI3iJjw5EL9eUAG6OitD0W3fWQcpQjDRc/QIsL0tRNuO1PcDvPccWL1fSTXXdE1ds+l95DV/OFA==}
-
- '@emnapi/[email protected]':
- resolution: {integrity: sha512-mehfKSMWjjNol8659Z8KxEMrdSJDDot5SXMq00dM8BN4o+CLNXQ0xH2V7EchNHV4RmbZLmmPdEaXZc5H2FXmDg==}
-
- '@floating-ui/[email protected]':
- resolution: {integrity: sha512-C3HlIdsBxszvm5McXlB8PeOEWfBhcGBTZGkGlWc2U0KFY5IwG5OQEuQ8rq52DZmcHDlPLd+YFBK+cZcytwIFWg==}
-
- '@floating-ui/[email protected]':
- resolution: {integrity: sha512-N0bD2kIPInNHUHehXhMke1rBGs1dwqvC9O9KYMyyjK7iXt7GAhnro7UlcuYcGdS/yYOlq0MAVgrow8IbWJwyqg==}
-
- '@floating-ui/[email protected]':
- resolution: {integrity: sha512-0tLRojf/1Go2JgEVm+3Frg9A3IW8bJgKgdO0BN5RkF//ufuz2joZM63Npau2ff3J6lUVYgDSNzNkR+aH3IVfjg==}
- peerDependencies:
- react: '>=16.8.0'
- react-dom: '>=16.8.0'
-
- '@floating-ui/[email protected]':
- resolution: {integrity: sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==}
-
- '@hookform/[email protected]':
- resolution: {integrity: sha512-79Dv+3mDF7i+2ajj7SkypSKHhl1cbln1OGavqrsF7p6mbUv11xpqpacPsGDCTRvCSjEEIez2ef1NveSVL3b0Ag==}
- peerDependencies:
- react-hook-form: ^7.0.0
-
- resolution: {integrity: sha512-A5P/LfWGFSl6nsckYtjw9da+19jB8hkJ6ACTGcDfEJ0aE+l2n2El7dsVM7UVHZQ9s2lmYMWlrS21YLy2IR1LUw==}
- engines: {node: '>=18'}
-
- resolution: {integrity: sha512-imtQ3WMJXbMY4fxb/Ndp6HBTNVtWCUI0WdobyheGf5+ad6xX8VIDO8u2xE4qc/fr08CKG/7dDseFtn6M6g/r3w==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [arm64]
- os: [darwin]
-
- resolution: {integrity: sha512-YNEFAF/4KQ/PeW0N+r+aVVsoIY0/qxxikF2SWdp+NRkmMB7y9LBZAVqQ4yhGCm/H3H270OSykqmQMKLBhBJDEw==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [x64]
- os: [darwin]
-
- resolution: {integrity: sha512-zqjjo7RatFfFoP0MkQ51jfuFZBnVE2pRiaydKJ1G/rHZvnsrHAOcQALIi9sA5co5xenQdTugCvtb1cuf78Vf4g==}
- cpu: [arm64]
- os: [darwin]
-
- resolution: {integrity: sha512-1IOd5xfVhlGwX+zXv2N93k0yMONvUlANylbJw1eTah8K/Jtpi15KC+WSiaX/nBmbm2HxRM1gZ0nSdjSsrZbGKg==}
- cpu: [x64]
- os: [darwin]
-
- resolution: {integrity: sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==}
- cpu: [arm64]
- os: [linux]
- libc: [glibc]
-
- resolution: {integrity: sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==}
- cpu: [arm]
- os: [linux]
- libc: [glibc]
-
- resolution: {integrity: sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==}
- cpu: [ppc64]
- os: [linux]
- libc: [glibc]
-
- resolution: {integrity: sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==}
- cpu: [riscv64]
- os: [linux]
- libc: [glibc]
-
- resolution: {integrity: sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==}
- cpu: [s390x]
- os: [linux]
- libc: [glibc]
-
- resolution: {integrity: sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==}
- cpu: [x64]
- os: [linux]
- libc: [glibc]
-
- resolution: {integrity: sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==}
- cpu: [arm64]
- os: [linux]
- libc: [musl]
-
- resolution: {integrity: sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==}
- cpu: [x64]
- os: [linux]
- libc: [musl]
-
- resolution: {integrity: sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [arm64]
- os: [linux]
- libc: [glibc]
-
- resolution: {integrity: sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [arm]
- os: [linux]
- libc: [glibc]
-
- resolution: {integrity: sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [ppc64]
- os: [linux]
- libc: [glibc]
-
- resolution: {integrity: sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [riscv64]
- os: [linux]
- libc: [glibc]
-
- resolution: {integrity: sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [s390x]
- os: [linux]
- libc: [glibc]
-
- resolution: {integrity: sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [x64]
- os: [linux]
- libc: [glibc]
-
- resolution: {integrity: sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [arm64]
- os: [linux]
- libc: [musl]
-
- resolution: {integrity: sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [x64]
- os: [linux]
- libc: [musl]
-
- resolution: {integrity: sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [wasm32]
-
- resolution: {integrity: sha512-WQ3AgWCWYSb2yt+IG8mnC6Jdk9Whs7O0gxphblsLvdhSpSTtmu69ZG1Gkb6NuvxsNACwiPV6cNSZNzt0KPsw7g==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [arm64]
- os: [win32]
-
- resolution: {integrity: sha512-FV9m/7NmeCmSHDD5j4+4pNI8Cp3aW+JvLoXcTUo0IqyjSfAZJ8dIUmijx1qaJsIiU+Hosw6xM5KijAWRJCSgNg==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [ia32]
- os: [win32]
-
- resolution: {integrity: sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [x64]
- os: [win32]
-
- '@jridgewell/[email protected]':
- resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==}
-
- '@jridgewell/[email protected]':
- resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==}
-
- '@jridgewell/[email protected]':
- resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==}
- engines: {node: '>=6.0.0'}
-
- '@jridgewell/[email protected]':
- resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==}
-
- '@jridgewell/[email protected]':
- resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}
-
- resolution: {integrity: sha512-N1ySLuZjnAtN3kFnwhAwPvZah8RJxKasD7x1f8shFqhncnWZn4JMfg37diLNuoHsLAlrDfM3g4mawVdtAG8XLQ==}
-
- resolution: {integrity: sha512-wTzYulosJr/6nFnqGW7FrG3jfUUlEf8UjGA0/pyypJl42ExdVgC6xJgcXQ+V8QFn6niSG2Pb8+MIG1mZr2vczw==}
- engines: {node: '>= 10'}
- cpu: [arm64]
- os: [darwin]
-
- resolution: {integrity: sha512-BLFPYPDO+MNJsiDWbeVzqvYd4NyuRrEYVB5k2N3JfWncuHAy2IVwMAOlVQDFjj+krkWzhY2apvmekMkfQR0CUQ==}
- engines: {node: '>= 10'}
- cpu: [x64]
- os: [darwin]
-
- resolution: {integrity: sha512-OJYkCd5pj/QloBvoEcJ2XiMnlJkRv9idWA/j0ugSuA34gMT6f5b7vOiCQHVRpvStoZUknhl6/UxOXL4OwtdaBw==}
- engines: {node: '>= 10'}
- cpu: [arm64]
- os: [linux]
- libc: [glibc]
-
- resolution: {integrity: sha512-S4J2v+8tT3NIO9u2q+S0G5KdvNDjXfAv06OhfOzNDaBn5rw84DGXWndOEB7d5/x852A20sW1M56vhC/tRVbccQ==}
- engines: {node: '>= 10'}
- cpu: [arm64]
- os: [linux]
- libc: [musl]
-
- resolution: {integrity: sha512-2eEBDkFlMMNQnkTyPBhQOAyn2qMxyG2eE7GPH2WIDGEpEILcBPI/jdSv4t6xupSP+ot/jkfrCShLAa7+ZUPcJQ==}
- engines: {node: '>= 10'}
- cpu: [x64]
- os: [linux]
- libc: [glibc]
-
- resolution: {integrity: sha512-oicJwRlyOoZXVlxmIMaTq7f8pN9QNbdes0q2FXfRsPhfCi8n8JmOZJm5oo1pwDaFbnnD421rVU409M3evFbIqg==}
- engines: {node: '>= 10'}
- cpu: [x64]
- os: [linux]
- libc: [musl]
-
- resolution: {integrity: sha512-gQmm8izDTPgs+DCWH22kcDmuUp7NyiJgEl18bcr8irXA5N2m2O+JQIr6f3ct42GOs9c0h8QF3L5SzIxcYAAXXw==}
- engines: {node: '>= 10'}
- cpu: [arm64]
- os: [win32]
-
- resolution: {integrity: sha512-NRfO39AIrzBnixKbjuo2YiYhB6o9d8v/ymU9m/Xk8cyVk+k7XylniXkHwjs4s70wedVffc6bQNbufk5v0xEm0A==}
- engines: {node: '>= 10'}
- cpu: [x64]
- os: [win32]
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-MkKCwxlXTgz6CFoJx3pCwn07GKp36+aZyu/u2Ln2VrA5DcdyCZkASEDBTd8x5whTQQL5CiYf4prXKLcgQdv29g==}
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-JTF99U/6XIjCBo0wqkU5sK10glYe27MRRsfwoiq5zzOEZLHU3A3KCMa5X/azekYRCJ0HlwI0crAXS/5dEHTzDg==}
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-T4nygeh9YE9dLRPhAHSeOZi7HBXo+0kYIPJXayZfvWOWA0+n3dESrZbjfDPUABkUNym6Hd+f2IR113To8D2GPA==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-oTVLkEw5GpdRe29BqJ0LSDFWI3qu0vR1M0mUkOQWDIUnY/QIkLpgDMWuKxP94c2NAC2LGcgVhG1ImF3jkZ5wXw==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-F+M1tLhO+mlQaOWspE8Wstg+z6PwxwRd8oQ8IXceWz92kfAmalTRf0EjrouQeo7QssEPfCn05B4Ihs1K9WQ/7w==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-5nZrJTF7gH+e0nZS7/QxFz6tJV4VimhQb1avEgtsJxvvIp5JilL+c58HICsKzPxghdwaDt48hEfPM1au4zGy+w==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-0Qk603AHGV28BOBO34p7IgD5m+V5Sg/YovfayABkoDDBM5d3NCx0Mp4gGrjzLGes1jV5eNOE1r3itqOR33VC6Q==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-wBbpv+NQftHDdG86Qc0pIyXk5IR3tM8Vd0nWLKDcX8nNn4nXFOFwsKuqw2okA/1D/mpaAkmuyndrPJTYDNZtFw==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-Uu+mSh4agx2ib1uIGPP4/CKNULyajb3p92LsVXmH2EHVMTfZWpll88XJ0j4W0z3f8NK1eYl1+Mf/szHPmcHzyA==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-Fh9rGN0MoI4ZFUNyfFVNU4y9LUz93u9/0K+yLgA2bwRojxM8JU1DyvvMBabnZPBgMWREAJvU2jjVzq+LrFUglw==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-O8morBEW+HsVG28gYDZPTrT9UUovQUlJue5YO836tiTJhuIWBm/zQHc7j388sHWtdH/xUZurK9olD2+pcqx5ww==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-ieIFACdMpYfMEjF0rEf5KLvfVyIkOz6PDGyNnP+u+4xQ6jny3VCgA4OgXOwNx2aUkxn8zx9fiVcM8CfFYv9Lxw==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-TCglVRtzlffRNxRMEyR36DGBLJpeusFcgMVD9PZEzAKnUs1lKCgX5u9BmC2Yg+LL9MgZDugFFs1Vl+Jp4t/PGw==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-1UEWRX6jnOA2y4H5WczZ44gOOjTEmlqv1uNW4GAJEO5+bauCBhv8snY65Iw5/VOS/ghKN9gr2KjnLKxrsvoMVw==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-Nqcp+t5cTB8BinFkZgXiMJniQH0PsUt2k51FUhbdfeKvc4ACcG2uQniY/8+h1Yv6Kza4Q7lD7PQV0z0oicE0Mg==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-1PLGQEynI/3OX/ftV54COn+3Sud/Mn8vALg2rWnBLnRaGtJDduNW/22XjlGgPdpcIbiQxjKtb7BkcjP00nqfJw==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-0rFg/Rj2Q62NCm62jZw0QX7a3sz6QCQU0LpZdNrJX8byRGaGVTqbrW9jAoIAHyMQqsNpeZ81YgSizOt5WXq0Pw==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-t2ODlkXBQyn7jkl6TNaw/MtVEVvIGelJDCG41Okq/KwUsJBwQ4XVZsHAVUkK4mBv3ewiAS3PGuUWuY2BoK4ZUw==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-qgTkjNT1CfKMoP0rcasmlH2r1DAiYicWsDsufxl940sT2wHNEWWv6FMWIQXWhVdmC1d/HYfbhQx60KYyAtKxjg==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-kGkGegYIdQsOb4XjsfM97rXsiHaBwco+hFI66oO4s9LU+PLAC5oJ7khdOVFxkhsmlbpUqDAvXw11CluXP+jkHg==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-FmXs37I6hSBVDlO4y764TNz1rLgKwjJMQ0EGte6F3Cb3f4bIuHB/iLa/8I9VKkmOy+gNHq8rql3j686ACVV21A==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-72F2T+PLlphrqLcAotYPp0uJMr5SjP5SL01wfEspJbru5Zs5vQaSHb4VB3ZMJPimgHHCHG7gMOeOB9H3Hdmtxg==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-EB1FktTz5xRRi2Er974AUQZWg2yVBb1yjip38/lgwtCVRd3a+maUoGHN/xs9Yv8SY8QwbSEb+YrxGadVWbEutA==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-YB9mTFQvCOAQMHU+C/jVl96WmuWeltyUEpRJJky51huhds5W2FQr1J8D/16sQlf0ozxkPK8uF3niQMdUwZPv5w==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-kr0X2+6Yy/vJzLYJUPCZEc8SfQcf+1COFoAqauJm74umQhta9M7lNJHP7QQS3vkvcGLQUbWpMzwrXYwrYztHKA==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-0NJQ4LFFUuWkE7Oxf0htBKS6zLkkjBH+hM1uk7Ng705ReR8m/uelduy1DBo0PyBXPKVnBA6YBlU94MBGXrSBCw==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-bpIxvq03if6UNwXZ+HTK71JLh4APvnXntDc6XOX8UVq4XQOVl7lwok0AvIl+b8zgCw3fSaVTZMpAPPagXbKmHQ==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-/jfEwNDdQVBCNvjkGit4h6pMOzq8bHkopq458dPt2lMjx+eBQUohZNG9A7DtO/O5ukSbxuaNGXMjHicgwy6rQQ==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-9hQc4+GNVtJAIEPEqlYqW5RiYdrr8ea5XQ0ZOnD6fgru+83kqT15mq2OCcbe8KnjRZl5vF3ks69AKz3kh1jrhg==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-+gISHcSPUJ7ktBy9RnTqbdKW78bcGke3t6taawyZ71pio1JewwGSJizycs7rLhGTvMJYCQB1DBK4KQsxs7U8dA==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-VBKYIYImA5zsxACdisNQ3BjCBfmbGH3kQlnFVqlWU4tXwjy7cGX8ta80BcrO+WJXIn5iBylEH3K6ZTlee//lgQ==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-7A6S9jSgm/S+7MdtNDSb+IU859vQqJ/QAtcYQcfFC6W8RS4IxIZDldLR0xqCFZ6DCyrQLjLPsxtTNch5jVA4lA==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-tAXIa1g3sM5CGpVT0uIbUx/U3Gs5N8T52IICuCtObaos1S8fzsrPXG5WObkQN3S6NVl6wKgPhAIiBGbWnvc97A==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-I30RydO+bnn2PQztvo25tswPH+wFBjehVGtmagkU78yMdwTwVf12wnAOF+AeP8S2N8xD+5UPbGhkUfPyvT+mwQ==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-sDvqVY4itsKwwSMEe0jtKgfTh+72Sy3gPmQpjqcQneqQ4PFmr/1I0YA+2/puilhggCe2gJcx5EBAYFkWkdpa5g==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-JPYb1GuM1bxfjMRlNLE+BcmBC8onfCi60Blk7OBqi2MLTFdS+8401U4uFjnwkOr49BLmXxLC6JHkvAsx5OJvHw==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-Jl+bCv8HxKnlTLVrcDE8zTMJ09R9/ukw4qBs/oZClOfoQk/cOTbDn+NceXfV7j09YPVQUryJPHurafcSg6EVKA==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-bByzr1+ep1zk4VubeEVViV592vu2lHE2BZY5OnzehZqOOgogN80+mNtCqPkhn2gklJqOpxWgPoYTSnhBCqpOXQ==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-7xdcatg7/U+7+Udyoj2zodtI9H/IIopqo+YOIcZOq1nJwXWBZ9p8xiu5llXlekDbZkca79a/fozEYQXIA4sW6A==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-3OSz3TacUWy4WtOXV38DggwxoqJK4+eDkNMl5Z/MJZaoUPaP4/9lf81xXMe1I2ReTAptverZUpbPY4wWwWyL5g==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-5umnS0T8JQzQT6HbPyO7Hh9dgd82NmS36DQr+X/YJ9ctFNCiiQd6IJAYYZ33LUwm8M+taCz5t2ui29fHZc4Y6Q==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-lS1odchhFTeZv3xwHH31YPObmJn8gOg7Lq12inrr0+BH/l3Tsq32VfjqH1oh80ARM3mlkfMic15n0kg4sD1poQ==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-tY7sVt1yL9ozIxvmbtN5qtmH2krXcBCfjEiCgKGLqunJHvgvZG2Pcl2oQ3kbcZARb1BGEHdkLzcYGO8ynVlieg==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-FkBMwD+qbGQeMu1cOHnuGB6x4yzPjho8ap5WtbEJ26umhgqVXbhekKUQO+hZEL1vU92a3wHwdp0HAcqAUF5iDg==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-BjasUjixPFdS+NKkypcyyN5Pmg83Olst0+c6vGov0diwTEo6mgdqVR6hxcEgFuh4QrAs7Rc+9KuGJ9TVCj0Zzg==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-Qp8WbZOBe+blgpuUT+lw2xheLP8q0oatc9UpmiemEICxGvFLYmHm9QowVZGHtJlGbS6A6yJ3iViad/2cVjnOiA==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-Il0+boE7w/XebUHyBjroE+DbByORGR9KKmITzbR7MyQ4akpORYP/ZmbhAr0DG7RmmBqoOnZdy2QlvajJ2QA59g==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-U+UORVEq+cTnRIaostJv9AGdV3G6Y+zbVd+12e18jQ5A3c0xL03IhnHuiU4UV69wolOQp5GfR58NW/EgdQhwOA==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-2dHfToCj/pzca2Ck724OZ5L0EVrr3eHRNsG/b3xQJLA2hZpVCS99bLAX+hm1IHXDEnzU6by5z/5MIY794/a8NQ==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-QTYuDesS0VtuHNNvMh+CjlKJ4LJickCMUAqjlE3+j8w+RlRpwyX3apEQKGFzbZGdo7XNG1tXa+bQqIE7HIXT2w==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-ewrXRDTAqAXlkl6t/fkXWNAhFX9I+CkKlw6zjEwk86RSPKwZr3xpBRso655aqYafwtnbpHLj6toFzmd6xdVptQ==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-pzJq12tEaaIhqjbzpCuv/OypJY/BPavOofm+dbab+MHLajy277+1lLm6JFcGgF5eskJ6mquGirhXY2GD/8u8Ug==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-HPwpGIzkl28mWyZqG52jiqDJ12waP11Pa1lGoiyUkIEuMLBP0oeK/C89esbXrxsky5we7dfd8U58nm0SgAWpVw==}
-
- resolution: {integrity: sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==}
-
- '@tailwindcss/[email protected]':
- resolution: {integrity: sha512-Yv+fn/o2OmL5fh/Ir62VXItdShnUxfpkMA4Y7jdeC8O81WPB8Kf6TT6GSHvnqgSwDzlB5iT7kDpeXxLsUS0T6Q==}
-
- '@tailwindcss/[email protected]':
- resolution: {integrity: sha512-F0QkHAVaW/JNBWl4CEKWdZ9PMb0khw5DCELAOnu+RtjAfx5Zgw+gqCHFvqg3AirU1IAd181fwOtJQ5I8Yx5wtw==}
- engines: {node: '>= 20'}
- cpu: [arm64]
- os: [android]
-
- '@tailwindcss/[email protected]':
- resolution: {integrity: sha512-I0QylkXsBsJMZ4nkUNSR04p6+UptjcwhcVo3Zu828ikiEqHjVmQL9RuQ6uT/cVIiKpvtVA25msu/eRV97JeNSA==}
- engines: {node: '>= 20'}
- cpu: [arm64]
- os: [darwin]
-
- '@tailwindcss/[email protected]':
- resolution: {integrity: sha512-6TmQIn4p09PBrmnkvbYQ0wbZhLtbaksCDx7Y7R3FYYx0yxNA7xg5KP7dowmQ3d2JVdabIHvs3Hx4K3d5uCf8xg==}
- engines: {node: '>= 20'}
- cpu: [x64]
- os: [darwin]
-
- '@tailwindcss/[email protected]':
- resolution: {integrity: sha512-qBudxDvAa2QwGlq9y7VIzhTvp2mLJ6nD/G8/tI70DCDoneaUeLWBJaPcbfzqRIWraj+o969aDQKvKW9dvkUizw==}
- engines: {node: '>= 20'}
- cpu: [x64]
- os: [freebsd]
-
- '@tailwindcss/[email protected]':
- resolution: {integrity: sha512-7XKkitpy5NIjFZNUQPeUyNJNJn1CJeV7rmMR+exHfTuOsg8rxIO9eNV5TSEnqRcaOK77zQpsyUkBWmPy8FgdSg==}
- engines: {node: '>= 20'}
- cpu: [arm]
- os: [linux]
-
- '@tailwindcss/[email protected]':
- resolution: {integrity: sha512-Mff5a5Q3WoQR01pGU1gr29hHM1N93xYrKkGXfPw/aRtK4bOc331Ho4Tgfsm5WDGvpevqMpdlkCojT3qlCQbCpA==}
- engines: {node: '>= 20'}
- cpu: [arm64]
- os: [linux]
- libc: [glibc]
-
- '@tailwindcss/[email protected]':
- resolution: {integrity: sha512-XKcSStleEVnbH6W/9DHzZv1YhjE4eSS6zOu2eRtYAIh7aV4o3vIBs+t/B15xlqoxt6ef/0uiqJVB6hkHjWD/0A==}
- engines: {node: '>= 20'}
- cpu: [arm64]
- os: [linux]
- libc: [musl]
-
- '@tailwindcss/[email protected]':
- resolution: {integrity: sha512-/hlXCBqn9K6fi7eAM0RsobHwJYa5V/xzWspVTzxnX+Ft9v6n+30Pz8+RxCn7sQL/vRHHLS30iQPrHQunu6/vJA==}
- engines: {node: '>= 20'}
- cpu: [x64]
- os: [linux]
- libc: [glibc]
-
- '@tailwindcss/[email protected]':
- resolution: {integrity: sha512-lKUaygq4G7sWkhQbfdRRBkaq4LY39IriqBQ+Gk6l5nKq6Ay2M2ZZb1tlIyRNgZKS8cbErTwuYSor0IIULC0SHw==}
- engines: {node: '>= 20'}
- cpu: [x64]
- os: [linux]
- libc: [musl]
-
- '@tailwindcss/[email protected]':
- resolution: {integrity: sha512-xuDjhAsFdUuFP5W9Ze4k/o4AskUtI8bcAGU4puTYprr89QaYFmhYOPfP+d1pH+k9ets6RoE23BXZM1X1jJqoyw==}
- engines: {node: '>=14.0.0'}
- cpu: [wasm32]
- bundledDependencies:
- - '@napi-rs/wasm-runtime'
- - '@emnapi/core'
- - '@emnapi/runtime'
- - '@tybys/wasm-util'
- - '@emnapi/wasi-threads'
- - tslib
-
- '@tailwindcss/[email protected]':
- resolution: {integrity: sha512-2UU/15y1sWDEDNJXxEIrfWKC2Yb4YgIW5Xz2fKFqGzFWfoMHWFlfa1EJlGO2Xzjkq/tvSarh9ZTjvbxqWvLLXA==}
- engines: {node: '>= 20'}
- cpu: [arm64]
- os: [win32]
-
- '@tailwindcss/[email protected]':
- resolution: {integrity: sha512-CrFadmFoc+z76EV6LPG1jx6XceDsaCG3lFhyLNo/bV9ByPrE+FnBPckXQVP4XRkN76h3Fjt/a+5Er/oA/nCBvQ==}
- engines: {node: '>= 20'}
- cpu: [x64]
- os: [win32]
-
- '@tailwindcss/[email protected]':
- resolution: {integrity: sha512-AZqQzADaj742oqn2xjl5JbIOzZB/DGCYF/7bpvhA8KvjUj9HJkag6bBuwZvH1ps6dfgxNHyuJVlzSr2VpMgdTQ==}
- engines: {node: '>= 20'}
-
- '@tailwindcss/[email protected]':
- resolution: {integrity: sha512-u6YBacGpOm/ixPfKqfgrJEjMfrYmPD7gEFRoygS/hnQaRtV0VCBdpkx5Ouw9pnaLRwwlgGCuJw8xLpaR0hOrQg==}
-
- '@types/[email protected]':
- resolution: {integrity: sha512-hOLWVbm7uRza0BYXpIIW5pxfrKe0W+D5lrFiAEYR+pb6w3N2SwSMaJbXdUfSEv+dT4MfHBLtn5js0LAWaO6otw==}
-
- '@types/[email protected]':
- resolution: {integrity: sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==}
-
- '@types/[email protected]':
- resolution: {integrity: sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA==}
-
- '@types/[email protected]':
- resolution: {integrity: sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==}
-
- '@types/[email protected]':
- resolution: {integrity: sha512-VMZBYyQvbGmWyWVea0EHs/BwLgxc+MKi1zLDCONksozI4YJMcTt8ZEuIR4Sb1MMTE8MMW49v0IwI5+b7RmfWlg==}
-
- '@types/[email protected]':
- resolution: {integrity: sha512-dLmtwB8zkAeO/juAMfnV+sItKjlsw2lKdZVVy6LRr0cBmegxSABiLEpGVmSJJ8O08i4+sGR6qQtb6WtuwJdvVw==}
-
- '@types/[email protected]':
- resolution: {integrity: sha512-lae0iWfcDeR7qt7rA88BNiqdvPS5pFVPpo5OfjElwNaT2yyekbM0C9vK+yqBqEmHr6lDkRnYNoTBYlAgJa7a4w==}
-
- '@types/[email protected]':
- resolution: {integrity: sha512-yuzZug1nkAAaBlBBikKZTgzCeA+k1uy4ZFwWANOfKw5z5LRhV0gNA7gNkKm7HoK+HRN0wX3EkxGk0fpbWhmB7g==}
-
- '@types/[email protected]':
- resolution: {integrity: sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==}
-
- '@types/[email protected]':
- resolution: {integrity: sha512-BH7YwL6rA93ReqeQS1c4bsPpcfOmJasG+Fkr6Y59q83f9M1WcBRHR2vM+P9eOisYRcN3ujQoiZY8uk5W+1WL8w==}
-
- '@types/[email protected]':
- resolution: {integrity: sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==}
- peerDependencies:
- '@types/react': ^19.2.0
-
- '@types/[email protected]':
- resolution: {integrity: sha512-ilcTH/UniCkMdtexkoCN0bI7pMcJDvmQFPvuPvmEaYA/NSfFTAgdUSLAoVjaRJm7+6PvcM+q1zYOwS4wTYMF9w==}
-
- '@vercel/[email protected]':
- resolution: {integrity: sha512-oH9He/bEM+6oKlv3chWuOOcp8Y6fo6/PSro8hEkgCW3pu9/OiCXiUpRUogDh3Fs3LH2sosDrx8CxeOLBEE+afg==}
- peerDependencies:
- '@remix-run/react': ^2
- '@sveltejs/kit': ^1 || ^2
- next: '>= 13'
- react: ^18 || ^19 || ^19.0.0-rc
- svelte: '>= 4'
- vue: ^3
- vue-router: ^4
- peerDependenciesMeta:
- '@remix-run/react':
- optional: true
- '@sveltejs/kit':
- optional: true
- next:
- optional: true
- react:
- optional: true
- svelte:
- optional: true
- vue:
- optional: true
- vue-router:
- optional: true
-
- resolution: {integrity: sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA==}
- engines: {node: '>=10'}
-
- resolution: {integrity: sha512-uHZg7N9ULTVbutaIsDRoUkoS8/h3bdsmVJYZ5l3wv8Cp/6UIIoRDm90hZ+BwxUj/hGBEzLxdHNSKuFpn8WOyZw==}
- engines: {node: ^10 || ^12 || >=14}
- hasBin: true
- peerDependencies:
- postcss: ^8.1.0
-
- resolution: {integrity: sha512-ipDqC8FrAl/76p2SSWKSI+H9tFwm7vYqXQrItCuiVPt26Km0jS+NzSsBWAaBusvSbQcfJG+JitdMm+wZAgTYqg==}
- hasBin: true
-
- resolution: {integrity: sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==}
- engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
- hasBin: true
-
- resolution: {integrity: sha512-BCfFL1sHijQlBGWBMuJyhZUhzo7wer5sVj9hqekB/7xn0Ypy+pER/edCYQm4exbXj4WiySGp40P8UuTh6w1srg==}
-
- resolution: {integrity: sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==}
-
- resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==}
-
- resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==}
- engines: {node: '>=6'}
-
- resolution: {integrity: sha512-Vsv7kFaXm+ptHDMZ7izaRsP70GgrW9NBNGswt9OZaVBLlE0SNpDq8eu/VGXyF9r7M0azK3Wy7OlYXsuyYLFzHg==}
- peerDependencies:
- react: ^18 || ^19 || ^19.0.0-rc
- react-dom: ^18 || ^19 || ^19.0.0-rc
-
- resolution: {integrity: sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==}
-
- resolution: {integrity: sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==}
- engines: {node: '>=12'}
-
- resolution: {integrity: sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==}
- engines: {node: '>=12'}
-
- resolution: {integrity: sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==}
- engines: {node: '>=12'}
-
- resolution: {integrity: sha512-AJDdYOdnyRDV5b6ArilzCPPwc1ejkHcoyFarqlPqT7zRYjhavcT3uSrqcMvsgh2CgoPbK3RCwyHaVyxYcP2Arg==}
- engines: {node: '>=12'}
-
- resolution: {integrity: sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==}
- engines: {node: '>=12'}
-
- resolution: {integrity: sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==}
- engines: {node: '>=12'}
-
- resolution: {integrity: sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==}
- engines: {node: '>=12'}
-
- resolution: {integrity: sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==}
- engines: {node: '>=12'}
-
- resolution: {integrity: sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==}
- engines: {node: '>=12'}
-
- resolution: {integrity: sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==}
- engines: {node: '>=12'}
-
- resolution: {integrity: sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==}
- engines: {node: '>=12'}
-
- resolution: {integrity: sha512-hTIP/z+t+qKwBDcmmsnmjWTduxCg+5KfdqWQvb2X/8C9+knYY6epN/pfxdDuyVlSVeFz0sM5eEfwIUQ70U4ckg==}
-
- resolution: {integrity: sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg==}
-
- resolution: {integrity: sha512-qIMFpTMZmny+MMIitAB6D7iVPEorVw6YQRWkvarTkT4tBeSLLiHzcwj6q0MmYSFCiVpiqPJTJEYIrpcPzVEIvg==}
-
- resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==}
- engines: {node: '>=8'}
-
- resolution: {integrity: sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==}
-
- resolution: {integrity: sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==}
-
- resolution: {integrity: sha512-9tfDXhJ4RKFNerfjdCcZfufu49vg620741MNs26a9+bhLThdB+plgMeou98CAaHu/WATj2iHOOHTp1hWtABj2A==}
-
- resolution: {integrity: sha512-0/PjqU7geVmo6F734pmPqpyHqiM99olvyecY7zdweCw+6tKEXnrE90pBiBbMMU8s5tICemzpQ3hi5EpxzGW+JA==}
- peerDependencies:
- react: ^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc
-
- resolution: {integrity: sha512-fMVUDUEx0/uIEDM0Mz3dHznDhfX+znCCDCeIophYb1QGVM7YThSWX+wz11zlYwWFOr74b4QLGg0hrGPJeG2s4A==}
- peerDependencies:
- embla-carousel: 8.6.0
-
- resolution: {integrity: sha512-SjWyZBHJPbqxHOzckOfo8lHisEaJWmwd23XppYFYVh10bU66/Pn5tkVkbkCMZVdbUE5eTCI2nD8OyIP4Z+uwkA==}
-
- resolution: {integrity: sha512-phv3E1Xl4tQOShqSte26C7Fl84EwUdZsyOuSSk9qtAGyyQs2s3jJzComh+Abf4g187lUUAvH+H26omrqia2aGg==}
- engines: {node: '>=10.13.0'}
-
- resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==}
- engines: {node: '>=6'}
-
- resolution: {integrity: sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==}
-
- resolution: {integrity: sha512-jt2DW/aNFNwke7AUd+Z+e6pz39KO5rzdbbFCg2sGafS4mk13MI7Z8O5z9cADNn5lhGODIgLwug6TZO2ctf7kcw==}
- engines: {node: '>=6.0.0'}
-
- resolution: {integrity: sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ==}
-
- resolution: {integrity: sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==}
- engines: {node: '>=6'}
-
- resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}
-
- resolution: {integrity: sha512-l3jWwYNvrEa6NTCt7BECfCm48GvwuZzkoeG3gBL2w4CHeOXW3eKFmf9UNYkNfYc3mxMrthMnxjIE07MT0zLBQA==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc
-
- resolution: {integrity: sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==}
- engines: {node: '>=12'}
-
- resolution: {integrity: sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==}
- hasBin: true
-
- resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
-
- resolution: {integrity: sha512-HXJF3x8w9nQ4jbXRiNppBCqeZPIAfUo8zE/kOEGbW5NZvGc/K7nMxbhIr+YlFlHW5mpbg/YFPdbnCh1wAXCKFg==}
- engines: {node: '>= 12.0.0'}
- cpu: [arm64]
- os: [android]
-
- resolution: {integrity: sha512-02uTEqf3vIfNMq3h/z2cJfcOXnQ0GRwQrkmPafhueLb2h7mqEidiCzkE4gBMEH65abHRiQvhdcQ+aP0D0g67sg==}
- engines: {node: '>= 12.0.0'}
- cpu: [arm64]
- os: [darwin]
-
- resolution: {integrity: sha512-1ObhyoCY+tGxtsz1lSx5NXCj3nirk0Y0kB/g8B8DT+sSx4G9djitg9ejFnjb3gJNWo7qXH4DIy2SUHvpoFwfTA==}
- engines: {node: '>= 12.0.0'}
- cpu: [x64]
- os: [darwin]
-
- resolution: {integrity: sha512-1RINmQKAItO6ISxYgPwszQE1BrsVU5aB45ho6O42mu96UiZBxEXsuQ7cJW4zs4CEodPUioj/QrXW1r9pLUM74A==}
- engines: {node: '>= 12.0.0'}
- cpu: [x64]
- os: [freebsd]
-
- resolution: {integrity: sha512-OOCm2//MZJ87CdDK62rZIu+aw9gBv4azMJuA8/KB74wmfS3lnC4yoPHm0uXZ/dvNNHmnZnB8XLAZzObeG0nS1g==}
- engines: {node: '>= 12.0.0'}
- cpu: [arm]
- os: [linux]
-
- resolution: {integrity: sha512-WKyLWztD71rTnou4xAD5kQT+982wvca7E6QoLpoawZ1gP9JM0GJj4Tp5jMUh9B3AitHbRZ2/H3W5xQmdEOUlLg==}
- engines: {node: '>= 12.0.0'}
- cpu: [arm64]
- os: [linux]
- libc: [glibc]
-
- resolution: {integrity: sha512-mVZ7Pg2zIbe3XlNbZJdjs86YViQFoJSpc41CbVmKBPiGmC4YrfeOyz65ms2qpAobVd7WQsbW4PdsSJEMymyIMg==}
- engines: {node: '>= 12.0.0'}
- cpu: [arm64]
- os: [linux]
- libc: [musl]
-
- resolution: {integrity: sha512-xGlFWRMl+0KvUhgySdIaReQdB4FNudfUTARn7q0hh/V67PVGCs3ADFjw+6++kG1RNd0zdGRlEKa+T13/tQjPMA==}
- engines: {node: '>= 12.0.0'}
- cpu: [x64]
- os: [linux]
- libc: [glibc]
-
- resolution: {integrity: sha512-eowF8PrKHw9LpoZii5tdZwnBcYDxRw2rRCyvAXLi34iyeYfqCQNA9rmUM0ce62NlPhCvof1+9ivRaTY6pSKDaA==}
- engines: {node: '>= 12.0.0'}
- cpu: [x64]
- os: [linux]
- libc: [musl]
-
- resolution: {integrity: sha512-aJReEbSEQzx1uBlQizAOBSjcmr9dCdL3XuC/6HLXAxmtErsj2ICo5yYggg1qOODQMtnjNQv2UHb9NpOuFtYe4w==}
- engines: {node: '>= 12.0.0'}
- cpu: [arm64]
- os: [win32]
-
- resolution: {integrity: sha512-I9aiFrbd7oYHwlnQDqr1Roz+fTz61oDDJX7n9tYF9FJymH1cIN1DtKw3iYt6b8WZgEjoNwVSncwF4wx/ZedMhw==}
- engines: {node: '>= 12.0.0'}
- cpu: [x64]
- os: [win32]
-
- resolution: {integrity: sha512-l51N2r93WmGUye3WuFoN5k10zyvrVs0qfKBhyC5ogUQ6Ew6JUSswh78mbSO+IU3nTWsyOArqPCcShdQSadghBQ==}
- engines: {node: '>= 12.0.0'}
-
- resolution: {integrity: sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==}
-
- resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==}
- hasBin: true
-
- resolution: {integrity: sha512-JJ8GVTQqFwuliifD48U6+h7DXEHdkhJ/E87kksGByII3qHxtPciVb8T8woQONHBQgHVOl7rSMrrip3SeVNy7Fg==}
- peerDependencies:
- react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0
-
- resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==}
-
- resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==}
- engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
- hasBin: true
-
- resolution: {integrity: sha512-pZvgD5L0IEvX5/9GWyHMf3m8BKiVQwsCMHfoFosXtXBMnaS0ZnIJ9ST4b4NqLVKDEm8QBxoNNGNaBv2JNF6XNA==}
- peerDependencies:
- react: ^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc
- react-dom: ^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc
-
- resolution: {integrity: sha512-hkyRkcu5x/41KoqnROkfTm2pZVbKxvbZRuNvKXLRXxs3VfyO0WhY50TQS40EuKO9SW3rBj/sF3WbVwDACeMZyw==}
- engines: {node: '>=20.9.0'}
- hasBin: true
- peerDependencies:
- '@opentelemetry/api': ^1.1.0
- '@playwright/test': ^1.51.1
- babel-plugin-react-compiler: '*'
- react: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0
- react-dom: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0
- sass: ^1.3.0
- peerDependenciesMeta:
- '@opentelemetry/api':
- optional: true
- '@playwright/test':
- optional: true
- babel-plugin-react-compiler:
- optional: true
- sass:
- optional: true
-
- resolution: {integrity: sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==}
-
- resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
- engines: {node: '>=0.10.0'}
-
- resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}
-
- resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==}
-
- resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==}
- engines: {node: ^10 || ^12 || >=14}
-
- resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==}
- engines: {node: ^10 || ^12 || >=14}
-
- resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==}
-
- resolution: {integrity: sha512-IMPiXfXVIAuR5Yk58DDPBC8QKClrhdXV+Tr/alBrwrHUw0qDDYB1m5zPNuTnnPIr/gmJ4ChMxmtqPdxm8+R4Eg==}
- engines: {node: '>=18'}
- peerDependencies:
- react: '>=16.8.0'
-
- resolution: {integrity: sha512-AXJdLo8kgMbimY95O2aKQqsz2iWi9jMgKJhRBAxECE4IFxfcazB2LmzloIoibJI3C12IlY20+KFaLv+71bUJeQ==}
- peerDependencies:
- react: ^19.2.4
-
- resolution: {integrity: sha512-9SUJKCGKo8HUSsCO+y0CtqkqI5nNuaDqTxyqPsZPqIwudpj4rCrAz/jZV+jn57bx5gtZKOh3neQu94DXMc+w5w==}
- engines: {node: '>=18.0.0'}
- peerDependencies:
- react: ^16.8.0 || ^17 || ^18 || ^19
-
- resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==}
-
- resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==}
-
- resolution: {integrity: sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==}
- engines: {node: '>=10'}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- resolution: {integrity: sha512-Iqb9NjCCTt6Hf+vOdNIZGdTiH1QSqr27H/Ek9sv/a97gfueI/5h1s3yRi1nngzMUaOOToin5dI1dXKdXiF+u0Q==}
- engines: {node: '>=10'}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- resolution: {integrity: sha512-z77+X08YDIrgAes4jl8xhnUu1LNIRp4+E7cv4xHmLOxxUPO/ML7PSrE813b90vj7xvQ1lcf7g2uA9GeMZonjhQ==}
- peerDependencies:
- react: ^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc
- react-dom: ^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc
-
- resolution: {integrity: sha512-gnGKTpYwqL0Iii09gHobNolvX4Kiq4PKx6eWBCYYix+8cdw+cGo3do906l1NBPKkSWx1DghC1dlWG9L2uGd61Q==}
- peerDependencies:
- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
- react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
-
- resolution: {integrity: sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==}
- engines: {node: '>=10'}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- resolution: {integrity: sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==}
- peerDependencies:
- react: '>=16.6.0'
- react-dom: '>=16.6.0'
-
- resolution: {integrity: sha512-9nfp2hYpCwOjAN+8TZFGhtWEwgvWHXqESH8qT89AT/lWklpLON22Lc8pEtnpsZz7VmawabSU0gCjnj8aC0euHQ==}
- engines: {node: '>=0.10.0'}
-
- resolution: {integrity: sha512-kivNFO+0OcUNu7jQquLXAxz1FIwZj8nrj+YkOKc5694NbjCvcT6aSZiIzNzd2Kul4o4rTto8QVR9lMNtxD4G1w==}
-
- resolution: {integrity: sha512-cIvMxDfpAmqAmVgc4yb7pgm/O1tmmkl/CjrvXuW+62/+7jj/iF9Ykm+hb/UJt42TREHMyd3gb+pkgoa2MxgDIw==}
- engines: {node: '>=14'}
- peerDependencies:
- react: ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
- react-dom: ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
-
- resolution: {integrity: sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==}
-
- resolution: {integrity: sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==}
- engines: {node: '>=10'}
- hasBin: true
-
- resolution: {integrity: sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
-
- resolution: {integrity: sha512-DIS8z4PfJRbIyfVFDVnK9rO3eYDtse4Omcm6bt0oEr5/jtLgysmjuBl1frJ9E/EQZrFmKx2A8m/s5s9CRXIzhw==}
- peerDependencies:
- react: ^18.0.0 || ^19.0.0 || ^19.0.0-rc
- react-dom: ^18.0.0 || ^19.0.0 || ^19.0.0-rc
-
- resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==}
- engines: {node: '>=0.10.0'}
-
- resolution: {integrity: sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA==}
- engines: {node: '>= 12.0.0'}
- peerDependencies:
- '@babel/core': '*'
- babel-plugin-macros: '*'
- react: '>= 16.8.0 || 17.x.x || ^18.0.0-0 || ^19.0.0-0'
- peerDependenciesMeta:
- '@babel/core':
- optional: true
- babel-plugin-macros:
- optional: true
-
- resolution: {integrity: sha512-uSaO4gnW+b3Y2aWoWfFpX62vn2sR3skfhbjsEnaBI81WD1wBLlHZe5sWf0AqjksNdYTbGBEd0UasQMT3SNV15g==}
-
- resolution: {integrity: sha512-yYzTZ4++b7fNYxFfpnberEEKu43w44aqDMNM9MHMmcKuCH7lL8jJ4yJ7LGHv7rSwiqM0nkiobF9I6cLlpS2P7Q==}
-
- resolution: {integrity: sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg==}
- engines: {node: '>=6'}
-
- resolution: {integrity: sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==}
-
- resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
-
- resolution: {integrity: sha512-tXE2TRWrskc4TU3RDd7T8n8Np/wCfoeH9gz22c7PzYqNPQ9FBGFbWWzwL0JyHcFp+jHozmF76tbHfPAx22ua2Q==}
-
- resolution: {integrity: sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==}
- engines: {node: '>=14.17'}
- hasBin: true
-
- resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}
-
- resolution: {integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==}
- hasBin: true
- peerDependencies:
- browserslist: '>= 4.21.0'
-
- resolution: {integrity: sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==}
- engines: {node: '>=10'}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- resolution: {integrity: sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==}
- engines: {node: '>=10'}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- resolution: {integrity: sha512-Pp6GSwGP/NrPIrxVFAIkOQeyw8lFenOHijQWkUTrDvrF4ALqylP2C/KCkeS9dpUM3KvYRQhna5vt7IL95+ZQ9w==}
- peerDependencies:
- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
-
- resolution: {integrity: sha512-ZFkClGpWyI2WUQjdLJ/BaGuV6AVQiJ3uELGk3OYtP+B6yCO7Cmn9vPFXVJkRaGkOJu3m8bQMgtyzNHixULceQA==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc
-
- resolution: {integrity: sha512-PnpQQMuxlwYdocC8fIJqVXvkeViHYzotI+NJrCuav0ZYFoq912ZHBk3mCeuj+5/VpodOjPe1z0Fk2ihgzlXqjQ==}
-
- resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==}
-
-snapshots:
-
- '@alloc/[email protected]': {}
-
- '@babel/[email protected]': {}
-
- '@date-fns/[email protected]': {}
-
- '@emnapi/[email protected]':
- dependencies:
- tslib: 2.8.1
- optional: true
-
- '@floating-ui/[email protected]':
- dependencies:
- '@floating-ui/utils': 0.2.10
-
- '@floating-ui/[email protected]':
- dependencies:
- '@floating-ui/core': 1.7.4
- '@floating-ui/utils': 0.2.10
-
- dependencies:
- '@floating-ui/dom': 1.7.5
- react: 19.2.4
- react-dom: 19.2.4([email protected])
-
- '@floating-ui/[email protected]': {}
-
- dependencies:
- react-hook-form: 7.71.1([email protected])
-
- optional: true
-
- optionalDependencies:
- '@img/sharp-libvips-darwin-arm64': 1.2.4
- optional: true
-
- optionalDependencies:
- '@img/sharp-libvips-darwin-x64': 1.2.4
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- optionalDependencies:
- '@img/sharp-libvips-linux-arm64': 1.2.4
- optional: true
-
- optionalDependencies:
- '@img/sharp-libvips-linux-arm': 1.2.4
- optional: true
-
- optionalDependencies:
- '@img/sharp-libvips-linux-ppc64': 1.2.4
- optional: true
-
- optionalDependencies:
- '@img/sharp-libvips-linux-riscv64': 1.2.4
- optional: true
-
- optionalDependencies:
- '@img/sharp-libvips-linux-s390x': 1.2.4
- optional: true
-
- optionalDependencies:
- '@img/sharp-libvips-linux-x64': 1.2.4
- optional: true
-
- optionalDependencies:
- '@img/sharp-libvips-linuxmusl-arm64': 1.2.4
- optional: true
-
- optionalDependencies:
- '@img/sharp-libvips-linuxmusl-x64': 1.2.4
- optional: true
-
- dependencies:
- '@emnapi/runtime': 1.8.1
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- '@jridgewell/[email protected]':
- dependencies:
- '@jridgewell/sourcemap-codec': 1.5.5
- '@jridgewell/trace-mapping': 0.3.31
-
- '@jridgewell/[email protected]':
- dependencies:
- '@jridgewell/gen-mapping': 0.3.13
- '@jridgewell/trace-mapping': 0.3.31
-
- '@jridgewell/[email protected]': {}
-
- '@jridgewell/[email protected]': {}
-
- '@jridgewell/[email protected]':
- dependencies:
- '@jridgewell/resolve-uri': 3.1.2
- '@jridgewell/sourcemap-codec': 1.5.5
-
- '@next/[email protected]': {}
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- '@radix-ui/[email protected]': {}
-
- '@radix-ui/[email protected]': {}
-
- dependencies:
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-collapsible': 1.1.12(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/react-context': 1.1.3(@types/[email protected])([email protected])
- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-is-hydrated': 0.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
- '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- react: 19.2.4
- optionalDependencies:
- '@types/react': 19.2.14
-
- dependencies:
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- react: 19.2.4
- optionalDependencies:
- '@types/react': 19.2.14
-
- dependencies:
- react: 19.2.4
- optionalDependencies:
- '@types/react': 19.2.14
-
- dependencies:
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-focus-guards': 1.1.3(@types/[email protected])([email protected])
- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])
- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
- aria-hidden: 1.2.6
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- react-remove-scroll: 2.7.2(@types/[email protected])([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- react: 19.2.4
- optionalDependencies:
- '@types/react': 19.2.14
-
- dependencies:
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-escape-keydown': 1.1.1(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- react: 19.2.4
- optionalDependencies:
- '@types/react': 19.2.14
-
- dependencies:
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
- react: 19.2.4
- optionalDependencies:
- '@types/react': 19.2.14
-
- dependencies:
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-focus-guards': 1.1.3(@types/[email protected])([email protected])
- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])
- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
- aria-hidden: 1.2.6
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- react-remove-scroll: 2.7.2(@types/[email protected])([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-visually-hidden': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-focus-guards': 1.1.3(@types/[email protected])([email protected])
- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])
- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
- aria-hidden: 1.2.6
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- react-remove-scroll: 2.7.2(@types/[email protected])([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@floating-ui/react-dom': 2.1.7([email protected]([email protected]))([email protected])
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-rect': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/rect': 1.1.1
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/react-slot': 1.2.4(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/react-context': 1.1.3(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
- '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/number': 1.1.1
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/number': 1.1.1
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-focus-guards': 1.1.3(@types/[email protected])([email protected])
- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])
- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-visually-hidden': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- aria-hidden: 1.2.6
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- react-remove-scroll: 2.7.2(@types/[email protected])([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/number': 1.1.1
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- react: 19.2.4
- optionalDependencies:
- '@types/react': 19.2.14
-
- dependencies:
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- react: 19.2.4
- optionalDependencies:
- '@types/react': 19.2.14
-
- dependencies:
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
- '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-visually-hidden': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])
- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
- '@radix-ui/react-visually-hidden': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- dependencies:
- react: 19.2.4
- optionalDependencies:
- '@types/react': 19.2.14
-
- dependencies:
- '@radix-ui/react-use-effect-event': 0.0.2(@types/[email protected])([email protected])
- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
- react: 19.2.4
- optionalDependencies:
- '@types/react': 19.2.14
-
- dependencies:
- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
- react: 19.2.4
- optionalDependencies:
- '@types/react': 19.2.14
-
- dependencies:
- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
- react: 19.2.4
- optionalDependencies:
- '@types/react': 19.2.14
-
- dependencies:
- react: 19.2.4
- use-sync-external-store: 1.6.0([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
-
- dependencies:
- react: 19.2.4
- optionalDependencies:
- '@types/react': 19.2.14
-
- dependencies:
- react: 19.2.4
- optionalDependencies:
- '@types/react': 19.2.14
-
- dependencies:
- '@radix-ui/rect': 1.1.1
- react: 19.2.4
- optionalDependencies:
- '@types/react': 19.2.14
-
- dependencies:
- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
- react: 19.2.4
- optionalDependencies:
- '@types/react': 19.2.14
-
- dependencies:
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
- '@types/react-dom': 19.2.3(@types/[email protected])
-
- '@radix-ui/[email protected]': {}
-
- dependencies:
- tslib: 2.8.1
-
- '@tailwindcss/[email protected]':
- dependencies:
- '@jridgewell/remapping': 2.3.5
- enhanced-resolve: 5.19.0
- jiti: 2.6.1
- lightningcss: 1.31.1
- magic-string: 0.30.21
- source-map-js: 1.2.1
- tailwindcss: 4.2.0
-
- '@tailwindcss/[email protected]':
- optional: true
-
- '@tailwindcss/[email protected]':
- optional: true
-
- '@tailwindcss/[email protected]':
- optional: true
-
- '@tailwindcss/[email protected]':
- optional: true
-
- '@tailwindcss/[email protected]':
- optional: true
-
- '@tailwindcss/[email protected]':
- optional: true
-
- '@tailwindcss/[email protected]':
- optional: true
-
- '@tailwindcss/[email protected]':
- optional: true
-
- '@tailwindcss/[email protected]':
- optional: true
-
- '@tailwindcss/[email protected]':
- optional: true
-
- '@tailwindcss/[email protected]':
- optional: true
-
- '@tailwindcss/[email protected]':
- optional: true
-
- '@tailwindcss/[email protected]':
- optionalDependencies:
- '@tailwindcss/oxide-android-arm64': 4.2.0
- '@tailwindcss/oxide-darwin-arm64': 4.2.0
- '@tailwindcss/oxide-darwin-x64': 4.2.0
- '@tailwindcss/oxide-freebsd-x64': 4.2.0
- '@tailwindcss/oxide-linux-arm-gnueabihf': 4.2.0
- '@tailwindcss/oxide-linux-arm64-gnu': 4.2.0
- '@tailwindcss/oxide-linux-arm64-musl': 4.2.0
- '@tailwindcss/oxide-linux-x64-gnu': 4.2.0
- '@tailwindcss/oxide-linux-x64-musl': 4.2.0
- '@tailwindcss/oxide-wasm32-wasi': 4.2.0
- '@tailwindcss/oxide-win32-arm64-msvc': 4.2.0
- '@tailwindcss/oxide-win32-x64-msvc': 4.2.0
-
- '@tailwindcss/[email protected]':
- dependencies:
- '@alloc/quick-lru': 5.2.0
- '@tailwindcss/node': 4.2.0
- '@tailwindcss/oxide': 4.2.0
- postcss: 8.5.6
- tailwindcss: 4.2.0
-
- '@types/[email protected]': {}
-
- '@types/[email protected]': {}
-
- '@types/[email protected]': {}
-
- '@types/[email protected]':
- dependencies:
- '@types/d3-color': 3.1.3
-
- '@types/[email protected]': {}
-
- '@types/[email protected]':
- dependencies:
- '@types/d3-time': 3.0.4
-
- '@types/[email protected]':
- dependencies:
- '@types/d3-path': 3.1.1
-
- '@types/[email protected]': {}
-
- '@types/[email protected]': {}
-
- '@types/[email protected]':
- dependencies:
- undici-types: 6.21.0
-
- dependencies:
- '@types/react': 19.2.14
-
- '@types/[email protected]':
- dependencies:
- csstype: 3.2.3
-
- optionalDependencies:
- react: 19.2.4
-
- dependencies:
- tslib: 2.8.1
-
- dependencies:
- browserslist: 4.28.1
- caniuse-lite: 1.0.30001769
- fraction.js: 5.3.4
- picocolors: 1.1.1
- postcss: 8.5.6
- postcss-value-parser: 4.2.0
-
-
- dependencies:
- baseline-browser-mapping: 2.9.19
- caniuse-lite: 1.0.30001769
- electron-to-chromium: 1.5.286
- node-releases: 2.0.27
- update-browserslist-db: 1.2.3([email protected])
-
-
- dependencies:
- clsx: 2.1.1
-
-
-
- dependencies:
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- transitivePeerDependencies:
- - '@types/react'
- - '@types/react-dom'
-
-
- dependencies:
- internmap: 2.0.3
-
-
-
-
- dependencies:
- d3-color: 3.1.0
-
-
- dependencies:
- d3-array: 3.2.4
- d3-format: 3.1.2
- d3-interpolate: 3.0.1
- d3-time: 3.1.0
- d3-time-format: 4.1.0
-
- dependencies:
- d3-path: 3.1.0
-
- dependencies:
- d3-time: 3.1.0
-
- dependencies:
- d3-array: 3.2.4
-
-
-
-
-
-
-
- dependencies:
- '@babel/runtime': 7.28.6
- csstype: 3.2.3
-
-
- dependencies:
- embla-carousel: 8.6.0
- embla-carousel-reactive-utils: 8.6.0([email protected])
- react: 19.2.4
-
- dependencies:
- embla-carousel: 8.6.0
-
-
- dependencies:
- graceful-fs: 4.2.11
- tapable: 2.3.0
-
-
-
-
-
-
-
- dependencies:
- react: 19.2.4
- react-dom: 19.2.4([email protected])
-
-
-
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- optional: true
-
- dependencies:
- detect-libc: 2.1.2
- optionalDependencies:
- lightningcss-android-arm64: 1.31.1
- lightningcss-darwin-arm64: 1.31.1
- lightningcss-darwin-x64: 1.31.1
- lightningcss-freebsd-x64: 1.31.1
- lightningcss-linux-arm-gnueabihf: 1.31.1
- lightningcss-linux-arm64-gnu: 1.31.1
- lightningcss-linux-arm64-musl: 1.31.1
- lightningcss-linux-x64-gnu: 1.31.1
- lightningcss-linux-x64-musl: 1.31.1
- lightningcss-win32-arm64-msvc: 1.31.1
- lightningcss-win32-x64-msvc: 1.31.1
-
-
- dependencies:
- js-tokens: 4.0.0
-
- dependencies:
- react: 19.2.4
-
- dependencies:
- '@jridgewell/sourcemap-codec': 1.5.5
-
-
- dependencies:
- react: 19.2.4
- react-dom: 19.2.4([email protected])
-
- dependencies:
- '@next/env': 16.1.6
- '@swc/helpers': 0.5.15
- baseline-browser-mapping: 2.9.19
- caniuse-lite: 1.0.30001769
- postcss: 8.4.31
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- styled-jsx: 5.1.6([email protected])
- optionalDependencies:
- '@next/swc-darwin-arm64': 16.1.6
- '@next/swc-darwin-x64': 16.1.6
- '@next/swc-linux-arm64-gnu': 16.1.6
- '@next/swc-linux-arm64-musl': 16.1.6
- '@next/swc-linux-x64-gnu': 16.1.6
- '@next/swc-linux-x64-musl': 16.1.6
- '@next/swc-win32-arm64-msvc': 16.1.6
- '@next/swc-win32-x64-msvc': 16.1.6
- sharp: 0.34.5
- transitivePeerDependencies:
- - '@babel/core'
- - babel-plugin-macros
-
-
-
-
-
- dependencies:
- nanoid: 3.3.11
- picocolors: 1.1.1
- source-map-js: 1.2.1
-
- dependencies:
- nanoid: 3.3.11
- picocolors: 1.1.1
- source-map-js: 1.2.1
-
- dependencies:
- loose-envify: 1.4.0
- object-assign: 4.1.1
- react-is: 16.13.1
-
- dependencies:
- '@date-fns/tz': 1.4.1
- date-fns: 4.1.0
- date-fns-jalali: 4.1.0-0
- react: 19.2.4
-
- dependencies:
- react: 19.2.4
- scheduler: 0.27.0
-
- dependencies:
- react: 19.2.4
-
-
-
- dependencies:
- react: 19.2.4
- react-style-singleton: 2.2.3(@types/[email protected])([email protected])
- tslib: 2.8.1
- optionalDependencies:
- '@types/react': 19.2.14
-
- dependencies:
- react: 19.2.4
- react-remove-scroll-bar: 2.3.8(@types/[email protected])([email protected])
- react-style-singleton: 2.2.3(@types/[email protected])([email protected])
- tslib: 2.8.1
- use-callback-ref: 1.3.3(@types/[email protected])([email protected])
- use-sidecar: 1.1.3(@types/[email protected])([email protected])
- optionalDependencies:
- '@types/react': 19.2.14
-
- dependencies:
- react: 19.2.4
- react-dom: 19.2.4([email protected])
-
- dependencies:
- fast-equals: 5.4.0
- prop-types: 15.8.1
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- react-transition-group: 4.4.5([email protected]([email protected]))([email protected])
-
- dependencies:
- get-nonce: 1.0.1
- react: 19.2.4
- tslib: 2.8.1
- optionalDependencies:
- '@types/react': 19.2.14
-
- dependencies:
- '@babel/runtime': 7.28.6
- dom-helpers: 5.2.1
- loose-envify: 1.4.0
- prop-types: 15.8.1
- react: 19.2.4
- react-dom: 19.2.4([email protected])
-
-
- dependencies:
- decimal.js-light: 2.5.1
-
- dependencies:
- clsx: 2.1.1
- eventemitter3: 4.0.7
- lodash: 4.17.23
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- react-is: 18.3.1
- recharts-scale: 0.4.5
- tiny-invariant: 1.3.3
- victory-vendor: 36.9.2
-
-
- optional: true
-
- dependencies:
- '@img/colour': 1.0.0
- detect-libc: 2.1.2
- semver: 7.7.4
- optionalDependencies:
- '@img/sharp-darwin-arm64': 0.34.5
- '@img/sharp-darwin-x64': 0.34.5
- '@img/sharp-libvips-darwin-arm64': 1.2.4
- '@img/sharp-libvips-darwin-x64': 1.2.4
- '@img/sharp-libvips-linux-arm': 1.2.4
- '@img/sharp-libvips-linux-arm64': 1.2.4
- '@img/sharp-libvips-linux-ppc64': 1.2.4
- '@img/sharp-libvips-linux-riscv64': 1.2.4
- '@img/sharp-libvips-linux-s390x': 1.2.4
- '@img/sharp-libvips-linux-x64': 1.2.4
- '@img/sharp-libvips-linuxmusl-arm64': 1.2.4
- '@img/sharp-libvips-linuxmusl-x64': 1.2.4
- '@img/sharp-linux-arm': 0.34.5
- '@img/sharp-linux-arm64': 0.34.5
- '@img/sharp-linux-ppc64': 0.34.5
- '@img/sharp-linux-riscv64': 0.34.5
- '@img/sharp-linux-s390x': 0.34.5
- '@img/sharp-linux-x64': 0.34.5
- '@img/sharp-linuxmusl-arm64': 0.34.5
- '@img/sharp-linuxmusl-x64': 0.34.5
- '@img/sharp-wasm32': 0.34.5
- '@img/sharp-win32-arm64': 0.34.5
- '@img/sharp-win32-ia32': 0.34.5
- '@img/sharp-win32-x64': 0.34.5
- optional: true
-
- dependencies:
- react: 19.2.4
- react-dom: 19.2.4([email protected])
-
-
- dependencies:
- client-only: 0.0.1
- react: 19.2.4
-
-
-
-
-
-
-
-
-
- dependencies:
- browserslist: 4.28.1
- escalade: 3.2.0
- picocolors: 1.1.1
-
- dependencies:
- react: 19.2.4
- tslib: 2.8.1
- optionalDependencies:
- '@types/react': 19.2.14
-
- dependencies:
- detect-node-es: 1.1.0
- react: 19.2.4
- tslib: 2.8.1
- optionalDependencies:
- '@types/react': 19.2.14
-
- dependencies:
- react: 19.2.4
-
- dependencies:
- react: 19.2.4
- react-dom: 19.2.4([email protected])
- transitivePeerDependencies:
- - '@types/react'
- - '@types/react-dom'
-
- dependencies:
- '@types/d3-array': 3.2.2
- '@types/d3-ease': 3.0.2
- '@types/d3-interpolate': 3.0.4
- '@types/d3-scale': 4.0.9
- '@types/d3-shape': 3.1.8
- '@types/d3-time': 3.0.4
- '@types/d3-timer': 3.0.2
- d3-array: 3.2.4
- d3-ease: 3.0.1
- d3-interpolate: 3.0.1
- d3-scale: 4.0.2
- d3-shape: 3.2.0
- d3-time: 3.1.0
- d3-timer: 3.0.1
-
diff --git a/examples/wine-recommender/requirements.txt b/examples/wine-recommender/requirements.txt
index c745e6047..a8b784ebb 100644
--- a/examples/wine-recommender/requirements.txt
+++ b/examples/wine-recommender/requirements.txt
@@ -26,6 +26,7 @@ msgpack-numpy==0.4.8
multidict==6.7.1
networkx==3.6.1
numpy==2.2.6
+openai==2.30.0
opencv-python==4.12.0.88
packaging==26.0
pandas==3.0.1
diff --git a/examples/wine-recommender/test/compare_rerank_methods.py b/examples/wine-recommender/test/compare_rerank_methods.py
index d5dc3b3d5..af11e8e3a 100644
--- a/examples/wine-recommender/test/compare_rerank_methods.py
+++ b/examples/wine-recommender/test/compare_rerank_methods.py
@@ -33,7 +33,7 @@ def _require_float_env(name, fallback_name=None):
try:
SIE_BASE_URL = _require_env("CLUSTER_URL")
- SIE_API_KEY = _require_env("API_KEY")
+ SIE_API_KEY = os.getenv("API_KEY") or None
SIE_RERANK_MODEL = _require_env("SIE_RERANK_MODEL")
SIE_EMBEDDING_MODEL = _require_env("SIE_EMBEDDING_MODEL")
RERANK_ALPHA = _require_float_env("RERANK_ALPHA")
diff --git a/examples/wine-recommender/test/test_ocr_image.py b/examples/wine-recommender/test/test_ocr_image.py
index 1a88c186b..b30c83846 100644
--- a/examples/wine-recommender/test/test_ocr_image.py
+++ b/examples/wine-recommender/test/test_ocr_image.py
@@ -1,6 +1,9 @@
from pathlib import Path
+import os
import sys
+import pytest
+
PROJECT_ROOT = Path(__file__).resolve().parents[1]
if str(PROJECT_ROOT) not in sys.path:
sys.path.insert(0, str(PROJECT_ROOT))
@@ -10,7 +13,7 @@ from wine_picture_detection import detect_wine_from_image_bytes
TEST_IMAGE = PROJECT_ROOT / "test" / "test_images" / "dutton_test.png"
-def main() -> None:
+def _run_detection() -> None:
if not TEST_IMAGE.exists():
raise FileNotFoundError(f"Test image not found: {TEST_IMAGE}")
@@ -26,5 +29,16 @@ def main() -> None:
raise SystemExit("OCR test failed: no wine was detected.")
+def test_ocr_image_detects_wine() -> None:
+ if not os.getenv("CLUSTER_URL"):
+ pytest.skip("Set CLUSTER_URL to run the SIE OCR integration test")
+
+ _run_detection()
+
+
+def main() -> None:
+ _run_detection()
+
+
if __name__ == "__main__":
main()
diff --git a/examples/wine-recommender/wine_flavor/README.md b/examples/wine-recommender/wine_flavor/README.md
index 87280d6ba..01e570533 100644
--- a/examples/wine-recommender/wine_flavor/README.md
+++ b/examples/wine-recommender/wine_flavor/README.md
@@ -6,7 +6,7 @@ It combines:
- Vivino wine metadata and tasting attributes
- in-memory vector retrieval over structure + flavor signals
-- SIE-based reranking methods, using both the [encode](https://sie.dev/docs/encode) and [score](https://sie.dev/docs/score) capabilities of the SIE.
+- SIE-based reranking methods, using both the [encode](https://superlinked.com/docs/encode) and [score](https://superlinked.com/docs/score) capabilities of the SIE.
This is a good SIE demo because it shows how a stronger model can be added only where it matters most: after fast candidate retrieval, at the ranking stage.
@@ -51,7 +51,7 @@ This is a good SIE use case because the value is not in replacing the whole syst
## Pre-requisite
-In order to run this demo, you will need to start the SIE server. Please refer to the [SIE quickstart page](https://sie.dev/docs/quickstart) for detailed instructions
+In order to run this demo, you will need to start the SIE server. Please refer to the [SIE quickstart page](https://superlinked.com/docs/quickstart) for detailed instructions
## Setup
@@ -65,7 +65,8 @@ Create a `.env` file with the required settings:
```env
CLUSTER_URL=https://your-sie-cluster-url
-API_KEY=your-sie-api-key
+# Optional: only needed for managed/auth-enabled SIE clusters.
+API_KEY=
RERANK_METHOD=standard
SIE_RERANK_MODEL=BAAI/bge-reranker-v2-m3
SIE_EMBEDDING_MODEL=BAAI/bge-m3
@@ -84,6 +85,8 @@ DEMO_NUM_PAGES=5
`CUSTOM_RERANK_A` mixes review embeddings with generated tasting-note embeddings for each wine.
+`API_KEY` can stay blank when you are using a local unauthenticated SIE server.
+
## Run
This folder is mainly the retrieval prototype code used by the app, so the most direct way to use it is by running the full demo. Detailed instructions to do so are in `sie/examples/wine-recommender/README.md`
@@ -100,4 +103,4 @@ python test/compare_rerank_methods.py
1. Fetch wines from Vivino or load from the local database
2. Build wine vectors from structure + flavors
3. Retrieve top candidates with cosine similarity
-4. Rerank candidates with standard SIE reranking (with the [score](https://sie.dev/docs/score) method) or custom embedding-based reranking (with the [encode](https://sie.dev/docs/encode) method)
\ No newline at end of file
+4. Rerank candidates with standard SIE reranking (with the [score](https://superlinked.com/docs/score) method) or custom embedding-based reranking (with the [encode](https://superlinked.com/docs/encode) method)
diff --git a/examples/wine-recommender/wine_flavor/engine/custom_rerank.py b/examples/wine-recommender/wine_flavor/engine/custom_rerank.py
index f78e9c476..0c696f82d 100644
--- a/examples/wine-recommender/wine_flavor/engine/custom_rerank.py
+++ b/examples/wine-recommender/wine_flavor/engine/custom_rerank.py
@@ -242,16 +242,6 @@ def rerank_wines_with_custom_embeddings(
candidate_wines = generate_wine_embeddings(embedding_generator, candidate_wines)
candidate_wines = combine_wine_embeddings(embedding_generator, candidate_wines)
- # The no-review penalty is meant to bias the ranking toward wines that
- # actually have reviews to match against. If none of the candidates have
- # reviews (e.g. running against the bundled SQLite catalog), applying the
- # penalty to every wine just uniformly scales every score without changing
- # the relative ranking, so we skip it in that case to preserve signal.
- any_candidate_has_reviews = any(
- len(candidate_wines.iloc[local_index]["wine_reviews_normalized"]) > 0
- for local_index in range(len(candidate_wines))
- )
-
reference_embeddings = []
if reference_row_indices:
reference_wines = wines.iloc[reference_row_indices].copy()
@@ -275,10 +265,7 @@ def rerank_wines_with_custom_embeddings(
score = float(cosine_similarity([final_query_embedding], [combined_wine_vector])[0][0])
review_count = len(candidate_wines.iloc[local_index]["wine_reviews_normalized"])
- if (
- any_candidate_has_reviews
- and np.all(candidate_wines.iloc[local_index]["review_embedding"] == 0)
- ):
+ if np.all(candidate_wines.iloc[local_index]["review_embedding"] == 0):
score *= float(no_review_penalty)
wine_scores.append(
diff --git a/examples/wine-recommender/wine_flavor/engine/sie_rerank.py b/examples/wine-recommender/wine_flavor/engine/sie_rerank.py
index 74e705eac..8366239d8 100644
--- a/examples/wine-recommender/wine_flavor/engine/sie_rerank.py
+++ b/examples/wine-recommender/wine_flavor/engine/sie_rerank.py
@@ -11,9 +11,7 @@ def _resolve_sie_connection(base_url=None):
if not resolved_base_url:
raise ValueError("Missing SIE base URL. Set CLUSTER_URL in the environment or pass base_url explicitly.")
- api_key = os.getenv("API_KEY")
- if not api_key:
- raise ValueError("Missing SIE API key. Set API_KEY in the environment.")
+ api_key = os.getenv("API_KEY") or None
return resolved_base_url, api_key
diff --git a/examples/wine-recommender/wine_flavor/main.py b/examples/wine-recommender/wine_flavor/main.py
index f77d365c4..5eea2e081 100644
--- a/examples/wine-recommender/wine_flavor/main.py
+++ b/examples/wine-recommender/wine_flavor/main.py
@@ -25,7 +25,7 @@ def _require_float_env(name, fallback_name=None):
try:
SIE_BASE_URL = _require_env("CLUSTER_URL")
- SIE_API_KEY = _require_env("API_KEY")
+ SIE_API_KEY = os.getenv("API_KEY") or None
RERANK_METHOD = _require_env("RERANK_METHOD")
SIE_RERANK_MODEL = _require_env("SIE_RERANK_MODEL")
SIE_EMBEDDING_MODEL = _require_env("SIE_EMBEDDING_MODEL")
diff --git a/examples/wine-recommender/wine_picture_detection/.env.example b/examples/wine-recommender/wine_picture_detection/.env.example
index 9a7931307..e0e22caa1 100644
--- a/examples/wine-recommender/wine_picture_detection/.env.example
+++ b/examples/wine-recommender/wine_picture_detection/.env.example
@@ -1,8 +1,9 @@
# Local environment for standalone `wine_picture_detection` scripts.
# The main app backend uses the root `.env` instead.
-CLUSTER_URL=https://your-sie-cluster-url
-API_KEY=your-sie-api-key
+CLUSTER_URL=http://localhost:8080
+# Optional: only needed for managed/auth-enabled SIE clusters.
+API_KEY=
DATABASE_PATH=wine_flavor.db
TOP_N=5
SCORE_THRESHOLD=0
diff --git a/examples/wine-recommender/wine_picture_detection/README.md b/examples/wine-recommender/wine_picture_detection/README.md
index d305a637a..0ead00850 100644
--- a/examples/wine-recommender/wine_picture_detection/README.md
+++ b/examples/wine-recommender/wine_picture_detection/README.md
@@ -1,6 +1,6 @@
# Wine Picture Detection
-This folder contains the standalone OCR-based wine label detection prototype used by the demo app. This leverages the [extract](https://sie.dev/docs/extract) capability of the SIE.
+This folder contains the standalone OCR-based wine label detection prototype used by the demo app. This leverages the [extract](https://superlinked.com/docs/extract) capability of the SIE.
## What It Does
@@ -32,7 +32,7 @@ Using the SIE lets this prototype focus on extracting structured text accurately
## Pre-requisite
-In order to run this demo, you will need to start the SIE server. Please refer to the [SIE quickstart page](https://sie.dev/docs/quickstart) for detailed instructions
+In order to run this demo, you will need to start the SIE server. Please refer to the [SIE quickstart page](https://superlinked.com/docs/quickstart) for detailed instructions
## Setup
@@ -48,7 +48,8 @@ The OCR flow expects SIE access through environment variables such as:
```env
CLUSTER_URL=https://your-sie-cluster-url
-API_KEY=your-sie-api-key
+# Optional: only needed for managed/auth-enabled SIE clusters.
+API_KEY=
DATABASE_PATH=wine_flavor.db
TOP_N=5
SCORE_THRESHOLD=0
@@ -57,6 +58,8 @@ OCR_GPU=l4-spot
OCR_PROVISION_TIMEOUT_S=900
```
+Leave `API_KEY` blank when the target SIE server does not require auth.
+
## Run the OCR script directly
From the repo root:
diff --git a/examples/wine-recommender/wine_picture_detection/textract.py b/examples/wine-recommender/wine_picture_detection/textract.py
index c28227af8..7ecda1eba 100644
--- a/examples/wine-recommender/wine_picture_detection/textract.py
+++ b/examples/wine-recommender/wine_picture_detection/textract.py
@@ -25,7 +25,7 @@ if not DATABASE_PATH.is_absolute():
DATABASE_PATH = ROOT_DIR / DATABASE_PATH
CLUSTER_URL = os.getenv("CLUSTER_URL")
-API_KEY = os.getenv("API_KEY")
+API_KEY = os.getenv("API_KEY") or None
TOP_N = int(os.getenv("TOP_N", 5))
SCORE_THRESHOLD = float(os.getenv("SCORE_THRESHOLD", 0))
SIE_OCR_MODEL = os.getenv("SIE_OCR_MODEL", "microsoft/Florence-2-base")
@@ -104,6 +104,11 @@ def _require_sie_sdk():
def textract(image: Image.Image) -> dict[str, Any]:
+ if not CLUSTER_URL:
+ raise ValueError(
+ "Missing SIE base URL. Set CLUSTER_URL in the environment or in .env."
+ )
+
SIE_CLIENT, Item = _require_sie_sdk()
sie_client = SIE_CLIENT(CLUSTER_URL, api_key=API_KEY)
diff --git a/notebooks/README.md b/notebooks/README.md
index 8280d49fb..4d056883b 100644
--- a/notebooks/README.md
+++ b/notebooks/README.md
@@ -26,6 +26,6 @@ jupyter lab
## Links
- [SIE overview](../README.md)
-- [API reference](https://sie.dev/docs/reference/sdk)
-- [Full quickstart guide](https://sie.dev/docs/quickstart)
-- [All models](https://sie.dev/docs/reference/models)
+- [API reference](https://superlinked.com/docs/reference/sdk)
+- [Full quickstart guide](https://superlinked.com/docs/quickstart)
+- [All models](https://superlinked.com/models)
diff --git a/notebooks/quickstart.ipynb b/notebooks/quickstart.ipynb
index ee29af7c6..46f14e259 100644
--- a/notebooks/quickstart.ipynb
+++ b/notebooks/quickstart.ipynb
@@ -1,37 +1,110 @@
{
- "cells": [
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "# SIE Quickstart\n",
- "\n",
- "Three functions - `encode`, `score`, `extract` - running on a free Colab GPU.\n",
- "\n",
- "This notebook installs the SIE server, starts it in the background, and walks through the full API."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## You have clicked far :)\n",
- "\n",
- "We like that, if you have made it this far, give our [repo a star](https://github.com/superlinked/sie) and email [[email protected]](mailto:[email protected]) for early access to our ambassador programme!"
- ]
- }
- ],
- "metadata": {
- "kernelspec": {
- "display_name": "Python 3",
- "language": "python",
- "name": "python3"
- },
- "language_info": {
- "name": "python",
- "version": "3.12.0"
- }
- },
- "nbformat": 4,
- "nbformat_minor": 4
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": "# SIE Quickstart\n\nThree functions - `encode`, `score`, `extract` - running on a free Colab GPU.\n\nThis notebook installs the SIE server, starts it in the background, and walks through the full API."
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": "## 1. Install and start the server\n\nColab already has PyTorch, so this only installs the incremental dependencies (~1-2 min).\n\n> **Note:** SIE requires Python 3.12. If your Colab runtime uses an older version, go to Runtime > Change runtime type and select Python 3.12."
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "!pip install -q sie-server sie-sdk"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": "import subprocess, time, urllib.request\n\n# Start the server in the background\nproc = subprocess.Popen(\n [\"sie-server\", \"serve\", \"--host\", \"0.0.0.0\", \"--port\", \"8080\"],\n stdout=open(\"/tmp/sie-server.log\", \"w\"),\n stderr=subprocess.STDOUT,\n)\n\n# Wait for the server to be ready\nfor i in range(60):\n try:\n urllib.request.urlopen(\"http://localhost:8080/healthz\")\n print(f\"Server ready (took ~{i}s)\")\n break\n except Exception:\n time.sleep(1)\nelse:\n print(\"Server did not start - check /tmp/sie-server.log\")"
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": "## 2. Encode\n\nGenerate dense embeddings with a 400M-parameter model. The model downloads on first use (~1-2 min), then subsequent calls are fast."
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "from sie_sdk import SIEClient\n",
+ "from sie_sdk.types import Item\n",
+ "\n",
+ "client = SIEClient(\"http://localhost:8080\")\n",
+ "\n",
+ "result = client.encode(\"NovaSearch/stella_en_400M_v5\", Item(text=\"Hello world\"))\n",
+ "print(f\"Shape: {result['dense'].shape}\") # (1024,)\n",
+ "print(f\"First 5 values: {result['dense'][:5]}\")"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## 3. Score\n",
+ "\n",
+ "Rerank documents by relevance using a cross-encoder."
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": "scores = client.score(\n \"BAAI/bge-reranker-v2-m3\",\n Item(text=\"What is machine learning?\"),\n [Item(text=\"ML learns from data.\"), Item(text=\"The weather is sunny.\")]\n)\n\nfor s in scores[\"scores\"]:\n print(f\" rank {s['rank']}: {s['score']:.3f} - {s['item_id']}\")"
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": "## 4. Extract\n\nZero-shot named entity recognition - no training data needed."
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "result = client.extract(\n",
+ " \"urchade/gliner_multi-v2.1\",\n",
+ " Item(text=\"Tim Cook is the CEO of Apple.\"),\n",
+ " labels=[\"person\", \"organization\"]\n",
+ ")\n",
+ "\n",
+ "for e in result[\"entities\"]:\n",
+ " print(f\" {e['label']}: {e['text']} ({e['score']:.2f})\")"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": "## Next steps\n\n- [API reference](https://superlinked.com/docs/reference/sdk) - full SDK documentation\n- [All models](https://superlinked.com/models) - 85+ supported models\n- [Deployment guide](https://superlinked.com/docs/deployment/docker) - run in production with Docker or Kubernetes\n- [GitHub](https://github.com/superlinked/sie) - star the repo if this was useful"
+ }
+ ],
+ "metadata": {
+ "accelerator": "GPU",
+ "colab": {
+ "gpuType": "T4",
+ "provenance": []
+ },
+ "kernelspec": {
+ "display_name": "Python 3",
+ "name": "python3"
+ },
+ "language_info": {
+ "name": "python",
+ "version": "3.12.0"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
}