mirror of
https://github.com/run-llama/template-workflow-extract-basic.git
synced 2026-07-20 22:05:53 -04:00
fix: update classify target_pages to string format matching v2 API (#246)
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ description = "Extracts data"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
"llama-index-workflows==2.14.0",
|
||||
"llama-index-workflows>=2.16.0,<3.0.0",
|
||||
"python-dotenv>=1.1.0",
|
||||
"jsonref>=1.1.0",
|
||||
"click>=8.2.1,<8.3.0",
|
||||
|
||||
@@ -83,7 +83,7 @@ class ClassifyParsingConfig(BaseModel):
|
||||
|
||||
lang: str = Field(description="two-letter ISO 639 language code", default="en")
|
||||
max_pages: int | None = None
|
||||
target_pages: list[int] | None = None
|
||||
target_pages: str | None = None
|
||||
|
||||
|
||||
class ClassifySettings(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user