dodil k3 template
Browse the Scriptum template catalog. Two operations — list and get — both proxied through K3 to Scriptum. Templates are org-scoped, not bucket-scoped.
K3 ships a production catalog of 24 audited templates across four categories — full list with descriptions and modalities is at API Reference → Templates → The catalog. The most common entry points:
| Template | For | Bind to |
|---|---|---|
text_embedding_index | PDF / docx / HTML / text → vector index (RAG) | Vector collection |
code_embedding_index | Source code → vector index (AST-aware chunking) | Vector collection |
visual_embedding_index | Images / video / audio / PDF pages → vector index | Vector collection |
entity_pii_extraction | Structured entities + PII → rows | Warehouse table |
summarization | Multi-level summaries + keywords → rows | Warehouse table |
audio_transcription | Whisper transcripts (+ optional diarization) | Warehouse table |
object_detection | YOLOv8 detections → rows | Warehouse table |
See Core Concepts → Template for the type. Pipelines reference templates either by name (existing script) or by ID (spawn fresh) — see Pipelines — API Reference.
dodil k3 template list
dodil k3 template list [--category CAT] [--search TEXT] [--label KEY=VALUE]Lists templates available to your org. All filters happen server-side — pick the right combination of --category, --search, and --label rather than fetching everything and filtering in jq.
| Flag | Type | Description |
|---|---|---|
--category | string | Filter by category (e.g. embedding, extraction, analytics) |
--search | string | Free-text match against name + description |
--label | string list (repeat) | Filter by label key=value. Repeat for multiple labels — all must match (AND). |
Examples:
# All templates
dodil k3 template list -o json
# All embedding-category templates (vector ingest + search pairs)
dodil k3 template list --category embedding
# All extraction templates
dodil k3 template list --category extraction
# Free-text — find PII-related templates
dodil k3 template list --search pii
# Label filter — text-modality only
dodil k3 template list --label modality=text
# Warehouse-compatible only (across all categories)
dodil k3 template list --label warehouse_compatible=true
# Compose — text modality + ready status
dodil k3 template list --label modality=text --label status=ready
--labelparseskey=value. A bare--label modality(no=) errors out. Each--labelflag is one constraint; multiple flags AND together.
The full filter list with all label keys lives at API Reference → Templates → The catalog.
dodil k3 template get
dodil k3 template get [template_id]Returns one template with its full typed ScriptContract (input fields, output schema, required tools). Useful for inspecting what options a template accepts before creating a pipeline from it.
Example:
dodil k3 template get text_embedding_index -o jsonWalk the contract to discover required + optional fields:
dodil k3 template get text_embedding_index -o json \
| jq '.contract.inputs'K3 validates the options map you pass to dodil k3 pipeline create --scriptum ... against this contract server-side — invalid options fail at create time.
See also
- Templates — API Reference — full HTTP / gRPC surface
dodil k3 table templates— the Tables-pillar subset (warehouse-compatible only, bucket-scoped, server-pre-filtered)dodil k3 pipeline— spawn pipelines from templates- Core Concepts → Template — type signature