MCPcopy Create free account
hub / github.com/ScienciaLAB/document-qa / GrobidServiceError

Class GrobidServiceError

document_qa/grobid_processors.py:28–33  ·  view source on GitHub ↗

Raised when the Grobid service fails to process a document.

Source from the content-addressed store, hash-verified

26
27
28class GrobidServiceError(RuntimeError):
29 """Raised when the Grobid service fails to process a document."""
30
31 def __init__(self, message="Grobid service error", status_code=None):
32 super().__init__(message)
33 self.status_code = status_code
34
35
36def get_span_start(type, title=None):

Calls

no outgoing calls