mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-31 10:50:00 +00:00
Initial and very basic docling support.
This commit is contained in:
parent
aa1b670d5c
commit
c3515530bb
3 changed files with 38 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue