jev-recipes 0.0.4 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/README.md +52 -63
- package/dist/catalog/groups/answers.d.ts +565 -0
- package/dist/catalog/groups/answers.js +82 -0
- package/dist/catalog/groups/conversation.d.ts +608 -0
- package/dist/catalog/groups/conversation.js +90 -0
- package/dist/catalog/groups/knowledge.d.ts +522 -0
- package/dist/catalog/groups/knowledge.js +82 -0
- package/dist/catalog/groups/retrieval.d.ts +664 -0
- package/dist/catalog/groups/retrieval.js +106 -0
- package/dist/catalog/groups/support.d.ts +522 -0
- package/dist/catalog/groups/support.js +82 -0
- package/dist/catalog/groups/workflow.d.ts +623 -0
- package/dist/catalog/groups/workflow.js +98 -0
- package/dist/catalog/index.d.ts +1564 -5
- package/dist/catalog/recipes.d.ts +3239 -102
- package/dist/catalog/recipes.js +12 -48
- package/dist/catalog/schema.d.ts +65 -1
- package/dist/cli/index.js +1 -1
- package/dist/cli/schema.d.ts +191 -3
- package/dist/examples/support/schema.d.ts +7 -7
- package/dist/recipes/action-scope/index.d.ts +5 -0
- package/dist/recipes/action-scope/index.js +15 -0
- package/dist/recipes/action-scope/metadata.d.ts +8 -0
- package/dist/recipes/action-scope/metadata.js +10 -0
- package/dist/recipes/action-scope/schema.d.ts +37 -0
- package/dist/recipes/action-scope/schema.js +15 -0
- package/dist/recipes/answer-consistency/index.d.ts +5 -0
- package/dist/recipes/answer-consistency/index.js +16 -0
- package/dist/recipes/answer-consistency/metadata.d.ts +8 -0
- package/dist/recipes/answer-consistency/metadata.js +10 -0
- package/dist/recipes/answer-consistency/schema.d.ts +40 -0
- package/dist/recipes/answer-consistency/schema.js +20 -0
- package/dist/recipes/answer-coverage/index.d.ts +5 -0
- package/dist/recipes/answer-coverage/index.js +22 -0
- package/dist/recipes/answer-coverage/metadata.d.ts +8 -0
- package/dist/recipes/answer-coverage/metadata.js +11 -0
- package/dist/recipes/answer-coverage/schema.d.ts +50 -0
- package/dist/recipes/answer-coverage/schema.js +22 -0
- package/dist/recipes/answer-invalidation/index.d.ts +5 -0
- package/dist/recipes/answer-invalidation/index.js +15 -0
- package/dist/recipes/answer-invalidation/metadata.d.ts +8 -0
- package/dist/recipes/answer-invalidation/metadata.js +10 -0
- package/dist/recipes/answer-invalidation/schema.d.ts +37 -0
- package/dist/recipes/answer-invalidation/schema.js +19 -0
- package/dist/recipes/answer-relevance/index.d.ts +5 -0
- package/dist/recipes/answer-relevance/index.js +16 -0
- package/dist/recipes/answer-relevance/metadata.d.ts +8 -0
- package/dist/recipes/answer-relevance/metadata.js +10 -0
- package/dist/recipes/answer-relevance/schema.d.ts +39 -0
- package/dist/recipes/answer-relevance/schema.js +19 -0
- package/dist/recipes/answerability/index.js +15 -27
- package/dist/recipes/argument-fit/index.d.ts +5 -0
- package/dist/recipes/argument-fit/index.js +15 -0
- package/dist/recipes/argument-fit/metadata.d.ts +8 -0
- package/dist/recipes/argument-fit/metadata.js +10 -0
- package/dist/recipes/argument-fit/schema.d.ts +38 -0
- package/dist/recipes/argument-fit/schema.js +16 -0
- package/dist/recipes/attempted-step/index.d.ts +5 -0
- package/dist/recipes/attempted-step/index.js +15 -0
- package/dist/recipes/attempted-step/metadata.d.ts +8 -0
- package/dist/recipes/attempted-step/metadata.js +10 -0
- package/dist/recipes/attempted-step/schema.d.ts +36 -0
- package/dist/recipes/attempted-step/schema.js +14 -0
- package/dist/recipes/audience-fit/index.d.ts +5 -0
- package/dist/recipes/audience-fit/index.js +16 -0
- package/dist/recipes/audience-fit/metadata.d.ts +8 -0
- package/dist/recipes/audience-fit/metadata.js +10 -0
- package/dist/recipes/audience-fit/schema.d.ts +39 -0
- package/dist/recipes/audience-fit/schema.js +19 -0
- package/dist/recipes/cache-match/index.d.ts +5 -0
- package/dist/recipes/cache-match/index.js +15 -0
- package/dist/recipes/cache-match/metadata.d.ts +8 -0
- package/dist/recipes/cache-match/metadata.js +10 -0
- package/dist/recipes/cache-match/schema.d.ts +38 -0
- package/dist/recipes/cache-match/schema.js +16 -0
- package/dist/recipes/cancellation-check/index.d.ts +5 -0
- package/dist/recipes/cancellation-check/index.js +16 -0
- package/dist/recipes/cancellation-check/metadata.d.ts +8 -0
- package/dist/recipes/cancellation-check/metadata.js +10 -0
- package/dist/recipes/cancellation-check/schema.d.ts +40 -0
- package/dist/recipes/cancellation-check/schema.js +15 -0
- package/dist/recipes/certainty-match/index.d.ts +5 -0
- package/dist/recipes/certainty-match/index.js +16 -0
- package/dist/recipes/certainty-match/metadata.d.ts +8 -0
- package/dist/recipes/certainty-match/metadata.js +10 -0
- package/dist/recipes/certainty-match/schema.d.ts +39 -0
- package/dist/recipes/certainty-match/schema.js +19 -0
- package/dist/recipes/change-meaning/index.d.ts +5 -0
- package/dist/recipes/change-meaning/index.js +15 -0
- package/dist/recipes/change-meaning/metadata.d.ts +8 -0
- package/dist/recipes/change-meaning/metadata.js +10 -0
- package/dist/recipes/change-meaning/schema.d.ts +37 -0
- package/dist/recipes/change-meaning/schema.js +15 -0
- package/dist/recipes/citation-match/index.d.ts +5 -0
- package/dist/recipes/citation-match/index.js +21 -0
- package/dist/recipes/citation-match/metadata.d.ts +9 -0
- package/dist/recipes/citation-match/metadata.js +12 -0
- package/dist/recipes/citation-match/schema.d.ts +41 -0
- package/dist/recipes/citation-match/schema.js +13 -0
- package/dist/recipes/citation-needed/index.d.ts +5 -0
- package/dist/recipes/citation-needed/index.js +15 -0
- package/dist/recipes/citation-needed/metadata.d.ts +8 -0
- package/dist/recipes/citation-needed/metadata.js +10 -0
- package/dist/recipes/citation-needed/schema.d.ts +36 -0
- package/dist/recipes/citation-needed/schema.js +14 -0
- package/dist/recipes/clarify/index.js +15 -34
- package/dist/recipes/clarify/schema.d.ts +3 -3
- package/dist/recipes/confirmation-match/index.d.ts +5 -0
- package/dist/recipes/confirmation-match/index.js +15 -0
- package/dist/recipes/confirmation-match/metadata.d.ts +8 -0
- package/dist/recipes/confirmation-match/metadata.js +10 -0
- package/dist/recipes/confirmation-match/schema.d.ts +37 -0
- package/dist/recipes/confirmation-match/schema.js +15 -0
- package/dist/recipes/context-role/index.d.ts +5 -0
- package/dist/recipes/context-role/index.js +16 -0
- package/dist/recipes/context-role/metadata.d.ts +8 -0
- package/dist/recipes/context-role/metadata.js +10 -0
- package/dist/recipes/context-role/schema.d.ts +39 -0
- package/dist/recipes/context-role/schema.js +19 -0
- package/dist/recipes/correction-target/index.d.ts +5 -0
- package/dist/recipes/correction-target/index.js +7 -0
- package/dist/recipes/correction-target/metadata.d.ts +8 -0
- package/dist/recipes/correction-target/metadata.js +11 -0
- package/dist/recipes/correction-target/schema.d.ts +36 -0
- package/dist/recipes/correction-target/schema.js +9 -0
- package/dist/recipes/document-role/index.d.ts +5 -0
- package/dist/recipes/document-role/index.js +19 -0
- package/dist/recipes/document-role/metadata.d.ts +8 -0
- package/dist/recipes/document-role/metadata.js +10 -0
- package/dist/recipes/document-role/schema.d.ts +47 -0
- package/dist/recipes/document-role/schema.js +21 -0
- package/dist/recipes/draft-compare/index.d.ts +5 -0
- package/dist/recipes/draft-compare/index.js +17 -0
- package/dist/recipes/draft-compare/metadata.d.ts +8 -0
- package/dist/recipes/draft-compare/metadata.js +10 -0
- package/dist/recipes/draft-compare/schema.d.ts +44 -0
- package/dist/recipes/draft-compare/schema.js +16 -0
- package/dist/recipes/evidence-conflict/index.d.ts +5 -0
- package/dist/recipes/evidence-conflict/index.js +16 -0
- package/dist/recipes/evidence-conflict/metadata.d.ts +8 -0
- package/dist/recipes/evidence-conflict/metadata.js +10 -0
- package/dist/recipes/evidence-conflict/schema.d.ts +40 -0
- package/dist/recipes/evidence-conflict/schema.js +20 -0
- package/dist/recipes/evidence-novelty/index.d.ts +5 -0
- package/dist/recipes/evidence-novelty/index.js +16 -0
- package/dist/recipes/evidence-novelty/metadata.d.ts +8 -0
- package/dist/recipes/evidence-novelty/metadata.js +11 -0
- package/dist/recipes/evidence-novelty/schema.d.ts +43 -0
- package/dist/recipes/evidence-novelty/schema.js +20 -0
- package/dist/recipes/fact-stability/index.d.ts +5 -0
- package/dist/recipes/fact-stability/index.js +15 -0
- package/dist/recipes/fact-stability/metadata.d.ts +8 -0
- package/dist/recipes/fact-stability/metadata.js +10 -0
- package/dist/recipes/fact-stability/schema.d.ts +36 -0
- package/dist/recipes/fact-stability/schema.js +14 -0
- package/dist/recipes/failure-kind/index.d.ts +5 -0
- package/dist/recipes/failure-kind/index.js +7 -0
- package/dist/recipes/failure-kind/metadata.d.ts +8 -0
- package/dist/recipes/failure-kind/metadata.js +11 -0
- package/dist/recipes/failure-kind/schema.d.ts +36 -0
- package/dist/recipes/failure-kind/schema.js +9 -0
- package/dist/recipes/feedback-kind/index.d.ts +5 -0
- package/dist/recipes/feedback-kind/index.js +19 -0
- package/dist/recipes/feedback-kind/metadata.d.ts +8 -0
- package/dist/recipes/feedback-kind/metadata.js +10 -0
- package/dist/recipes/feedback-kind/schema.d.ts +48 -0
- package/dist/recipes/feedback-kind/schema.js +22 -0
- package/dist/recipes/field-select/index.d.ts +5 -0
- package/dist/recipes/field-select/index.js +7 -0
- package/dist/recipes/field-select/metadata.d.ts +8 -0
- package/dist/recipes/field-select/metadata.js +11 -0
- package/dist/recipes/field-select/schema.d.ts +36 -0
- package/dist/recipes/field-select/schema.js +9 -0
- package/dist/recipes/followup-link/index.d.ts +5 -0
- package/dist/recipes/followup-link/index.js +7 -0
- package/dist/recipes/followup-link/metadata.d.ts +8 -0
- package/dist/recipes/followup-link/metadata.js +11 -0
- package/dist/recipes/followup-link/schema.d.ts +36 -0
- package/dist/recipes/followup-link/schema.js +9 -0
- package/dist/recipes/freshness-needed/index.d.ts +5 -0
- package/dist/recipes/freshness-needed/index.js +15 -0
- package/dist/recipes/freshness-needed/metadata.d.ts +8 -0
- package/dist/recipes/freshness-needed/metadata.js +10 -0
- package/dist/recipes/freshness-needed/schema.d.ts +35 -0
- package/dist/recipes/freshness-needed/schema.js +13 -0
- package/dist/recipes/frustration-signal/index.d.ts +5 -0
- package/dist/recipes/frustration-signal/index.js +15 -0
- package/dist/recipes/frustration-signal/metadata.d.ts +8 -0
- package/dist/recipes/frustration-signal/metadata.js +10 -0
- package/dist/recipes/frustration-signal/schema.d.ts +36 -0
- package/dist/recipes/frustration-signal/schema.js +14 -0
- package/dist/recipes/handoff/index.js +16 -35
- package/dist/recipes/incident-match/index.d.ts +5 -0
- package/dist/recipes/incident-match/index.js +7 -0
- package/dist/recipes/incident-match/metadata.d.ts +8 -0
- package/dist/recipes/incident-match/metadata.js +11 -0
- package/dist/recipes/incident-match/schema.d.ts +36 -0
- package/dist/recipes/incident-match/schema.js +9 -0
- package/dist/recipes/instruction-fit/index.d.ts +5 -0
- package/dist/recipes/instruction-fit/index.js +15 -0
- package/dist/recipes/instruction-fit/metadata.d.ts +8 -0
- package/dist/recipes/instruction-fit/metadata.js +10 -0
- package/dist/recipes/instruction-fit/schema.d.ts +37 -0
- package/dist/recipes/instruction-fit/schema.js +15 -0
- package/dist/recipes/intent-change/index.d.ts +5 -0
- package/dist/recipes/intent-change/index.js +16 -0
- package/dist/recipes/intent-change/metadata.d.ts +8 -0
- package/dist/recipes/intent-change/metadata.js +10 -0
- package/dist/recipes/intent-change/schema.d.ts +40 -0
- package/dist/recipes/intent-change/schema.js +15 -0
- package/dist/recipes/issue-impact/index.d.ts +5 -0
- package/dist/recipes/issue-impact/index.js +16 -0
- package/dist/recipes/issue-impact/metadata.d.ts +8 -0
- package/dist/recipes/issue-impact/metadata.js +10 -0
- package/dist/recipes/issue-impact/schema.d.ts +39 -0
- package/dist/recipes/issue-impact/schema.js +14 -0
- package/dist/recipes/memory-relation/index.d.ts +5 -0
- package/dist/recipes/memory-relation/index.js +18 -0
- package/dist/recipes/memory-relation/metadata.d.ts +8 -0
- package/dist/recipes/memory-relation/metadata.js +10 -0
- package/dist/recipes/memory-relation/schema.d.ts +46 -0
- package/dist/recipes/memory-relation/schema.js +22 -0
- package/dist/recipes/memory-scope/index.d.ts +5 -0
- package/dist/recipes/memory-scope/index.js +17 -0
- package/dist/recipes/memory-scope/metadata.d.ts +8 -0
- package/dist/recipes/memory-scope/metadata.js +10 -0
- package/dist/recipes/memory-scope/schema.d.ts +42 -0
- package/dist/recipes/memory-scope/schema.js +14 -0
- package/dist/recipes/memory-value/index.d.ts +5 -0
- package/dist/recipes/memory-value/index.js +16 -0
- package/dist/recipes/memory-value/metadata.d.ts +8 -0
- package/dist/recipes/memory-value/metadata.js +10 -0
- package/dist/recipes/memory-value/schema.d.ts +40 -0
- package/dist/recipes/memory-value/schema.js +20 -0
- package/dist/recipes/passage-duplicate/index.d.ts +5 -0
- package/dist/recipes/passage-duplicate/index.js +16 -0
- package/dist/recipes/passage-duplicate/metadata.d.ts +8 -0
- package/dist/recipes/passage-duplicate/metadata.js +10 -0
- package/dist/recipes/passage-duplicate/schema.d.ts +39 -0
- package/dist/recipes/passage-duplicate/schema.js +19 -0
- package/dist/recipes/preference-kind/index.d.ts +5 -0
- package/dist/recipes/preference-kind/index.js +16 -0
- package/dist/recipes/preference-kind/metadata.d.ts +8 -0
- package/dist/recipes/preference-kind/metadata.js +10 -0
- package/dist/recipes/preference-kind/schema.d.ts +39 -0
- package/dist/recipes/preference-kind/schema.js +19 -0
- package/dist/recipes/promise-check/index.d.ts +5 -0
- package/dist/recipes/promise-check/index.js +15 -0
- package/dist/recipes/promise-check/metadata.d.ts +8 -0
- package/dist/recipes/promise-check/metadata.js +10 -0
- package/dist/recipes/promise-check/schema.d.ts +36 -0
- package/dist/recipes/promise-check/schema.js +14 -0
- package/dist/recipes/query-equivalence/index.d.ts +5 -0
- package/dist/recipes/query-equivalence/index.js +16 -0
- package/dist/recipes/query-equivalence/metadata.d.ts +8 -0
- package/dist/recipes/query-equivalence/metadata.js +10 -0
- package/dist/recipes/query-equivalence/schema.d.ts +40 -0
- package/dist/recipes/query-equivalence/schema.js +20 -0
- package/dist/recipes/query-specificity/index.d.ts +5 -0
- package/dist/recipes/query-specificity/index.js +15 -0
- package/dist/recipes/query-specificity/metadata.d.ts +8 -0
- package/dist/recipes/query-specificity/metadata.js +10 -0
- package/dist/recipes/query-specificity/schema.d.ts +36 -0
- package/dist/recipes/query-specificity/schema.js +14 -0
- package/dist/recipes/reference-resolve/index.d.ts +5 -0
- package/dist/recipes/reference-resolve/index.js +7 -0
- package/dist/recipes/reference-resolve/metadata.d.ts +8 -0
- package/dist/recipes/reference-resolve/metadata.js +11 -0
- package/dist/recipes/reference-resolve/schema.d.ts +37 -0
- package/dist/recipes/reference-resolve/schema.js +10 -0
- package/dist/recipes/repeated-attempt/index.d.ts +5 -0
- package/dist/recipes/repeated-attempt/index.js +15 -0
- package/dist/recipes/repeated-attempt/metadata.d.ts +8 -0
- package/dist/recipes/repeated-attempt/metadata.js +10 -0
- package/dist/recipes/repeated-attempt/schema.d.ts +37 -0
- package/dist/recipes/repeated-attempt/schema.js +19 -0
- package/dist/recipes/reply-template-match/index.d.ts +5 -0
- package/dist/recipes/reply-template-match/index.js +7 -0
- package/dist/recipes/reply-template-match/metadata.d.ts +8 -0
- package/dist/recipes/reply-template-match/metadata.js +11 -0
- package/dist/recipes/reply-template-match/schema.d.ts +36 -0
- package/dist/recipes/reply-template-match/schema.js +9 -0
- package/dist/recipes/rerank/index.js +7 -7
- package/dist/recipes/resolution-check/index.d.ts +5 -0
- package/dist/recipes/resolution-check/index.js +15 -0
- package/dist/recipes/resolution-check/metadata.d.ts +8 -0
- package/dist/recipes/resolution-check/metadata.js +10 -0
- package/dist/recipes/resolution-check/schema.d.ts +37 -0
- package/dist/recipes/resolution-check/schema.js +15 -0
- package/dist/recipes/response-needed/index.d.ts +5 -0
- package/dist/recipes/response-needed/index.js +15 -0
- package/dist/recipes/response-needed/metadata.d.ts +8 -0
- package/dist/recipes/response-needed/metadata.js +10 -0
- package/dist/recipes/response-needed/schema.d.ts +36 -0
- package/dist/recipes/response-needed/schema.js +14 -0
- package/dist/recipes/result-outcome/index.d.ts +5 -0
- package/dist/recipes/result-outcome/index.js +16 -0
- package/dist/recipes/result-outcome/metadata.d.ts +8 -0
- package/dist/recipes/result-outcome/metadata.js +10 -0
- package/dist/recipes/result-outcome/schema.d.ts +39 -0
- package/dist/recipes/result-outcome/schema.js +19 -0
- package/dist/recipes/result-usefulness/index.d.ts +5 -0
- package/dist/recipes/result-usefulness/index.js +16 -0
- package/dist/recipes/result-usefulness/metadata.d.ts +8 -0
- package/dist/recipes/result-usefulness/metadata.js +10 -0
- package/dist/recipes/result-usefulness/schema.d.ts +39 -0
- package/dist/recipes/result-usefulness/schema.js +19 -0
- package/dist/recipes/retrieval-needed/index.d.ts +5 -0
- package/dist/recipes/retrieval-needed/index.js +15 -0
- package/dist/recipes/retrieval-needed/metadata.d.ts +8 -0
- package/dist/recipes/retrieval-needed/metadata.js +10 -0
- package/dist/recipes/retrieval-needed/schema.d.ts +36 -0
- package/dist/recipes/retrieval-needed/schema.js +14 -0
- package/dist/recipes/route/index.js +12 -21
- package/dist/recipes/source-applicability/index.d.ts +5 -0
- package/dist/recipes/source-applicability/index.js +15 -0
- package/dist/recipes/source-applicability/metadata.d.ts +8 -0
- package/dist/recipes/source-applicability/metadata.js +10 -0
- package/dist/recipes/source-applicability/schema.d.ts +36 -0
- package/dist/recipes/source-applicability/schema.js +14 -0
- package/dist/recipes/step-complete/index.d.ts +5 -0
- package/dist/recipes/step-complete/index.js +15 -0
- package/dist/recipes/step-complete/metadata.d.ts +8 -0
- package/dist/recipes/step-complete/metadata.js +10 -0
- package/dist/recipes/step-complete/schema.d.ts +36 -0
- package/dist/recipes/step-complete/schema.js +14 -0
- package/dist/recipes/step-progress/index.d.ts +5 -0
- package/dist/recipes/step-progress/index.js +16 -0
- package/dist/recipes/step-progress/metadata.d.ts +8 -0
- package/dist/recipes/step-progress/metadata.js +10 -0
- package/dist/recipes/step-progress/schema.d.ts +40 -0
- package/dist/recipes/step-progress/schema.js +15 -0
- package/dist/recipes/summary-coverage/index.d.ts +5 -0
- package/dist/recipes/summary-coverage/index.js +22 -0
- package/dist/recipes/summary-coverage/metadata.d.ts +8 -0
- package/dist/recipes/summary-coverage/metadata.js +11 -0
- package/dist/recipes/summary-coverage/schema.d.ts +50 -0
- package/dist/recipes/summary-coverage/schema.js +22 -0
- package/dist/recipes/ticket-match/index.d.ts +5 -0
- package/dist/recipes/ticket-match/index.js +16 -0
- package/dist/recipes/ticket-match/metadata.d.ts +8 -0
- package/dist/recipes/ticket-match/metadata.js +10 -0
- package/dist/recipes/ticket-match/schema.d.ts +40 -0
- package/dist/recipes/ticket-match/schema.js +15 -0
- package/dist/recipes/tone-check/index.d.ts +5 -0
- package/dist/recipes/tone-check/index.js +21 -0
- package/dist/recipes/tone-check/metadata.d.ts +8 -0
- package/dist/recipes/tone-check/metadata.js +11 -0
- package/dist/recipes/tone-check/schema.d.ts +47 -0
- package/dist/recipes/tone-check/schema.js +22 -0
- package/dist/recipes/tool-fit/index.d.ts +5 -0
- package/dist/recipes/tool-fit/index.js +15 -0
- package/dist/recipes/tool-fit/metadata.d.ts +8 -0
- package/dist/recipes/tool-fit/metadata.js +10 -0
- package/dist/recipes/tool-fit/schema.d.ts +37 -0
- package/dist/recipes/tool-fit/schema.js +15 -0
- package/dist/recipes/topic-shift/index.d.ts +5 -0
- package/dist/recipes/topic-shift/index.js +16 -0
- package/dist/recipes/topic-shift/metadata.d.ts +8 -0
- package/dist/recipes/topic-shift/metadata.js +10 -0
- package/dist/recipes/topic-shift/schema.d.ts +40 -0
- package/dist/recipes/topic-shift/schema.js +15 -0
- package/dist/recipes/troubleshooting-fit/index.d.ts +5 -0
- package/dist/recipes/troubleshooting-fit/index.js +15 -0
- package/dist/recipes/troubleshooting-fit/metadata.d.ts +8 -0
- package/dist/recipes/troubleshooting-fit/metadata.js +10 -0
- package/dist/recipes/troubleshooting-fit/schema.d.ts +37 -0
- package/dist/recipes/troubleshooting-fit/schema.js +15 -0
- package/dist/recipes/turn-intent/index.d.ts +5 -0
- package/dist/recipes/turn-intent/index.js +19 -0
- package/dist/recipes/turn-intent/metadata.d.ts +8 -0
- package/dist/recipes/turn-intent/metadata.js +10 -0
- package/dist/recipes/turn-intent/schema.d.ts +48 -0
- package/dist/recipes/turn-intent/schema.js +22 -0
- package/dist/recipes/urgency-signal/index.d.ts +5 -0
- package/dist/recipes/urgency-signal/index.js +15 -0
- package/dist/recipes/urgency-signal/metadata.d.ts +8 -0
- package/dist/recipes/urgency-signal/metadata.js +10 -0
- package/dist/recipes/urgency-signal/schema.d.ts +36 -0
- package/dist/recipes/urgency-signal/schema.js +14 -0
- package/dist/recipes/verify/index.js +11 -31
- package/dist/recipes/workaround-fit/index.d.ts +5 -0
- package/dist/recipes/workaround-fit/index.js +15 -0
- package/dist/recipes/workaround-fit/metadata.d.ts +8 -0
- package/dist/recipes/workaround-fit/metadata.js +10 -0
- package/dist/recipes/workaround-fit/schema.d.ts +37 -0
- package/dist/recipes/workaround-fit/schema.js +15 -0
- package/dist/src/checks.d.ts +14 -0
- package/dist/src/checks.js +21 -0
- package/dist/src/decisions.d.ts +13 -0
- package/dist/src/decisions.js +26 -0
- package/dist/src/index.d.ts +120 -0
- package/dist/src/index.js +60 -0
- package/dist/src/schema.d.ts +48 -0
- package/dist/src/schema.js +30 -1
- package/dist/src/selection.d.ts +2 -0
- package/dist/src/selection.js +30 -0
- package/examples/support/README.md +1 -1
- package/package.json +254 -7
- package/recipes/README.md +128 -0
- package/recipes/action-scope/README.md +49 -0
- package/recipes/action-scope/demo.json +25 -0
- package/recipes/answer-consistency/README.md +50 -0
- package/recipes/answer-consistency/demo.json +26 -0
- package/recipes/answer-coverage/README.md +60 -0
- package/recipes/answer-coverage/demo.json +46 -0
- package/recipes/answer-invalidation/README.md +50 -0
- package/recipes/answer-invalidation/demo.json +26 -0
- package/recipes/answer-relevance/README.md +49 -0
- package/recipes/answer-relevance/demo.json +26 -0
- package/recipes/answerability/README.md +39 -14
- package/recipes/argument-fit/README.md +51 -0
- package/recipes/argument-fit/demo.json +26 -0
- package/recipes/attempted-step/README.md +48 -0
- package/recipes/attempted-step/demo.json +25 -0
- package/recipes/audience-fit/README.md +50 -0
- package/recipes/audience-fit/demo.json +26 -0
- package/recipes/cache-match/README.md +51 -0
- package/recipes/cache-match/demo.json +26 -0
- package/recipes/cancellation-check/README.md +50 -0
- package/recipes/cancellation-check/demo.json +26 -0
- package/recipes/certainty-match/README.md +49 -0
- package/recipes/certainty-match/demo.json +26 -0
- package/recipes/change-meaning/README.md +49 -0
- package/recipes/change-meaning/demo.json +25 -0
- package/recipes/citation-match/README.md +51 -0
- package/recipes/citation-match/demo.json +44 -0
- package/recipes/citation-needed/README.md +49 -0
- package/recipes/citation-needed/demo.json +25 -0
- package/recipes/clarify/README.md +42 -13
- package/recipes/confirmation-match/README.md +49 -0
- package/recipes/confirmation-match/demo.json +25 -0
- package/recipes/context-role/README.md +49 -0
- package/recipes/context-role/demo.json +26 -0
- package/recipes/correction-target/README.md +52 -0
- package/recipes/correction-target/demo.json +35 -0
- package/recipes/document-role/README.md +51 -0
- package/recipes/document-role/demo.json +28 -0
- package/recipes/draft-compare/README.md +54 -0
- package/recipes/draft-compare/demo.json +29 -0
- package/recipes/evidence-conflict/README.md +51 -0
- package/recipes/evidence-conflict/demo.json +27 -0
- package/recipes/evidence-novelty/README.md +56 -0
- package/recipes/evidence-novelty/demo.json +32 -0
- package/recipes/fact-stability/README.md +47 -0
- package/recipes/fact-stability/demo.json +24 -0
- package/recipes/failure-kind/README.md +52 -0
- package/recipes/failure-kind/demo.json +35 -0
- package/recipes/feedback-kind/README.md +51 -0
- package/recipes/feedback-kind/demo.json +28 -0
- package/recipes/field-select/README.md +53 -0
- package/recipes/field-select/demo.json +36 -0
- package/recipes/followup-link/README.md +52 -0
- package/recipes/followup-link/demo.json +35 -0
- package/recipes/freshness-needed/README.md +46 -0
- package/recipes/freshness-needed/demo.json +24 -0
- package/recipes/frustration-signal/README.md +47 -0
- package/recipes/frustration-signal/demo.json +24 -0
- package/recipes/handoff/README.md +34 -13
- package/recipes/incident-match/README.md +52 -0
- package/recipes/incident-match/demo.json +35 -0
- package/recipes/instruction-fit/README.md +49 -0
- package/recipes/instruction-fit/demo.json +25 -0
- package/recipes/intent-change/README.md +50 -0
- package/recipes/intent-change/demo.json +26 -0
- package/recipes/issue-impact/README.md +48 -0
- package/recipes/issue-impact/demo.json +25 -0
- package/recipes/memory-relation/README.md +52 -0
- package/recipes/memory-relation/demo.json +28 -0
- package/recipes/memory-scope/README.md +50 -0
- package/recipes/memory-scope/demo.json +27 -0
- package/recipes/memory-value/README.md +50 -0
- package/recipes/memory-value/demo.json +26 -0
- package/recipes/passage-duplicate/README.md +49 -0
- package/recipes/passage-duplicate/demo.json +26 -0
- package/recipes/preference-kind/README.md +48 -0
- package/recipes/preference-kind/demo.json +25 -0
- package/recipes/promise-check/README.md +48 -0
- package/recipes/promise-check/demo.json +25 -0
- package/recipes/query-equivalence/README.md +50 -0
- package/recipes/query-equivalence/demo.json +26 -0
- package/recipes/query-specificity/README.md +47 -0
- package/recipes/query-specificity/demo.json +24 -0
- package/recipes/reference-resolve/README.md +54 -0
- package/recipes/reference-resolve/demo.json +36 -0
- package/recipes/repeated-attempt/README.md +50 -0
- package/recipes/repeated-attempt/demo.json +26 -0
- package/recipes/reply-template-match/README.md +52 -0
- package/recipes/reply-template-match/demo.json +35 -0
- package/recipes/rerank/README.md +40 -10
- package/recipes/resolution-check/README.md +49 -0
- package/recipes/resolution-check/demo.json +25 -0
- package/recipes/response-needed/README.md +48 -0
- package/recipes/response-needed/demo.json +25 -0
- package/recipes/result-outcome/README.md +49 -0
- package/recipes/result-outcome/demo.json +26 -0
- package/recipes/result-usefulness/README.md +49 -0
- package/recipes/result-usefulness/demo.json +26 -0
- package/recipes/retrieval-needed/README.md +48 -0
- package/recipes/retrieval-needed/demo.json +25 -0
- package/recipes/route/README.md +30 -7
- package/recipes/source-applicability/README.md +48 -0
- package/recipes/source-applicability/demo.json +25 -0
- package/recipes/step-complete/README.md +48 -0
- package/recipes/step-complete/demo.json +25 -0
- package/recipes/step-progress/README.md +51 -0
- package/recipes/step-progress/demo.json +27 -0
- package/recipes/summary-coverage/README.md +60 -0
- package/recipes/summary-coverage/demo.json +46 -0
- package/recipes/ticket-match/README.md +50 -0
- package/recipes/ticket-match/demo.json +26 -0
- package/recipes/tone-check/README.md +55 -0
- package/recipes/tone-check/demo.json +30 -0
- package/recipes/tool-fit/README.md +49 -0
- package/recipes/tool-fit/demo.json +25 -0
- package/recipes/topic-shift/README.md +50 -0
- package/recipes/topic-shift/demo.json +26 -0
- package/recipes/troubleshooting-fit/README.md +49 -0
- package/recipes/troubleshooting-fit/demo.json +25 -0
- package/recipes/turn-intent/README.md +52 -0
- package/recipes/turn-intent/demo.json +29 -0
- package/recipes/urgency-signal/README.md +47 -0
- package/recipes/urgency-signal/demo.json +24 -0
- package/recipes/verify/README.md +37 -13
- package/recipes/workaround-fit/README.md +50 -0
- package/recipes/workaround-fit/demo.json +26 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { clarify, clarifyInputSchema, clarifyResultSchema } from '../../recipes/clarify/index.js';
|
|
2
|
+
import { metadata as clarifyMetadata } from '../../recipes/clarify/metadata.js';
|
|
3
|
+
import { turnIntent, turnIntentInputSchema, turnIntentResultSchema, } from '../../recipes/turn-intent/index.js';
|
|
4
|
+
import { metadata as turnIntentMetadata } from '../../recipes/turn-intent/metadata.js';
|
|
5
|
+
import { followupLink, followupLinkInputSchema, followupLinkResultSchema, } from '../../recipes/followup-link/index.js';
|
|
6
|
+
import { metadata as followupLinkMetadata } from '../../recipes/followup-link/metadata.js';
|
|
7
|
+
import { referenceResolve, referenceResolveInputSchema, referenceResolveResultSchema, } from '../../recipes/reference-resolve/index.js';
|
|
8
|
+
import { metadata as referenceResolveMetadata } from '../../recipes/reference-resolve/metadata.js';
|
|
9
|
+
import { intentChange, intentChangeInputSchema, intentChangeResultSchema, } from '../../recipes/intent-change/index.js';
|
|
10
|
+
import { metadata as intentChangeMetadata } from '../../recipes/intent-change/metadata.js';
|
|
11
|
+
import { correctionTarget, correctionTargetInputSchema, correctionTargetResultSchema, } from '../../recipes/correction-target/index.js';
|
|
12
|
+
import { metadata as correctionTargetMetadata } from '../../recipes/correction-target/metadata.js';
|
|
13
|
+
import { confirmationMatch, confirmationMatchInputSchema, confirmationMatchResultSchema, } from '../../recipes/confirmation-match/index.js';
|
|
14
|
+
import { metadata as confirmationMatchMetadata } from '../../recipes/confirmation-match/metadata.js';
|
|
15
|
+
import { cancellationCheck, cancellationCheckInputSchema, cancellationCheckResultSchema, } from '../../recipes/cancellation-check/index.js';
|
|
16
|
+
import { metadata as cancellationCheckMetadata } from '../../recipes/cancellation-check/metadata.js';
|
|
17
|
+
import { topicShift, topicShiftInputSchema, topicShiftResultSchema, } from '../../recipes/topic-shift/index.js';
|
|
18
|
+
import { metadata as topicShiftMetadata } from '../../recipes/topic-shift/metadata.js';
|
|
19
|
+
import { responseNeeded, responseNeededInputSchema, responseNeededResultSchema, } from '../../recipes/response-needed/index.js';
|
|
20
|
+
import { metadata as responseNeededMetadata } from '../../recipes/response-needed/metadata.js';
|
|
21
|
+
import { resolutionCheck, resolutionCheckInputSchema, resolutionCheckResultSchema, } from '../../recipes/resolution-check/index.js';
|
|
22
|
+
import { metadata as resolutionCheckMetadata } from '../../recipes/resolution-check/metadata.js';
|
|
23
|
+
export const conversationRecipes = {
|
|
24
|
+
clarify: {
|
|
25
|
+
metadata: clarifyMetadata,
|
|
26
|
+
inputSchema: clarifyInputSchema,
|
|
27
|
+
resultSchema: clarifyResultSchema,
|
|
28
|
+
run: (input, options) => clarify(clarifyInputSchema.parse(input), options),
|
|
29
|
+
},
|
|
30
|
+
'turn-intent': {
|
|
31
|
+
metadata: turnIntentMetadata,
|
|
32
|
+
inputSchema: turnIntentInputSchema,
|
|
33
|
+
resultSchema: turnIntentResultSchema,
|
|
34
|
+
run: (input, options) => turnIntent(turnIntentInputSchema.parse(input), options),
|
|
35
|
+
},
|
|
36
|
+
'followup-link': {
|
|
37
|
+
metadata: followupLinkMetadata,
|
|
38
|
+
inputSchema: followupLinkInputSchema,
|
|
39
|
+
resultSchema: followupLinkResultSchema,
|
|
40
|
+
run: (input, options) => followupLink(followupLinkInputSchema.parse(input), options),
|
|
41
|
+
},
|
|
42
|
+
'reference-resolve': {
|
|
43
|
+
metadata: referenceResolveMetadata,
|
|
44
|
+
inputSchema: referenceResolveInputSchema,
|
|
45
|
+
resultSchema: referenceResolveResultSchema,
|
|
46
|
+
run: (input, options) => referenceResolve(referenceResolveInputSchema.parse(input), options),
|
|
47
|
+
},
|
|
48
|
+
'intent-change': {
|
|
49
|
+
metadata: intentChangeMetadata,
|
|
50
|
+
inputSchema: intentChangeInputSchema,
|
|
51
|
+
resultSchema: intentChangeResultSchema,
|
|
52
|
+
run: (input, options) => intentChange(intentChangeInputSchema.parse(input), options),
|
|
53
|
+
},
|
|
54
|
+
'correction-target': {
|
|
55
|
+
metadata: correctionTargetMetadata,
|
|
56
|
+
inputSchema: correctionTargetInputSchema,
|
|
57
|
+
resultSchema: correctionTargetResultSchema,
|
|
58
|
+
run: (input, options) => correctionTarget(correctionTargetInputSchema.parse(input), options),
|
|
59
|
+
},
|
|
60
|
+
'confirmation-match': {
|
|
61
|
+
metadata: confirmationMatchMetadata,
|
|
62
|
+
inputSchema: confirmationMatchInputSchema,
|
|
63
|
+
resultSchema: confirmationMatchResultSchema,
|
|
64
|
+
run: (input, options) => confirmationMatch(confirmationMatchInputSchema.parse(input), options),
|
|
65
|
+
},
|
|
66
|
+
'cancellation-check': {
|
|
67
|
+
metadata: cancellationCheckMetadata,
|
|
68
|
+
inputSchema: cancellationCheckInputSchema,
|
|
69
|
+
resultSchema: cancellationCheckResultSchema,
|
|
70
|
+
run: (input, options) => cancellationCheck(cancellationCheckInputSchema.parse(input), options),
|
|
71
|
+
},
|
|
72
|
+
'topic-shift': {
|
|
73
|
+
metadata: topicShiftMetadata,
|
|
74
|
+
inputSchema: topicShiftInputSchema,
|
|
75
|
+
resultSchema: topicShiftResultSchema,
|
|
76
|
+
run: (input, options) => topicShift(topicShiftInputSchema.parse(input), options),
|
|
77
|
+
},
|
|
78
|
+
'response-needed': {
|
|
79
|
+
metadata: responseNeededMetadata,
|
|
80
|
+
inputSchema: responseNeededInputSchema,
|
|
81
|
+
resultSchema: responseNeededResultSchema,
|
|
82
|
+
run: (input, options) => responseNeeded(responseNeededInputSchema.parse(input), options),
|
|
83
|
+
},
|
|
84
|
+
'resolution-check': {
|
|
85
|
+
metadata: resolutionCheckMetadata,
|
|
86
|
+
inputSchema: resolutionCheckInputSchema,
|
|
87
|
+
resultSchema: resolutionCheckResultSchema,
|
|
88
|
+
run: (input, options) => resolutionCheck(resolutionCheckInputSchema.parse(input), options),
|
|
89
|
+
},
|
|
90
|
+
};
|
|
@@ -0,0 +1,522 @@
|
|
|
1
|
+
import type { RecipeOptions } from '../../src/schema.js';
|
|
2
|
+
export declare const knowledgeRecipes: {
|
|
3
|
+
'memory-value': {
|
|
4
|
+
metadata: {
|
|
5
|
+
id: string;
|
|
6
|
+
title: string;
|
|
7
|
+
description: string;
|
|
8
|
+
category: "memory";
|
|
9
|
+
tags: string[];
|
|
10
|
+
limitations: string[];
|
|
11
|
+
};
|
|
12
|
+
inputSchema: import("zod").ZodObject<{
|
|
13
|
+
fact: import("zod").ZodString;
|
|
14
|
+
purpose: import("zod").ZodString;
|
|
15
|
+
context: import("zod").ZodOptional<import("zod").ZodString>;
|
|
16
|
+
minConfidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
17
|
+
}, import("zod/v4/core").$strip>;
|
|
18
|
+
resultSchema: import("zod").ZodObject<{
|
|
19
|
+
model: import("zod").ZodString;
|
|
20
|
+
usage: import("zod").ZodObject<{
|
|
21
|
+
input_tokens: import("zod").ZodNumber;
|
|
22
|
+
output_tokens: import("zod").ZodNumber;
|
|
23
|
+
}, import("zod/v4/core").$strip>;
|
|
24
|
+
status: import("zod").ZodEnum<{
|
|
25
|
+
ready: "ready";
|
|
26
|
+
review: "review";
|
|
27
|
+
}>;
|
|
28
|
+
verdict: import("zod").ZodEnum<{
|
|
29
|
+
unclear: "unclear";
|
|
30
|
+
ongoing_value: "ongoing_value";
|
|
31
|
+
task_only: "task_only";
|
|
32
|
+
incidental: "incidental";
|
|
33
|
+
}>;
|
|
34
|
+
confidence: import("zod").ZodNumber;
|
|
35
|
+
probabilities: import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
36
|
+
unclear: "unclear";
|
|
37
|
+
ongoing_value: "ongoing_value";
|
|
38
|
+
task_only: "task_only";
|
|
39
|
+
incidental: "incidental";
|
|
40
|
+
}>, import("zod").ZodNumber>;
|
|
41
|
+
}, import("zod/v4/core").$strip>;
|
|
42
|
+
run: (input: unknown, options?: RecipeOptions) => Promise<{
|
|
43
|
+
model: string;
|
|
44
|
+
usage: {
|
|
45
|
+
input_tokens: number;
|
|
46
|
+
output_tokens: number;
|
|
47
|
+
};
|
|
48
|
+
status: "ready" | "review";
|
|
49
|
+
verdict: "unclear" | "ongoing_value" | "task_only" | "incidental";
|
|
50
|
+
confidence: number;
|
|
51
|
+
probabilities: Record<"unclear" | "ongoing_value" | "task_only" | "incidental", number>;
|
|
52
|
+
}>;
|
|
53
|
+
};
|
|
54
|
+
'memory-scope': {
|
|
55
|
+
metadata: {
|
|
56
|
+
id: string;
|
|
57
|
+
title: string;
|
|
58
|
+
description: string;
|
|
59
|
+
category: "memory";
|
|
60
|
+
tags: string[];
|
|
61
|
+
limitations: string[];
|
|
62
|
+
};
|
|
63
|
+
inputSchema: import("zod").ZodObject<{
|
|
64
|
+
fact: import("zod").ZodString;
|
|
65
|
+
context: import("zod").ZodString;
|
|
66
|
+
minConfidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
67
|
+
}, import("zod/v4/core").$strip>;
|
|
68
|
+
resultSchema: import("zod").ZodObject<{
|
|
69
|
+
model: import("zod").ZodString;
|
|
70
|
+
usage: import("zod").ZodObject<{
|
|
71
|
+
input_tokens: import("zod").ZodNumber;
|
|
72
|
+
output_tokens: import("zod").ZodNumber;
|
|
73
|
+
}, import("zod/v4/core").$strip>;
|
|
74
|
+
status: import("zod").ZodEnum<{
|
|
75
|
+
ready: "ready";
|
|
76
|
+
review: "review";
|
|
77
|
+
}>;
|
|
78
|
+
verdict: import("zod").ZodEnum<{
|
|
79
|
+
unclear: "unclear";
|
|
80
|
+
task: "task";
|
|
81
|
+
user: "user";
|
|
82
|
+
project: "project";
|
|
83
|
+
session: "session";
|
|
84
|
+
}>;
|
|
85
|
+
confidence: import("zod").ZodNumber;
|
|
86
|
+
probabilities: import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
87
|
+
unclear: "unclear";
|
|
88
|
+
task: "task";
|
|
89
|
+
user: "user";
|
|
90
|
+
project: "project";
|
|
91
|
+
session: "session";
|
|
92
|
+
}>, import("zod").ZodNumber>;
|
|
93
|
+
}, import("zod/v4/core").$strip>;
|
|
94
|
+
run: (input: unknown, options?: RecipeOptions) => Promise<{
|
|
95
|
+
model: string;
|
|
96
|
+
usage: {
|
|
97
|
+
input_tokens: number;
|
|
98
|
+
output_tokens: number;
|
|
99
|
+
};
|
|
100
|
+
status: "ready" | "review";
|
|
101
|
+
verdict: "unclear" | "task" | "user" | "project" | "session";
|
|
102
|
+
confidence: number;
|
|
103
|
+
probabilities: Record<"unclear" | "task" | "user" | "project" | "session", number>;
|
|
104
|
+
}>;
|
|
105
|
+
};
|
|
106
|
+
'memory-relation': {
|
|
107
|
+
metadata: {
|
|
108
|
+
id: string;
|
|
109
|
+
title: string;
|
|
110
|
+
description: string;
|
|
111
|
+
category: "memory";
|
|
112
|
+
tags: string[];
|
|
113
|
+
limitations: string[];
|
|
114
|
+
};
|
|
115
|
+
inputSchema: import("zod").ZodObject<{
|
|
116
|
+
existingMemory: import("zod").ZodString;
|
|
117
|
+
newFact: import("zod").ZodString;
|
|
118
|
+
context: import("zod").ZodOptional<import("zod").ZodString>;
|
|
119
|
+
minConfidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
120
|
+
}, import("zod/v4/core").$strip>;
|
|
121
|
+
resultSchema: import("zod").ZodObject<{
|
|
122
|
+
model: import("zod").ZodString;
|
|
123
|
+
usage: import("zod").ZodObject<{
|
|
124
|
+
input_tokens: import("zod").ZodNumber;
|
|
125
|
+
output_tokens: import("zod").ZodNumber;
|
|
126
|
+
}, import("zod/v4/core").$strip>;
|
|
127
|
+
status: import("zod").ZodEnum<{
|
|
128
|
+
ready: "ready";
|
|
129
|
+
review: "review";
|
|
130
|
+
}>;
|
|
131
|
+
verdict: import("zod").ZodEnum<{
|
|
132
|
+
unclear: "unclear";
|
|
133
|
+
unrelated: "unrelated";
|
|
134
|
+
conflicts: "conflicts";
|
|
135
|
+
repeats: "repeats";
|
|
136
|
+
supplements: "supplements";
|
|
137
|
+
updates: "updates";
|
|
138
|
+
}>;
|
|
139
|
+
confidence: import("zod").ZodNumber;
|
|
140
|
+
probabilities: import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
141
|
+
unclear: "unclear";
|
|
142
|
+
unrelated: "unrelated";
|
|
143
|
+
conflicts: "conflicts";
|
|
144
|
+
repeats: "repeats";
|
|
145
|
+
supplements: "supplements";
|
|
146
|
+
updates: "updates";
|
|
147
|
+
}>, import("zod").ZodNumber>;
|
|
148
|
+
}, import("zod/v4/core").$strip>;
|
|
149
|
+
run: (input: unknown, options?: RecipeOptions) => Promise<{
|
|
150
|
+
model: string;
|
|
151
|
+
usage: {
|
|
152
|
+
input_tokens: number;
|
|
153
|
+
output_tokens: number;
|
|
154
|
+
};
|
|
155
|
+
status: "ready" | "review";
|
|
156
|
+
verdict: "unclear" | "unrelated" | "conflicts" | "repeats" | "supplements" | "updates";
|
|
157
|
+
confidence: number;
|
|
158
|
+
probabilities: Record<"unclear" | "unrelated" | "conflicts" | "repeats" | "supplements" | "updates", number>;
|
|
159
|
+
}>;
|
|
160
|
+
};
|
|
161
|
+
'preference-kind': {
|
|
162
|
+
metadata: {
|
|
163
|
+
id: string;
|
|
164
|
+
title: string;
|
|
165
|
+
description: string;
|
|
166
|
+
category: "memory";
|
|
167
|
+
tags: string[];
|
|
168
|
+
limitations: string[];
|
|
169
|
+
};
|
|
170
|
+
inputSchema: import("zod").ZodObject<{
|
|
171
|
+
statement: import("zod").ZodString;
|
|
172
|
+
context: import("zod").ZodOptional<import("zod").ZodString>;
|
|
173
|
+
minConfidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
174
|
+
}, import("zod/v4/core").$strip>;
|
|
175
|
+
resultSchema: import("zod").ZodObject<{
|
|
176
|
+
model: import("zod").ZodString;
|
|
177
|
+
usage: import("zod").ZodObject<{
|
|
178
|
+
input_tokens: import("zod").ZodNumber;
|
|
179
|
+
output_tokens: import("zod").ZodNumber;
|
|
180
|
+
}, import("zod/v4/core").$strip>;
|
|
181
|
+
status: import("zod").ZodEnum<{
|
|
182
|
+
ready: "ready";
|
|
183
|
+
review: "review";
|
|
184
|
+
}>;
|
|
185
|
+
verdict: import("zod").ZodEnum<{
|
|
186
|
+
unclear: "unclear";
|
|
187
|
+
fact: "fact";
|
|
188
|
+
preference: "preference";
|
|
189
|
+
temporary_request: "temporary_request";
|
|
190
|
+
}>;
|
|
191
|
+
confidence: import("zod").ZodNumber;
|
|
192
|
+
probabilities: import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
193
|
+
unclear: "unclear";
|
|
194
|
+
fact: "fact";
|
|
195
|
+
preference: "preference";
|
|
196
|
+
temporary_request: "temporary_request";
|
|
197
|
+
}>, import("zod").ZodNumber>;
|
|
198
|
+
}, import("zod/v4/core").$strip>;
|
|
199
|
+
run: (input: unknown, options?: RecipeOptions) => Promise<{
|
|
200
|
+
model: string;
|
|
201
|
+
usage: {
|
|
202
|
+
input_tokens: number;
|
|
203
|
+
output_tokens: number;
|
|
204
|
+
};
|
|
205
|
+
status: "ready" | "review";
|
|
206
|
+
verdict: "unclear" | "fact" | "preference" | "temporary_request";
|
|
207
|
+
confidence: number;
|
|
208
|
+
probabilities: Record<"unclear" | "fact" | "preference" | "temporary_request", number>;
|
|
209
|
+
}>;
|
|
210
|
+
};
|
|
211
|
+
'fact-stability': {
|
|
212
|
+
metadata: {
|
|
213
|
+
id: string;
|
|
214
|
+
title: string;
|
|
215
|
+
description: string;
|
|
216
|
+
category: "memory";
|
|
217
|
+
tags: string[];
|
|
218
|
+
limitations: string[];
|
|
219
|
+
};
|
|
220
|
+
inputSchema: import("zod").ZodObject<{
|
|
221
|
+
fact: import("zod").ZodString;
|
|
222
|
+
context: import("zod").ZodOptional<import("zod").ZodString>;
|
|
223
|
+
minConfidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
224
|
+
}, import("zod/v4/core").$strip>;
|
|
225
|
+
resultSchema: import("zod").ZodObject<{
|
|
226
|
+
model: import("zod").ZodString;
|
|
227
|
+
usage: import("zod").ZodObject<{
|
|
228
|
+
input_tokens: import("zod").ZodNumber;
|
|
229
|
+
output_tokens: import("zod").ZodNumber;
|
|
230
|
+
}, import("zod/v4/core").$strip>;
|
|
231
|
+
status: import("zod").ZodEnum<{
|
|
232
|
+
ready: "ready";
|
|
233
|
+
review: "review";
|
|
234
|
+
}>;
|
|
235
|
+
verdict: import("zod").ZodEnum<{
|
|
236
|
+
unclear: "unclear";
|
|
237
|
+
stable: "stable";
|
|
238
|
+
changeable: "changeable";
|
|
239
|
+
}>;
|
|
240
|
+
confidence: import("zod").ZodNumber;
|
|
241
|
+
probabilities: import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
242
|
+
unclear: "unclear";
|
|
243
|
+
stable: "stable";
|
|
244
|
+
changeable: "changeable";
|
|
245
|
+
}>, import("zod").ZodNumber>;
|
|
246
|
+
}, import("zod/v4/core").$strip>;
|
|
247
|
+
run: (input: unknown, options?: RecipeOptions) => Promise<{
|
|
248
|
+
model: string;
|
|
249
|
+
usage: {
|
|
250
|
+
input_tokens: number;
|
|
251
|
+
output_tokens: number;
|
|
252
|
+
};
|
|
253
|
+
status: "ready" | "review";
|
|
254
|
+
verdict: "unclear" | "stable" | "changeable";
|
|
255
|
+
confidence: number;
|
|
256
|
+
probabilities: Record<"unclear" | "stable" | "changeable", number>;
|
|
257
|
+
}>;
|
|
258
|
+
};
|
|
259
|
+
'document-role': {
|
|
260
|
+
metadata: {
|
|
261
|
+
id: string;
|
|
262
|
+
title: string;
|
|
263
|
+
description: string;
|
|
264
|
+
category: "knowledge";
|
|
265
|
+
tags: string[];
|
|
266
|
+
limitations: string[];
|
|
267
|
+
};
|
|
268
|
+
inputSchema: import("zod").ZodObject<{
|
|
269
|
+
document: import("zod").ZodString;
|
|
270
|
+
minConfidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
271
|
+
}, import("zod/v4/core").$strip>;
|
|
272
|
+
resultSchema: import("zod").ZodObject<{
|
|
273
|
+
model: import("zod").ZodString;
|
|
274
|
+
usage: import("zod").ZodObject<{
|
|
275
|
+
input_tokens: import("zod").ZodNumber;
|
|
276
|
+
output_tokens: import("zod").ZodNumber;
|
|
277
|
+
}, import("zod/v4/core").$strip>;
|
|
278
|
+
status: import("zod").ZodEnum<{
|
|
279
|
+
ready: "ready";
|
|
280
|
+
review: "review";
|
|
281
|
+
}>;
|
|
282
|
+
verdict: import("zod").ZodEnum<{
|
|
283
|
+
unclear: "unclear";
|
|
284
|
+
other: "other";
|
|
285
|
+
reference: "reference";
|
|
286
|
+
troubleshooting: "troubleshooting";
|
|
287
|
+
policy: "policy";
|
|
288
|
+
tutorial: "tutorial";
|
|
289
|
+
release_note: "release_note";
|
|
290
|
+
}>;
|
|
291
|
+
confidence: import("zod").ZodNumber;
|
|
292
|
+
probabilities: import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
293
|
+
unclear: "unclear";
|
|
294
|
+
other: "other";
|
|
295
|
+
reference: "reference";
|
|
296
|
+
troubleshooting: "troubleshooting";
|
|
297
|
+
policy: "policy";
|
|
298
|
+
tutorial: "tutorial";
|
|
299
|
+
release_note: "release_note";
|
|
300
|
+
}>, import("zod").ZodNumber>;
|
|
301
|
+
}, import("zod/v4/core").$strip>;
|
|
302
|
+
run: (input: unknown, options?: RecipeOptions) => Promise<{
|
|
303
|
+
model: string;
|
|
304
|
+
usage: {
|
|
305
|
+
input_tokens: number;
|
|
306
|
+
output_tokens: number;
|
|
307
|
+
};
|
|
308
|
+
status: "ready" | "review";
|
|
309
|
+
verdict: "unclear" | "other" | "reference" | "troubleshooting" | "policy" | "tutorial" | "release_note";
|
|
310
|
+
confidence: number;
|
|
311
|
+
probabilities: Record<"unclear" | "other" | "reference" | "troubleshooting" | "policy" | "tutorial" | "release_note", number>;
|
|
312
|
+
}>;
|
|
313
|
+
};
|
|
314
|
+
'audience-fit': {
|
|
315
|
+
metadata: {
|
|
316
|
+
id: string;
|
|
317
|
+
title: string;
|
|
318
|
+
description: string;
|
|
319
|
+
category: "knowledge";
|
|
320
|
+
tags: string[];
|
|
321
|
+
limitations: string[];
|
|
322
|
+
};
|
|
323
|
+
inputSchema: import("zod").ZodObject<{
|
|
324
|
+
document: import("zod").ZodString;
|
|
325
|
+
audience: import("zod").ZodString;
|
|
326
|
+
minConfidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
327
|
+
}, import("zod/v4/core").$strip>;
|
|
328
|
+
resultSchema: import("zod").ZodObject<{
|
|
329
|
+
model: import("zod").ZodString;
|
|
330
|
+
usage: import("zod").ZodObject<{
|
|
331
|
+
input_tokens: import("zod").ZodNumber;
|
|
332
|
+
output_tokens: import("zod").ZodNumber;
|
|
333
|
+
}, import("zod/v4/core").$strip>;
|
|
334
|
+
status: import("zod").ZodEnum<{
|
|
335
|
+
ready: "ready";
|
|
336
|
+
review: "review";
|
|
337
|
+
}>;
|
|
338
|
+
verdict: import("zod").ZodEnum<{
|
|
339
|
+
unclear: "unclear";
|
|
340
|
+
appropriate: "appropriate";
|
|
341
|
+
too_technical: "too_technical";
|
|
342
|
+
too_basic: "too_basic";
|
|
343
|
+
}>;
|
|
344
|
+
confidence: import("zod").ZodNumber;
|
|
345
|
+
probabilities: import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
346
|
+
unclear: "unclear";
|
|
347
|
+
appropriate: "appropriate";
|
|
348
|
+
too_technical: "too_technical";
|
|
349
|
+
too_basic: "too_basic";
|
|
350
|
+
}>, import("zod").ZodNumber>;
|
|
351
|
+
}, import("zod/v4/core").$strip>;
|
|
352
|
+
run: (input: unknown, options?: RecipeOptions) => Promise<{
|
|
353
|
+
model: string;
|
|
354
|
+
usage: {
|
|
355
|
+
input_tokens: number;
|
|
356
|
+
output_tokens: number;
|
|
357
|
+
};
|
|
358
|
+
status: "ready" | "review";
|
|
359
|
+
verdict: "unclear" | "appropriate" | "too_technical" | "too_basic";
|
|
360
|
+
confidence: number;
|
|
361
|
+
probabilities: Record<"unclear" | "appropriate" | "too_technical" | "too_basic", number>;
|
|
362
|
+
}>;
|
|
363
|
+
};
|
|
364
|
+
'change-meaning': {
|
|
365
|
+
metadata: {
|
|
366
|
+
id: string;
|
|
367
|
+
title: string;
|
|
368
|
+
description: string;
|
|
369
|
+
category: "knowledge";
|
|
370
|
+
tags: string[];
|
|
371
|
+
limitations: string[];
|
|
372
|
+
};
|
|
373
|
+
inputSchema: import("zod").ZodObject<{
|
|
374
|
+
before: import("zod").ZodString;
|
|
375
|
+
after: import("zod").ZodString;
|
|
376
|
+
context: import("zod").ZodOptional<import("zod").ZodString>;
|
|
377
|
+
minConfidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
378
|
+
}, import("zod/v4/core").$strip>;
|
|
379
|
+
resultSchema: import("zod").ZodObject<{
|
|
380
|
+
model: import("zod").ZodString;
|
|
381
|
+
usage: import("zod").ZodObject<{
|
|
382
|
+
input_tokens: import("zod").ZodNumber;
|
|
383
|
+
output_tokens: import("zod").ZodNumber;
|
|
384
|
+
}, import("zod/v4/core").$strip>;
|
|
385
|
+
status: import("zod").ZodEnum<{
|
|
386
|
+
ready: "ready";
|
|
387
|
+
review: "review";
|
|
388
|
+
}>;
|
|
389
|
+
verdict: import("zod").ZodEnum<{
|
|
390
|
+
unclear: "unclear";
|
|
391
|
+
meaning_changed: "meaning_changed";
|
|
392
|
+
editorial_only: "editorial_only";
|
|
393
|
+
}>;
|
|
394
|
+
confidence: import("zod").ZodNumber;
|
|
395
|
+
probabilities: import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
396
|
+
unclear: "unclear";
|
|
397
|
+
meaning_changed: "meaning_changed";
|
|
398
|
+
editorial_only: "editorial_only";
|
|
399
|
+
}>, import("zod").ZodNumber>;
|
|
400
|
+
}, import("zod/v4/core").$strip>;
|
|
401
|
+
run: (input: unknown, options?: RecipeOptions) => Promise<{
|
|
402
|
+
model: string;
|
|
403
|
+
usage: {
|
|
404
|
+
input_tokens: number;
|
|
405
|
+
output_tokens: number;
|
|
406
|
+
};
|
|
407
|
+
status: "ready" | "review";
|
|
408
|
+
verdict: "unclear" | "meaning_changed" | "editorial_only";
|
|
409
|
+
confidence: number;
|
|
410
|
+
probabilities: Record<"unclear" | "meaning_changed" | "editorial_only", number>;
|
|
411
|
+
}>;
|
|
412
|
+
};
|
|
413
|
+
'answer-invalidation': {
|
|
414
|
+
metadata: {
|
|
415
|
+
id: string;
|
|
416
|
+
title: string;
|
|
417
|
+
description: string;
|
|
418
|
+
category: "knowledge";
|
|
419
|
+
tags: string[];
|
|
420
|
+
limitations: string[];
|
|
421
|
+
};
|
|
422
|
+
inputSchema: import("zod").ZodObject<{
|
|
423
|
+
claim: import("zod").ZodString;
|
|
424
|
+
previousEvidence: import("zod").ZodString;
|
|
425
|
+
updatedEvidence: import("zod").ZodString;
|
|
426
|
+
minConfidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
427
|
+
}, import("zod/v4/core").$strip>;
|
|
428
|
+
resultSchema: import("zod").ZodObject<{
|
|
429
|
+
model: import("zod").ZodString;
|
|
430
|
+
usage: import("zod").ZodObject<{
|
|
431
|
+
input_tokens: import("zod").ZodNumber;
|
|
432
|
+
output_tokens: import("zod").ZodNumber;
|
|
433
|
+
}, import("zod/v4/core").$strip>;
|
|
434
|
+
status: import("zod").ZodEnum<{
|
|
435
|
+
ready: "ready";
|
|
436
|
+
review: "review";
|
|
437
|
+
}>;
|
|
438
|
+
verdict: import("zod").ZodEnum<{
|
|
439
|
+
unclear: "unclear";
|
|
440
|
+
still_supported: "still_supported";
|
|
441
|
+
invalidated: "invalidated";
|
|
442
|
+
}>;
|
|
443
|
+
confidence: import("zod").ZodNumber;
|
|
444
|
+
probabilities: import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
445
|
+
unclear: "unclear";
|
|
446
|
+
still_supported: "still_supported";
|
|
447
|
+
invalidated: "invalidated";
|
|
448
|
+
}>, import("zod").ZodNumber>;
|
|
449
|
+
}, import("zod/v4/core").$strip>;
|
|
450
|
+
run: (input: unknown, options?: RecipeOptions) => Promise<{
|
|
451
|
+
model: string;
|
|
452
|
+
usage: {
|
|
453
|
+
input_tokens: number;
|
|
454
|
+
output_tokens: number;
|
|
455
|
+
};
|
|
456
|
+
status: "ready" | "review";
|
|
457
|
+
verdict: "unclear" | "still_supported" | "invalidated";
|
|
458
|
+
confidence: number;
|
|
459
|
+
probabilities: Record<"unclear" | "still_supported" | "invalidated", number>;
|
|
460
|
+
}>;
|
|
461
|
+
};
|
|
462
|
+
'field-select': {
|
|
463
|
+
metadata: {
|
|
464
|
+
id: string;
|
|
465
|
+
title: string;
|
|
466
|
+
description: string;
|
|
467
|
+
category: "knowledge";
|
|
468
|
+
tags: string[];
|
|
469
|
+
limitations: string[];
|
|
470
|
+
};
|
|
471
|
+
inputSchema: import("zod").ZodObject<{
|
|
472
|
+
field: import("zod").ZodString;
|
|
473
|
+
document: import("zod").ZodString;
|
|
474
|
+
candidates: import("zod").ZodArray<import("zod").ZodObject<{
|
|
475
|
+
id: import("zod").ZodString;
|
|
476
|
+
text: import("zod").ZodString;
|
|
477
|
+
}, import("zod/v4/core").$strip>>;
|
|
478
|
+
minConfidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
479
|
+
}, import("zod/v4/core").$strip>;
|
|
480
|
+
resultSchema: import("zod").ZodObject<{
|
|
481
|
+
model: import("zod").ZodString;
|
|
482
|
+
usage: import("zod").ZodObject<{
|
|
483
|
+
input_tokens: import("zod").ZodNumber;
|
|
484
|
+
output_tokens: import("zod").ZodNumber;
|
|
485
|
+
}, import("zod/v4/core").$strip>;
|
|
486
|
+
status: import("zod").ZodEnum<{
|
|
487
|
+
ready: "ready";
|
|
488
|
+
review: "review";
|
|
489
|
+
}>;
|
|
490
|
+
verdict: import("zod").ZodEnum<{
|
|
491
|
+
matched: "matched";
|
|
492
|
+
none: "none";
|
|
493
|
+
ambiguous: "ambiguous";
|
|
494
|
+
}>;
|
|
495
|
+
selection: import("zod").ZodNullable<import("zod").ZodString>;
|
|
496
|
+
suggestedSelection: import("zod").ZodNullable<import("zod").ZodString>;
|
|
497
|
+
confidence: import("zod").ZodNumber;
|
|
498
|
+
probabilities: import("zod").ZodObject<{
|
|
499
|
+
candidates: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodNumber>;
|
|
500
|
+
none: import("zod").ZodNumber;
|
|
501
|
+
ambiguous: import("zod").ZodNumber;
|
|
502
|
+
}, import("zod/v4/core").$strip>;
|
|
503
|
+
}, import("zod/v4/core").$strip>;
|
|
504
|
+
run: (input: unknown, options?: RecipeOptions) => Promise<{
|
|
505
|
+
model: string;
|
|
506
|
+
usage: {
|
|
507
|
+
input_tokens: number;
|
|
508
|
+
output_tokens: number;
|
|
509
|
+
};
|
|
510
|
+
status: "ready" | "review";
|
|
511
|
+
verdict: "matched" | "none" | "ambiguous";
|
|
512
|
+
selection: string | null;
|
|
513
|
+
suggestedSelection: string | null;
|
|
514
|
+
confidence: number;
|
|
515
|
+
probabilities: {
|
|
516
|
+
candidates: Record<string, number>;
|
|
517
|
+
none: number;
|
|
518
|
+
ambiguous: number;
|
|
519
|
+
};
|
|
520
|
+
}>;
|
|
521
|
+
};
|
|
522
|
+
};
|