Instruction

data class Instruction(val instruction: String) : PromptContributor

Simple instruction as persona.

Constructors

Link copied to clipboard
constructor(instruction: String)

Properties

Link copied to clipboard
Link copied to clipboard
open val role: String?

Role defaults to class simple name. Override for stereotyped roles.

Functions

Link copied to clipboard
open override fun contribution(): String

Return the string content of the contribution.

Link copied to clipboard