jev-recipes 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -1
- package/README.md +74 -85
- package/dist/catalog/generated/details/action-scope.json +43 -0
- package/dist/catalog/generated/details/answer-consistency.json +46 -0
- package/dist/catalog/generated/details/answer-coverage.json +66 -0
- package/dist/catalog/generated/details/answer-invalidation.json +43 -0
- package/dist/catalog/generated/details/answer-relevance.json +45 -0
- package/dist/catalog/generated/details/answerability.json +55 -0
- package/dist/catalog/generated/details/argument-fit.json +41 -0
- package/dist/catalog/generated/details/attempted-step.json +39 -0
- package/dist/catalog/generated/details/audience-fit.json +45 -0
- package/dist/catalog/generated/details/cache-match.json +41 -0
- package/dist/catalog/generated/details/cancellation-check.json +40 -0
- package/dist/catalog/generated/details/certainty-match.json +45 -0
- package/dist/catalog/generated/details/change-meaning.json +43 -0
- package/dist/catalog/generated/details/citation-match.json +64 -0
- package/dist/catalog/generated/details/citation-needed.json +39 -0
- package/dist/catalog/generated/details/claim-stance.json +55 -0
- package/dist/catalog/generated/details/clarify.json +64 -0
- package/dist/catalog/generated/details/confirmation-match.json +40 -0
- package/dist/catalog/generated/details/constraint-strength.json +48 -0
- package/dist/catalog/generated/details/context-role.json +45 -0
- package/dist/catalog/generated/details/correction-target.json +68 -0
- package/dist/catalog/generated/details/document-role.json +68 -0
- package/dist/catalog/generated/details/draft-compare.json +44 -0
- package/dist/catalog/generated/details/evidence-conflict.json +46 -0
- package/dist/catalog/generated/details/evidence-novelty.json +55 -0
- package/dist/catalog/generated/details/fact-stability.json +39 -0
- package/dist/catalog/generated/details/failure-kind.json +68 -0
- package/dist/catalog/generated/details/feedback-kind.json +69 -0
- package/dist/catalog/generated/details/field-select.json +68 -0
- package/dist/catalog/generated/details/followup-link.json +68 -0
- package/dist/catalog/generated/details/freshness-needed.json +38 -0
- package/dist/catalog/generated/details/frustration-signal.json +39 -0
- package/dist/catalog/generated/details/handoff.json +75 -0
- package/dist/catalog/generated/details/incident-match.json +68 -0
- package/dist/catalog/generated/details/instruction-conflict.json +52 -0
- package/dist/catalog/generated/details/instruction-fit.json +40 -0
- package/dist/catalog/generated/details/intent-change.json +43 -0
- package/dist/catalog/generated/details/issue-impact.json +42 -0
- package/dist/catalog/generated/details/memory-relation.json +46 -0
- package/dist/catalog/generated/details/memory-scope.json +42 -0
- package/dist/catalog/generated/details/memory-value.json +46 -0
- package/dist/catalog/generated/details/passage-duplicate.json +42 -0
- package/dist/catalog/generated/details/preference-kind.json +45 -0
- package/dist/catalog/generated/details/promise-check.json +42 -0
- package/dist/catalog/generated/details/query-equivalence.json +43 -0
- package/dist/catalog/generated/details/query-specificity.json +39 -0
- package/dist/catalog/generated/details/reference-resolve.json +69 -0
- package/dist/catalog/generated/details/repeated-attempt.json +43 -0
- package/dist/catalog/generated/details/reply-template-match.json +68 -0
- package/dist/catalog/generated/details/requirement-testability.json +45 -0
- package/dist/catalog/generated/details/rerank.json +55 -0
- package/dist/catalog/generated/details/resolution-check.json +40 -0
- package/dist/catalog/generated/details/response-needed.json +42 -0
- package/dist/catalog/generated/details/result-outcome.json +42 -0
- package/dist/catalog/generated/details/result-usefulness.json +45 -0
- package/dist/catalog/generated/details/retrieval-needed.json +39 -0
- package/dist/catalog/generated/details/route.json +51 -0
- package/dist/catalog/generated/details/source-applicability.json +39 -0
- package/dist/catalog/generated/details/step-complete.json +39 -0
- package/dist/catalog/generated/details/step-progress.json +43 -0
- package/dist/catalog/generated/details/summary-coverage.json +66 -0
- package/dist/catalog/generated/details/task-dependency.json +61 -0
- package/dist/catalog/generated/details/task-duplicate.json +49 -0
- package/dist/catalog/generated/details/ticket-match.json +43 -0
- package/dist/catalog/generated/details/tone-check.json +63 -0
- package/dist/catalog/generated/details/tool-fit.json +40 -0
- package/dist/catalog/generated/details/topic-shift.json +43 -0
- package/dist/catalog/generated/details/troubleshooting-fit.json +40 -0
- package/dist/catalog/generated/details/turn-intent.json +69 -0
- package/dist/catalog/generated/details/urgency-signal.json +39 -0
- package/dist/catalog/generated/details/verify.json +66 -0
- package/dist/catalog/generated/details/workaround-fit.json +40 -0
- package/dist/catalog/generated/loaders.d.ts +3 -0
- package/dist/catalog/generated/loaders.js +74 -0
- package/dist/catalog/generated/metadata.d.ts +2 -0
- package/dist/catalog/generated/metadata.js +1286 -0
- package/dist/catalog/generated/names.d.ts +1 -0
- package/dist/catalog/generated/names.js +75 -0
- package/dist/catalog/index.d.ts +9 -1764
- package/dist/catalog/index.js +8 -24
- package/dist/catalog/runner.d.ts +4 -0
- package/dist/catalog/runner.js +5 -0
- package/dist/catalog/schema.d.ts +57 -50
- package/dist/catalog/schema.js +2 -2
- package/dist/catalog/search.d.ts +3 -0
- package/dist/catalog/search.js +60 -0
- package/dist/cli/index.js +17 -8
- package/dist/cli/schema.d.ts +169 -167
- package/dist/cli/schema.js +37 -4
- package/dist/recipes/action-scope/schema.d.ts +3 -3
- package/dist/recipes/answer-consistency/schema.d.ts +3 -3
- package/dist/recipes/answer-coverage/schema.d.ts +6 -6
- package/dist/recipes/answerability/schema.d.ts +6 -6
- package/dist/recipes/cancellation-check/schema.d.ts +3 -3
- package/dist/recipes/certainty-match/schema.d.ts +3 -3
- package/dist/recipes/citation-needed/schema.d.ts +3 -3
- package/dist/recipes/claim-stance/demo.json +27 -0
- package/dist/recipes/claim-stance/index.d.ts +5 -0
- package/dist/recipes/claim-stance/index.js +17 -0
- package/dist/recipes/claim-stance/schema.d.ts +43 -0
- package/dist/recipes/claim-stance/schema.js +23 -0
- package/dist/recipes/clarify/schema.d.ts +3 -3
- package/dist/recipes/constraint-strength/demo.json +25 -0
- package/dist/recipes/constraint-strength/index.d.ts +5 -0
- package/dist/recipes/constraint-strength/index.js +16 -0
- package/dist/recipes/constraint-strength/schema.d.ts +39 -0
- package/dist/recipes/constraint-strength/schema.js +21 -0
- package/dist/recipes/document-role/schema.d.ts +6 -6
- package/dist/recipes/evidence-conflict/schema.d.ts +6 -6
- package/dist/recipes/feedback-kind/schema.d.ts +3 -3
- package/dist/recipes/freshness-needed/schema.d.ts +3 -3
- package/dist/recipes/handoff/schema.d.ts +3 -3
- package/dist/recipes/instruction-conflict/demo.json +27 -0
- package/dist/recipes/instruction-conflict/index.d.ts +5 -0
- package/dist/recipes/instruction-conflict/index.js +16 -0
- package/dist/recipes/instruction-conflict/schema.d.ts +40 -0
- package/dist/recipes/instruction-conflict/schema.js +22 -0
- package/dist/recipes/passage-duplicate/schema.d.ts +3 -3
- package/dist/recipes/preference-kind/schema.d.ts +6 -6
- package/dist/recipes/promise-check/schema.d.ts +3 -3
- package/dist/recipes/query-equivalence/schema.d.ts +3 -3
- package/dist/recipes/requirement-testability/demo.json +24 -0
- package/dist/recipes/requirement-testability/index.d.ts +5 -0
- package/dist/recipes/requirement-testability/index.js +15 -0
- package/dist/recipes/requirement-testability/schema.d.ts +36 -0
- package/dist/recipes/requirement-testability/schema.js +16 -0
- package/dist/recipes/result-outcome/schema.d.ts +3 -3
- package/dist/recipes/retrieval-needed/schema.d.ts +3 -3
- package/dist/recipes/step-progress/schema.d.ts +3 -3
- package/dist/recipes/summary-coverage/schema.d.ts +3 -3
- package/dist/recipes/task-dependency/demo.json +28 -0
- package/dist/recipes/task-dependency/index.d.ts +5 -0
- package/dist/recipes/task-dependency/index.js +17 -0
- package/dist/recipes/task-dependency/schema.d.ts +43 -0
- package/dist/recipes/task-dependency/schema.js +23 -0
- package/dist/recipes/task-duplicate/demo.json +27 -0
- package/dist/recipes/task-duplicate/index.d.ts +5 -0
- package/dist/recipes/task-duplicate/index.js +16 -0
- package/dist/recipes/task-duplicate/schema.d.ts +40 -0
- package/dist/recipes/task-duplicate/schema.js +22 -0
- package/dist/recipes/ticket-match/schema.d.ts +3 -3
- package/dist/recipes/topic-shift/schema.d.ts +3 -3
- package/dist/recipes/turn-intent/schema.d.ts +12 -12
- package/dist/src/index.d.ts +129 -117
- package/dist/src/index.js +57 -50
- package/dist/src/schema.d.ts +5 -0
- package/dist/src/schema.js +2 -0
- package/package.json +221 -188
- package/dist/catalog/groups/answers.d.ts +0 -565
- package/dist/catalog/groups/answers.js +0 -82
- package/dist/catalog/groups/conversation.d.ts +0 -608
- package/dist/catalog/groups/conversation.js +0 -90
- package/dist/catalog/groups/knowledge.d.ts +0 -522
- package/dist/catalog/groups/knowledge.js +0 -82
- package/dist/catalog/groups/retrieval.d.ts +0 -664
- package/dist/catalog/groups/retrieval.js +0 -106
- package/dist/catalog/groups/support.d.ts +0 -522
- package/dist/catalog/groups/support.js +0 -82
- package/dist/catalog/groups/workflow.d.ts +0 -623
- package/dist/catalog/groups/workflow.js +0 -98
- package/dist/catalog/recipes.d.ts +0 -3488
- package/dist/catalog/recipes.js +0 -14
- package/dist/examples/support/index.d.ts +0 -1
- package/dist/examples/support/index.js +0 -37
- package/dist/examples/support/schema.d.ts +0 -566
- package/dist/examples/support/schema.js +0 -76
- package/dist/examples/support/workflow.d.ts +0 -3
- package/dist/examples/support/workflow.js +0 -85
- package/dist/recipes/action-scope/metadata.d.ts +0 -8
- package/dist/recipes/action-scope/metadata.js +0 -10
- package/dist/recipes/answer-consistency/metadata.d.ts +0 -8
- package/dist/recipes/answer-consistency/metadata.js +0 -10
- package/dist/recipes/answer-coverage/metadata.d.ts +0 -8
- package/dist/recipes/answer-coverage/metadata.js +0 -11
- package/dist/recipes/answer-invalidation/metadata.d.ts +0 -8
- package/dist/recipes/answer-invalidation/metadata.js +0 -10
- package/dist/recipes/answer-relevance/metadata.d.ts +0 -8
- package/dist/recipes/answer-relevance/metadata.js +0 -10
- package/dist/recipes/answerability/metadata.d.ts +0 -8
- package/dist/recipes/answerability/metadata.js +0 -11
- package/dist/recipes/argument-fit/metadata.d.ts +0 -8
- package/dist/recipes/argument-fit/metadata.js +0 -10
- package/dist/recipes/attempted-step/metadata.d.ts +0 -8
- package/dist/recipes/attempted-step/metadata.js +0 -10
- package/dist/recipes/audience-fit/metadata.d.ts +0 -8
- package/dist/recipes/audience-fit/metadata.js +0 -10
- package/dist/recipes/cache-match/metadata.d.ts +0 -8
- package/dist/recipes/cache-match/metadata.js +0 -10
- package/dist/recipes/cancellation-check/metadata.d.ts +0 -8
- package/dist/recipes/cancellation-check/metadata.js +0 -10
- package/dist/recipes/certainty-match/metadata.d.ts +0 -8
- package/dist/recipes/certainty-match/metadata.js +0 -10
- package/dist/recipes/change-meaning/metadata.d.ts +0 -8
- package/dist/recipes/change-meaning/metadata.js +0 -10
- package/dist/recipes/citation-match/metadata.d.ts +0 -9
- package/dist/recipes/citation-match/metadata.js +0 -12
- package/dist/recipes/citation-needed/metadata.d.ts +0 -8
- package/dist/recipes/citation-needed/metadata.js +0 -10
- package/dist/recipes/clarify/metadata.d.ts +0 -8
- package/dist/recipes/clarify/metadata.js +0 -11
- package/dist/recipes/confirmation-match/metadata.d.ts +0 -8
- package/dist/recipes/confirmation-match/metadata.js +0 -10
- package/dist/recipes/context-role/metadata.d.ts +0 -8
- package/dist/recipes/context-role/metadata.js +0 -10
- package/dist/recipes/correction-target/metadata.d.ts +0 -8
- package/dist/recipes/correction-target/metadata.js +0 -11
- package/dist/recipes/document-role/metadata.d.ts +0 -8
- package/dist/recipes/document-role/metadata.js +0 -10
- package/dist/recipes/draft-compare/metadata.d.ts +0 -8
- package/dist/recipes/draft-compare/metadata.js +0 -10
- package/dist/recipes/evidence-conflict/metadata.d.ts +0 -8
- package/dist/recipes/evidence-conflict/metadata.js +0 -10
- package/dist/recipes/evidence-novelty/metadata.d.ts +0 -8
- package/dist/recipes/evidence-novelty/metadata.js +0 -11
- package/dist/recipes/fact-stability/metadata.d.ts +0 -8
- package/dist/recipes/fact-stability/metadata.js +0 -10
- package/dist/recipes/failure-kind/metadata.d.ts +0 -8
- package/dist/recipes/failure-kind/metadata.js +0 -11
- package/dist/recipes/feedback-kind/metadata.d.ts +0 -8
- package/dist/recipes/feedback-kind/metadata.js +0 -10
- package/dist/recipes/field-select/metadata.d.ts +0 -8
- package/dist/recipes/field-select/metadata.js +0 -11
- package/dist/recipes/followup-link/metadata.d.ts +0 -8
- package/dist/recipes/followup-link/metadata.js +0 -11
- package/dist/recipes/freshness-needed/metadata.d.ts +0 -8
- package/dist/recipes/freshness-needed/metadata.js +0 -10
- package/dist/recipes/frustration-signal/metadata.d.ts +0 -8
- package/dist/recipes/frustration-signal/metadata.js +0 -10
- package/dist/recipes/handoff/metadata.d.ts +0 -8
- package/dist/recipes/handoff/metadata.js +0 -11
- package/dist/recipes/incident-match/metadata.d.ts +0 -8
- package/dist/recipes/incident-match/metadata.js +0 -11
- package/dist/recipes/instruction-fit/metadata.d.ts +0 -8
- package/dist/recipes/instruction-fit/metadata.js +0 -10
- package/dist/recipes/intent-change/metadata.d.ts +0 -8
- package/dist/recipes/intent-change/metadata.js +0 -10
- package/dist/recipes/issue-impact/metadata.d.ts +0 -8
- package/dist/recipes/issue-impact/metadata.js +0 -10
- package/dist/recipes/memory-relation/metadata.d.ts +0 -8
- package/dist/recipes/memory-relation/metadata.js +0 -10
- package/dist/recipes/memory-scope/metadata.d.ts +0 -8
- package/dist/recipes/memory-scope/metadata.js +0 -10
- package/dist/recipes/memory-value/metadata.d.ts +0 -8
- package/dist/recipes/memory-value/metadata.js +0 -10
- package/dist/recipes/passage-duplicate/metadata.d.ts +0 -8
- package/dist/recipes/passage-duplicate/metadata.js +0 -10
- package/dist/recipes/preference-kind/metadata.d.ts +0 -8
- package/dist/recipes/preference-kind/metadata.js +0 -10
- package/dist/recipes/promise-check/metadata.d.ts +0 -8
- package/dist/recipes/promise-check/metadata.js +0 -10
- package/dist/recipes/query-equivalence/metadata.d.ts +0 -8
- package/dist/recipes/query-equivalence/metadata.js +0 -10
- package/dist/recipes/query-specificity/metadata.d.ts +0 -8
- package/dist/recipes/query-specificity/metadata.js +0 -10
- package/dist/recipes/reference-resolve/metadata.d.ts +0 -8
- package/dist/recipes/reference-resolve/metadata.js +0 -11
- package/dist/recipes/repeated-attempt/metadata.d.ts +0 -8
- package/dist/recipes/repeated-attempt/metadata.js +0 -10
- package/dist/recipes/reply-template-match/metadata.d.ts +0 -8
- package/dist/recipes/reply-template-match/metadata.js +0 -11
- package/dist/recipes/rerank/metadata.d.ts +0 -8
- package/dist/recipes/rerank/metadata.js +0 -11
- package/dist/recipes/resolution-check/metadata.d.ts +0 -8
- package/dist/recipes/resolution-check/metadata.js +0 -10
- package/dist/recipes/response-needed/metadata.d.ts +0 -8
- package/dist/recipes/response-needed/metadata.js +0 -10
- package/dist/recipes/result-outcome/metadata.d.ts +0 -8
- package/dist/recipes/result-outcome/metadata.js +0 -10
- package/dist/recipes/result-usefulness/metadata.d.ts +0 -8
- package/dist/recipes/result-usefulness/metadata.js +0 -10
- package/dist/recipes/retrieval-needed/metadata.d.ts +0 -8
- package/dist/recipes/retrieval-needed/metadata.js +0 -10
- package/dist/recipes/route/metadata.d.ts +0 -8
- package/dist/recipes/route/metadata.js +0 -11
- package/dist/recipes/source-applicability/metadata.d.ts +0 -8
- package/dist/recipes/source-applicability/metadata.js +0 -10
- package/dist/recipes/step-complete/metadata.d.ts +0 -8
- package/dist/recipes/step-complete/metadata.js +0 -10
- package/dist/recipes/step-progress/metadata.d.ts +0 -8
- package/dist/recipes/step-progress/metadata.js +0 -10
- package/dist/recipes/summary-coverage/metadata.d.ts +0 -8
- package/dist/recipes/summary-coverage/metadata.js +0 -11
- package/dist/recipes/ticket-match/metadata.d.ts +0 -8
- package/dist/recipes/ticket-match/metadata.js +0 -10
- package/dist/recipes/tone-check/metadata.d.ts +0 -8
- package/dist/recipes/tone-check/metadata.js +0 -11
- package/dist/recipes/tool-fit/metadata.d.ts +0 -8
- package/dist/recipes/tool-fit/metadata.js +0 -10
- package/dist/recipes/topic-shift/metadata.d.ts +0 -8
- package/dist/recipes/topic-shift/metadata.js +0 -10
- package/dist/recipes/troubleshooting-fit/metadata.d.ts +0 -8
- package/dist/recipes/troubleshooting-fit/metadata.js +0 -10
- package/dist/recipes/turn-intent/metadata.d.ts +0 -8
- package/dist/recipes/turn-intent/metadata.js +0 -10
- package/dist/recipes/urgency-signal/metadata.d.ts +0 -8
- package/dist/recipes/urgency-signal/metadata.js +0 -10
- package/dist/recipes/verify/metadata.d.ts +0 -8
- package/dist/recipes/verify/metadata.js +0 -11
- package/dist/recipes/workaround-fit/metadata.d.ts +0 -8
- package/dist/recipes/workaround-fit/metadata.js +0 -10
- package/examples/support/README.md +0 -60
- package/examples/support/demo.json +0 -156
- package/recipes/README.md +0 -128
- package/recipes/action-scope/README.md +0 -49
- package/recipes/answer-consistency/README.md +0 -50
- package/recipes/answer-coverage/README.md +0 -60
- package/recipes/answer-invalidation/README.md +0 -50
- package/recipes/answer-relevance/README.md +0 -49
- package/recipes/answerability/README.md +0 -54
- package/recipes/argument-fit/README.md +0 -51
- package/recipes/attempted-step/README.md +0 -48
- package/recipes/audience-fit/README.md +0 -50
- package/recipes/cache-match/README.md +0 -51
- package/recipes/cancellation-check/README.md +0 -50
- package/recipes/certainty-match/README.md +0 -49
- package/recipes/change-meaning/README.md +0 -49
- package/recipes/citation-match/README.md +0 -51
- package/recipes/citation-needed/README.md +0 -49
- package/recipes/clarify/README.md +0 -61
- package/recipes/confirmation-match/README.md +0 -49
- package/recipes/context-role/README.md +0 -49
- package/recipes/correction-target/README.md +0 -52
- package/recipes/document-role/README.md +0 -51
- package/recipes/draft-compare/README.md +0 -54
- package/recipes/evidence-conflict/README.md +0 -51
- package/recipes/evidence-novelty/README.md +0 -56
- package/recipes/fact-stability/README.md +0 -47
- package/recipes/failure-kind/README.md +0 -52
- package/recipes/feedback-kind/README.md +0 -51
- package/recipes/field-select/README.md +0 -53
- package/recipes/followup-link/README.md +0 -52
- package/recipes/freshness-needed/README.md +0 -46
- package/recipes/frustration-signal/README.md +0 -47
- package/recipes/handoff/README.md +0 -56
- package/recipes/incident-match/README.md +0 -52
- package/recipes/instruction-fit/README.md +0 -49
- package/recipes/intent-change/README.md +0 -50
- package/recipes/issue-impact/README.md +0 -48
- package/recipes/memory-relation/README.md +0 -52
- package/recipes/memory-scope/README.md +0 -50
- package/recipes/memory-value/README.md +0 -50
- package/recipes/passage-duplicate/README.md +0 -49
- package/recipes/preference-kind/README.md +0 -48
- package/recipes/promise-check/README.md +0 -48
- package/recipes/query-equivalence/README.md +0 -50
- package/recipes/query-specificity/README.md +0 -47
- package/recipes/reference-resolve/README.md +0 -54
- package/recipes/repeated-attempt/README.md +0 -50
- package/recipes/reply-template-match/README.md +0 -52
- package/recipes/rerank/README.md +0 -55
- package/recipes/resolution-check/README.md +0 -49
- package/recipes/response-needed/README.md +0 -48
- package/recipes/result-outcome/README.md +0 -49
- package/recipes/result-usefulness/README.md +0 -49
- package/recipes/retrieval-needed/README.md +0 -48
- package/recipes/route/README.md +0 -47
- package/recipes/source-applicability/README.md +0 -48
- package/recipes/step-complete/README.md +0 -48
- package/recipes/step-progress/README.md +0 -51
- package/recipes/summary-coverage/README.md +0 -60
- package/recipes/ticket-match/README.md +0 -50
- package/recipes/tone-check/README.md +0 -55
- package/recipes/tool-fit/README.md +0 -49
- package/recipes/topic-shift/README.md +0 -50
- package/recipes/troubleshooting-fit/README.md +0 -49
- package/recipes/turn-intent/README.md +0 -52
- package/recipes/urgency-signal/README.md +0 -47
- package/recipes/verify/README.md +0 -54
- package/recipes/workaround-fit/README.md +0 -50
- /package/{recipes → dist/recipes}/action-scope/demo.json +0 -0
- /package/{recipes → dist/recipes}/answer-consistency/demo.json +0 -0
- /package/{recipes → dist/recipes}/answer-coverage/demo.json +0 -0
- /package/{recipes → dist/recipes}/answer-invalidation/demo.json +0 -0
- /package/{recipes → dist/recipes}/answer-relevance/demo.json +0 -0
- /package/{recipes → dist/recipes}/answerability/demo.json +0 -0
- /package/{recipes → dist/recipes}/argument-fit/demo.json +0 -0
- /package/{recipes → dist/recipes}/attempted-step/demo.json +0 -0
- /package/{recipes → dist/recipes}/audience-fit/demo.json +0 -0
- /package/{recipes → dist/recipes}/cache-match/demo.json +0 -0
- /package/{recipes → dist/recipes}/cancellation-check/demo.json +0 -0
- /package/{recipes → dist/recipes}/certainty-match/demo.json +0 -0
- /package/{recipes → dist/recipes}/change-meaning/demo.json +0 -0
- /package/{recipes → dist/recipes}/citation-match/demo.json +0 -0
- /package/{recipes → dist/recipes}/citation-needed/demo.json +0 -0
- /package/{recipes → dist/recipes}/clarify/demo.json +0 -0
- /package/{recipes → dist/recipes}/confirmation-match/demo.json +0 -0
- /package/{recipes → dist/recipes}/context-role/demo.json +0 -0
- /package/{recipes → dist/recipes}/correction-target/demo.json +0 -0
- /package/{recipes → dist/recipes}/document-role/demo.json +0 -0
- /package/{recipes → dist/recipes}/draft-compare/demo.json +0 -0
- /package/{recipes → dist/recipes}/evidence-conflict/demo.json +0 -0
- /package/{recipes → dist/recipes}/evidence-novelty/demo.json +0 -0
- /package/{recipes → dist/recipes}/fact-stability/demo.json +0 -0
- /package/{recipes → dist/recipes}/failure-kind/demo.json +0 -0
- /package/{recipes → dist/recipes}/feedback-kind/demo.json +0 -0
- /package/{recipes → dist/recipes}/field-select/demo.json +0 -0
- /package/{recipes → dist/recipes}/followup-link/demo.json +0 -0
- /package/{recipes → dist/recipes}/freshness-needed/demo.json +0 -0
- /package/{recipes → dist/recipes}/frustration-signal/demo.json +0 -0
- /package/{recipes → dist/recipes}/handoff/demo.json +0 -0
- /package/{recipes → dist/recipes}/incident-match/demo.json +0 -0
- /package/{recipes → dist/recipes}/instruction-fit/demo.json +0 -0
- /package/{recipes → dist/recipes}/intent-change/demo.json +0 -0
- /package/{recipes → dist/recipes}/issue-impact/demo.json +0 -0
- /package/{recipes → dist/recipes}/memory-relation/demo.json +0 -0
- /package/{recipes → dist/recipes}/memory-scope/demo.json +0 -0
- /package/{recipes → dist/recipes}/memory-value/demo.json +0 -0
- /package/{recipes → dist/recipes}/passage-duplicate/demo.json +0 -0
- /package/{recipes → dist/recipes}/preference-kind/demo.json +0 -0
- /package/{recipes → dist/recipes}/promise-check/demo.json +0 -0
- /package/{recipes → dist/recipes}/query-equivalence/demo.json +0 -0
- /package/{recipes → dist/recipes}/query-specificity/demo.json +0 -0
- /package/{recipes → dist/recipes}/reference-resolve/demo.json +0 -0
- /package/{recipes → dist/recipes}/repeated-attempt/demo.json +0 -0
- /package/{recipes → dist/recipes}/reply-template-match/demo.json +0 -0
- /package/{recipes → dist/recipes}/rerank/demo.json +0 -0
- /package/{recipes → dist/recipes}/resolution-check/demo.json +0 -0
- /package/{recipes → dist/recipes}/response-needed/demo.json +0 -0
- /package/{recipes → dist/recipes}/result-outcome/demo.json +0 -0
- /package/{recipes → dist/recipes}/result-usefulness/demo.json +0 -0
- /package/{recipes → dist/recipes}/retrieval-needed/demo.json +0 -0
- /package/{recipes → dist/recipes}/route/demo.json +0 -0
- /package/{recipes → dist/recipes}/source-applicability/demo.json +0 -0
- /package/{recipes → dist/recipes}/step-complete/demo.json +0 -0
- /package/{recipes → dist/recipes}/step-progress/demo.json +0 -0
- /package/{recipes → dist/recipes}/summary-coverage/demo.json +0 -0
- /package/{recipes → dist/recipes}/ticket-match/demo.json +0 -0
- /package/{recipes → dist/recipes}/tone-check/demo.json +0 -0
- /package/{recipes → dist/recipes}/tool-fit/demo.json +0 -0
- /package/{recipes → dist/recipes}/topic-shift/demo.json +0 -0
- /package/{recipes → dist/recipes}/troubleshooting-fit/demo.json +0 -0
- /package/{recipes → dist/recipes}/turn-intent/demo.json +0 -0
- /package/{recipes → dist/recipes}/urgency-signal/demo.json +0 -0
- /package/{recipes → dist/recipes}/verify/demo.json +0 -0
- /package/{recipes → dist/recipes}/workaround-fit/demo.json +0 -0
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# Classify a described failure
|
|
2
|
-
|
|
3
|
-
Which supplied category best describes the observed failure? Classify the described failure rather than inventing an underlying cause.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { failureKind } from 'jev-recipes/failure-kind';
|
|
7
|
-
|
|
8
|
-
const result = await failureKind({
|
|
9
|
-
failure: 'The export was rejected because the report name is missing.',
|
|
10
|
-
categories: [
|
|
11
|
-
{
|
|
12
|
-
id: 'missing-input',
|
|
13
|
-
text: 'A required input was not supplied.',
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
id: 'temporary',
|
|
17
|
-
text: 'A temporary service interruption prevented the operation.',
|
|
18
|
-
},
|
|
19
|
-
],
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
console.log(result.status, result.selection);
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## Input
|
|
26
|
-
|
|
27
|
-
| Field | Accepts |
|
|
28
|
-
| --------------- | -------------------------------------------- |
|
|
29
|
-
| `failure` | Non-empty text |
|
|
30
|
-
| `categories` | 1 to 50 `{ id, text }` items with unique IDs |
|
|
31
|
-
| `context` | Optional non-empty text |
|
|
32
|
-
| `minConfidence` | Optional number from 0 to 1; defaults to 0.8 |
|
|
33
|
-
|
|
34
|
-
See [shared options and behavior](../README.md#shared-options-and-behavior) for client configuration, validation, and errors.
|
|
35
|
-
|
|
36
|
-
## Result
|
|
37
|
-
|
|
38
|
-
`verdict` is `matched`, `none`, or `ambiguous`. A confident match returns the original item ID in `selection`. A low-confidence match keeps that ID only in `suggestedSelection`. `none` returns a null selection and can be `ready`; `ambiguous` always requires review. Probabilities are grouped under `candidates` by your original IDs, plus `none` and `ambiguous`.
|
|
39
|
-
|
|
40
|
-
Results include model and token usage. Decisions below `minConfidence` require review. Inspect the outcome as well as the status.
|
|
41
|
-
|
|
42
|
-
## Reuse and calls
|
|
43
|
-
|
|
44
|
-
Uses the shared candidate-selection helper. This folder owns its selection question and input schema. A live invocation makes one logical Jev request; SDK retries can add transport attempts.
|
|
45
|
-
|
|
46
|
-
## Limits
|
|
47
|
-
|
|
48
|
-
Maps text to your categories. Use structured error codes first; this recipe does not diagnose a root cause or initiate retries.
|
|
49
|
-
|
|
50
|
-
## Example input
|
|
51
|
-
|
|
52
|
-
[demo.json](demo.json) contains editable input and a hand-authored response. After installing `jev-recipes`, `npx jev-recipes demo failure-kind` shows the result offline. The fixture is an illustration, not an accuracy measurement. `npx jev-recipes describe failure-kind` shows the input and result schemas.
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# Classify customer feedback
|
|
2
|
-
|
|
3
|
-
What is the primary kind of feedback in message? Prefer the explicit requested outcome over incidental tone. Choose unclear when several kinds are equally central.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { feedbackKind } from 'jev-recipes/feedback-kind';
|
|
7
|
-
|
|
8
|
-
const result = await feedbackKind({
|
|
9
|
-
message: 'Could you add CSV export to the activity page?',
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
console.log(result.status, result.verdict);
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Input
|
|
16
|
-
|
|
17
|
-
| Field | Accepts |
|
|
18
|
-
| --------------- | -------------------------------------------- |
|
|
19
|
-
| `message` | Non-empty text |
|
|
20
|
-
| `context` | Optional non-empty text |
|
|
21
|
-
| `minConfidence` | Optional number from 0 to 1; defaults to 0.8 |
|
|
22
|
-
|
|
23
|
-
See [shared options and behavior](../README.md#shared-options-and-behavior) for client configuration, validation, and errors.
|
|
24
|
-
|
|
25
|
-
## Result
|
|
26
|
-
|
|
27
|
-
| Verdict | Meaning |
|
|
28
|
-
| ----------------- | ------------------------------------------------------------------------------------------------ |
|
|
29
|
-
| `bug_report` | Reports existing functionality behaving incorrectly. |
|
|
30
|
-
| `feature_request` | Requests a new capability or changed behavior. |
|
|
31
|
-
| `question` | Asks for information or instructions. |
|
|
32
|
-
| `praise` | Primarily expresses positive feedback without another requested outcome. |
|
|
33
|
-
| `complaint` | Primarily expresses dissatisfaction without a specific bug report, feature request, or question. |
|
|
34
|
-
| `other` | The feedback has a clear purpose outside these categories. |
|
|
35
|
-
| `unclear` | The primary kind cannot be established. |
|
|
36
|
-
|
|
37
|
-
The result includes `verdict`, `confidence`, and all choice `probabilities`. `unclear` always requires review, even at high confidence. Other verdicts can be ready, including negative assessments.
|
|
38
|
-
|
|
39
|
-
Results include model and token usage. Decisions below `minConfidence` require review. Inspect the outcome as well as the status.
|
|
40
|
-
|
|
41
|
-
## Reuse and calls
|
|
42
|
-
|
|
43
|
-
Uses the shared choice helper for the Jev call and response parsing. This folder owns its question, verdict criteria, and review policy. A live invocation makes one logical Jev request; SDK retries can add transport attempts.
|
|
44
|
-
|
|
45
|
-
## Limits
|
|
46
|
-
|
|
47
|
-
Returns one primary category. It does not create a ticket, extract multiple issues, or set a priority.
|
|
48
|
-
|
|
49
|
-
## Example input
|
|
50
|
-
|
|
51
|
-
[demo.json](demo.json) contains editable input and a hand-authored response. After installing `jev-recipes`, `npx jev-recipes demo feedback-kind` shows the result offline. The fixture is an illustration, not an accuracy measurement. `npx jev-recipes describe feedback-kind` shows the input and result schemas.
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# Select a field value
|
|
2
|
-
|
|
3
|
-
Which supplied candidate is the value of field in document? Select an existing candidate only. Do not calculate a value, invent one, or infer an unstated field.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { fieldSelect } from 'jev-recipes/field-select';
|
|
7
|
-
|
|
8
|
-
const result = await fieldSelect({
|
|
9
|
-
field: 'Invoice reference',
|
|
10
|
-
document: 'Invoice INV-2026-A. Purchase order PO-77.',
|
|
11
|
-
candidates: [
|
|
12
|
-
{
|
|
13
|
-
id: 'invoice',
|
|
14
|
-
text: 'INV-2026-A',
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
id: 'purchase-order',
|
|
18
|
-
text: 'PO-77',
|
|
19
|
-
},
|
|
20
|
-
],
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
console.log(result.status, result.selection);
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## Input
|
|
27
|
-
|
|
28
|
-
| Field | Accepts |
|
|
29
|
-
| --------------- | -------------------------------------------- |
|
|
30
|
-
| `field` | Non-empty text |
|
|
31
|
-
| `document` | Non-empty text |
|
|
32
|
-
| `candidates` | 1 to 50 `{ id, text }` items with unique IDs |
|
|
33
|
-
| `minConfidence` | Optional number from 0 to 1; defaults to 0.8 |
|
|
34
|
-
|
|
35
|
-
See [shared options and behavior](../README.md#shared-options-and-behavior) for client configuration, validation, and errors.
|
|
36
|
-
|
|
37
|
-
## Result
|
|
38
|
-
|
|
39
|
-
`verdict` is `matched`, `none`, or `ambiguous`. A confident match returns the original item ID in `selection`. A low-confidence match keeps that ID only in `suggestedSelection`. `none` returns a null selection and can be `ready`; `ambiguous` always requires review. Probabilities are grouped under `candidates` by your original IDs, plus `none` and `ambiguous`.
|
|
40
|
-
|
|
41
|
-
Results include model and token usage. Decisions below `minConfidence` require review. Inspect the outcome as well as the status.
|
|
42
|
-
|
|
43
|
-
## Reuse and calls
|
|
44
|
-
|
|
45
|
-
Uses the shared candidate-selection helper. This folder owns its selection question and input schema. A live invocation makes one logical Jev request; SDK retries can add transport attempts.
|
|
46
|
-
|
|
47
|
-
## Limits
|
|
48
|
-
|
|
49
|
-
Chooses among caller-supplied candidates. Extract candidates with a parser or generator first; validate exact formats and identifiers in code.
|
|
50
|
-
|
|
51
|
-
## Example input
|
|
52
|
-
|
|
53
|
-
[demo.json](demo.json) contains editable input and a hand-authored response. After installing `jev-recipes`, `npx jev-recipes demo field-select` shows the result offline. The fixture is an illustration, not an accuracy measurement. `npx jev-recipes describe field-select` shows the input and result schemas.
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# Link a follow-up request
|
|
2
|
-
|
|
3
|
-
Which supplied earlier request does message follow up on? Link by the intended task, not merely a shared word. A new unrelated request belongs to none.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { followupLink } from 'jev-recipes/followup-link';
|
|
7
|
-
|
|
8
|
-
const result = await followupLink({
|
|
9
|
-
message: 'Can you make that explanation shorter?',
|
|
10
|
-
requests: [
|
|
11
|
-
{
|
|
12
|
-
id: 'reset',
|
|
13
|
-
text: 'Explain how password resets work.',
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
id: 'invoice',
|
|
17
|
-
text: 'Download my invoice.',
|
|
18
|
-
},
|
|
19
|
-
],
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
console.log(result.status, result.selection);
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## Input
|
|
26
|
-
|
|
27
|
-
| Field | Accepts |
|
|
28
|
-
| --------------- | -------------------------------------------- |
|
|
29
|
-
| `message` | Non-empty text |
|
|
30
|
-
| `requests` | 1 to 50 `{ id, text }` items with unique IDs |
|
|
31
|
-
| `context` | Optional non-empty text |
|
|
32
|
-
| `minConfidence` | Optional number from 0 to 1; defaults to 0.8 |
|
|
33
|
-
|
|
34
|
-
See [shared options and behavior](../README.md#shared-options-and-behavior) for client configuration, validation, and errors.
|
|
35
|
-
|
|
36
|
-
## Result
|
|
37
|
-
|
|
38
|
-
`verdict` is `matched`, `none`, or `ambiguous`. A confident match returns the original item ID in `selection`. A low-confidence match keeps that ID only in `suggestedSelection`. `none` returns a null selection and can be `ready`; `ambiguous` always requires review. Probabilities are grouped under `candidates` by your original IDs, plus `none` and `ambiguous`.
|
|
39
|
-
|
|
40
|
-
Results include model and token usage. Decisions below `minConfidence` require review. Inspect the outcome as well as the status.
|
|
41
|
-
|
|
42
|
-
## Reuse and calls
|
|
43
|
-
|
|
44
|
-
Uses the shared candidate-selection helper. This folder owns its selection question and input schema. A live invocation makes one logical Jev request; SDK retries can add transport attempts.
|
|
45
|
-
|
|
46
|
-
## Limits
|
|
47
|
-
|
|
48
|
-
Selects from the supplied earlier requests. Supply enough conversation context to resolve references.
|
|
49
|
-
|
|
50
|
-
## Example input
|
|
51
|
-
|
|
52
|
-
[demo.json](demo.json) contains editable input and a hand-authored response. After installing `jev-recipes`, `npx jev-recipes demo followup-link` shows the result offline. The fixture is an illustration, not an accuracy measurement. `npx jev-recipes describe followup-link` shows the input and result schemas.
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# Check information freshness needs
|
|
2
|
-
|
|
3
|
-
Does question require a current or time-specific state that can change, or stable conceptual knowledge? Classify the information need without looking up the answer.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { freshnessNeeded } from 'jev-recipes/freshness-needed';
|
|
7
|
-
|
|
8
|
-
const result = await freshnessNeeded({
|
|
9
|
-
question: 'Is the API experiencing an outage right now?',
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
console.log(result.status, result.verdict);
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Input
|
|
16
|
-
|
|
17
|
-
| Field | Accepts |
|
|
18
|
-
| --------------- | -------------------------------------------- |
|
|
19
|
-
| `question` | Non-empty text |
|
|
20
|
-
| `minConfidence` | Optional number from 0 to 1; defaults to 0.8 |
|
|
21
|
-
|
|
22
|
-
See [shared options and behavior](../README.md#shared-options-and-behavior) for client configuration, validation, and errors.
|
|
23
|
-
|
|
24
|
-
## Result
|
|
25
|
-
|
|
26
|
-
| Verdict | Meaning |
|
|
27
|
-
| --------- | ----------------------------------------------------------------------------- |
|
|
28
|
-
| `current` | The answer depends on current or explicitly time-specific facts. |
|
|
29
|
-
| `stable` | The question asks for general concepts that do not depend on a current state. |
|
|
30
|
-
| `unclear` | The intended time sensitivity cannot be determined. |
|
|
31
|
-
|
|
32
|
-
The result includes `verdict`, `confidence`, and all choice `probabilities`. `unclear` always requires review, even at high confidence. Other verdicts can be ready, including negative assessments.
|
|
33
|
-
|
|
34
|
-
Results include model and token usage. Decisions below `minConfidence` require review. Inspect the outcome as well as the status.
|
|
35
|
-
|
|
36
|
-
## Reuse and calls
|
|
37
|
-
|
|
38
|
-
Uses the shared choice helper for the Jev call and response parsing. This folder owns its question, verdict criteria, and review policy. A live invocation makes one logical Jev request; SDK retries can add transport attempts.
|
|
39
|
-
|
|
40
|
-
## Limits
|
|
41
|
-
|
|
42
|
-
Does not check timestamps, determine whether a source is up to date, or retrieve current information.
|
|
43
|
-
|
|
44
|
-
## Example input
|
|
45
|
-
|
|
46
|
-
[demo.json](demo.json) contains editable input and a hand-authored response. After installing `jev-recipes`, `npx jev-recipes demo freshness-needed` shows the result offline. The fixture is an illustration, not an accuracy measurement. `npx jev-recipes describe freshness-needed` shows the input and result schemas.
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# Detect expressed frustration
|
|
2
|
-
|
|
3
|
-
Does message express frustration or dissatisfaction in its wording? Assess expressed language only, not the writer's hidden emotional or mental state.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { frustrationSignal } from 'jev-recipes/frustration-signal';
|
|
7
|
-
|
|
8
|
-
const result = await frustrationSignal({
|
|
9
|
-
message: 'This is the third time I have asked. It is frustrating to keep repeating myself.',
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
console.log(result.status, result.verdict);
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Input
|
|
16
|
-
|
|
17
|
-
| Field | Accepts |
|
|
18
|
-
| --------------- | -------------------------------------------- |
|
|
19
|
-
| `message` | Non-empty text |
|
|
20
|
-
| `context` | Optional non-empty text |
|
|
21
|
-
| `minConfidence` | Optional number from 0 to 1; defaults to 0.8 |
|
|
22
|
-
|
|
23
|
-
See [shared options and behavior](../README.md#shared-options-and-behavior) for client configuration, validation, and errors.
|
|
24
|
-
|
|
25
|
-
## Result
|
|
26
|
-
|
|
27
|
-
| Verdict | Meaning |
|
|
28
|
-
| --------------- | ----------------------------------------------------------------------- |
|
|
29
|
-
| `expressed` | The wording clearly expresses frustration or dissatisfaction. |
|
|
30
|
-
| `not_expressed` | The wording does not express frustration or dissatisfaction. |
|
|
31
|
-
| `unclear` | Ambiguous or context-dependent wording prevents a clear interpretation. |
|
|
32
|
-
|
|
33
|
-
The result includes `verdict`, `confidence`, and all choice `probabilities`. `unclear` always requires review, even at high confidence. Other verdicts can be ready, including negative assessments.
|
|
34
|
-
|
|
35
|
-
Results include model and token usage. Decisions below `minConfidence` require review. Inspect the outcome as well as the status.
|
|
36
|
-
|
|
37
|
-
## Reuse and calls
|
|
38
|
-
|
|
39
|
-
Uses the shared choice helper for the Jev call and response parsing. This folder owns its question, verdict criteria, and review policy. A live invocation makes one logical Jev request; SDK retries can add transport attempts.
|
|
40
|
-
|
|
41
|
-
## Limits
|
|
42
|
-
|
|
43
|
-
Classifies expressed language only. It does not diagnose emotions or determine customer importance or entitlement.
|
|
44
|
-
|
|
45
|
-
## Example input
|
|
46
|
-
|
|
47
|
-
[demo.json](demo.json) contains editable input and a hand-authored response. After installing `jev-recipes`, `npx jev-recipes demo frustration-signal` shows the result offline. The fixture is an illustration, not an accuracy measurement. `npx jev-recipes describe frustration-signal` shows the input and result schemas.
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
# Check handoff rules
|
|
2
|
-
|
|
3
|
-
Check whether a request matches your rules for involving a human. Your application handles the transfer.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { handoff } from 'jev-recipes/handoff';
|
|
7
|
-
|
|
8
|
-
const result = await handoff({
|
|
9
|
-
request: 'Please connect me with a person.',
|
|
10
|
-
rules: [
|
|
11
|
-
{
|
|
12
|
-
id: 'requested-human',
|
|
13
|
-
description: 'The customer explicitly asks to speak with a human support representative.',
|
|
14
|
-
},
|
|
15
|
-
],
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
console.log(result.decision);
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## Input
|
|
22
|
-
|
|
23
|
-
| Field | Accepts |
|
|
24
|
-
| --------------- | ---------------------------------------------------------------------------------------- |
|
|
25
|
-
| `request` | Non-empty text containing the request |
|
|
26
|
-
| `context` | Optional non-empty conversation context or application facts |
|
|
27
|
-
| `rules` | 1 to 50 `{ id, description }` rules with unique non-empty IDs and non-empty descriptions |
|
|
28
|
-
| `minConfidence` | Optional number from 0 to 1; defaults to 0.8 |
|
|
29
|
-
|
|
30
|
-
See [shared options and behavior](../README.md#shared-options-and-behavior) for client configuration, validation, and errors. Types are inferred from this folder's Zod 4 schemas.
|
|
31
|
-
|
|
32
|
-
## Result
|
|
33
|
-
|
|
34
|
-
| Decision | Condition |
|
|
35
|
-
| ---------- | --------------------------------------------------------------------------------------------- |
|
|
36
|
-
| `human` | At least one rule confidently matches. |
|
|
37
|
-
| `review` | No confident match exists and at least one rule is unclear or below the confidence threshold. |
|
|
38
|
-
| `continue` | Every rule confidently does not match. |
|
|
39
|
-
|
|
40
|
-
`checks` preserves each rule ID with its verdict (`matches`, `does_not_match`, or `unclear`), status, confidence, and probabilities. Check status reflects the confidence threshold. A high-confidence `unclear` verdict still describes uncertainty about whether the rule applies.
|
|
41
|
-
|
|
42
|
-
`matchedRules` contains confident matches. `uncertainRules` contains unclear and low-confidence checks. One confident match is enough for `decision: "human"` and `status: "ready"`, even when other rules are uncertain. A review decision always has review status.
|
|
43
|
-
|
|
44
|
-
The result includes model and token usage. Inspect the outcome as well as its review status.
|
|
45
|
-
|
|
46
|
-
## Reuse and calls
|
|
47
|
-
|
|
48
|
-
Uses the shared item-check helper. This folder owns the rule criteria and human, continue, or review decision. All rule questions are sent in one request. A live invocation makes one logical Jev request; SDK retries can add transport attempts.
|
|
49
|
-
|
|
50
|
-
## Limits
|
|
51
|
-
|
|
52
|
-
Write observable rules and supply the facts needed to evaluate them. Compute exact amounts, deadlines, and permissions in code. This recipe does not contact anyone, execute actions, or enforce access controls.
|
|
53
|
-
|
|
54
|
-
## Example input
|
|
55
|
-
|
|
56
|
-
[demo.json](demo.json) contains editable input and a hand-authored response. After installing `jev-recipes`, `npx jev-recipes demo handoff` shows an offline illustration, not an accuracy measurement. Use `npx jev-recipes describe handoff` to inspect the input and result schemas.
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# Match a known incident
|
|
2
|
-
|
|
3
|
-
Which supplied incident is supported as a match for ticket? Require compatible affected functionality and supplied scope. Shared words alone are insufficient.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { incidentMatch } from 'jev-recipes/incident-match';
|
|
7
|
-
|
|
8
|
-
const result = await incidentMatch({
|
|
9
|
-
ticket: 'Workspace exports fail with EXPORT_TIMEOUT.',
|
|
10
|
-
incidents: [
|
|
11
|
-
{
|
|
12
|
-
id: 'exports',
|
|
13
|
-
text: 'Active incident: workspace exports fail with EXPORT_TIMEOUT.',
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
id: 'billing',
|
|
17
|
-
text: 'Active incident: invoices appear with a delay.',
|
|
18
|
-
},
|
|
19
|
-
],
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
console.log(result.status, result.selection);
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## Input
|
|
26
|
-
|
|
27
|
-
| Field | Accepts |
|
|
28
|
-
| --------------- | -------------------------------------------- |
|
|
29
|
-
| `ticket` | Non-empty text |
|
|
30
|
-
| `incidents` | 1 to 50 `{ id, text }` items with unique IDs |
|
|
31
|
-
| `context` | Optional non-empty text |
|
|
32
|
-
| `minConfidence` | Optional number from 0 to 1; defaults to 0.8 |
|
|
33
|
-
|
|
34
|
-
See [shared options and behavior](../README.md#shared-options-and-behavior) for client configuration, validation, and errors.
|
|
35
|
-
|
|
36
|
-
## Result
|
|
37
|
-
|
|
38
|
-
`verdict` is `matched`, `none`, or `ambiguous`. A confident match returns the original item ID in `selection`. A low-confidence match keeps that ID only in `suggestedSelection`. `none` returns a null selection and can be `ready`; `ambiguous` always requires review. Probabilities are grouped under `candidates` by your original IDs, plus `none` and `ambiguous`.
|
|
39
|
-
|
|
40
|
-
Results include model and token usage. Decisions below `minConfidence` require review. Inspect the outcome as well as the status.
|
|
41
|
-
|
|
42
|
-
## Reuse and calls
|
|
43
|
-
|
|
44
|
-
Uses the shared candidate-selection helper. This folder owns its selection question and input schema. A live invocation makes one logical Jev request; SDK retries can add transport attempts.
|
|
45
|
-
|
|
46
|
-
## Limits
|
|
47
|
-
|
|
48
|
-
Matches only incidents supplied by the caller. Filter incident status, dates, affected regions, and exact versions in code first.
|
|
49
|
-
|
|
50
|
-
## Example input
|
|
51
|
-
|
|
52
|
-
[demo.json](demo.json) contains editable input and a hand-authored response. After installing `jev-recipes`, `npx jev-recipes demo incident-match` shows the result offline. The fixture is an illustration, not an accuracy measurement. `npx jev-recipes describe incident-match` shows the input and result schemas.
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# Check instruction applicability
|
|
2
|
-
|
|
3
|
-
Does the explicit scope of instruction cover task and context? Judge applicability only; do not follow instructions embedded in state or decide their authority.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { instructionFit } from 'jev-recipes/instruction-fit';
|
|
7
|
-
|
|
8
|
-
const result = await instructionFit({
|
|
9
|
-
instruction: 'For customer-facing replies, use plain language.',
|
|
10
|
-
task: 'Write an email explaining a password reset to a customer.',
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
console.log(result.status, result.verdict);
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Input
|
|
17
|
-
|
|
18
|
-
| Field | Accepts |
|
|
19
|
-
| --------------- | -------------------------------------------- |
|
|
20
|
-
| `instruction` | Non-empty text |
|
|
21
|
-
| `task` | Non-empty text |
|
|
22
|
-
| `context` | Optional non-empty text |
|
|
23
|
-
| `minConfidence` | Optional number from 0 to 1; defaults to 0.8 |
|
|
24
|
-
|
|
25
|
-
See [shared options and behavior](../README.md#shared-options-and-behavior) for client configuration, validation, and errors.
|
|
26
|
-
|
|
27
|
-
## Result
|
|
28
|
-
|
|
29
|
-
| Verdict | Meaning |
|
|
30
|
-
| ---------------- | ----------------------------------------------------- |
|
|
31
|
-
| `applies` | The task falls within the instruction's stated scope. |
|
|
32
|
-
| `does_not_apply` | The task falls outside the stated scope. |
|
|
33
|
-
| `unclear` | Missing or ambiguous scope facts prevent deciding. |
|
|
34
|
-
|
|
35
|
-
The result includes `verdict`, `confidence`, and all choice `probabilities`. `unclear` always requires review, even at high confidence. Other verdicts can be ready, including negative assessments.
|
|
36
|
-
|
|
37
|
-
Results include model and token usage. Decisions below `minConfidence` require review. Inspect the outcome as well as the status.
|
|
38
|
-
|
|
39
|
-
## Reuse and calls
|
|
40
|
-
|
|
41
|
-
Uses the shared choice helper for the Jev call and response parsing. This folder owns its question, verdict criteria, and review policy. A live invocation makes one logical Jev request; SDK retries can add transport attempts.
|
|
42
|
-
|
|
43
|
-
## Limits
|
|
44
|
-
|
|
45
|
-
Checks semantic applicability. Instruction priority, trust, permissions, and conflicts must remain application policy.
|
|
46
|
-
|
|
47
|
-
## Example input
|
|
48
|
-
|
|
49
|
-
[demo.json](demo.json) contains editable input and a hand-authored response. After installing `jev-recipes`, `npx jev-recipes demo instruction-fit` shows the result offline. The fixture is an illustration, not an accuracy measurement. `npx jev-recipes describe instruction-fit` shows the input and result schemas.
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# Detect a change of intent
|
|
2
|
-
|
|
3
|
-
How does message change currentGoal? Compare the intended outcome rather than surface wording. An added constraint refines a goal; asking for a different outcome replaces it.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { intentChange } from 'jev-recipes/intent-change';
|
|
7
|
-
|
|
8
|
-
const result = await intentChange({
|
|
9
|
-
currentGoal: 'Draft a reply explaining password resets.',
|
|
10
|
-
message: 'Keep it under three sentences.',
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
console.log(result.status, result.verdict);
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Input
|
|
17
|
-
|
|
18
|
-
| Field | Accepts |
|
|
19
|
-
| --------------- | -------------------------------------------- |
|
|
20
|
-
| `currentGoal` | Non-empty text |
|
|
21
|
-
| `message` | Non-empty text |
|
|
22
|
-
| `context` | Optional non-empty text |
|
|
23
|
-
| `minConfidence` | Optional number from 0 to 1; defaults to 0.8 |
|
|
24
|
-
|
|
25
|
-
See [shared options and behavior](../README.md#shared-options-and-behavior) for client configuration, validation, and errors.
|
|
26
|
-
|
|
27
|
-
## Result
|
|
28
|
-
|
|
29
|
-
| Verdict | Meaning |
|
|
30
|
-
| ----------- | -------------------------------------------------------------------------- |
|
|
31
|
-
| `continues` | The message continues the same goal without a material change. |
|
|
32
|
-
| `refines` | The message adds or changes constraints while preserving the main outcome. |
|
|
33
|
-
| `replaces` | The message asks for a different outcome in place of the current goal. |
|
|
34
|
-
| `unclear` | The relationship to the current goal cannot be resolved. |
|
|
35
|
-
|
|
36
|
-
The result includes `verdict`, `confidence`, and all choice `probabilities`. `unclear` always requires review, even at high confidence. Other verdicts can be ready, including negative assessments.
|
|
37
|
-
|
|
38
|
-
Results include model and token usage. Decisions below `minConfidence` require review. Inspect the outcome as well as the status.
|
|
39
|
-
|
|
40
|
-
## Reuse and calls
|
|
41
|
-
|
|
42
|
-
Uses the shared choice helper for the Jev call and response parsing. This folder owns its question, verdict criteria, and review policy. A live invocation makes one logical Jev request; SDK retries can add transport attempts.
|
|
43
|
-
|
|
44
|
-
## Limits
|
|
45
|
-
|
|
46
|
-
Classifies a goal change. It does not rewrite the goal, alter a task queue, or measure exact requested limits.
|
|
47
|
-
|
|
48
|
-
## Example input
|
|
49
|
-
|
|
50
|
-
[demo.json](demo.json) contains editable input and a hand-authored response. After installing `jev-recipes`, `npx jev-recipes demo intent-change` shows the result offline. The fixture is an illustration, not an accuracy measurement. `npx jev-recipes describe intent-change` shows the input and result schemas.
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Assess reported issue impact
|
|
2
|
-
|
|
3
|
-
What practical impact does message explicitly describe? Use the customer's described ability to work, not emotional intensity or the volume of complaints.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { issueImpact } from 'jev-recipes/issue-impact';
|
|
7
|
-
|
|
8
|
-
const result = await issueImpact({
|
|
9
|
-
message: 'I cannot sign in, so I cannot access any of my reports.',
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
console.log(result.status, result.verdict);
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Input
|
|
16
|
-
|
|
17
|
-
| Field | Accepts |
|
|
18
|
-
| --------------- | -------------------------------------------- |
|
|
19
|
-
| `message` | Non-empty text |
|
|
20
|
-
| `context` | Optional non-empty text |
|
|
21
|
-
| `minConfidence` | Optional number from 0 to 1; defaults to 0.8 |
|
|
22
|
-
|
|
23
|
-
See [shared options and behavior](../README.md#shared-options-and-behavior) for client configuration, validation, and errors.
|
|
24
|
-
|
|
25
|
-
## Result
|
|
26
|
-
|
|
27
|
-
| Verdict | Meaning |
|
|
28
|
-
| ---------- | ----------------------------------------------------------------------------------------------------- |
|
|
29
|
-
| `blocked` | The customer reports being unable to perform the intended task with no described working alternative. |
|
|
30
|
-
| `degraded` | The task remains possible but with a meaningful limitation or workaround. |
|
|
31
|
-
| `cosmetic` | The reported problem concerns appearance without a described functional limitation. |
|
|
32
|
-
| `unclear` | The practical impact is not established by the supplied report. |
|
|
33
|
-
|
|
34
|
-
The result includes `verdict`, `confidence`, and all choice `probabilities`. `unclear` always requires review, even at high confidence. Other verdicts can be ready, including negative assessments.
|
|
35
|
-
|
|
36
|
-
Results include model and token usage. Decisions below `minConfidence` require review. Inspect the outcome as well as the status.
|
|
37
|
-
|
|
38
|
-
## Reuse and calls
|
|
39
|
-
|
|
40
|
-
Uses the shared choice helper for the Jev call and response parsing. This folder owns its question, verdict criteria, and review policy. A live invocation makes one logical Jev request; SDK retries can add transport attempts.
|
|
41
|
-
|
|
42
|
-
## Limits
|
|
43
|
-
|
|
44
|
-
Assesses reported impact, not verified system severity. Service commitments and escalation thresholds remain application rules.
|
|
45
|
-
|
|
46
|
-
## Example input
|
|
47
|
-
|
|
48
|
-
[demo.json](demo.json) contains editable input and a hand-authored response. After installing `jev-recipes`, `npx jev-recipes demo issue-impact` shows the result offline. The fixture is an illustration, not an accuracy measurement. `npx jev-recipes describe issue-impact` shows the input and result schemas.
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# Compare a new fact with memory
|
|
2
|
-
|
|
3
|
-
How does newFact relate to existingMemory? Choose updates only when a change or replacement is explicitly established, not merely because newFact was supplied later.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { memoryRelation } from 'jev-recipes/memory-relation';
|
|
7
|
-
|
|
8
|
-
const result = await memoryRelation({
|
|
9
|
-
existingMemory: 'The project uses npm.',
|
|
10
|
-
newFact: 'We have switched this project from npm to pnpm.',
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
console.log(result.status, result.verdict);
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Input
|
|
17
|
-
|
|
18
|
-
| Field | Accepts |
|
|
19
|
-
| ---------------- | -------------------------------------------- |
|
|
20
|
-
| `existingMemory` | Non-empty text |
|
|
21
|
-
| `newFact` | Non-empty text |
|
|
22
|
-
| `context` | Optional non-empty text |
|
|
23
|
-
| `minConfidence` | Optional number from 0 to 1; defaults to 0.8 |
|
|
24
|
-
|
|
25
|
-
See [shared options and behavior](../README.md#shared-options-and-behavior) for client configuration, validation, and errors.
|
|
26
|
-
|
|
27
|
-
## Result
|
|
28
|
-
|
|
29
|
-
| Verdict | Meaning |
|
|
30
|
-
| ------------- | ------------------------------------------------------------------------------------ |
|
|
31
|
-
| `repeats` | The new fact restates the existing meaning without a material addition. |
|
|
32
|
-
| `supplements` | The new fact adds compatible information while the existing memory still applies. |
|
|
33
|
-
| `updates` | The new fact explicitly changes or replaces the existing fact within the same scope. |
|
|
34
|
-
| `conflicts` | The facts are incompatible within the same scope without an established replacement. |
|
|
35
|
-
| `unrelated` | The facts concern unrelated subjects or scopes. |
|
|
36
|
-
| `unclear` | Their relationship cannot be resolved. |
|
|
37
|
-
|
|
38
|
-
The result includes `verdict`, `confidence`, and all choice `probabilities`. `unclear` always requires review, even at high confidence. Other verdicts can be ready, including negative assessments.
|
|
39
|
-
|
|
40
|
-
Results include model and token usage. Decisions below `minConfidence` require review. Inspect the outcome as well as the status.
|
|
41
|
-
|
|
42
|
-
## Reuse and calls
|
|
43
|
-
|
|
44
|
-
Uses the shared choice helper for the Jev call and response parsing. This folder owns its question, verdict criteria, and review policy. A live invocation makes one logical Jev request; SDK retries can add transport attempts.
|
|
45
|
-
|
|
46
|
-
## Limits
|
|
47
|
-
|
|
48
|
-
Compares two supplied facts. It does not select a memory to overwrite or resolve conflicts by timestamp alone.
|
|
49
|
-
|
|
50
|
-
## Example input
|
|
51
|
-
|
|
52
|
-
[demo.json](demo.json) contains editable input and a hand-authored response. After installing `jev-recipes`, `npx jev-recipes demo memory-relation` shows the result offline. The fixture is an illustration, not an accuracy measurement. `npx jev-recipes describe memory-relation` shows the input and result schemas.
|