topicjev.prompts¶
Bundled prompt templates. See Prompt Templates for what each template does and how to fill it.
list_prompts
¶
Return a sorted list of available prompt template names without extensions.
load_prompt
¶
Load a prompt template by name (with or without the .txt extension).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
Name of the prompt file (e.g. 'goalex' or 'goalex.txt'). |
required |
Returns:
| Type | Description |
|---|---|
str
|
The content of the prompt template string with trailing newline stripped. |
Raises:
| Type | Description |
|---|---|
FileNotFoundError
|
If the specified prompt template does not exist. |