RoleGoalBackstory

data class RoleGoalBackstory(val role: String, val goal: String, val backstory: String) : RoleGoalBackstorySpec

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

Constructors

Link copied to clipboard
constructor(role: String, goal: String, backstory: String)

Properties

Link copied to clipboard
open override val backstory: String
Link copied to clipboard
open override val goal: String
Link copied to clipboard
open val role: String

Functions

Link copied to clipboard
open fun contribution(): String