suneeln-duke commited on
Commit
f4a976c
1 Parent(s): db2f715

Update agents/plant_agent.py

Browse files
Files changed (1) hide show
  1. 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
  """