We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 361f779 commit 8494536Copy full SHA for 8494536
zhipuai/api_resource/web_search/web_search.py
@@ -39,6 +39,7 @@ def web_search(
39
search_recency_filter: Optional[str] | NotGiven = NOT_GIVEN,
40
content_size: Optional[str] | NotGiven = NOT_GIVEN,
41
search_intent: Optional[bool] | NotGiven = NOT_GIVEN,
42
+ location: Optional[str] | NotGiven = NOT_GIVEN,
43
extra_headers: Headers | None = None,
44
extra_body: Body | None = None,
45
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
@@ -56,6 +57,7 @@ def web_search(
56
57
"search_recency_filter": search_recency_filter,
58
"content_size": content_size,
59
"search_intent": search_intent,
60
+ "location": location
61
})
62
return self._post(
63
"/web_search",
0 commit comments