RoleGoalBackstory

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.

Constructors

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

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class GoalBuilder(role: String, goal: String)
Link copied to clipboard
class RoleBuilder(role: String)

Properties

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

Functions

Link copied to clipboard
open fun contribution(): String