mirror of
https://github.com/OMGeeky/gpt-pilot.git
synced 2026-02-23 15:49:50 +01:00
Merge branch 'feature/prompts_and_agents_documentation'
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user