Skip to content

Commit 5b94819

Browse files
feat(api): api update
1 parent defdf84 commit 5b94819

2 files changed

Lines changed: 4 additions & 10 deletions

File tree

‎.stats.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 24
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-cc8ca2c80e73bdcff491c96d9289c9e88d831215375ef83632cc51f8e8e06183.yml
3-
openapi_spec_hash: bf55dce481efcf2f24bc9ff59c2e3f61
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-03de02938a74b3a1f4774c8b648d35bea53c1582ab4f2ebdc92f4094ea1e94a8.yml
3+
openapi_spec_hash: 116ab48eae6dc7629da583b8a38361dc
44
config_hash: cf2c7f48b329e0a61612b30cd2755ad1

‎src/context/dev/resources/web.py‎

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,7 @@ def extract(
8686
timeout: float | httpx.Timeout | None | NotGiven = not_given,
8787
) -> WebExtractResponse:
8888
"""
89-
Crawl a website, convert pages to Markdown using the scrape cache, and extract
90-
structured data into the provided JSON Schema. The schema must describe the
91-
response data object. This endpoint does not accept targeted page-type
92-
selection.
89+
Crawl a website and extract structured data using the provided JSON Schema.
9390
9491
Args:
9592
schema: JSON Schema for the returned data object. TypeScript Zod users can pass a JSON
@@ -876,10 +873,7 @@ async def extract(
876873
timeout: float | httpx.Timeout | None | NotGiven = not_given,
877874
) -> WebExtractResponse:
878875
"""
879-
Crawl a website, convert pages to Markdown using the scrape cache, and extract
880-
structured data into the provided JSON Schema. The schema must describe the
881-
response data object. This endpoint does not accept targeted page-type
882-
selection.
876+
Crawl a website and extract structured data using the provided JSON Schema.
883877
884878
Args:
885879
schema: JSON Schema for the returned data object. TypeScript Zod users can pass a JSON

0 commit comments

Comments
 (0)