Fix circular import in __init__.py (#35)
This commit is contained in:
1 parent
1b116108a6
commit
0f62267806
25 files changed
+517
-137
No files matched your search
@@ -284,7 +284,7 @@ Just respond with a number between 0.0 and 1.0."""
|
||||
|
||||
try:
|
||||
return float(response.strip())
|
||||
except:
|
||||
except (ValueError, TypeError):
|
||||
return 0.5
|
||||
|
||||
def _simple_relevance(self, content: str, purpose: CrawlPurpose) -> float:
|
||||
|
||||
Reference in new issue
Block a user