You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/context/dev/types/web_scrape_response.py
+20Lines changed: 20 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@
15
15
"HTML",
16
16
"Images",
17
17
"ImagesData",
18
+
"Json",
18
19
"Markdown",
19
20
"Metadata",
20
21
"MetadataAlternate",
@@ -100,6 +101,17 @@ class Images(BaseModel):
100
101
requested: bool
101
102
102
103
104
+
classJson(BaseModel):
105
+
"""Page data extracted into jsonParams.schema, after shared content filters.
106
+
107
+
Values are grounded in the page; optional fields the page does not state are omitted, or null when their type allows null. An empty object when the filters leave no text.
108
+
"""
109
+
110
+
data: Optional[Dict[str, object]] =None
111
+
112
+
requested: bool
113
+
114
+
103
115
classMarkdown(BaseModel):
104
116
"""Markdown after content filters."""
105
117
@@ -237,6 +249,14 @@ class WebScrapeResponse(BaseModel):
237
249
images: Images
238
250
"""Images after content filters. Empty when none are found."""
239
251
252
+
json_: Json=FieldInfo(alias="json")
253
+
"""Page data extracted into jsonParams.schema, after shared content filters.
254
+
255
+
Values are grounded in the page; optional fields the page does not state are
256
+
omitted, or null when their type allows null. An empty object when the filters
0 commit comments