Spaces:
Running
on
Zero
Running
on
Zero
Update response_processor.py
Browse files- response_processor.py +1 -1
response_processor.py
CHANGED
@@ -1218,7 +1218,7 @@ class ResponseProcessor:
|
|
1218 |
if not re.search(r'[.!?]', response):
|
1219 |
raise ResponseProcessingError("Response lacks proper sentence structure")
|
1220 |
|
1221 |
-
|
1222 |
"""
|
1223 |
移除解釋性注釋和說明
|
1224 |
|
|
|
1218 |
if not re.search(r'[.!?]', response):
|
1219 |
raise ResponseProcessingError("Response lacks proper sentence structure")
|
1220 |
|
1221 |
+
def remove_explanatory_notes(self, response: str) -> str:
|
1222 |
"""
|
1223 |
移除解釋性注釋和說明
|
1224 |
|