Spaces:
Running
Running
Commit
·
7aef896
1
Parent(s):
0b4f761
Update
Browse files- endpoints_documentation.py +1 -1
- main.py +1 -1
endpoints_documentation.py
CHANGED
@@ -323,7 +323,7 @@ endpoints_documentation = {
|
|
323 |
"department": {
|
324 |
"type": "str",
|
325 |
"required": False,
|
326 |
-
"description": "Filter by department
|
327 |
}
|
328 |
},
|
329 |
"response": {
|
|
|
323 |
"department": {
|
324 |
"type": "str",
|
325 |
"required": False,
|
326 |
+
"description": "Filter by department"
|
327 |
}
|
328 |
},
|
329 |
"response": {
|
main.py
CHANGED
@@ -252,7 +252,7 @@ class HealthcareChatbot:
|
|
252 |
- No matching endpoint = "CONVERSATION"
|
253 |
|
254 |
**STEP 5: Parameter Extraction (only if API_ACTION)**
|
255 |
-
- Extract parameter values from the user's query and translate
|
256 |
- Use the CALCULATED dates/times from Step 2
|
257 |
- Convert all dates/times to ISO 8601 format (YYYY-MM-DDTHH:MM:SS)
|
258 |
- List any missing required parameters
|
|
|
252 |
- No matching endpoint = "CONVERSATION"
|
253 |
|
254 |
**STEP 5: Parameter Extraction (only if API_ACTION)**
|
255 |
+
- Extract parameter values from the user's query and translate the parameters to English.
|
256 |
- Use the CALCULATED dates/times from Step 2
|
257 |
- Convert all dates/times to ISO 8601 format (YYYY-MM-DDTHH:MM:SS)
|
258 |
- List any missing required parameters
|