Package-level declarations

Types

Link copied to clipboard
data class CoStar(val context: String, val objective: String, val style: String, val tone: String, val audience: String, val response: String = "Markdown", separator: String = "#".repeat(12))

CO-STAR prompt framework See https://towardsdatascience.com/how-i-won-singapores-gpt-4-prompt-engineering-competition-34c195a93d41/

Link copied to clipboard
interface Persona

A way to structure LLM responses, by grounding them in a personality.

Link copied to clipboard
data class RoleGoalBackstory(val role: String, val goal: String, val backstory: String)

Crew AI style backstory prompt. Included for users migrating from Crew AI. In Embabel, such structures aren't core to the framework, but merely a PromptContributor that can be used in any action implementation.