Skip to content

Commit 5d4fc44

Browse files
committed
fix(lint): linter errors
1 parent 5bc119a commit 5d4fc44

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

examples/05_ingest_pdf.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,8 @@ async def main() -> None:
129129
tools=[read_pdf_text_tool],
130130
instruction=pdf_agent_instruction,
131131
generate_content_config=types.GenerateContentConfig(
132-
temperature=0.0,
133-
top_k=1,
134-
top_p=0.3,
135-
candidate_count=1
136-
)
132+
temperature=0.0, top_k=1, top_p=0.3, candidate_count=1
133+
),
137134
)
138135

139136
# Mock onchain contract posting

src/flare_ai_kit/ingestion/settings.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,18 @@ class PDFFieldExtractionSettings(BaseSettings):
6969
description="The data type of the field (e.g., 'string', 'integer', 'date').",
7070
)
7171
# For deterministic extraction pipeline
72-
x0: int | None = Field(default=None, description="The starting x-coordinate of the bounding box.")
73-
y0: int | None = Field(default=None, description="The starting y-coordinate of the bounding box.")
74-
x1: int | None = Field(default=None, description="The ending x-coordinate of the bounding box.")
75-
y1: int | None = Field(default=None, description="The ending y-coordinate of the bounding box.")
72+
x0: int | None = Field(
73+
default=None, description="The starting x-coordinate of the bounding box."
74+
)
75+
y0: int | None = Field(
76+
default=None, description="The starting y-coordinate of the bounding box."
77+
)
78+
x1: int | None = Field(
79+
default=None, description="The ending x-coordinate of the bounding box."
80+
)
81+
y1: int | None = Field(
82+
default=None, description="The ending y-coordinate of the bounding box."
83+
)
7684

7785

7886
class PDFTemplateSettings(BaseSettings):

0 commit comments

Comments
 (0)