Skip to main content

format_for_prompt

Method
This is a method of the ContextPack class in the models module.
Format context for injection into a prompt.

Signature

def format_for_prompt(include_sources: bool) -> str

Parameters

include_sources
bool
default:"True"
No description available.

Returns

Returns
str
The result of the operation.