inheritance
extends:
Cell<typeof PromptJson>
name
type string
parts
type Array<PartUnion>
content
type string
readonly
length
type number
readonly
token_count
type number
readonly
content_preview
type string
readonly
constructor
type new (options: PromptOptions): Prompt
options
type PromptOptions
add_part
Add a part to this prompt.
type (part: PartUnion): PartUnion
part
type PartUnion
returns PartUnion
remove_part
type (id: string & $brand<"Uuid">): boolean
id
type
string & $brand<"Uuid">returns
booleanremove_all_parts
type (): void
returns
voidreorder_parts
type (from_index: number, to_index: number): void
from_index
type
numberto_index
type
numberreturns
void