Spaces:
Running
Running
Evan Lesmez
commited on
Commit
•
29fa9df
1
Parent(s):
ae2bbf3
Cleanup syntax of recipe freeform prompt template
Browse files
chatbot/engineer_prompt.py
CHANGED
@@ -36,7 +36,7 @@ If the human messages are unrelated to vegan recipes, remind them of your purpos
|
|
36 |
),
|
37 |
HumanMessagePromptTemplate.from_template("Allergies: {allergies}"),
|
38 |
AIMessagePromptTemplate.from_template(
|
39 |
-
"Do you have any preferences I should consider for the recipe such preparation time, difficulty, or cuisine region?"
|
40 |
),
|
41 |
HumanMessagePromptTemplate.from_template(
|
42 |
"""
|
@@ -45,7 +45,7 @@ Respect the human's allergies (if any).
|
|
45 |
Follow these other preferences as closely as possible if they are inline with your purpose of recommending vegan recipes:
|
46 |
|
47 |
###
|
48 |
-
{recipe_freeform_input}
|
49 |
###
|
50 |
|
51 |
Output format:
|
|
|
36 |
),
|
37 |
HumanMessagePromptTemplate.from_template("Allergies: {allergies}"),
|
38 |
AIMessagePromptTemplate.from_template(
|
39 |
+
"Do you have any preferences I should consider for the recipe such as preparation time, difficulty, or cuisine region?"
|
40 |
),
|
41 |
HumanMessagePromptTemplate.from_template(
|
42 |
"""
|
|
|
45 |
Follow these other preferences as closely as possible if they are inline with your purpose of recommending vegan recipes:
|
46 |
|
47 |
###
|
48 |
+
Preferences: {recipe_freeform_input}
|
49 |
###
|
50 |
|
51 |
Output format:
|