Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -154,10 +154,10 @@ class IntentClassifier:
154
 
155
  return 'query', ''
156
 
157
- def is_simple_intent(self, intent: str) -> bool:
158
- """Check if intent can be handled without RAG"""
159
- simple_intents = ['greeting', 'thanks']
160
- return intent in simple_intents
161
 
162
  # Initialize intent classifier
163
  intent_classifier = IntentClassifier()
 
154
 
155
  return 'query', ''
156
 
157
+ # def is_simple_intent(self, intent: str) -> bool:
158
+ # """Check if intent can be handled without RAG"""
159
+ # simple_intents = ['greeting', 'thanks']
160
+ # return intent in simple_intents
161
 
162
  # Initialize intent classifier
163
  intent_classifier = IntentClassifier()