sampling
Indicates that the client supports sampling from an LLM.
Use ClientCapabilities.sampling for default empty configuration.
Example:
capabilities {
sampling(ClientCapabilities.sampling)
}Content copied to clipboard
Parameters
value
The sampling capability configuration
Indicates that the client supports sampling from an LLM with custom configuration.
Example:
capabilities {
sampling {
put("temperature", JsonPrimitive(0.7))
}
}Content copied to clipboard
Parameters
block
Lambda for building the sampling configuration