apollo-code / core/src / PromptFragment
Interface: PromptFragment
Properties
id
id:
string
priority
priority:
number
source
source:
string
text
text:
string| ((context) =>string|Promise<string>)
when?
optionalwhen?: (context) =>boolean|Promise<boolean>
Parameters
context
Returns
boolean | Promise<boolean>