Merge branch 'feature/prompts_and_agents_documentation'

This commit is contained in:
Nicholas Albion
2023-09-11 14:18:10 +10:00
11 changed files with 234 additions and 20 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')