-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfallback-options.js
13 lines (12 loc) · 1.05 KB
/
fallback-options.js
1
2
3
4
5
6
7
8
9
10
11
12
13
export function fallbackOptions(type) {
const fallbacks = {
"diagnose": "I'm sorry, but I'm not able to provide a diagnosis for you at this time. Please try again later.",
"provide_nutrition_info": "I'm sorry, but I'm not able to provide nutrition information for you at this time. Please try again later.",
"provide_exercise_info": "I'm sorry, but I'm not able to provide exercise information for you at this time. Please try again later.",
"null_diagnose": "I'm sorry, but I couldn't find any diseases that match your symptoms. Could you please give me some more information?",
"null_disease": "I'm sorry, but I don't know what disease you're talking about. If you want to ask me about a disease, please ask me to diagnose you first.",
"null": "I'm sorry, but I didn't quite understand that. Could you please rephrase your request?",
"change_topic": "I'm sorry, but I don't think we're getting anywhere. Could you please ask me about something else or rephrase your request?",
};
return fallbacks[type];
}