Buckets:

download
raw
728 Bytes
from fastapi import status
from cognee.exceptions import CogneeConfigurationError, CogneeValidationError
class IngestionError(CogneeValidationError):
def __init__(
self,
message: str = "Failed to load data.",
name: str = "IngestionError",
status_code: int = status.HTTP_422_UNPROCESSABLE_CONTENT,
) -> None:
super().__init__(message, name, status_code)
class UsageLoggerError(CogneeConfigurationError):
def __init__(
self,
message: str = "Usage logging configuration is invalid.",
name: str = "UsageLoggerError",
status_code: int = status.HTTP_500_INTERNAL_SERVER_ERROR,
) -> None:
super().__init__(message, name, status_code)

Xet Storage Details

Size:
728 Bytes
·
Xet hash:
26d79cdbbd1d859f88809b45300b9d5b3da2cb908fbfbb61f7f7cbdeffcfd1c7

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.