Class McpSamplingRequest
- Namespace
- LMKit.Mcp.Abstractions
- Assembly
- LM-Kit.NET.dll
Represents a sampling request from an MCP server requesting LLM completion from the client.
public sealed class McpSamplingRequest
- Inheritance
-
McpSamplingRequest
- Inherited Members
Properties
- MaxTokens
Gets or sets the maximum number of tokens to generate.
- Messages
Gets or sets the messages to sample from.
- Metadata
Gets or sets additional metadata from the request.
- ModelPreferences
Gets or sets the model preferences for the request.
- RequestId
Gets the request ID for responding to this sampling request.
- StopSequences
Gets or sets the stop sequences that will terminate generation.
- SystemPrompt
Gets or sets the optional system prompt.
- Temperature
Gets or sets the temperature for sampling (0.0 to 1.0).