KnowledgeBaseDocument
//fluxbase-kotlin/io.github.nimbleflux.fluxbase.knowledgebase/KnowledgeBaseDocument
KnowledgeBaseDocument
Section titled “KnowledgeBaseDocument”[jvm]
@Serializable
data class KnowledgeBaseDocument(val id: String, val knowledgeBaseId: String? = null, val title: String? = null, val sourceType: String? = null, val mimeType: String? = null, val content: String? = null, val status: String? = null, val chunksCount: Int = 0, val tags: List<String> = emptyList(), val createdAt: String? = null, val updatedAt: String? = null)
Constructors
Section titled “Constructors”| KnowledgeBaseDocument | [jvm] constructor(id: String, knowledgeBaseId: String? = null, title: String? = null, sourceType: String? = null, mimeType: String? = null, content: String? = null, status: String? = null, chunksCount: Int = 0, tags: List<String> = emptyList(), createdAt: String? = null, updatedAt: String? = null) |
Properties
Section titled “Properties”| Name | Summary |
|---|---|
| chunksCount | [jvm] @SerialName(value = "chunks_count") val chunksCount: Int |
| content | [jvm] val content: String? |
| createdAt | [jvm] @SerialName(value = "created_at") val createdAt: String? |
| id | [jvm] val id: String |
| knowledgeBaseId | [jvm] @SerialName(value = "knowledge_base_id") val knowledgeBaseId: String? |
| mimeType | [jvm] @SerialName(value = "mime_type") val mimeType: String? |
| sourceType | [jvm] @SerialName(value = "source_type") val sourceType: String? |
| status | [jvm] val status: String? |
| tags | [jvm] val tags: List<String> |
| title | [jvm] val title: String? |
| updatedAt | [jvm] @SerialName(value = "updated_at") val updatedAt: String? |