IntelligenceOperation
@totemsdk/intelligence / IntelligenceOperation
Interface: IntelligenceOperation<T>
A single provider-neutral inference operation.
params is intentionally Record<string, unknown> at the contract level;
each provider adapter narrows it to its domain's typed parameter set.
Type Parameters
T
T = unknown
Properties
context?
readonlyoptionalcontext?:IntelligenceContext
domain
readonlydomain:IntelligenceDomainOrString
op
readonlyop:string
params
readonlyparams:Record<string,unknown>
requestId?
readonlyoptionalrequestId?:string
signal?
readonlyoptionalsignal?:AbortSignal