Blog

data class Blog(val title: String, val author: String, val content: String, val timestamp: Instant = Instant.now(), val keywords: Set<String> = emptySet(), val format: String = "markdown") : ContentAsset

Blog content, specifying its format in a way that will be intelligible to an LLM as well as application code.

Constructors

Link copied to clipboard
constructor(title: String, author: String, content: String, timestamp: Instant = Instant.now(), keywords: Set<String> = emptySet(), format: String = "markdown")

Properties

Link copied to clipboard
Link copied to clipboard
open override val content: String

Content associated with this object.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val timestamp: Instant
Link copied to clipboard

Functions

Link copied to clipboard
open fun contribution(): String