Create Message Result
@Serializable
The client's response to a sampling/create_message request from the server. The client should inform the user before returning the sampled message to allow them to inspect the response (human in the loop) and decide whether to allow the server to see it.
Constructors
Link copied to clipboard
constructor(model: String, stopReason: StopReason? = null, role: Role, content: PromptMessageContentTextOrImage, _meta: JsonObject = EmptyJsonObject)