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
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"inputSchema": {
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"firstTicket": { "type": "string" },
|
|
7
|
+
"secondTicket": { "type": "string" },
|
|
8
|
+
"context": { "type": "string" },
|
|
9
|
+
"minConfidence": { "type": "number", "minimum": 0, "maximum": 1 }
|
|
10
|
+
},
|
|
11
|
+
"required": ["firstTicket", "secondTicket"]
|
|
12
|
+
},
|
|
13
|
+
"resultSchema": {
|
|
14
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"model": { "type": "string" },
|
|
18
|
+
"usage": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"properties": {
|
|
21
|
+
"input_tokens": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 },
|
|
22
|
+
"output_tokens": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 }
|
|
23
|
+
},
|
|
24
|
+
"required": ["input_tokens", "output_tokens"],
|
|
25
|
+
"additionalProperties": false
|
|
26
|
+
},
|
|
27
|
+
"status": { "type": "string", "enum": ["ready", "review"] },
|
|
28
|
+
"verdict": { "type": "string", "enum": ["same_issue", "related", "different", "unclear"] },
|
|
29
|
+
"confidence": { "type": "number", "minimum": 0, "maximum": 1 },
|
|
30
|
+
"probabilities": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"propertyNames": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"enum": ["same_issue", "related", "different", "unclear"]
|
|
35
|
+
},
|
|
36
|
+
"additionalProperties": { "type": "number", "minimum": 0, "maximum": 1 },
|
|
37
|
+
"required": ["same_issue", "related", "different", "unclear"]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": ["model", "usage", "status", "verdict", "confidence", "probabilities"],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"inputSchema": {
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"draft": { "type": "string" },
|
|
7
|
+
"criteria": {
|
|
8
|
+
"minItems": 1,
|
|
9
|
+
"maxItems": 50,
|
|
10
|
+
"type": "array",
|
|
11
|
+
"items": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": { "id": { "type": "string" }, "text": { "type": "string" } },
|
|
14
|
+
"required": ["id", "text"]
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"minConfidence": { "type": "number", "minimum": 0, "maximum": 1 }
|
|
18
|
+
},
|
|
19
|
+
"required": ["draft", "criteria"]
|
|
20
|
+
},
|
|
21
|
+
"resultSchema": {
|
|
22
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
23
|
+
"type": "object",
|
|
24
|
+
"properties": {
|
|
25
|
+
"model": { "type": "string" },
|
|
26
|
+
"usage": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"properties": {
|
|
29
|
+
"input_tokens": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 },
|
|
30
|
+
"output_tokens": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 }
|
|
31
|
+
},
|
|
32
|
+
"required": ["input_tokens", "output_tokens"],
|
|
33
|
+
"additionalProperties": false
|
|
34
|
+
},
|
|
35
|
+
"status": { "type": "string", "enum": ["ready", "review"] },
|
|
36
|
+
"allPassed": { "type": "boolean" },
|
|
37
|
+
"checks": {
|
|
38
|
+
"minItems": 1,
|
|
39
|
+
"maxItems": 50,
|
|
40
|
+
"type": "array",
|
|
41
|
+
"items": {
|
|
42
|
+
"type": "object",
|
|
43
|
+
"properties": {
|
|
44
|
+
"id": { "type": "string" },
|
|
45
|
+
"status": { "type": "string", "enum": ["ready", "review"] },
|
|
46
|
+
"verdict": { "type": "string", "enum": ["pass", "fail", "unclear"] },
|
|
47
|
+
"confidence": { "type": "number", "minimum": 0, "maximum": 1 },
|
|
48
|
+
"probabilities": {
|
|
49
|
+
"type": "object",
|
|
50
|
+
"propertyNames": { "type": "string", "enum": ["pass", "fail", "unclear"] },
|
|
51
|
+
"additionalProperties": { "type": "number", "minimum": 0, "maximum": 1 },
|
|
52
|
+
"required": ["pass", "fail", "unclear"]
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"required": ["id", "status", "verdict", "confidence", "probabilities"],
|
|
56
|
+
"additionalProperties": false
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"required": ["model", "usage", "status", "allPassed", "checks"],
|
|
61
|
+
"additionalProperties": false
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"inputSchema": {
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"task": { "type": "string" },
|
|
7
|
+
"tool": { "type": "string" },
|
|
8
|
+
"context": { "type": "string" },
|
|
9
|
+
"minConfidence": { "type": "number", "minimum": 0, "maximum": 1 }
|
|
10
|
+
},
|
|
11
|
+
"required": ["task", "tool"]
|
|
12
|
+
},
|
|
13
|
+
"resultSchema": {
|
|
14
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"model": { "type": "string" },
|
|
18
|
+
"usage": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"properties": {
|
|
21
|
+
"input_tokens": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 },
|
|
22
|
+
"output_tokens": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 }
|
|
23
|
+
},
|
|
24
|
+
"required": ["input_tokens", "output_tokens"],
|
|
25
|
+
"additionalProperties": false
|
|
26
|
+
},
|
|
27
|
+
"status": { "type": "string", "enum": ["ready", "review"] },
|
|
28
|
+
"verdict": { "type": "string", "enum": ["fits", "does_not_fit", "unclear"] },
|
|
29
|
+
"confidence": { "type": "number", "minimum": 0, "maximum": 1 },
|
|
30
|
+
"probabilities": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"propertyNames": { "type": "string", "enum": ["fits", "does_not_fit", "unclear"] },
|
|
33
|
+
"additionalProperties": { "type": "number", "minimum": 0, "maximum": 1 },
|
|
34
|
+
"required": ["fits", "does_not_fit", "unclear"]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"required": ["model", "usage", "status", "verdict", "confidence", "probabilities"],
|
|
38
|
+
"additionalProperties": false
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"inputSchema": {
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"currentTopic": { "type": "string" },
|
|
7
|
+
"message": { "type": "string" },
|
|
8
|
+
"context": { "type": "string" },
|
|
9
|
+
"minConfidence": { "type": "number", "minimum": 0, "maximum": 1 }
|
|
10
|
+
},
|
|
11
|
+
"required": ["currentTopic", "message"]
|
|
12
|
+
},
|
|
13
|
+
"resultSchema": {
|
|
14
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"model": { "type": "string" },
|
|
18
|
+
"usage": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"properties": {
|
|
21
|
+
"input_tokens": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 },
|
|
22
|
+
"output_tokens": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 }
|
|
23
|
+
},
|
|
24
|
+
"required": ["input_tokens", "output_tokens"],
|
|
25
|
+
"additionalProperties": false
|
|
26
|
+
},
|
|
27
|
+
"status": { "type": "string", "enum": ["ready", "review"] },
|
|
28
|
+
"verdict": { "type": "string", "enum": ["same_topic", "new_topic", "mixed", "unclear"] },
|
|
29
|
+
"confidence": { "type": "number", "minimum": 0, "maximum": 1 },
|
|
30
|
+
"probabilities": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"propertyNames": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"enum": ["same_topic", "new_topic", "mixed", "unclear"]
|
|
35
|
+
},
|
|
36
|
+
"additionalProperties": { "type": "number", "minimum": 0, "maximum": 1 },
|
|
37
|
+
"required": ["same_topic", "new_topic", "mixed", "unclear"]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": ["model", "usage", "status", "verdict", "confidence", "probabilities"],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"inputSchema": {
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"symptoms": { "type": "string" },
|
|
7
|
+
"procedure": { "type": "string" },
|
|
8
|
+
"context": { "type": "string" },
|
|
9
|
+
"minConfidence": { "type": "number", "minimum": 0, "maximum": 1 }
|
|
10
|
+
},
|
|
11
|
+
"required": ["symptoms", "procedure"]
|
|
12
|
+
},
|
|
13
|
+
"resultSchema": {
|
|
14
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"model": { "type": "string" },
|
|
18
|
+
"usage": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"properties": {
|
|
21
|
+
"input_tokens": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 },
|
|
22
|
+
"output_tokens": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 }
|
|
23
|
+
},
|
|
24
|
+
"required": ["input_tokens", "output_tokens"],
|
|
25
|
+
"additionalProperties": false
|
|
26
|
+
},
|
|
27
|
+
"status": { "type": "string", "enum": ["ready", "review"] },
|
|
28
|
+
"verdict": { "type": "string", "enum": ["applicable", "unsuitable", "unclear"] },
|
|
29
|
+
"confidence": { "type": "number", "minimum": 0, "maximum": 1 },
|
|
30
|
+
"probabilities": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"propertyNames": { "type": "string", "enum": ["applicable", "unsuitable", "unclear"] },
|
|
33
|
+
"additionalProperties": { "type": "number", "minimum": 0, "maximum": 1 },
|
|
34
|
+
"required": ["applicable", "unsuitable", "unclear"]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"required": ["model", "usage", "status", "verdict", "confidence", "probabilities"],
|
|
38
|
+
"additionalProperties": false
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"inputSchema": {
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"message": { "type": "string" },
|
|
7
|
+
"context": { "type": "string" },
|
|
8
|
+
"minConfidence": { "type": "number", "minimum": 0, "maximum": 1 }
|
|
9
|
+
},
|
|
10
|
+
"required": ["message"]
|
|
11
|
+
},
|
|
12
|
+
"resultSchema": {
|
|
13
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"model": { "type": "string" },
|
|
17
|
+
"usage": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"properties": {
|
|
20
|
+
"input_tokens": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 },
|
|
21
|
+
"output_tokens": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 }
|
|
22
|
+
},
|
|
23
|
+
"required": ["input_tokens", "output_tokens"],
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
},
|
|
26
|
+
"status": { "type": "string", "enum": ["ready", "review"] },
|
|
27
|
+
"verdict": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"enum": [
|
|
30
|
+
"request",
|
|
31
|
+
"answer",
|
|
32
|
+
"correction",
|
|
33
|
+
"cancellation",
|
|
34
|
+
"acknowledgment",
|
|
35
|
+
"other",
|
|
36
|
+
"unclear"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"confidence": { "type": "number", "minimum": 0, "maximum": 1 },
|
|
40
|
+
"probabilities": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"propertyNames": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"enum": [
|
|
45
|
+
"request",
|
|
46
|
+
"answer",
|
|
47
|
+
"correction",
|
|
48
|
+
"cancellation",
|
|
49
|
+
"acknowledgment",
|
|
50
|
+
"other",
|
|
51
|
+
"unclear"
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
"additionalProperties": { "type": "number", "minimum": 0, "maximum": 1 },
|
|
55
|
+
"required": [
|
|
56
|
+
"request",
|
|
57
|
+
"answer",
|
|
58
|
+
"correction",
|
|
59
|
+
"cancellation",
|
|
60
|
+
"acknowledgment",
|
|
61
|
+
"other",
|
|
62
|
+
"unclear"
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"required": ["model", "usage", "status", "verdict", "confidence", "probabilities"],
|
|
67
|
+
"additionalProperties": false
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"inputSchema": {
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"message": { "type": "string" },
|
|
7
|
+
"context": { "type": "string" },
|
|
8
|
+
"minConfidence": { "type": "number", "minimum": 0, "maximum": 1 }
|
|
9
|
+
},
|
|
10
|
+
"required": ["message"]
|
|
11
|
+
},
|
|
12
|
+
"resultSchema": {
|
|
13
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"model": { "type": "string" },
|
|
17
|
+
"usage": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"properties": {
|
|
20
|
+
"input_tokens": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 },
|
|
21
|
+
"output_tokens": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 }
|
|
22
|
+
},
|
|
23
|
+
"required": ["input_tokens", "output_tokens"],
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
},
|
|
26
|
+
"status": { "type": "string", "enum": ["ready", "review"] },
|
|
27
|
+
"verdict": { "type": "string", "enum": ["expressed", "not_expressed", "unclear"] },
|
|
28
|
+
"confidence": { "type": "number", "minimum": 0, "maximum": 1 },
|
|
29
|
+
"probabilities": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"propertyNames": { "type": "string", "enum": ["expressed", "not_expressed", "unclear"] },
|
|
32
|
+
"additionalProperties": { "type": "number", "minimum": 0, "maximum": 1 },
|
|
33
|
+
"required": ["expressed", "not_expressed", "unclear"]
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": ["model", "usage", "status", "verdict", "confidence", "probabilities"],
|
|
37
|
+
"additionalProperties": false
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"inputSchema": {
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"claims": {
|
|
7
|
+
"minItems": 1,
|
|
8
|
+
"maxItems": 100,
|
|
9
|
+
"type": "array",
|
|
10
|
+
"items": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"id": { "type": "string" },
|
|
14
|
+
"claim": { "type": "string" },
|
|
15
|
+
"evidence": { "type": "string" }
|
|
16
|
+
},
|
|
17
|
+
"required": ["id", "claim", "evidence"]
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"minConfidence": { "type": "number", "minimum": 0, "maximum": 1 }
|
|
21
|
+
},
|
|
22
|
+
"required": ["claims"]
|
|
23
|
+
},
|
|
24
|
+
"resultSchema": {
|
|
25
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
26
|
+
"type": "object",
|
|
27
|
+
"properties": {
|
|
28
|
+
"model": { "type": "string" },
|
|
29
|
+
"usage": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"properties": {
|
|
32
|
+
"input_tokens": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 },
|
|
33
|
+
"output_tokens": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 }
|
|
34
|
+
},
|
|
35
|
+
"required": ["input_tokens", "output_tokens"],
|
|
36
|
+
"additionalProperties": false
|
|
37
|
+
},
|
|
38
|
+
"checks": {
|
|
39
|
+
"type": "array",
|
|
40
|
+
"items": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"properties": {
|
|
43
|
+
"id": { "type": "string" },
|
|
44
|
+
"status": { "type": "string", "enum": ["ready", "review"] },
|
|
45
|
+
"verdict": { "type": "string", "enum": ["supported", "contradicted", "unsupported"] },
|
|
46
|
+
"confidence": { "type": "number", "minimum": 0, "maximum": 1 },
|
|
47
|
+
"probabilities": {
|
|
48
|
+
"type": "object",
|
|
49
|
+
"propertyNames": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"enum": ["supported", "contradicted", "unsupported"]
|
|
52
|
+
},
|
|
53
|
+
"additionalProperties": { "type": "number", "minimum": 0, "maximum": 1 },
|
|
54
|
+
"required": ["supported", "contradicted", "unsupported"]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"required": ["id", "status", "verdict", "confidence", "probabilities"],
|
|
58
|
+
"additionalProperties": false
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"allSupported": { "type": "boolean" }
|
|
62
|
+
},
|
|
63
|
+
"required": ["model", "usage", "checks", "allSupported"],
|
|
64
|
+
"additionalProperties": false
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"inputSchema": {
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"issue": { "type": "string" },
|
|
7
|
+
"workaround": { "type": "string" },
|
|
8
|
+
"constraints": { "type": "string" },
|
|
9
|
+
"minConfidence": { "type": "number", "minimum": 0, "maximum": 1 }
|
|
10
|
+
},
|
|
11
|
+
"required": ["issue", "workaround", "constraints"]
|
|
12
|
+
},
|
|
13
|
+
"resultSchema": {
|
|
14
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"model": { "type": "string" },
|
|
18
|
+
"usage": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"properties": {
|
|
21
|
+
"input_tokens": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 },
|
|
22
|
+
"output_tokens": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 }
|
|
23
|
+
},
|
|
24
|
+
"required": ["input_tokens", "output_tokens"],
|
|
25
|
+
"additionalProperties": false
|
|
26
|
+
},
|
|
27
|
+
"status": { "type": "string", "enum": ["ready", "review"] },
|
|
28
|
+
"verdict": { "type": "string", "enum": ["fits", "conflicts", "unclear"] },
|
|
29
|
+
"confidence": { "type": "number", "minimum": 0, "maximum": 1 },
|
|
30
|
+
"probabilities": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"propertyNames": { "type": "string", "enum": ["fits", "conflicts", "unclear"] },
|
|
33
|
+
"additionalProperties": { "type": "number", "minimum": 0, "maximum": 1 },
|
|
34
|
+
"required": ["fits", "conflicts", "unclear"]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"required": ["model", "usage", "status", "verdict", "confidence", "probabilities"],
|
|
38
|
+
"additionalProperties": false
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export const recipeLoaders = {
|
|
2
|
+
'action-scope': () => import('../../recipes/action-scope/index.js').then((recipe) => (input, options) => recipe.actionScope(recipe.actionScopeInputSchema.parse(input), options)),
|
|
3
|
+
'answer-consistency': () => import('../../recipes/answer-consistency/index.js').then((recipe) => (input, options) => recipe.answerConsistency(recipe.answerConsistencyInputSchema.parse(input), options)),
|
|
4
|
+
'answer-coverage': () => import('../../recipes/answer-coverage/index.js').then((recipe) => (input, options) => recipe.answerCoverage(recipe.answerCoverageInputSchema.parse(input), options)),
|
|
5
|
+
'answer-invalidation': () => import('../../recipes/answer-invalidation/index.js').then((recipe) => (input, options) => recipe.answerInvalidation(recipe.answerInvalidationInputSchema.parse(input), options)),
|
|
6
|
+
'answer-relevance': () => import('../../recipes/answer-relevance/index.js').then((recipe) => (input, options) => recipe.answerRelevance(recipe.answerRelevanceInputSchema.parse(input), options)),
|
|
7
|
+
answerability: () => import('../../recipes/answerability/index.js').then((recipe) => (input, options) => recipe.answerability(recipe.answerabilityInputSchema.parse(input), options)),
|
|
8
|
+
'argument-fit': () => import('../../recipes/argument-fit/index.js').then((recipe) => (input, options) => recipe.argumentFit(recipe.argumentFitInputSchema.parse(input), options)),
|
|
9
|
+
'attempted-step': () => import('../../recipes/attempted-step/index.js').then((recipe) => (input, options) => recipe.attemptedStep(recipe.attemptedStepInputSchema.parse(input), options)),
|
|
10
|
+
'audience-fit': () => import('../../recipes/audience-fit/index.js').then((recipe) => (input, options) => recipe.audienceFit(recipe.audienceFitInputSchema.parse(input), options)),
|
|
11
|
+
'cache-match': () => import('../../recipes/cache-match/index.js').then((recipe) => (input, options) => recipe.cacheMatch(recipe.cacheMatchInputSchema.parse(input), options)),
|
|
12
|
+
'cancellation-check': () => import('../../recipes/cancellation-check/index.js').then((recipe) => (input, options) => recipe.cancellationCheck(recipe.cancellationCheckInputSchema.parse(input), options)),
|
|
13
|
+
'certainty-match': () => import('../../recipes/certainty-match/index.js').then((recipe) => (input, options) => recipe.certaintyMatch(recipe.certaintyMatchInputSchema.parse(input), options)),
|
|
14
|
+
'change-meaning': () => import('../../recipes/change-meaning/index.js').then((recipe) => (input, options) => recipe.changeMeaning(recipe.changeMeaningInputSchema.parse(input), options)),
|
|
15
|
+
'citation-match': () => import('../../recipes/citation-match/index.js').then((recipe) => (input, options) => recipe.citationMatch(recipe.citationMatchInputSchema.parse(input), options)),
|
|
16
|
+
'citation-needed': () => import('../../recipes/citation-needed/index.js').then((recipe) => (input, options) => recipe.citationNeeded(recipe.citationNeededInputSchema.parse(input), options)),
|
|
17
|
+
clarify: () => import('../../recipes/clarify/index.js').then((recipe) => (input, options) => recipe.clarify(recipe.clarifyInputSchema.parse(input), options)),
|
|
18
|
+
'confirmation-match': () => import('../../recipes/confirmation-match/index.js').then((recipe) => (input, options) => recipe.confirmationMatch(recipe.confirmationMatchInputSchema.parse(input), options)),
|
|
19
|
+
'context-role': () => import('../../recipes/context-role/index.js').then((recipe) => (input, options) => recipe.contextRole(recipe.contextRoleInputSchema.parse(input), options)),
|
|
20
|
+
'correction-target': () => import('../../recipes/correction-target/index.js').then((recipe) => (input, options) => recipe.correctionTarget(recipe.correctionTargetInputSchema.parse(input), options)),
|
|
21
|
+
'document-role': () => import('../../recipes/document-role/index.js').then((recipe) => (input, options) => recipe.documentRole(recipe.documentRoleInputSchema.parse(input), options)),
|
|
22
|
+
'draft-compare': () => import('../../recipes/draft-compare/index.js').then((recipe) => (input, options) => recipe.draftCompare(recipe.draftCompareInputSchema.parse(input), options)),
|
|
23
|
+
'evidence-conflict': () => import('../../recipes/evidence-conflict/index.js').then((recipe) => (input, options) => recipe.evidenceConflict(recipe.evidenceConflictInputSchema.parse(input), options)),
|
|
24
|
+
'evidence-novelty': () => import('../../recipes/evidence-novelty/index.js').then((recipe) => (input, options) => recipe.evidenceNovelty(recipe.evidenceNoveltyInputSchema.parse(input), options)),
|
|
25
|
+
'fact-stability': () => import('../../recipes/fact-stability/index.js').then((recipe) => (input, options) => recipe.factStability(recipe.factStabilityInputSchema.parse(input), options)),
|
|
26
|
+
'failure-kind': () => import('../../recipes/failure-kind/index.js').then((recipe) => (input, options) => recipe.failureKind(recipe.failureKindInputSchema.parse(input), options)),
|
|
27
|
+
'feedback-kind': () => import('../../recipes/feedback-kind/index.js').then((recipe) => (input, options) => recipe.feedbackKind(recipe.feedbackKindInputSchema.parse(input), options)),
|
|
28
|
+
'field-select': () => import('../../recipes/field-select/index.js').then((recipe) => (input, options) => recipe.fieldSelect(recipe.fieldSelectInputSchema.parse(input), options)),
|
|
29
|
+
'followup-link': () => import('../../recipes/followup-link/index.js').then((recipe) => (input, options) => recipe.followupLink(recipe.followupLinkInputSchema.parse(input), options)),
|
|
30
|
+
'freshness-needed': () => import('../../recipes/freshness-needed/index.js').then((recipe) => (input, options) => recipe.freshnessNeeded(recipe.freshnessNeededInputSchema.parse(input), options)),
|
|
31
|
+
'frustration-signal': () => import('../../recipes/frustration-signal/index.js').then((recipe) => (input, options) => recipe.frustrationSignal(recipe.frustrationSignalInputSchema.parse(input), options)),
|
|
32
|
+
handoff: () => import('../../recipes/handoff/index.js').then((recipe) => (input, options) => recipe.handoff(recipe.handoffInputSchema.parse(input), options)),
|
|
33
|
+
'incident-match': () => import('../../recipes/incident-match/index.js').then((recipe) => (input, options) => recipe.incidentMatch(recipe.incidentMatchInputSchema.parse(input), options)),
|
|
34
|
+
'instruction-fit': () => import('../../recipes/instruction-fit/index.js').then((recipe) => (input, options) => recipe.instructionFit(recipe.instructionFitInputSchema.parse(input), options)),
|
|
35
|
+
'intent-change': () => import('../../recipes/intent-change/index.js').then((recipe) => (input, options) => recipe.intentChange(recipe.intentChangeInputSchema.parse(input), options)),
|
|
36
|
+
'issue-impact': () => import('../../recipes/issue-impact/index.js').then((recipe) => (input, options) => recipe.issueImpact(recipe.issueImpactInputSchema.parse(input), options)),
|
|
37
|
+
'memory-relation': () => import('../../recipes/memory-relation/index.js').then((recipe) => (input, options) => recipe.memoryRelation(recipe.memoryRelationInputSchema.parse(input), options)),
|
|
38
|
+
'memory-scope': () => import('../../recipes/memory-scope/index.js').then((recipe) => (input, options) => recipe.memoryScope(recipe.memoryScopeInputSchema.parse(input), options)),
|
|
39
|
+
'memory-value': () => import('../../recipes/memory-value/index.js').then((recipe) => (input, options) => recipe.memoryValue(recipe.memoryValueInputSchema.parse(input), options)),
|
|
40
|
+
'passage-duplicate': () => import('../../recipes/passage-duplicate/index.js').then((recipe) => (input, options) => recipe.passageDuplicate(recipe.passageDuplicateInputSchema.parse(input), options)),
|
|
41
|
+
'preference-kind': () => import('../../recipes/preference-kind/index.js').then((recipe) => (input, options) => recipe.preferenceKind(recipe.preferenceKindInputSchema.parse(input), options)),
|
|
42
|
+
'promise-check': () => import('../../recipes/promise-check/index.js').then((recipe) => (input, options) => recipe.promiseCheck(recipe.promiseCheckInputSchema.parse(input), options)),
|
|
43
|
+
'query-equivalence': () => import('../../recipes/query-equivalence/index.js').then((recipe) => (input, options) => recipe.queryEquivalence(recipe.queryEquivalenceInputSchema.parse(input), options)),
|
|
44
|
+
'query-specificity': () => import('../../recipes/query-specificity/index.js').then((recipe) => (input, options) => recipe.querySpecificity(recipe.querySpecificityInputSchema.parse(input), options)),
|
|
45
|
+
'reference-resolve': () => import('../../recipes/reference-resolve/index.js').then((recipe) => (input, options) => recipe.referenceResolve(recipe.referenceResolveInputSchema.parse(input), options)),
|
|
46
|
+
'repeated-attempt': () => import('../../recipes/repeated-attempt/index.js').then((recipe) => (input, options) => recipe.repeatedAttempt(recipe.repeatedAttemptInputSchema.parse(input), options)),
|
|
47
|
+
'reply-template-match': () => import('../../recipes/reply-template-match/index.js').then((recipe) => (input, options) => recipe.replyTemplateMatch(recipe.replyTemplateMatchInputSchema.parse(input), options)),
|
|
48
|
+
rerank: () => import('../../recipes/rerank/index.js').then((recipe) => (input, options) => recipe.rerank(recipe.rerankInputSchema.parse(input), options)),
|
|
49
|
+
'resolution-check': () => import('../../recipes/resolution-check/index.js').then((recipe) => (input, options) => recipe.resolutionCheck(recipe.resolutionCheckInputSchema.parse(input), options)),
|
|
50
|
+
'response-needed': () => import('../../recipes/response-needed/index.js').then((recipe) => (input, options) => recipe.responseNeeded(recipe.responseNeededInputSchema.parse(input), options)),
|
|
51
|
+
'result-outcome': () => import('../../recipes/result-outcome/index.js').then((recipe) => (input, options) => recipe.resultOutcome(recipe.resultOutcomeInputSchema.parse(input), options)),
|
|
52
|
+
'result-usefulness': () => import('../../recipes/result-usefulness/index.js').then((recipe) => (input, options) => recipe.resultUsefulness(recipe.resultUsefulnessInputSchema.parse(input), options)),
|
|
53
|
+
'retrieval-needed': () => import('../../recipes/retrieval-needed/index.js').then((recipe) => (input, options) => recipe.retrievalNeeded(recipe.retrievalNeededInputSchema.parse(input), options)),
|
|
54
|
+
route: () => import('../../recipes/route/index.js').then((recipe) => (input, options) => recipe.route(recipe.routeInputSchema.parse(input), options)),
|
|
55
|
+
'source-applicability': () => import('../../recipes/source-applicability/index.js').then((recipe) => (input, options) => recipe.sourceApplicability(recipe.sourceApplicabilityInputSchema.parse(input), options)),
|
|
56
|
+
'step-complete': () => import('../../recipes/step-complete/index.js').then((recipe) => (input, options) => recipe.stepComplete(recipe.stepCompleteInputSchema.parse(input), options)),
|
|
57
|
+
'step-progress': () => import('../../recipes/step-progress/index.js').then((recipe) => (input, options) => recipe.stepProgress(recipe.stepProgressInputSchema.parse(input), options)),
|
|
58
|
+
'summary-coverage': () => import('../../recipes/summary-coverage/index.js').then((recipe) => (input, options) => recipe.summaryCoverage(recipe.summaryCoverageInputSchema.parse(input), options)),
|
|
59
|
+
'ticket-match': () => import('../../recipes/ticket-match/index.js').then((recipe) => (input, options) => recipe.ticketMatch(recipe.ticketMatchInputSchema.parse(input), options)),
|
|
60
|
+
'tone-check': () => import('../../recipes/tone-check/index.js').then((recipe) => (input, options) => recipe.toneCheck(recipe.toneCheckInputSchema.parse(input), options)),
|
|
61
|
+
'tool-fit': () => import('../../recipes/tool-fit/index.js').then((recipe) => (input, options) => recipe.toolFit(recipe.toolFitInputSchema.parse(input), options)),
|
|
62
|
+
'topic-shift': () => import('../../recipes/topic-shift/index.js').then((recipe) => (input, options) => recipe.topicShift(recipe.topicShiftInputSchema.parse(input), options)),
|
|
63
|
+
'troubleshooting-fit': () => import('../../recipes/troubleshooting-fit/index.js').then((recipe) => (input, options) => recipe.troubleshootingFit(recipe.troubleshootingFitInputSchema.parse(input), options)),
|
|
64
|
+
'turn-intent': () => import('../../recipes/turn-intent/index.js').then((recipe) => (input, options) => recipe.turnIntent(recipe.turnIntentInputSchema.parse(input), options)),
|
|
65
|
+
'urgency-signal': () => import('../../recipes/urgency-signal/index.js').then((recipe) => (input, options) => recipe.urgencySignal(recipe.urgencySignalInputSchema.parse(input), options)),
|
|
66
|
+
verify: () => import('../../recipes/verify/index.js').then((recipe) => (input, options) => recipe.verify(recipe.verifyInputSchema.parse(input), options)),
|
|
67
|
+
'workaround-fit': () => import('../../recipes/workaround-fit/index.js').then((recipe) => (input, options) => recipe.workaroundFit(recipe.workaroundFitInputSchema.parse(input), options)),
|
|
68
|
+
};
|