@uservane/vercel-ai: CorrelationSource
Type Alias: CorrelationSource
Section titled “Type Alias: CorrelationSource”CorrelationSource =
object
Defined in: products/uservane/agent-core/dist/index.d.ts:38
Pluggable reader for correlation ids at show-decision time.
Production path: prefer controller.bind({ surveyId, showToken, sessionId?, observationId?, traceId? }) after the server mints a bound token. That
installs the token and developer-provided correlation ids without an AI-SDK
auto-read.
Observation-level scores ARE supported via developer-provided
traceId + observationId on mint/bind. Only the framework auto-READ of
those ids remains deferred (NEEDS CEO VERIFICATION).
Custom CorrelationSource remains for hosts that thread ids another way. Do not hardcode an unverified AI-SDK / OTel auto-read here.
Methods
Section titled “Methods”capture()
Section titled “capture()”capture():
CorrelationSnapshot
Defined in: products/uservane/agent-core/dist/index.d.ts:39