Spaces:
Sleeping
Sleeping
Update rag_service.py
Browse files- rag_service.py +1 -1
rag_service.py
CHANGED
|
@@ -152,7 +152,7 @@ class RAGService:
|
|
| 152 |
)
|
| 153 |
|
| 154 |
def ask_question(self, question: str):
|
| 155 |
-
|
| 156 |
try:
|
| 157 |
# Check if RAG retrieval finds relevant context
|
| 158 |
context_length = self._check_context_length(question)
|
|
|
|
| 152 |
)
|
| 153 |
|
| 154 |
def ask_question(self, question: str):
|
| 155 |
+
"""Process a question and return response"""
|
| 156 |
try:
|
| 157 |
# Check if RAG retrieval finds relevant context
|
| 158 |
context_length = self._check_context_length(question)
|