Module sampling

Module sampling 

Source

Structs§

AlternativeModel
Alternative model that was considered
CostInfo
Cost information for the sampling request
HumanFeedback
Human feedback for sampling requests
HumanInTheLoopSettings
Human-in-the-loop settings
ModelCapability
Model capability information for intelligent selection
ModelHint
Model hint for sampling
ModelPerformanceRecord
Historical performance data for a model
ModelPreferences
Model preferences for sampling
ModelSelectionContext
Model selection context for intelligent choice
ModelSelectionResult
Result of model selection with reasoning
ModelSelector
Intelligent model selector that considers preferences and context
NotificationSettings
Notification settings for human-in-the-loop
PriorityScores
Calculated priority scores
RequestContext
Context information about the current request
ResourceContextInfo
Resource context information
SamplingContext
Context information for sampling requests
SamplingMessage
Sampling message
SamplingRequest
Enhanced sampling request with context and human-in-the-loop support
SamplingResponse
Enhanced sampling response with human-in-the-loop support
SelectionFactor
Factors that influenced model selection
SelectionReasoning
Detailed reasoning for model selection
ServerContextInfo
Server context information
ToolContextInfo
Tool context information
UserPreferences
User preferences for sampling

Enums§

ApprovalStatus
Human-in-the-loop approval status
IncludeContext
Context inclusion options for sampling requests
Modality
Supported input/output modalities
SamplingContent
Sampling content
SamplingRole
Sampling message role
ScoringStrategy
Strategy for scoring and ranking models
StopReason
Stop reason for sampling responses

Type Aliases§

CreateMessageRequest
Type aliases for consistency
CreateMessageResponse