Skip to main content

Module sampling

Module sampling 

Source
Expand description

Shared sampling client trait for MCP sampling/createMessage reverse-calls.

Used by both the distill pipeline (transcript → candidates) and the knowledge compile pipeline (clusters → knowledge pages).

Structs§

NoopSamplingClient
Default sampling client that always reports unavailable.

Enums§

SamplingError
Reasons the sampling reverse-call may fail or be skipped.

Traits§

SamplingClient
MCP sampling/createMessage reverse-call client.

Type Aliases§

SamplingFuture
Boxed future returned by SamplingClient::create_message.