Package-level declarations
//fluxbase-kotlin/io.github.nimbleflux.fluxbase.ai
Package-level declarations
Section titled “Package-level declarations”| Name | Summary |
|---|---|
| AIChatbotSummary | [jvm] @Serializable data class AIChatbotSummary(val id: String, val name: String, val namespace: String = "default", val description: String? = null, val model: String? = null, val enabled: Boolean = true, val isPublic: Boolean = true, val source: String = "api", val updatedAt: String? = null) |
| AIConversationDetail | [jvm] @Serializable data class AIConversationDetail(val id: String, val chatbotId: String? = null, val title: String? = null, val status: String? = null, val messages: List<AIConversationMessage> = emptyList(), val createdAt: String? = null, val updatedAt: String? = null) |
| AIConversationListResult | [jvm] @Serializable data class AIConversationListResult(val conversations: List<AIConversationSummary> = emptyList(), val total: Int = 0, val hasMore: Boolean = false) |
| AIConversationMessage | [jvm] @Serializable data class AIConversationMessage(val id: String? = null, val conversationId: String? = null, val role: String, val content: String, val createdAt: String? = null) |
| AIConversationSummary | [jvm] @Serializable data class AIConversationSummary(val id: String, val chatbot: String? = null, val namespace: String? = null, val title: String? = null, val preview: String? = null, val messageCount: Int = 0, val createdAt: String? = null, val updatedAt: String? = null) User-view conversation summary (GET /api/v1/ai/conversations). |
| AIQuota | [jvm] @Serializable data class AIQuota(val used: Long = 0, val limit: Long = 0) One counter half of AIUsageSnapshot. |
| AIUsageSnapshot | [jvm] @Serializable data class AIUsageSnapshot(val requests: AIQuota? = null, val tokens: AIQuota? = null, val resetsAt: String? = null) Per-user daily usage snapshot for a chatbot (GET /api/v1/ai/usage/:chatbotId). |
| FluxbaseAI | [jvm] class FluxbaseAI(http: FluxbaseHttpClient) AI module — chatbots, conversations, and usage. Mirrors the user AI surface of the TS SDK ( sdk/src/ai.ts, FluxbaseAI). The WebSocket chat stream is not covered here; use the TS/React SDKs or the /ai/ws protocol directly for streaming chat. |
| UpdateConversationRequest | [jvm] @Serializable data class UpdateConversationRequest(val title: String? = null) |