context
¶
PromptContext
¶
The context of the APPL function.
Parameters:
Source code in src/appl/core/context.py
add_content_part
¶
add_content_part(content_part: ContentPart) -> None
add_message
¶
add_message(message: BaseMessage) -> None
add_records
¶
add_records(
records: PromptRecords, write_to_prompt: bool = True
) -> None
Add prompt records to the prompt context.
copy
¶
inherit
¶
pop_printer
¶
push_printer
¶
push_printer(push_args: PrinterPush) -> None
set_records
¶
set_records(records: PromptRecords) -> None