NealCaren commited on
Commit
accdfee
·
1 Parent(s): 6f16857

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -19,7 +19,10 @@ def process_article(text, local_input, solidarity_input,issue_input,policy_input
19
  "parameters": {
20
  "type": "object",
21
  "properties": {
22
-
 
 
 
23
  "Local": {
24
  "type": "string",
25
  "description": f"{local_input}"
@@ -36,6 +39,10 @@ def process_article(text, local_input, solidarity_input,issue_input,policy_input
36
  "type": "boolean",
37
  "description": f"{policy_input}"
38
  },
 
 
 
 
39
 
40
  "summary": {
41
  "type": "string",
@@ -45,10 +52,12 @@ def process_article(text, local_input, solidarity_input,issue_input,policy_input
45
 
46
  },
47
  "required": [
 
48
  "Local",
49
  "Solidarity",
50
  "Issue",
51
  "Policy",
 
52
  "summary"
53
  ]
54
  }
 
19
  "parameters": {
20
  "type": "object",
21
  "properties": {
22
+ "Victim_name": {
23
+ "type": "string",
24
+ "description": f"Name of victims of police brutality. If none provided, return 'None'."
25
+ },
26
  "Local": {
27
  "type": "string",
28
  "description": f"{local_input}"
 
39
  "type": "boolean",
40
  "description": f"{policy_input}"
41
  },
42
+ "Policy_list": {
43
+ "type": "array",
44
+ "description": f"What specific reform policies are proposed? If none, return an empty array."
45
+ },
46
 
47
  "summary": {
48
  "type": "string",
 
52
 
53
  },
54
  "required": [
55
+ "Victim_name",
56
  "Local",
57
  "Solidarity",
58
  "Issue",
59
  "Policy",
60
+ "Policy_list",
61
  "summary"
62
  ]
63
  }