CapabilityRequirements
Defined in: ai.matey.core/src/capability-matcher.ts:21
Capability requirements for model selection.
Properties
Section titled “Properties”optimization?
Section titled “optimization?”
optionaloptimization:OptimizationStrategy
Defined in: ai.matey.core/src/capability-matcher.ts:50
Optimization strategy (affects scoring weights).
Default
Section titled “Default”'balanced'preferred?
Section titled “preferred?”
optionalpreferred:object
Defined in: ai.matey.core/src/capability-matcher.ts:39
Soft requirements used for scoring. Models closer to these values score higher.
maxCostPer1kTokens?
Section titled “maxCostPer1kTokens?”
optionalmaxCostPer1kTokens:number
maxLatencyMs?
Section titled “maxLatencyMs?”
optionalmaxLatencyMs:number
minContextWindow?
Section titled “minContextWindow?”
optionalminContextWindow:number
minQualityScore?
Section titled “minQualityScore?”
optionalminQualityScore:number
required?
Section titled “required?”
optionalrequired:object
Defined in: ai.matey.core/src/capability-matcher.ts:26
Hard requirements that MUST be met. Models not meeting these will be excluded.
contextWindow?
Section titled “contextWindow?”
optionalcontextWindow:number
maxTokens?
Section titled “maxTokens?”
optionalmaxTokens:number
supportsJSON?
Section titled “supportsJSON?”
optionalsupportsJSON:boolean
supportsStreaming?
Section titled “supportsStreaming?”
optionalsupportsStreaming:boolean
supportsTools?
Section titled “supportsTools?”
optionalsupportsTools:boolean
supportsVision?
Section titled “supportsVision?”
optionalsupportsVision:boolean
weights?
Section titled “weights?”
optionalweights:object
Defined in: ai.matey.core/src/capability-matcher.ts:56
Custom scoring weights (overrides optimization strategy). Must sum to 1.0.
cost:
number
quality
Section titled “quality”quality:
number
speed:
number