Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /topoteretes_cognee /cognee /infrastructure /data /exceptions /exceptions.py
| from fastapi import status | |
| from cognee.exceptions import ( | |
| CogneeValidationError, | |
| ) | |
| class KeywordExtractionError(CogneeValidationError): | |
| """ | |
| Raised when a provided value is syntactically valid but semantically unacceptable | |
| for the given operation. | |
| Example: | |
| - Passing an empty string to a keyword extraction function. | |
| """ | |
| def __init__( | |
| self, | |
| message: str = "Extract_keywords cannot extract keywords from empty text.", | |
| name: str = "KeywordExtractionError", | |
| status_code: int = status.HTTP_400_BAD_REQUEST, | |
| ) -> None: | |
| super().__init__(message, name, status_code) | |
Xet Storage Details
- Size:
- 644 Bytes
- Xet hash:
- 817c946da9d7653ba462ac3b2a341fa0d78812c20bcd69376d5dcc0b08bbde9c
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.