Interface: InjectionPolicy
@kortexya/reasoninglayer / InjectionPolicy
Interface: InjectionPolicy
Section titled “Interface: InjectionPolicy”Defined in: src/types/conversation.ts:160
Adaptive ontology injection policy for one conversation turn.
Remarks
Section titled “Remarks”Every field is optional; an omitted field takes the engine default. The
engine refuses an unknown key with 422.
Properties
Section titled “Properties”budgetTokens?
Section titled “budgetTokens?”
optionalbudgetTokens?:number
Defined in: src/types/conversation.ts:168
Token budget of the sort block, counted by the model’s tokenizer.
enabled?
Section titled “enabled?”
optionalenabled?:boolean
Defined in: src/types/conversation.ts:162
false behaves as if the policy were absent. Defaults to true.
model?
Section titled “model?”
optionalmodel?:string|null
Defined in: src/types/conversation.ts:173
Model the κ table and the tokenizer are keyed by. Absent ⇒ the request’s
model, else the server default’s id.
tauHigh?
Section titled “tauHigh?”
optionaltauHigh?:number
Defined in: src/types/conversation.ts:166
κ at or above this ⇒ the sort is named only.
tauLow?
Section titled “tauLow?”
optionaltauLow?:number
Defined in: src/types/conversation.ts:164
κ below this ⇒ the sort is injected in full.