jev-recipes 0.2.0 → 0.3.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 +8 -1
- package/README.md +62 -89
- 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/clarify.json +64 -0
- package/dist/catalog/generated/details/confirmation-match.json +40 -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-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/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/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 +68 -0
- package/dist/catalog/generated/metadata.d.ts +2 -0
- package/dist/catalog/generated/metadata.js +1115 -0
- package/dist/catalog/generated/names.d.ts +1 -0
- package/dist/catalog/generated/names.js +69 -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 +51 -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 +151 -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/clarify/schema.d.ts +3 -3
- package/dist/recipes/document-role/schema.d.ts +6 -6
- package/dist/recipes/evidence-conflict/schema.d.ts +3 -3
- 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/passage-duplicate/schema.d.ts +3 -3
- package/dist/recipes/preference-kind/schema.d.ts +3 -3
- package/dist/recipes/promise-check/schema.d.ts +3 -3
- package/dist/recipes/query-equivalence/schema.d.ts +3 -3
- 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/ticket-match/schema.d.ts +3 -3
- package/dist/recipes/turn-intent/schema.d.ts +12 -12
- package/dist/src/index.d.ts +117 -117
- package/dist/src/index.js +51 -50
- package/dist/src/schema.d.ts +5 -0
- package/dist/src/schema.js +2 -0
- package/package.json +200 -191
- 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,49 +0,0 @@
|
|
|
1
|
-
# Interpret a reported tool outcome
|
|
2
|
-
|
|
3
|
-
What outcome does result report for task? Judge only what the response claims. A success status for transport alone does not establish completion of the requested task.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { resultOutcome } from 'jev-recipes/result-outcome';
|
|
7
|
-
|
|
8
|
-
const result = await resultOutcome({
|
|
9
|
-
task: 'Export the customer report.',
|
|
10
|
-
result: 'The export could not be created because the account lacks export access.',
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
console.log(result.status, result.verdict);
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Input
|
|
17
|
-
|
|
18
|
-
| Field | Accepts |
|
|
19
|
-
| --------------- | -------------------------------------------- |
|
|
20
|
-
| `task` | Non-empty text |
|
|
21
|
-
| `result` | Non-empty text |
|
|
22
|
-
| `minConfidence` | Optional number from 0 to 1; defaults to 0.8 |
|
|
23
|
-
|
|
24
|
-
See [shared options and behavior](../README.md#shared-options-and-behavior) for client configuration, validation, and errors.
|
|
25
|
-
|
|
26
|
-
## Result
|
|
27
|
-
|
|
28
|
-
| Verdict | Meaning |
|
|
29
|
-
| ----------------- | ------------------------------------------------------------------------------------ |
|
|
30
|
-
| `success` | The response explicitly reports the full requested task completed. |
|
|
31
|
-
| `partial_success` | The response reports some requested work completed and some unfinished. |
|
|
32
|
-
| `failure` | The response explicitly reports the requested work failed or could not be performed. |
|
|
33
|
-
| `unclear` | The response does not establish a task outcome. |
|
|
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
|
-
Interprets a report; it does not independently confirm an external action occurred. Prefer structured result fields when available.
|
|
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 result-outcome` shows the result offline. The fixture is an illustration, not an accuracy measurement. `npx jev-recipes describe result-outcome` shows the input and result schemas.
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# Check tool result usefulness
|
|
2
|
-
|
|
3
|
-
Does result provide information useful for task? A response can be technically successful but contain no substantive information or information about a different task.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { resultUsefulness } from 'jev-recipes/result-usefulness';
|
|
7
|
-
|
|
8
|
-
const result = await resultUsefulness({
|
|
9
|
-
task: 'Find password reset instructions.',
|
|
10
|
-
result: 'Search completed successfully. No matching documents were found.',
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
console.log(result.status, result.verdict);
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Input
|
|
17
|
-
|
|
18
|
-
| Field | Accepts |
|
|
19
|
-
| --------------- | -------------------------------------------- |
|
|
20
|
-
| `task` | Non-empty text |
|
|
21
|
-
| `result` | Non-empty text |
|
|
22
|
-
| `minConfidence` | Optional number from 0 to 1; defaults to 0.8 |
|
|
23
|
-
|
|
24
|
-
See [shared options and behavior](../README.md#shared-options-and-behavior) for client configuration, validation, and errors.
|
|
25
|
-
|
|
26
|
-
## Result
|
|
27
|
-
|
|
28
|
-
| Verdict | Meaning |
|
|
29
|
-
| ----------------------- | --------------------------------------------------------------------------------- |
|
|
30
|
-
| `useful` | The response contains substantive information useful for the task. |
|
|
31
|
-
| `no_useful_information` | The response reports no results, an inability to help, or only empty boilerplate. |
|
|
32
|
-
| `irrelevant` | The response contains substantive information about a different task or subject. |
|
|
33
|
-
| `unclear` | The response cannot be interpreted well enough to assess usefulness. |
|
|
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
|
-
Assesses response content, not transport success or source truth. Handle empty bodies and status codes in code.
|
|
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 result-usefulness` shows the result offline. The fixture is an illustration, not an accuracy measurement. `npx jev-recipes describe result-usefulness` shows the input and result schemas.
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Check whether retrieval is needed
|
|
2
|
-
|
|
3
|
-
Does request require facts beyond context? A request to transform or summarize supplied material does not need outside facts unless the request explicitly asks for them.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { retrievalNeeded } from 'jev-recipes/retrieval-needed';
|
|
7
|
-
|
|
8
|
-
const result = await retrievalNeeded({
|
|
9
|
-
request: 'Summarize this policy in one sentence.',
|
|
10
|
-
context: 'Customers may cancel their subscription from Account settings.',
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
console.log(result.status, result.verdict);
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Input
|
|
17
|
-
|
|
18
|
-
| Field | Accepts |
|
|
19
|
-
| --------------- | -------------------------------------------- |
|
|
20
|
-
| `request` | Non-empty text |
|
|
21
|
-
| `context` | Non-empty text |
|
|
22
|
-
| `minConfidence` | Optional number from 0 to 1; defaults to 0.8 |
|
|
23
|
-
|
|
24
|
-
See [shared options and behavior](../README.md#shared-options-and-behavior) for client configuration, validation, and errors.
|
|
25
|
-
|
|
26
|
-
## Result
|
|
27
|
-
|
|
28
|
-
| Verdict | Meaning |
|
|
29
|
-
| ------------- | ----------------------------------------------------------------------------- |
|
|
30
|
-
| `needed` | Answering the request requires information missing from the supplied context. |
|
|
31
|
-
| `unnecessary` | The requested work can be completed using only the supplied context. |
|
|
32
|
-
| `unclear` | The request is too ambiguous to establish its information needs. |
|
|
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 information needs without searching. A no-retrieval decision does not establish source truth.
|
|
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 retrieval-needed` shows the result offline. The fixture is an illustration, not an accuracy measurement. `npx jev-recipes describe retrieval-needed` shows the input and result schemas.
|
package/recipes/route/README.md
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# Route a request
|
|
2
|
-
|
|
3
|
-
Choose a handler from the routes you supply. The recipe returns the selection; your application runs the handler.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { route } from 'jev-recipes/route';
|
|
7
|
-
|
|
8
|
-
const result = await route({
|
|
9
|
-
request: 'I was charged twice.',
|
|
10
|
-
routes: {
|
|
11
|
-
billing: 'Payments, invoices, subscriptions, and refunds',
|
|
12
|
-
technical: 'Errors, outages, and broken integrations',
|
|
13
|
-
},
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
console.log(result.route);
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Input
|
|
20
|
-
|
|
21
|
-
| Field | Accepts |
|
|
22
|
-
| --------------- | ------------------------------------------------------------------------- |
|
|
23
|
-
| `request` | Non-empty text describing the request |
|
|
24
|
-
| `routes` | 1 to 254 non-empty route names and descriptions; `__review__` is reserved |
|
|
25
|
-
| `minConfidence` | Optional number from 0 to 1; defaults to 0.8 |
|
|
26
|
-
|
|
27
|
-
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.
|
|
28
|
-
|
|
29
|
-
## Result
|
|
30
|
-
|
|
31
|
-
A confident selection returns `status: "ready"` and the route name in `route`. A low-confidence result or the reserved `__review__` choice returns `status: "review"` and a null `route`.
|
|
32
|
-
|
|
33
|
-
`suggestedRoute` preserves a low-confidence suggestion. It is null when no route is selected. `confidence` and `probabilities` describe the model decision, including the `__review__` option.
|
|
34
|
-
|
|
35
|
-
The result includes model and token usage. Inspect the outcome as well as its review status.
|
|
36
|
-
|
|
37
|
-
## Reuse and calls
|
|
38
|
-
|
|
39
|
-
Uses the shared choice helper. This folder owns the routing question, route criteria, and review policy. A live invocation makes one logical Jev request; SDK retries can add transport attempts.
|
|
40
|
-
|
|
41
|
-
## Limits
|
|
42
|
-
|
|
43
|
-
Routes with overlapping descriptions can be difficult to distinguish. Describe their responsibilities clearly. Routing does not execute handlers or establish permission to act.
|
|
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 route` shows an offline illustration, not an accuracy measurement. Use `npx jev-recipes describe route` to inspect the input and result schemas.
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Check source applicability
|
|
2
|
-
|
|
3
|
-
Does the scope described in passage apply to scenario? Distinguish applicable information from information about another product, environment, role, or condition.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { sourceApplicability } from 'jev-recipes/source-applicability';
|
|
7
|
-
|
|
8
|
-
const result = await sourceApplicability({
|
|
9
|
-
passage: 'Workspace owners can delete the workspace. These instructions are for owners only.',
|
|
10
|
-
scenario: 'A workspace guest wants to delete the workspace.',
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
console.log(result.status, result.verdict);
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Input
|
|
17
|
-
|
|
18
|
-
| Field | Accepts |
|
|
19
|
-
| --------------- | -------------------------------------------- |
|
|
20
|
-
| `passage` | Non-empty text |
|
|
21
|
-
| `scenario` | Non-empty text |
|
|
22
|
-
| `minConfidence` | Optional number from 0 to 1; defaults to 0.8 |
|
|
23
|
-
|
|
24
|
-
See [shared options and behavior](../README.md#shared-options-and-behavior) for client configuration, validation, and errors.
|
|
25
|
-
|
|
26
|
-
## Result
|
|
27
|
-
|
|
28
|
-
| Verdict | Meaning |
|
|
29
|
-
| ---------------- | ----------------------------------------------------------------------- |
|
|
30
|
-
| `applies` | The passage explicitly covers or unambiguously applies to the scenario. |
|
|
31
|
-
| `does_not_apply` | The passage is scoped to incompatible circumstances. |
|
|
32
|
-
| `unclear` | Required scope information is missing or ambiguous. |
|
|
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 semantic scope. Enforce tenant, access, exact version, and region constraints in application code.
|
|
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 source-applicability` shows the result offline. The fixture is an illustration, not an accuracy measurement. `npx jev-recipes describe source-applicability` shows the input and result schemas.
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Check one completion condition
|
|
2
|
-
|
|
3
|
-
Does evidence establish that condition has been met? A plan, attempted action, or unsupported assertion of completion is not enough unless the condition specifically concerns that report.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { stepComplete } from 'jev-recipes/step-complete';
|
|
7
|
-
|
|
8
|
-
const result = await stepComplete({
|
|
9
|
-
condition: 'The customer has received a reset email.',
|
|
10
|
-
evidence: 'A reset email was queued for delivery. Delivery has not been confirmed.',
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
console.log(result.status, result.verdict);
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Input
|
|
17
|
-
|
|
18
|
-
| Field | Accepts |
|
|
19
|
-
| --------------- | -------------------------------------------- |
|
|
20
|
-
| `condition` | Non-empty text |
|
|
21
|
-
| `evidence` | Non-empty text |
|
|
22
|
-
| `minConfidence` | Optional number from 0 to 1; defaults to 0.8 |
|
|
23
|
-
|
|
24
|
-
See [shared options and behavior](../README.md#shared-options-and-behavior) for client configuration, validation, and errors.
|
|
25
|
-
|
|
26
|
-
## Result
|
|
27
|
-
|
|
28
|
-
| Verdict | Meaning |
|
|
29
|
-
| --------- | ------------------------------------------------------------------- |
|
|
30
|
-
| `met` | The evidence establishes the full condition is satisfied. |
|
|
31
|
-
| `unmet` | The evidence establishes the condition is not fully satisfied. |
|
|
32
|
-
| `unclear` | The evidence does not establish whether the condition is satisfied. |
|
|
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 supplied evidence for one condition. Use exact system state checks when the condition can be determined in code.
|
|
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 step-complete` shows the result offline. The fixture is an illustration, not an accuracy measurement. `npx jev-recipes describe step-complete` shows the input and result schemas.
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# Check step progress
|
|
2
|
-
|
|
3
|
-
How does observation change progress toward objective relative to previousState? Base the decision on observed information or achieved conditions, not an unsupported claim of progress.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { stepProgress } from 'jev-recipes/step-progress';
|
|
7
|
-
|
|
8
|
-
const result = await stepProgress({
|
|
9
|
-
objective: 'Find the password reset documentation.',
|
|
10
|
-
previousState: 'No relevant page has been identified.',
|
|
11
|
-
observation: 'The search returned the official password reset guide.',
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
console.log(result.status, result.verdict);
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## Input
|
|
18
|
-
|
|
19
|
-
| Field | Accepts |
|
|
20
|
-
| --------------- | -------------------------------------------- |
|
|
21
|
-
| `objective` | Non-empty text |
|
|
22
|
-
| `previousState` | Non-empty text |
|
|
23
|
-
| `observation` | Non-empty text |
|
|
24
|
-
| `minConfidence` | Optional number from 0 to 1; defaults to 0.8 |
|
|
25
|
-
|
|
26
|
-
See [shared options and behavior](../README.md#shared-options-and-behavior) for client configuration, validation, and errors.
|
|
27
|
-
|
|
28
|
-
## Result
|
|
29
|
-
|
|
30
|
-
| Verdict | Meaning |
|
|
31
|
-
| ------------- | ---------------------------------------------------------------------------------------------- |
|
|
32
|
-
| `progress` | The observation establishes a useful new fact or achieved condition toward the objective. |
|
|
33
|
-
| `no_progress` | The observation leaves the relevant state essentially unchanged. |
|
|
34
|
-
| `setback` | The observation establishes loss of previously achieved progress or a worsened relevant state. |
|
|
35
|
-
| `unclear` | The change in progress cannot be determined. |
|
|
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
|
-
Compares one observation with a supplied prior state. It does not measure elapsed time or schedule the next step.
|
|
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 step-progress` shows the result offline. The fixture is an illustration, not an accuracy measurement. `npx jev-recipes describe step-progress` shows the input and result schemas.
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
# Check summary coverage
|
|
2
|
-
|
|
3
|
-
Check whether a summary preserves each supplied point.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { summaryCoverage } from 'jev-recipes/summary-coverage';
|
|
7
|
-
|
|
8
|
-
const result = await summaryCoverage({
|
|
9
|
-
summary: 'We agreed to keep the API unchanged.',
|
|
10
|
-
points: [
|
|
11
|
-
{
|
|
12
|
-
id: 'api',
|
|
13
|
-
text: 'Keep the public API unchanged.',
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
id: 'docs',
|
|
17
|
-
text: 'Update the installation instructions.',
|
|
18
|
-
},
|
|
19
|
-
],
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
console.log(result.status, result.checks);
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## Input
|
|
26
|
-
|
|
27
|
-
| Field | Accepts |
|
|
28
|
-
| --------------- | -------------------------------------------- |
|
|
29
|
-
| `summary` | Non-empty text |
|
|
30
|
-
| `points` | 1 to 50 `{ id, text }` items with unique IDs |
|
|
31
|
-
| `minConfidence` | Optional number from 0 to 1; defaults to 0.8 |
|
|
32
|
-
|
|
33
|
-
See [shared options and behavior](../README.md#shared-options-and-behavior) for client configuration, validation, and errors.
|
|
34
|
-
|
|
35
|
-
## Result
|
|
36
|
-
|
|
37
|
-
`checks` contains the original ID, verdict, status, confidence, and probabilities for each item. `allPreserved` is true only when every check is ready and has verdict `preserved`. Any uncertain check makes overall status `review`.
|
|
38
|
-
|
|
39
|
-
| Verdict | Meaning |
|
|
40
|
-
| ----------- | ------------------------------------------------------------------------ |
|
|
41
|
-
| `preserved` | The full material meaning of this point is retained. |
|
|
42
|
-
| `partial` | Some meaning is retained but a material detail or constraint is missing. |
|
|
43
|
-
| `missing` | This point is absent or its meaning is reversed. |
|
|
44
|
-
| `unclear` | The summary is too ambiguous to establish coverage. |
|
|
45
|
-
|
|
46
|
-
`unclear` always requires review, even at high confidence. Other verdicts can be ready, including negative assessments.
|
|
47
|
-
|
|
48
|
-
Results include model and token usage. Decisions below `minConfidence` require review. Inspect the outcome as well as the status.
|
|
49
|
-
|
|
50
|
-
## Reuse and calls
|
|
51
|
-
|
|
52
|
-
Uses the shared item-check helper. This folder owns its question, verdict criteria, and aggregate decision. A live invocation makes one logical Jev request; SDK retries can add transport attempts. All item questions are sent in that request.
|
|
53
|
-
|
|
54
|
-
## Limits
|
|
55
|
-
|
|
56
|
-
Checks the points you supply. It does not select important points from a transcript or detect unrelated invented statements.
|
|
57
|
-
|
|
58
|
-
## Example input
|
|
59
|
-
|
|
60
|
-
[demo.json](demo.json) contains editable input and a hand-authored response. After installing `jev-recipes`, `npx jev-recipes demo summary-coverage` shows the result offline. The fixture is an illustration, not an accuracy measurement. `npx jev-recipes describe summary-coverage` shows the input and result schemas.
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# Compare support tickets
|
|
2
|
-
|
|
3
|
-
Do firstTicket and secondTicket describe the same underlying reported issue? Similar symptoms alone establish relatedness, not identity. Use only supplied links between the reports.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { ticketMatch } from 'jev-recipes/ticket-match';
|
|
7
|
-
|
|
8
|
-
const result = await ticketMatch({
|
|
9
|
-
firstTicket: 'My workspace export fails with error EXPORT_TIMEOUT.',
|
|
10
|
-
secondTicket: 'Exports also time out with EXPORT_TIMEOUT in another workspace.',
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
console.log(result.status, result.verdict);
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Input
|
|
17
|
-
|
|
18
|
-
| Field | Accepts |
|
|
19
|
-
| --------------- | -------------------------------------------- |
|
|
20
|
-
| `firstTicket` | Non-empty text |
|
|
21
|
-
| `secondTicket` | 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
|
-
| `same_issue` | The reports contain enough shared identifying context to establish the same issue. |
|
|
32
|
-
| `related` | The reports share symptoms or a subject but do not establish the same issue. |
|
|
33
|
-
| `different` | The reports describe materially different issues. |
|
|
34
|
-
| `unclear` | The descriptions are insufficient to establish even their relationship. |
|
|
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
|
-
Does not merge tickets or establish a shared root cause from similar symptoms alone. Compare exact identifiers in code.
|
|
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 ticket-match` shows the result offline. The fixture is an illustration, not an accuracy measurement. `npx jev-recipes describe ticket-match` shows the input and result schemas.
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
# Check writing criteria
|
|
2
|
-
|
|
3
|
-
Check a draft against each supplied writing criterion.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { toneCheck } from 'jev-recipes/tone-check';
|
|
7
|
-
|
|
8
|
-
const result = await toneCheck({
|
|
9
|
-
draft: 'You caused this problem. Read the manual.',
|
|
10
|
-
criteria: [
|
|
11
|
-
{
|
|
12
|
-
id: 'blame',
|
|
13
|
-
text: 'Avoid blaming the customer.',
|
|
14
|
-
},
|
|
15
|
-
],
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
console.log(result.status, result.checks);
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## Input
|
|
22
|
-
|
|
23
|
-
| Field | Accepts |
|
|
24
|
-
| --------------- | -------------------------------------------- |
|
|
25
|
-
| `draft` | Non-empty text |
|
|
26
|
-
| `criteria` | 1 to 50 `{ id, text }` items with unique IDs |
|
|
27
|
-
| `minConfidence` | Optional number from 0 to 1; defaults to 0.8 |
|
|
28
|
-
|
|
29
|
-
See [shared options and behavior](../README.md#shared-options-and-behavior) for client configuration, validation, and errors.
|
|
30
|
-
|
|
31
|
-
## Result
|
|
32
|
-
|
|
33
|
-
`checks` contains the original ID, verdict, status, confidence, and probabilities for each item. `allPassed` is true only when every check is ready and has verdict `pass`. Any uncertain check makes overall status `review`.
|
|
34
|
-
|
|
35
|
-
| Verdict | Meaning |
|
|
36
|
-
| --------- | ---------------------------------------------------- |
|
|
37
|
-
| `pass` | The wording satisfies this criterion. |
|
|
38
|
-
| `fail` | The wording violates this criterion. |
|
|
39
|
-
| `unclear` | The criterion or wording is too ambiguous to assess. |
|
|
40
|
-
|
|
41
|
-
`unclear` always requires review, even at high confidence. Other verdicts can be ready, including negative assessments.
|
|
42
|
-
|
|
43
|
-
Results include model and token usage. Decisions below `minConfidence` require review. Inspect the outcome as well as the status.
|
|
44
|
-
|
|
45
|
-
## Reuse and calls
|
|
46
|
-
|
|
47
|
-
Uses the shared item-check helper. This folder owns its question, verdict criteria, and aggregate decision. A live invocation makes one logical Jev request; SDK retries can add transport attempts. All item questions are sent in that request.
|
|
48
|
-
|
|
49
|
-
## Limits
|
|
50
|
-
|
|
51
|
-
Checks supplied writing criteria. It does not rewrite text, determine factual accuracy, or check exact character counts.
|
|
52
|
-
|
|
53
|
-
## Example input
|
|
54
|
-
|
|
55
|
-
[demo.json](demo.json) contains editable input and a hand-authored response. After installing `jev-recipes`, `npx jev-recipes demo tone-check` shows the result offline. The fixture is an illustration, not an accuracy measurement. `npx jev-recipes describe tone-check` shows the input and result schemas.
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# Check a tool fit
|
|
2
|
-
|
|
3
|
-
Can the capabilities explicitly described in tool perform task? Do not assume capabilities that are not described. Capability fit is separate from permission to invoke the tool.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { toolFit } from 'jev-recipes/tool-fit';
|
|
7
|
-
|
|
8
|
-
const result = await toolFit({
|
|
9
|
-
task: 'Read the current incident status.',
|
|
10
|
-
tool: 'Status reader: retrieves active incidents. It cannot create or modify incidents.',
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
console.log(result.status, result.verdict);
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Input
|
|
17
|
-
|
|
18
|
-
| Field | Accepts |
|
|
19
|
-
| --------------- | -------------------------------------------- |
|
|
20
|
-
| `task` | Non-empty text |
|
|
21
|
-
| `tool` | 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
|
-
| `fits` | The described capabilities can perform the requested task. |
|
|
32
|
-
| `does_not_fit` | The described capabilities do not cover the task or explicitly exclude it. |
|
|
33
|
-
| `unclear` | The capability description lacks facts needed to decide. |
|
|
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
|
-
Assesses a supplied capability description. It does not discover tools, validate credentials, or grant permission.
|
|
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 tool-fit` shows the result offline. The fixture is an illustration, not an accuracy measurement. `npx jev-recipes describe tool-fit` shows the input and result schemas.
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# Detect a topic shift
|
|
2
|
-
|
|
3
|
-
Does message stay with currentTopic, introduce a different topic, or contain both? A new detail within the same subject is not automatically a new topic.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { topicShift } from 'jev-recipes/topic-shift';
|
|
7
|
-
|
|
8
|
-
const result = await topicShift({
|
|
9
|
-
currentTopic: 'Resetting a password.',
|
|
10
|
-
message: 'Also, where can I download my invoices?',
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
console.log(result.status, result.verdict);
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Input
|
|
17
|
-
|
|
18
|
-
| Field | Accepts |
|
|
19
|
-
| --------------- | -------------------------------------------- |
|
|
20
|
-
| `currentTopic` | 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
|
-
| `same_topic` | The message remains within the current subject. |
|
|
32
|
-
| `new_topic` | The message moves to a different subject. |
|
|
33
|
-
| `mixed` | The message substantively addresses both the current and a new subject. |
|
|
34
|
-
| `unclear` | The subject relationship 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
|
-
Compares one message with a supplied topic. It does not generate topic labels or split conversation threads.
|
|
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 topic-shift` shows the result offline. The fixture is an illustration, not an accuracy measurement. `npx jev-recipes describe topic-shift` shows the input and result schemas.
|