added documentation

This commit is contained in:
Nicholas Albion
2023-09-11 03:03:05 +10:00
parent bcfefd019d
commit da1e0feb3b
11 changed files with 176 additions and 19 deletions

View File

@@ -61,6 +61,10 @@ def get_prompt_components():
def get_sys_message(role):
"""
:param role: 'product_owner', 'architect', 'dev_ops', 'tech_lead', 'full_stack_developer', 'code_monkey'
:return: { "role": "system", "content": "You are a {role}... You do..." }
"""
# Create a FileSystemLoader
file_loader = FileSystemLoader('prompts/system_messages')