SlipboxKnowledgeRouting¶
Slipbox knowledge routing step that hosts the DKS knowledge+ruleset corpus and runs compile→index→route internally, emitting a compiled prompt ruleset plus per-record routed rule names and routing confidence for downstream Bedrock processing
SageMaker step type |
|
Node type |
internal (consumes upstream, produces downstream) |
Container entry point |
|
Interface file |
|
Compute¶
Compute kind |
|
SDK class |
|
Functionality¶
Slipbox knowledge routing script that COMPILES the DKS rule_.md corpus into an in-memory prompt ruleset (prompts.json + tool schema), INDEXES the pattern_/behavior_* corpus with an offline SentenceTransformer encoder into an in-memory routing index, and ROUTES each input record via cosine similarity + activation top-k to a set of routed rule names with a routing_confidence score. An internal consistency gate asserts the index linked_rules are a subset of the compiled rule_names. Emits the prompt_ruleset and the routed_records for downstream BedrockProcessing.
Inputs (dependencies)¶
Input |
Type |
Required |
Compatible producers |
|---|---|---|---|
|
|
yes |
TabularPreprocessing, CradleDataLoading, ProcessingStep |
|
|
no |
|
|
|
no |
Outputs¶
Output |
Type |
|---|---|
|
|
|
|
Consumers (downstream steps)¶
Steps that declare this step as a compatible input source:
Framework requirements¶
Package |
Version |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|