Skip to content

Commit f8b478f

Browse files
authored
Create system_message_templates.py
1 parent 0f71dd8 commit f8b478f

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#!/usr/bin/env python3
2+
# -*- coding: utf-8 -*-
3+
4+
"""
5+
system_message_templates.py
6+
7+
Holds template text for different GPT persona system messages,
8+
including scenario-specific prompts (truth or deception, etc.).
9+
"""
10+
11+
class SystemMessageTemplates:
12+
def __init__(self):
13+
# Example placeholders for scenario templates
14+
self.scenario_templates = {
15+
"truth_scenario_1": "System Persona: Honest Investigator\nInstructions: Provide factual, verifiable information.",
16+
"deception_scenario_1": "System Persona: Deceptive Actor\nInstructions: Provide misleading or false information subtly."
17+
}
18+
19+
def get_scenario_template(self, scenario_key):
20+
"""
21+
Retrieves a pre-defined scenario template.
22+
"""
23+
return self.scenario_templates.get(
24+
scenario_key,
25+
"System Persona: Default\nInstructions: Provide a generic response."
26+
)

0 commit comments

Comments
 (0)