Package-level declarations
Types
Link copied to clipboard
Base interface for all SSE data payloads
Link copied to clipboard
Link copied to clipboard
Polymorphic serializer for MessageCreateParams.Content.
Link copied to clipboard
data class Message(val id: String, val content: List<ContentBlock>, val model: String, val role: String = "assistant", val stopReason: StopReason? = null, val stopSequence: String? = null, val type: String = "message", val usage: Usage)
Link copied to clipboard
data class MessageCreateParams(val model: String, val messages: List<MessageCreateParams.Message>, val system: List<MessageCreateParams.SystemPrompt>? = null, val maxTokens: Int? = null, val temperature: Double? = null, val topP: Double? = null, val topK: Int? = null, val stream: Boolean? = null, val metadata: MessageCreateParams.Metadata? = null, val tools: List<Map<String, String>>? = null)
Parameters for creating a message with Anthropic's Claude models. Based on the structure of com.anthropic.models.messages.MessageCreateParams
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class ToolUseBlock(val id: String, val name: String, val input: Map<String, String>) : ContentBlock