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 88a3c7cCopy full SHA for 88a3c7c
zhipuai/api_resource/web_search/web_search.py
@@ -39,6 +39,8 @@ 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
+ gl: Optional[str] | NotGiven = NOT_GIVEN,
43
+ hl: Optional[str] | NotGiven = NOT_GIVEN,
44
extra_headers: Headers | None = None,
45
extra_body: Body | None = None,
46
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
@@ -56,6 +58,8 @@ def web_search(
56
58
"search_recency_filter": search_recency_filter,
57
59
"content_size": content_size,
60
"search_intent": search_intent,
61
+ "gl": gl,
62
+ "hl": hl
63
})
64
return self._post(
65
"/web_search",
0 commit comments