Update app.py
Browse files
app.py
CHANGED
@@ -26,6 +26,8 @@ class BasicAgent:
|
|
26 |
with open("prompts.yaml", 'r') as stream:
|
27 |
prompts = yaml.safe_load(stream)
|
28 |
|
|
|
|
|
29 |
prompt_templates = EMPTY_PROMPT_TEMPLATES
|
30 |
prompt_templates.system_prompt = prompts['system_prompt']
|
31 |
prompt_templates.final_answer.pre_messages = prompts['final_answer']['pre_messages']
|
|
|
26 |
with open("prompts.yaml", 'r') as stream:
|
27 |
prompts = yaml.safe_load(stream)
|
28 |
|
29 |
+
print(prompts)
|
30 |
+
|
31 |
prompt_templates = EMPTY_PROMPT_TEMPLATES
|
32 |
prompt_templates.system_prompt = prompts['system_prompt']
|
33 |
prompt_templates.final_answer.pre_messages = prompts['final_answer']['pre_messages']
|