Spaces:
Runtime error
Runtime error
contenteaseAI
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -82,19 +82,23 @@ def respond(message, history, temperature, max_tokens):
|
|
82 |
Format the extracted information in the following JSON structure:
|
83 |
|
84 |
{
|
85 |
-
"Area
|
86 |
-
"Furnture1"
|
87 |
-
"Furnture2"
|
|
|
|
|
|
|
|
|
|
|
88 |
...
|
89 |
}
|
90 |
}
|
91 |
|
92 |
Requirements:
|
93 |
1. Each area type (e.g., lobby, bar, etc.) should have its own node.
|
94 |
-
3. List the furniture on which the work needs to be performed without specifying the work.
|
95 |
-
4.
|
96 |
-
5.
|
97 |
-
6. Follow the JSON pattern strictly and ensure clarity and accuracy in the extracted information.
|
98 |
|
99 |
Example:
|
100 |
|
@@ -104,12 +108,12 @@ def respond(message, history, temperature, max_tokens):
|
|
104 |
The JSON output should be:
|
105 |
{
|
106 |
"Lobby": {
|
107 |
-
"Light fixtures"
|
108 |
-
"Old carpets"
|
109 |
},
|
110 |
"Bar": {
|
111 |
-
"New tables"
|
112 |
-
"Broken chairs"
|
113 |
}
|
114 |
}
|
115 |
}
|
|
|
82 |
Format the extracted information in the following JSON structure:
|
83 |
|
84 |
{
|
85 |
+
"Area Type1": {
|
86 |
+
"Furnture1",
|
87 |
+
"Furnture2",
|
88 |
+
...
|
89 |
+
}
|
90 |
+
"Area Type2": {
|
91 |
+
"Furnture1",
|
92 |
+
"Furnture2",
|
93 |
...
|
94 |
}
|
95 |
}
|
96 |
|
97 |
Requirements:
|
98 |
1. Each area type (e.g., lobby, bar, etc.) should have its own node.
|
99 |
+
3. List the furniture on which the work needs to be performed without specifying the work or units of items.
|
100 |
+
4. Ignore any personal information or irrelevant details.
|
101 |
+
5. Follow the JSON pattern strictly and ensure clarity and accuracy in the extracted information.
|
|
|
102 |
|
103 |
Example:
|
104 |
|
|
|
108 |
The JSON output should be:
|
109 |
{
|
110 |
"Lobby": {
|
111 |
+
"Light fixtures"
|
112 |
+
"Old carpets"
|
113 |
},
|
114 |
"Bar": {
|
115 |
+
"New tables"
|
116 |
+
"Broken chairs"
|
117 |
}
|
118 |
}
|
119 |
}
|