DailyBriefing

Today's (or a given day's) calendar, notifications and messages, summarised.

Properties

Link copied to clipboard
open override val arguments: List<PromptArgument>
Link copied to clipboard
open override val description: String
Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val requiredTools: Set<String>

Tools the prompt tells the model to call. The prompt is listed only while all of them are visible, so a client never sees a prompt it can't carry out.

Link copied to clipboard
open override val title: String

Functions

Link copied to clipboard
open suspend override fun complete(argument: String, value: String, context: CompletionContext): List<String>

Dates around today (CompletionSupport.upcomingDates).

Link copied to clipboard
open suspend override fun render(arguments: Map<String, String>): PromptResult

Build the messages for arguments. Required arguments are checked before this runs; throw IllegalArgumentException for a value that is present but invalid.