Skip to content

Commit edeabb0

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

3 files changed

Lines changed: 20 additions & 20 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-03de02938a74b3a1f4774c8b648d35bea53c1582ab4f2ebdc92f4094ea1e94a8.yml
3-
openapi_spec_hash: 116ab48eae6dc7629da583b8a38361dc
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-6dda47a78deee48e39249ec36fe6e565b6f010472796b13b3d52c418d0b54711.yml
3+
openapi_spec_hash: c46d519e3c6d2da7bc219ad127e4290a
44
config_hash: cf2c7f48b329e0a61612b30cd2755ad1

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,12 @@ def extract(
9696
url: The starting website URL to crawl and extract from. Must include http:// or
9797
https://.
9898
99-
fact_check: When true (default), every returned value must be grounded in facts stated on
100-
the page; fields that cannot be supported by the page are returned as
101-
null/empty. When false, the model may make reasonable inferences and derivations
102-
from the page content (e.g. ideal customer, competitor analysis,
103-
recommendations) while keeping verifiable specifics (names, quotes, URLs, dates,
104-
metrics) faithful to the source.
99+
fact_check: When true, every returned value must be grounded in facts stated on the page;
100+
fields that cannot be supported by the page are returned as null/empty. When
101+
false (default), the model may make reasonable inferences and derivations from
102+
the page content (e.g. ideal customer, competitor analysis, recommendations)
103+
while keeping verifiable specifics (names, quotes, URLs, dates, metrics)
104+
faithful to the source.
105105
106106
follow_subdomains: When true, follow links on subdomains of the starting URL's domain.
107107
@@ -883,12 +883,12 @@ async def extract(
883883
url: The starting website URL to crawl and extract from. Must include http:// or
884884
https://.
885885
886-
fact_check: When true (default), every returned value must be grounded in facts stated on
887-
the page; fields that cannot be supported by the page are returned as
888-
null/empty. When false, the model may make reasonable inferences and derivations
889-
from the page content (e.g. ideal customer, competitor analysis,
890-
recommendations) while keeping verifiable specifics (names, quotes, URLs, dates,
891-
metrics) faithful to the source.
886+
fact_check: When true, every returned value must be grounded in facts stated on the page;
887+
fields that cannot be supported by the page are returned as null/empty. When
888+
false (default), the model may make reasonable inferences and derivations from
889+
the page content (e.g. ideal customer, competitor analysis, recommendations)
890+
while keeping verifiable specifics (names, quotes, URLs, dates, metrics)
891+
faithful to the source.
892892
893893
follow_subdomains: When true, follow links on subdomains of the starting URL's domain.
894894

‎src/context/dev/types/web_extract_params.py‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ class WebExtractParams(TypedDict, total=False):
2626

2727
fact_check: Annotated[bool, PropertyInfo(alias="factCheck")]
2828
"""
29-
When true (default), every returned value must be grounded in facts stated on
30-
the page; fields that cannot be supported by the page are returned as
31-
null/empty. When false, the model may make reasonable inferences and derivations
32-
from the page content (e.g. ideal customer, competitor analysis,
33-
recommendations) while keeping verifiable specifics (names, quotes, URLs, dates,
34-
metrics) faithful to the source.
29+
When true, every returned value must be grounded in facts stated on the page;
30+
fields that cannot be supported by the page are returned as null/empty. When
31+
false (default), the model may make reasonable inferences and derivations from
32+
the page content (e.g. ideal customer, competitor analysis, recommendations)
33+
while keeping verifiable specifics (names, quotes, URLs, dates, metrics)
34+
faithful to the source.
3535
"""
3636

3737
follow_subdomains: Annotated[bool, PropertyInfo(alias="followSubdomains")]

0 commit comments

Comments
 (0)