Package-level declarations

Types

Link copied to clipboard
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.

Link copied to clipboard

Content asset that can be used in different ways: for example in producing different marketing materials.

Link copied to clipboard
interface HasContent

Interface when an object has a single important text component.

Link copied to clipboard
open class InternetResource(val url: String, val summary: String) : Page
Link copied to clipboard
Link copied to clipboard
open class NewsStory(val url: String, val title: String, val summary: String) : Page
Link copied to clipboard
interface Page
Link copied to clipboard
interface Person
Link copied to clipboard
data class PersonImpl(val name: String) : Person
Link copied to clipboard
open class RelevantNewsStories(val items: List<NewsStory>)
Link copied to clipboard
open class ResearchReport(val topic: String, val content: String, val links: List<InternetResource>) : InternetResources, ContentAsset

Reusable domain object for a research report. Open as subclasses can be created to hold additional information.

Link copied to clipboard
open class ResearchTopic(val topic: String, val questions: List<String>)
Link copied to clipboard
open class ResearchTopics(val topics: List<ResearchTopic>)
Link copied to clipboard
data class Summary(val summary: String) : HasContent

Summary of context for an operation, such as a document or a conversation.