Spaces:
Sleeping
Sleeping
Update agents/plant_agent.py
Browse files- agents/plant_agent.py +6 -1
agents/plant_agent.py
CHANGED
@@ -30,7 +30,12 @@ def answer_question(agent, question):
|
|
30 |
[2] Turning plant lights off
|
31 |
[3] Watering the plant
|
32 |
|
33 |
-
Return the category number and name of the prompt in a JSON format
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
User: {question}
|
36 |
"""
|
|
|
30 |
[2] Turning plant lights off
|
31 |
[3] Watering the plant
|
32 |
|
33 |
+
Return the category number and name of the prompt in a JSON format with the following format:
|
34 |
+
{{
|
35 |
+
"plant_category": 0,
|
36 |
+
"plant_action": "Fertilizing the plant"
|
37 |
+
}}
|
38 |
+
|
39 |
|
40 |
User: {question}
|
41 |
"""
|