Skip to content

apollo-code


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?

optional when?: (context) => boolean | Promise<boolean>

Parameters

context

PromptContext

Returns

boolean | Promise<boolean>