Examples

September 21, 2026 ยท View on GitHub

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.

New to SIE? Start with the quickstart notebook Open in Colab: encode, score, and extract in 5 minutes, then pick a project below.

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.

ExampleBest forSIE primitivesSetupStatus
Self-hosted product search in 5 minShowing the fastest local product-search path with extraction, embeddings, and rerankingextract, encode, scoreLocal SIE Docker image, Python or TypeScript appRunnable
Find the best retrieval strategy for your RAGPicking a production RAG retrieval pipeline by evals on real financial documentsencode, scoreSIE endpoint, Turbopuffer key, optional SIE API key for auth-enabled clustersRunnable benchmark
Rank exact primary-source passagesTesting a reranker on verbatim SEC, CMS, NTSB, and Supreme Court excerpts, where the closest wrong passage answers half the questionscoreSIE endpoint with Qwen3 Reranker 4B; fetch.py pulls the recorded run, score.py reproduces the scores with no keyRunnable recorded example
Extract custom entities from primary sourcesChanging zero-shot labels across financial, healthcare, rail-safety and legal text, with the two labels that came back empty left visibleextractSIE endpoint with GLiNER multi v2.1; fetch.py pulls the recorded run, score.py reproduces the counts with no keyRunnable recorded example
Answer a question from a passage, and quote the sentence you usedChecking a generated answer for its citation, its length and whether it declines a question the passage cannot answerchat/completionsSIE Cloud with Qwen3.8 27B; fetch.py pulls the recorded run, score.py reproduces the numbers with no keyRunnable recorded example
Write public status updates from internal incident reportsChecking a generated status update for leaked hosts, tickets, staff names and the wrong outage windowchat/completionsSIE Cloud with Qwen3.8 27B; fetch.py pulls the recorded run, score.py reproduces the number with no keyRunnable recorded example
Build a citable graph from filing textTurning SEC, NHTSA and FDA paragraphs into entities and relations with offsets, and seeing where the relations go wrongextractSIE Cloud with GLiNER2; fetch.py pulls the recorded run, score.py reproduces the counts with no keyRunnable recorded example
Find the passage that answers a questionRanking 253 regulation and documentation passages full of near misses, with query-side encodingencodeSIE Cloud with Arctic Embed L v2.0; fetch.py pulls the recorded vectors, score.py ranks them with no keyRunnable recorded example
Pick the passage that meets every conditionSeparating same-page near-duplicates with ColBERT late interaction, scored token by tokenencodeSIE Cloud with GTE-ModernColBERT-v1; fetch.py pulls the recorded token vectors, score.py scores them with no keyRunnable recorded example
Fill a JSON Schema from a messy documentReading NHTSA complaints, SEC officer filings and GSA listings into schema-valid JSON, with the two wrong fields left visiblechat/completionsSIE Cloud with Qwen3.8 27B; fetch.py pulls the recorded run, score.py reproduces the number with no keyRunnable recorded example
Route a request to the action it asks forScoring held-out SNIPS requests against seven action labels, and showing what happens when the labels overlapextractSIE Cloud with GLiClass; fetch.py pulls the recorded run, score.py reproduces the number with no keyRunnable recorded example
Check text for a planted instructionGating an agent on one label over twelve inputs from BIPIA, InjecAgent, LLMail-Inject, AgentDojo and XSTest, misses includedextract, chat_completionsSIE Cloud with GLiGuard and Granite Guardian; fetch.py pulls the recorded run, score.py reproduces both models' numbers with no keyRunnable recorded example
Expand a query into matchable termsComparing SPLADE, which adds terms the text never used, with bge-m3 sparse, which does notencodeSIE Cloud with SPLADE++ and bge-m3; fetch.py pulls the recorded vectors, score.py reproduces the figures with no keyRunnable recorded example
Get the exact character offsets to maskNaming your own ID types, measuring against published gold PII spans, and showing what a 384-word window costsextractSIE Cloud with GLiNER multi PII; fetch.py pulls the recorded run, score.py reproduces the figures with no keyRunnable recorded example
Read the numbers off a dashboard that has no APIReading twelve Superset, Argo CD, Airflow, Kubernetes, GitLab and Jaeger screens into schema-valid JSONgenerateSIE Cloud with Qwen3.8 27B; fetch.py pulls the recorded run and the screenshots, score.py reproduces 328 of 335 with no keyRunnable recorded example
Read a scanned form into typed fieldsExtracting typed fields from FAA, OSHA, NIST, USPS and invoice pages under a strict JSON schemagenerateSIE Cloud with Qwen3.8 27B; fetch.py pulls the recorded run and the page images, score.py reproduces 180 of 223 with no keyRunnable recorded example
Ask a question about an imagePutting one specific question to equipment photographs, hazmat placards, wiring drawings and analogue dialsgenerateSIE Cloud with Qwen3.8 27B; fetch.py pulls the recorded run and the images, score.py reproduces 10 of 12 with no keyRunnable recorded example
Locate every object a prompt can name in a photoGrounding open-vocabulary phrases to boxes on nine photos, with the two boxes it puts on the wrong object kept visibleextractSIE Cloud with Grounding DINO; fetch.py pulls the recorded run, score.py reproduces the number with no keyRunnable recorded example
Sort product photos against labels you write yourselfScoring damaged and whole parts against your own label wording, and the cheaper model that gets four of sixteen wrongscore, encodeSIE Cloud with Qwen3 VL Reranker and SigLIP 2; fetch.py pulls the recorded run, score.py reproduces the number with no keyRunnable recorded example
Find a spoken part number in a noisy recordingTranscribing twelve clips and searching them for the doses, figures and statute numbers that matter, the five misses keptextractSIE Cloud with Whisper large v3 turbo; fetch.py pulls the recorded run, score.py reproduces the word error rate with no keyRunnable recorded example
Find the image that matches a whole requestRanking six product photos against one written query, where a colour-only and a category-only match sit just behind the right answerencodeSIE Cloud with SigLIP so400m; fetch.py pulls the recorded run, score.py reproduces the ranking with no keyRunnable recorded example
Search document pages without flattening them to textRanking 712 report pages by what they look like, against a text baseline that buries the answerencodeSelf-hosted SIE with ColPali v1.3; fetch.py pulls the recorded run, score.py reproduces both rankings with no keyRunnable recorded example
Search licensed images with textRecomputing a six-image hard-negative ranking from full SigLIP vectorsencodeSIE endpoint with SigLIP; standalone uv projectRunnable verified example
Find SOTA embedding models by MTEB taskSearching ~14K HF embedding models ranked by task-specific MTEB scoresencode, scoreBackend seed script plus Vite frontend; falls back without a live SIE endpointRunnable
Private fine-tuned compliance RAGHot-loading a domain LoRA encoder and a custom token-pruning adapter on SIEencode, score, extractCustom SIE Docker image, GPU recommendedAdvanced runnable example
Build a multimodal wine recommender with OCRCombining preference-based retrieval with OCR-driven label detection in one UIencode, score, extractDocker Compose app plus local SIE endpoint; API key optional for unauthenticated SIERunnable demo
Build a multi-modal product classifier with embeddingsEvaluating text, image, NLI, and reranking approaches for hierarchical product taxonomy classificationencode, score, generateSIE endpoint, Shopify dataset prep via uv run scripts, standalone uv projectRunnable evaluation example
Read a page image, then read the MarkdownMeasuring an OCR stage and a schema-filling stage separately, so a wrong field can be traced to the stage that lost itextract, chat/completionsSIE Cloud with LightOnOCR-2-1B and two Qwen3 models; fetch.py pulls the recorded run, score.py reproduces the figures with no keyRunnable recorded example
Swap an OCR model with one identifier changeDriving recognition (VLM-OCR), structured extraction (Donut), and zero-shot NER (GLiNER) through the same extract call by swapping the model IDextractDocker Compose plus Node UI, no API key required, hosted version on Hugging Face SpacesRunnable demo
A Stripe Link checkout with an SIE fraud-risk gateWiring all three SIE primitives into a pre-authorization fraud-risk gate that runs in the same round-trip as the Stripe PaymentIntentextract, encode, scoreDocker Compose plus Node UI; Stripe test-mode keys optional (runs in mock mode without them)Runnable demo
Vision-first document RAGRetrieving and answering questions over a multi-tenant page corpus by looking at page images (including scanned drawings) with OCR kept out of the score pathencode, chat/completions, score (optional)GPU SIE deployment required: ColQwen2.5 retriever + Qwen3.5-4B answer model (runs on the generation bundle)Runnable demo
Multi-model contract review with the OpenAI Agents SDKRunning an OpenAI Agents SDK agent whose every model call (triage, orchestration, vision, OCR, embeddings, rerank, entity extraction, text-to-SQL, reasoning, and a safety guardrail) is served by one SIE cluster, each step on the right catalog model, with per-model observabilitygenerate, encode, score, extractGPU SIE deployment required; standalone uv project; real contracts fetched from CUAD (CC BY 4.0)Runnable demo
Turn difficult PDFs into MarkdownPreserving tables, reading order, headings, and form labels across real financial, academic, and government PDFsextractSIE endpoint with docling; fetch.py pulls the recorded run, verify-run checks 61 digests and relations offline; source PDFs fetched at run timeRunnable evaluation example
Review a published flood-insurance appealSeparating FEMA's covered stone-removal scope from excluded barge, handling, disposal, and yard costsextract, score, generateGPU SIE deployment; standalone uv project; bundled public FEMA appeal and policyRunnable agent example
Trace a restated filing figureFollowing one reported figure through an original filing, corrective notice, and restatement while preserving source statusextract, encode, scoreSIE endpoint; standalone uv project; public SEC facts and saved verified evidenceRunnable agent example
Reproduce CMS's L1851 documentation findingTracing a published six-month requirement against a seven-month face-to-face encounter and CMS's recoupment resultextract, encode, scoreSIE endpoint; standalone uv project; exact CMS published exampleRunnable agent example
Reconstruct a bearing failureTurning the NTSB's three East Palestine detector readings into a cited temperature and alert sequence without adding a new causal claimextract, encode, scoreSIE endpoint; standalone uv project; exact NTSB illustrated report spreadRunnable agent example
Make a shelf gap auditableDetecting one empty facing, deriving its notice and shelf-label crops by geometry, then preserving OCR evidenceextractGPU SIE deployment; standalone uv project; CC0 supermarket shelf image and recorded direct-checkpoint evidence includedRunnable evaluation example
Turn threat reports into cited ATT&CK mapping suggestionsMapping full reports against active ATT&CK 19.2, with a separate pinned AnnoCTR linking benchmark and analyst review for every suggestiongenerate, extract, encode, scoreGPU SIE deployment; standalone uv project; pinned MITRE ATT&CK and AnnoCTR sourcesRunnable agent benchmark
A behavioural gate that catches hijacked AI agents by their actions, not their credentialsJudging a proposed AI agent action against that agent's own learned baseline in real time, before it reaches a downstream systemencode, score, extractDocker Compose (gate + self-hosted SIE + n8n + mock downstream), no API key requiredRunnable demo

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:

  1. Create a subdirectory with a short, descriptive name (e.g. wikipedia-search/, pdf-rag/)
  2. Include a README that covers:
    • What the project does
    • How to run it (docker compose up, a script, etc.)
    • Which SIE features it uses (encode, score, extract, cluster, etc.)
  3. Keep it self-contained - include a requirements.txt or package.json, a docker-compose if needed, and sample data or instructions to fetch it
  4. Open a PR against main

Recorded evidence

Examples that reproduce a number published on a task page keep their code here and their evidence in the public HuggingFace dataset superlinked/sie-task-evidence, one folder per task holding inputs/, calls.json and manifest.json. Each example's fetch.py downloads that folder at a pinned dataset revision, never main, so a later upload cannot change what the example scores.

The trade is deliberate: a reader cannot verify by cloning alone, and in return nobody needs an API key or any inference spend to re-derive a published number.

Review workflow

Maintainers apply the coderabbit-direct label to eligible PRs that change content under examples/** or the root README.md. The label opts the PR into CodeRabbit review and allows CodeRabbit to formally approve it once review comments are resolved and required checks pass.

Projects can be anything: a search engine, a RAG pipeline, a benchmark, a migration guide, a CLI tool. If it uses SIE, it belongs here.