Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
data class ChatRequest(val model: String, val instructions: String?, val messages: List<ChatMessage>, val reasoning: ReasoningEffort?, val stream: Boolean, val maxTokens: Int?, val tools: List<ChatRequest.Tool>?, val temperature: Double?, val jsonOutput: Boolean?)
Link copied to clipboard
Link copied to clipboard
data class ChatTimeout(val requestTimeout: Duration, val connectTimeout: Duration, val streamChunkTimeout: Duration)
Link copied to clipboard
表示一个用户输入类型,请使用 io.github.autotweaker.api.ObjectStorable 获取 io.github.autotweaker.api.store.ObjectStorage,并调用 io.github.autotweaker.api.store.ObjectStorage.put 来存储用户提供的媒体文件。
Link copied to clipboard
data class LlmRequest(val model: UUID, val fallbackModels: List<UUID>?, val timeout: ChatTimeout? = null, val instructions: String? = null, val messages: List<ChatMessage>, val reasoning: ReasoningEffort? = null, val stream: Boolean = false, val maxTokens: Int? = null, val tools: List<ChatRequest.Tool>? = null, val temperature: Double? = null, val jsonOutput: Boolean? = null)
Link copied to clipboard
Link copied to clipboard
@Serializable
Link copied to clipboard
@Serializable
Link copied to clipboard
Link copied to clipboard
用于分页查询 Usage 数据的指针,timestamp 与 id 共同表示同一行数据。
Link copied to clipboard
data class UsageEntry(val id: UUID = UUID(), val modelId: UUID, val timestamp: Instant, val usage: Usage)
表示 Usage 数据库中的一条记录。