Skip to main content

IntelligenceOperation

@totemsdk/intelligence


@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?

readonly optional context?: IntelligenceContext


domain

readonly domain: IntelligenceDomainOrString


op

readonly op: string


params

readonly params: Record<string, unknown>


requestId?

readonly optional requestId?: string


signal?

readonly optional signal?: AbortSignal