Initial and very basic docling support.

This commit is contained in:
ilya-kolchinsky 2025-03-03 15:17:40 +01:00
parent aa1b670d5c
commit c3515530bb
3 changed files with 38 additions and 5 deletions

View file

@ -27,8 +27,11 @@ class PreprocessingInput(BaseModel):
PreprocessorOptions = Dict[str, Any]
# TODO: shouldn't be just a string
PreprocessingResult = str
@json_schema_type
class PreprocessingResult(BaseModel):
metadata: dict[str, Any]
data: str
@json_schema_type