unique-search-proxy-sdk 2026.32.0.dev0__tar.gz → 2026.32.0.dev2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/PKG-INFO +2 -2
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/pyproject.toml +2 -2
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_endpoint.py +5 -1
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/api/agent_search/agent_search_stream_v1_agent_search_stream_post.py +48 -1
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/api/agent_search/agent_search_v1_agent_search_post.py +48 -1
- unique_search_proxy_sdk-2026.32.0.dev2/unique_search_proxy_sdk/_generated/api/configuration/list_providers_v1_configuration_providers_get.py +195 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/api/crawl/crawl_v1_crawl_post.py +48 -1
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/api/search/search_v1_search_post.py +48 -1
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/__init__.py +12 -10
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/basic_crawl_request.py +21 -2
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/bing_agent_search_request.py +1 -1
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/brave_search_request.py +17 -26
- unique_search_proxy_sdk-2026.32.0.dev0/unique_search_proxy_sdk/_generated/models/brave_search_request_result_filter_result_filter_item.py → unique_search_proxy_sdk-2026.32.0.dev2/unique_search_proxy_sdk/_generated/models/brave_search_request_result_filter_type_0_item.py +1 -1
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/firecrawl_crawl_request.py +22 -2
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/google_search_request.py +13 -11
- unique_search_proxy_sdk-2026.32.0.dev0/unique_search_proxy_sdk/_generated/models/google_search_request_site_search_filter.py → unique_search_proxy_sdk-2026.32.0.dev2/unique_search_proxy_sdk/_generated/models/google_search_request_site_search_filter_type_0.py +1 -1
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/jina_crawl_request.py +21 -2
- unique_search_proxy_sdk-2026.32.0.dev2/unique_search_proxy_sdk/_generated/models/per_url_error.py +93 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/perplexity_search_request.py +20 -16
- unique_search_proxy_sdk-2026.32.0.dev0/unique_search_proxy_sdk/_generated/models/perplexity_search_request_recency_filter.py → unique_search_proxy_sdk-2026.32.0.dev2/unique_search_proxy_sdk/_generated/models/perplexity_search_request_search_recency_filter_type_0.py +1 -1
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/tavily_crawl_request.py +22 -2
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/validation_error.py +34 -1
- unique_search_proxy_sdk-2026.32.0.dev0/unique_search_proxy_sdk/_generated/models/per_url_error.py → unique_search_proxy_sdk-2026.32.0.dev2/unique_search_proxy_sdk/_generated/models/validation_error_context.py +7 -29
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_transport.py +21 -0
- unique_search_proxy_sdk-2026.32.0.dev0/unique_search_proxy_sdk/_generated/api/configuration/list_providers_v1_configuration_providers_get.py +0 -128
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/README.md +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/__init__.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/__init__.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/api/__init__.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/api/agent_search/__init__.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/api/configuration/__init__.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/api/crawl/__init__.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/api/health/__init__.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/api/health/health_health_get.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/api/health/ready_ready_get.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/api/search/__init__.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/client.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/errors.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/agent_search_response.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/brave_search_request_country_type_0.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/brave_search_request_safe_search.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/brave_search_request_search_lang_type_0.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/brave_search_request_ui_language.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/brave_search_request_units_type_0.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/content_types.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/crawl_response.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/crawl_url_result.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/firecrawl_crawl_request_proxy_mode.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/firecrawl_crawl_request_scrape_headers_type_0.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/google_search_request_safe_search.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/health_health_get_response_health_health_get.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/http_validation_error.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/jina_crawl_request_engine.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/jina_crawl_request_retain_images_type_0.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/jina_crawl_request_return_format.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/perplexity_search_request_search_context_size.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/providers_list_response.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/ready_ready_get_response_ready_ready_get.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/search_response.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/tavily_crawl_request_extract_depth.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/tavily_crawl_request_output_format.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/vertex_ai_agent_search_request.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/models/web_search_result.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_generated/types.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_http.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/_typed_endpoints.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/agent_search_client.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/client.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/converters.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/crawl_client.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/errors.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/search_client.py +0 -0
- {unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/unique_search_proxy_sdk/typing_checks.py +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: unique-search-proxy-sdk
|
|
3
|
-
Version: 2026.32.0.
|
|
3
|
+
Version: 2026.32.0.dev2
|
|
4
4
|
Summary: Async HTTP client for the Unique Search Proxy API
|
|
5
5
|
Author: ThePhilAz
|
|
6
6
|
Author-email: ThePhilAz <rami.azouz@philico.com>
|
|
7
7
|
Requires-Dist: attrs>=24.3.0,<26
|
|
8
8
|
Requires-Dist: httpx>=0.28.0,<0.29.0
|
|
9
9
|
Requires-Dist: pydantic>=2.12.5,<3.0.0
|
|
10
|
-
Requires-Dist: unique-search-proxy-core>=2026.32.0.
|
|
10
|
+
Requires-Dist: unique-search-proxy-core>=2026.32.0.dev4,<2026.32.0rc0
|
|
11
11
|
Requires-Python: >=3.12
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
|
{unique_search_proxy_sdk-2026.32.0.dev0 → unique_search_proxy_sdk-2026.32.0.dev2}/pyproject.toml
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "unique-search-proxy-sdk"
|
|
3
|
-
version = "2026.32.0.
|
|
3
|
+
version = "2026.32.0.dev2"
|
|
4
4
|
description = "Async HTTP client for the Unique Search Proxy API"
|
|
5
5
|
authors = [{ name = "ThePhilAz", email = "rami.azouz@philico.com" }]
|
|
6
6
|
readme = "README.md"
|
|
@@ -9,7 +9,7 @@ dependencies = [
|
|
|
9
9
|
"attrs>=24.3.0,<26",
|
|
10
10
|
"httpx>=0.28.0,<0.29.0",
|
|
11
11
|
"pydantic>=2.12.5,<3.0.0",
|
|
12
|
-
"unique-search-proxy-core>=2026.32.0.
|
|
12
|
+
"unique-search-proxy-core>=2026.32.0.dev4,<2026.32.0rc0",
|
|
13
13
|
]
|
|
14
14
|
|
|
15
15
|
[dependency-groups]
|
|
@@ -46,7 +46,11 @@ def async_post_endpoint(
|
|
|
46
46
|
constructed.model_dump(mode="json", by_alias=True, exclude_none=True),
|
|
47
47
|
)
|
|
48
48
|
sdk_body = to_sdk(validated)
|
|
49
|
-
response = await post(
|
|
49
|
+
response = await post(
|
|
50
|
+
client=transport.openapi,
|
|
51
|
+
body=sdk_body,
|
|
52
|
+
**transport.context_header_kwargs(),
|
|
53
|
+
)
|
|
50
54
|
return cast(ResponseType, unwrap_response(response))
|
|
51
55
|
|
|
52
56
|
return call
|
|
@@ -8,14 +8,25 @@ from ...client import AuthenticatedClient, Client
|
|
|
8
8
|
from ...models.bing_agent_search_request import BingAgentSearchRequest
|
|
9
9
|
from ...models.http_validation_error import HTTPValidationError
|
|
10
10
|
from ...models.vertex_ai_agent_search_request import VertexAiAgentSearchRequest
|
|
11
|
-
from ...types import Response
|
|
11
|
+
from ...types import Response, Unset
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
def _get_kwargs(
|
|
15
15
|
*,
|
|
16
16
|
body: BingAgentSearchRequest | VertexAiAgentSearchRequest,
|
|
17
|
+
x_unique_company_id: str | Unset = "local",
|
|
18
|
+
x_unique_user_id: str | Unset = "local",
|
|
19
|
+
x_unique_chat_id: str | Unset = "local",
|
|
17
20
|
) -> dict[str, Any]:
|
|
18
21
|
headers: dict[str, Any] = {}
|
|
22
|
+
if not isinstance(x_unique_company_id, Unset):
|
|
23
|
+
headers["x-unique-company-id"] = x_unique_company_id
|
|
24
|
+
|
|
25
|
+
if not isinstance(x_unique_user_id, Unset):
|
|
26
|
+
headers["x-unique-user-id"] = x_unique_user_id
|
|
27
|
+
|
|
28
|
+
if not isinstance(x_unique_chat_id, Unset):
|
|
29
|
+
headers["x-unique-chat-id"] = x_unique_chat_id
|
|
19
30
|
|
|
20
31
|
_kwargs: dict[str, Any] = {
|
|
21
32
|
"method": "post",
|
|
@@ -66,10 +77,16 @@ def sync_detailed(
|
|
|
66
77
|
*,
|
|
67
78
|
client: AuthenticatedClient | Client,
|
|
68
79
|
body: BingAgentSearchRequest | VertexAiAgentSearchRequest,
|
|
80
|
+
x_unique_company_id: str | Unset = "local",
|
|
81
|
+
x_unique_user_id: str | Unset = "local",
|
|
82
|
+
x_unique_chat_id: str | Unset = "local",
|
|
69
83
|
) -> Response[Any | HTTPValidationError]:
|
|
70
84
|
"""Stream an agent-based grounded search (SSE)
|
|
71
85
|
|
|
72
86
|
Args:
|
|
87
|
+
x_unique_company_id (str | Unset): Tenant company identifier. Default: 'local'.
|
|
88
|
+
x_unique_user_id (str | Unset): Tenant user identifier. Default: 'local'.
|
|
89
|
+
x_unique_chat_id (str | Unset): Tenant chat or session identifier. Default: 'local'.
|
|
73
90
|
body (BingAgentSearchRequest | VertexAiAgentSearchRequest):
|
|
74
91
|
|
|
75
92
|
Raises:
|
|
@@ -82,6 +99,9 @@ def sync_detailed(
|
|
|
82
99
|
|
|
83
100
|
kwargs = _get_kwargs(
|
|
84
101
|
body=body,
|
|
102
|
+
x_unique_company_id=x_unique_company_id,
|
|
103
|
+
x_unique_user_id=x_unique_user_id,
|
|
104
|
+
x_unique_chat_id=x_unique_chat_id,
|
|
85
105
|
)
|
|
86
106
|
|
|
87
107
|
response = client.get_httpx_client().request(
|
|
@@ -95,10 +115,16 @@ def sync(
|
|
|
95
115
|
*,
|
|
96
116
|
client: AuthenticatedClient | Client,
|
|
97
117
|
body: BingAgentSearchRequest | VertexAiAgentSearchRequest,
|
|
118
|
+
x_unique_company_id: str | Unset = "local",
|
|
119
|
+
x_unique_user_id: str | Unset = "local",
|
|
120
|
+
x_unique_chat_id: str | Unset = "local",
|
|
98
121
|
) -> Any | HTTPValidationError | None:
|
|
99
122
|
"""Stream an agent-based grounded search (SSE)
|
|
100
123
|
|
|
101
124
|
Args:
|
|
125
|
+
x_unique_company_id (str | Unset): Tenant company identifier. Default: 'local'.
|
|
126
|
+
x_unique_user_id (str | Unset): Tenant user identifier. Default: 'local'.
|
|
127
|
+
x_unique_chat_id (str | Unset): Tenant chat or session identifier. Default: 'local'.
|
|
102
128
|
body (BingAgentSearchRequest | VertexAiAgentSearchRequest):
|
|
103
129
|
|
|
104
130
|
Raises:
|
|
@@ -112,6 +138,9 @@ def sync(
|
|
|
112
138
|
return sync_detailed(
|
|
113
139
|
client=client,
|
|
114
140
|
body=body,
|
|
141
|
+
x_unique_company_id=x_unique_company_id,
|
|
142
|
+
x_unique_user_id=x_unique_user_id,
|
|
143
|
+
x_unique_chat_id=x_unique_chat_id,
|
|
115
144
|
).parsed
|
|
116
145
|
|
|
117
146
|
|
|
@@ -119,10 +148,16 @@ async def asyncio_detailed(
|
|
|
119
148
|
*,
|
|
120
149
|
client: AuthenticatedClient | Client,
|
|
121
150
|
body: BingAgentSearchRequest | VertexAiAgentSearchRequest,
|
|
151
|
+
x_unique_company_id: str | Unset = "local",
|
|
152
|
+
x_unique_user_id: str | Unset = "local",
|
|
153
|
+
x_unique_chat_id: str | Unset = "local",
|
|
122
154
|
) -> Response[Any | HTTPValidationError]:
|
|
123
155
|
"""Stream an agent-based grounded search (SSE)
|
|
124
156
|
|
|
125
157
|
Args:
|
|
158
|
+
x_unique_company_id (str | Unset): Tenant company identifier. Default: 'local'.
|
|
159
|
+
x_unique_user_id (str | Unset): Tenant user identifier. Default: 'local'.
|
|
160
|
+
x_unique_chat_id (str | Unset): Tenant chat or session identifier. Default: 'local'.
|
|
126
161
|
body (BingAgentSearchRequest | VertexAiAgentSearchRequest):
|
|
127
162
|
|
|
128
163
|
Raises:
|
|
@@ -135,6 +170,9 @@ async def asyncio_detailed(
|
|
|
135
170
|
|
|
136
171
|
kwargs = _get_kwargs(
|
|
137
172
|
body=body,
|
|
173
|
+
x_unique_company_id=x_unique_company_id,
|
|
174
|
+
x_unique_user_id=x_unique_user_id,
|
|
175
|
+
x_unique_chat_id=x_unique_chat_id,
|
|
138
176
|
)
|
|
139
177
|
|
|
140
178
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -146,10 +184,16 @@ async def asyncio(
|
|
|
146
184
|
*,
|
|
147
185
|
client: AuthenticatedClient | Client,
|
|
148
186
|
body: BingAgentSearchRequest | VertexAiAgentSearchRequest,
|
|
187
|
+
x_unique_company_id: str | Unset = "local",
|
|
188
|
+
x_unique_user_id: str | Unset = "local",
|
|
189
|
+
x_unique_chat_id: str | Unset = "local",
|
|
149
190
|
) -> Any | HTTPValidationError | None:
|
|
150
191
|
"""Stream an agent-based grounded search (SSE)
|
|
151
192
|
|
|
152
193
|
Args:
|
|
194
|
+
x_unique_company_id (str | Unset): Tenant company identifier. Default: 'local'.
|
|
195
|
+
x_unique_user_id (str | Unset): Tenant user identifier. Default: 'local'.
|
|
196
|
+
x_unique_chat_id (str | Unset): Tenant chat or session identifier. Default: 'local'.
|
|
153
197
|
body (BingAgentSearchRequest | VertexAiAgentSearchRequest):
|
|
154
198
|
|
|
155
199
|
Raises:
|
|
@@ -164,5 +208,8 @@ async def asyncio(
|
|
|
164
208
|
await asyncio_detailed(
|
|
165
209
|
client=client,
|
|
166
210
|
body=body,
|
|
211
|
+
x_unique_company_id=x_unique_company_id,
|
|
212
|
+
x_unique_user_id=x_unique_user_id,
|
|
213
|
+
x_unique_chat_id=x_unique_chat_id,
|
|
167
214
|
)
|
|
168
215
|
).parsed
|
|
@@ -9,14 +9,25 @@ from ...models.agent_search_response import AgentSearchResponse
|
|
|
9
9
|
from ...models.bing_agent_search_request import BingAgentSearchRequest
|
|
10
10
|
from ...models.http_validation_error import HTTPValidationError
|
|
11
11
|
from ...models.vertex_ai_agent_search_request import VertexAiAgentSearchRequest
|
|
12
|
-
from ...types import Response
|
|
12
|
+
from ...types import Response, Unset
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
def _get_kwargs(
|
|
16
16
|
*,
|
|
17
17
|
body: BingAgentSearchRequest | VertexAiAgentSearchRequest,
|
|
18
|
+
x_unique_company_id: str | Unset = "local",
|
|
19
|
+
x_unique_user_id: str | Unset = "local",
|
|
20
|
+
x_unique_chat_id: str | Unset = "local",
|
|
18
21
|
) -> dict[str, Any]:
|
|
19
22
|
headers: dict[str, Any] = {}
|
|
23
|
+
if not isinstance(x_unique_company_id, Unset):
|
|
24
|
+
headers["x-unique-company-id"] = x_unique_company_id
|
|
25
|
+
|
|
26
|
+
if not isinstance(x_unique_user_id, Unset):
|
|
27
|
+
headers["x-unique-user-id"] = x_unique_user_id
|
|
28
|
+
|
|
29
|
+
if not isinstance(x_unique_chat_id, Unset):
|
|
30
|
+
headers["x-unique-chat-id"] = x_unique_chat_id
|
|
20
31
|
|
|
21
32
|
_kwargs: dict[str, Any] = {
|
|
22
33
|
"method": "post",
|
|
@@ -68,10 +79,16 @@ def sync_detailed(
|
|
|
68
79
|
*,
|
|
69
80
|
client: AuthenticatedClient | Client,
|
|
70
81
|
body: BingAgentSearchRequest | VertexAiAgentSearchRequest,
|
|
82
|
+
x_unique_company_id: str | Unset = "local",
|
|
83
|
+
x_unique_user_id: str | Unset = "local",
|
|
84
|
+
x_unique_chat_id: str | Unset = "local",
|
|
71
85
|
) -> Response[AgentSearchResponse | HTTPValidationError]:
|
|
72
86
|
"""Run an agent-based grounded search
|
|
73
87
|
|
|
74
88
|
Args:
|
|
89
|
+
x_unique_company_id (str | Unset): Tenant company identifier. Default: 'local'.
|
|
90
|
+
x_unique_user_id (str | Unset): Tenant user identifier. Default: 'local'.
|
|
91
|
+
x_unique_chat_id (str | Unset): Tenant chat or session identifier. Default: 'local'.
|
|
75
92
|
body (BingAgentSearchRequest | VertexAiAgentSearchRequest):
|
|
76
93
|
|
|
77
94
|
Raises:
|
|
@@ -84,6 +101,9 @@ def sync_detailed(
|
|
|
84
101
|
|
|
85
102
|
kwargs = _get_kwargs(
|
|
86
103
|
body=body,
|
|
104
|
+
x_unique_company_id=x_unique_company_id,
|
|
105
|
+
x_unique_user_id=x_unique_user_id,
|
|
106
|
+
x_unique_chat_id=x_unique_chat_id,
|
|
87
107
|
)
|
|
88
108
|
|
|
89
109
|
response = client.get_httpx_client().request(
|
|
@@ -97,10 +117,16 @@ def sync(
|
|
|
97
117
|
*,
|
|
98
118
|
client: AuthenticatedClient | Client,
|
|
99
119
|
body: BingAgentSearchRequest | VertexAiAgentSearchRequest,
|
|
120
|
+
x_unique_company_id: str | Unset = "local",
|
|
121
|
+
x_unique_user_id: str | Unset = "local",
|
|
122
|
+
x_unique_chat_id: str | Unset = "local",
|
|
100
123
|
) -> AgentSearchResponse | HTTPValidationError | None:
|
|
101
124
|
"""Run an agent-based grounded search
|
|
102
125
|
|
|
103
126
|
Args:
|
|
127
|
+
x_unique_company_id (str | Unset): Tenant company identifier. Default: 'local'.
|
|
128
|
+
x_unique_user_id (str | Unset): Tenant user identifier. Default: 'local'.
|
|
129
|
+
x_unique_chat_id (str | Unset): Tenant chat or session identifier. Default: 'local'.
|
|
104
130
|
body (BingAgentSearchRequest | VertexAiAgentSearchRequest):
|
|
105
131
|
|
|
106
132
|
Raises:
|
|
@@ -114,6 +140,9 @@ def sync(
|
|
|
114
140
|
return sync_detailed(
|
|
115
141
|
client=client,
|
|
116
142
|
body=body,
|
|
143
|
+
x_unique_company_id=x_unique_company_id,
|
|
144
|
+
x_unique_user_id=x_unique_user_id,
|
|
145
|
+
x_unique_chat_id=x_unique_chat_id,
|
|
117
146
|
).parsed
|
|
118
147
|
|
|
119
148
|
|
|
@@ -121,10 +150,16 @@ async def asyncio_detailed(
|
|
|
121
150
|
*,
|
|
122
151
|
client: AuthenticatedClient | Client,
|
|
123
152
|
body: BingAgentSearchRequest | VertexAiAgentSearchRequest,
|
|
153
|
+
x_unique_company_id: str | Unset = "local",
|
|
154
|
+
x_unique_user_id: str | Unset = "local",
|
|
155
|
+
x_unique_chat_id: str | Unset = "local",
|
|
124
156
|
) -> Response[AgentSearchResponse | HTTPValidationError]:
|
|
125
157
|
"""Run an agent-based grounded search
|
|
126
158
|
|
|
127
159
|
Args:
|
|
160
|
+
x_unique_company_id (str | Unset): Tenant company identifier. Default: 'local'.
|
|
161
|
+
x_unique_user_id (str | Unset): Tenant user identifier. Default: 'local'.
|
|
162
|
+
x_unique_chat_id (str | Unset): Tenant chat or session identifier. Default: 'local'.
|
|
128
163
|
body (BingAgentSearchRequest | VertexAiAgentSearchRequest):
|
|
129
164
|
|
|
130
165
|
Raises:
|
|
@@ -137,6 +172,9 @@ async def asyncio_detailed(
|
|
|
137
172
|
|
|
138
173
|
kwargs = _get_kwargs(
|
|
139
174
|
body=body,
|
|
175
|
+
x_unique_company_id=x_unique_company_id,
|
|
176
|
+
x_unique_user_id=x_unique_user_id,
|
|
177
|
+
x_unique_chat_id=x_unique_chat_id,
|
|
140
178
|
)
|
|
141
179
|
|
|
142
180
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -148,10 +186,16 @@ async def asyncio(
|
|
|
148
186
|
*,
|
|
149
187
|
client: AuthenticatedClient | Client,
|
|
150
188
|
body: BingAgentSearchRequest | VertexAiAgentSearchRequest,
|
|
189
|
+
x_unique_company_id: str | Unset = "local",
|
|
190
|
+
x_unique_user_id: str | Unset = "local",
|
|
191
|
+
x_unique_chat_id: str | Unset = "local",
|
|
151
192
|
) -> AgentSearchResponse | HTTPValidationError | None:
|
|
152
193
|
"""Run an agent-based grounded search
|
|
153
194
|
|
|
154
195
|
Args:
|
|
196
|
+
x_unique_company_id (str | Unset): Tenant company identifier. Default: 'local'.
|
|
197
|
+
x_unique_user_id (str | Unset): Tenant user identifier. Default: 'local'.
|
|
198
|
+
x_unique_chat_id (str | Unset): Tenant chat or session identifier. Default: 'local'.
|
|
155
199
|
body (BingAgentSearchRequest | VertexAiAgentSearchRequest):
|
|
156
200
|
|
|
157
201
|
Raises:
|
|
@@ -166,5 +210,8 @@ async def asyncio(
|
|
|
166
210
|
await asyncio_detailed(
|
|
167
211
|
client=client,
|
|
168
212
|
body=body,
|
|
213
|
+
x_unique_company_id=x_unique_company_id,
|
|
214
|
+
x_unique_user_id=x_unique_user_id,
|
|
215
|
+
x_unique_chat_id=x_unique_chat_id,
|
|
169
216
|
)
|
|
170
217
|
).parsed
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any
|
|
3
|
+
|
|
4
|
+
import httpx
|
|
5
|
+
|
|
6
|
+
from ... import errors
|
|
7
|
+
from ...client import AuthenticatedClient, Client
|
|
8
|
+
from ...models.http_validation_error import HTTPValidationError
|
|
9
|
+
from ...models.providers_list_response import ProvidersListResponse
|
|
10
|
+
from ...types import Response, Unset
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def _get_kwargs(
|
|
14
|
+
*,
|
|
15
|
+
x_unique_company_id: str | Unset = "local",
|
|
16
|
+
x_unique_user_id: str | Unset = "local",
|
|
17
|
+
x_unique_chat_id: str | Unset = "local",
|
|
18
|
+
) -> dict[str, Any]:
|
|
19
|
+
headers: dict[str, Any] = {}
|
|
20
|
+
if not isinstance(x_unique_company_id, Unset):
|
|
21
|
+
headers["x-unique-company-id"] = x_unique_company_id
|
|
22
|
+
|
|
23
|
+
if not isinstance(x_unique_user_id, Unset):
|
|
24
|
+
headers["x-unique-user-id"] = x_unique_user_id
|
|
25
|
+
|
|
26
|
+
if not isinstance(x_unique_chat_id, Unset):
|
|
27
|
+
headers["x-unique-chat-id"] = x_unique_chat_id
|
|
28
|
+
|
|
29
|
+
_kwargs: dict[str, Any] = {
|
|
30
|
+
"method": "get",
|
|
31
|
+
"url": "/v1/configuration/providers",
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
_kwargs["headers"] = headers
|
|
35
|
+
return _kwargs
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def _parse_response(
|
|
39
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
40
|
+
) -> HTTPValidationError | ProvidersListResponse | None:
|
|
41
|
+
if response.status_code == 200:
|
|
42
|
+
response_200 = ProvidersListResponse.from_dict(response.json())
|
|
43
|
+
|
|
44
|
+
return response_200
|
|
45
|
+
|
|
46
|
+
if response.status_code == 422:
|
|
47
|
+
response_422 = HTTPValidationError.from_dict(response.json())
|
|
48
|
+
|
|
49
|
+
return response_422
|
|
50
|
+
|
|
51
|
+
if client.raise_on_unexpected_status:
|
|
52
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
53
|
+
else:
|
|
54
|
+
return None
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
def _build_response(
|
|
58
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
59
|
+
) -> Response[HTTPValidationError | ProvidersListResponse]:
|
|
60
|
+
return Response(
|
|
61
|
+
status_code=HTTPStatus(response.status_code),
|
|
62
|
+
content=response.content,
|
|
63
|
+
headers=response.headers,
|
|
64
|
+
parsed=_parse_response(client=client, response=response),
|
|
65
|
+
)
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
def sync_detailed(
|
|
69
|
+
*,
|
|
70
|
+
client: AuthenticatedClient | Client,
|
|
71
|
+
x_unique_company_id: str | Unset = "local",
|
|
72
|
+
x_unique_user_id: str | Unset = "local",
|
|
73
|
+
x_unique_chat_id: str | Unset = "local",
|
|
74
|
+
) -> Response[HTTPValidationError | ProvidersListResponse]:
|
|
75
|
+
"""List registered search engines and crawlers
|
|
76
|
+
|
|
77
|
+
Args:
|
|
78
|
+
x_unique_company_id (str | Unset): Tenant company identifier. Default: 'local'.
|
|
79
|
+
x_unique_user_id (str | Unset): Tenant user identifier. Default: 'local'.
|
|
80
|
+
x_unique_chat_id (str | Unset): Tenant chat or session identifier. Default: 'local'.
|
|
81
|
+
|
|
82
|
+
Raises:
|
|
83
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
84
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
85
|
+
|
|
86
|
+
Returns:
|
|
87
|
+
Response[HTTPValidationError | ProvidersListResponse]
|
|
88
|
+
"""
|
|
89
|
+
|
|
90
|
+
kwargs = _get_kwargs(
|
|
91
|
+
x_unique_company_id=x_unique_company_id,
|
|
92
|
+
x_unique_user_id=x_unique_user_id,
|
|
93
|
+
x_unique_chat_id=x_unique_chat_id,
|
|
94
|
+
)
|
|
95
|
+
|
|
96
|
+
response = client.get_httpx_client().request(
|
|
97
|
+
**kwargs,
|
|
98
|
+
)
|
|
99
|
+
|
|
100
|
+
return _build_response(client=client, response=response)
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
def sync(
|
|
104
|
+
*,
|
|
105
|
+
client: AuthenticatedClient | Client,
|
|
106
|
+
x_unique_company_id: str | Unset = "local",
|
|
107
|
+
x_unique_user_id: str | Unset = "local",
|
|
108
|
+
x_unique_chat_id: str | Unset = "local",
|
|
109
|
+
) -> HTTPValidationError | ProvidersListResponse | None:
|
|
110
|
+
"""List registered search engines and crawlers
|
|
111
|
+
|
|
112
|
+
Args:
|
|
113
|
+
x_unique_company_id (str | Unset): Tenant company identifier. Default: 'local'.
|
|
114
|
+
x_unique_user_id (str | Unset): Tenant user identifier. Default: 'local'.
|
|
115
|
+
x_unique_chat_id (str | Unset): Tenant chat or session identifier. Default: 'local'.
|
|
116
|
+
|
|
117
|
+
Raises:
|
|
118
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
119
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
120
|
+
|
|
121
|
+
Returns:
|
|
122
|
+
HTTPValidationError | ProvidersListResponse
|
|
123
|
+
"""
|
|
124
|
+
|
|
125
|
+
return sync_detailed(
|
|
126
|
+
client=client,
|
|
127
|
+
x_unique_company_id=x_unique_company_id,
|
|
128
|
+
x_unique_user_id=x_unique_user_id,
|
|
129
|
+
x_unique_chat_id=x_unique_chat_id,
|
|
130
|
+
).parsed
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
async def asyncio_detailed(
|
|
134
|
+
*,
|
|
135
|
+
client: AuthenticatedClient | Client,
|
|
136
|
+
x_unique_company_id: str | Unset = "local",
|
|
137
|
+
x_unique_user_id: str | Unset = "local",
|
|
138
|
+
x_unique_chat_id: str | Unset = "local",
|
|
139
|
+
) -> Response[HTTPValidationError | ProvidersListResponse]:
|
|
140
|
+
"""List registered search engines and crawlers
|
|
141
|
+
|
|
142
|
+
Args:
|
|
143
|
+
x_unique_company_id (str | Unset): Tenant company identifier. Default: 'local'.
|
|
144
|
+
x_unique_user_id (str | Unset): Tenant user identifier. Default: 'local'.
|
|
145
|
+
x_unique_chat_id (str | Unset): Tenant chat or session identifier. Default: 'local'.
|
|
146
|
+
|
|
147
|
+
Raises:
|
|
148
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
149
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
150
|
+
|
|
151
|
+
Returns:
|
|
152
|
+
Response[HTTPValidationError | ProvidersListResponse]
|
|
153
|
+
"""
|
|
154
|
+
|
|
155
|
+
kwargs = _get_kwargs(
|
|
156
|
+
x_unique_company_id=x_unique_company_id,
|
|
157
|
+
x_unique_user_id=x_unique_user_id,
|
|
158
|
+
x_unique_chat_id=x_unique_chat_id,
|
|
159
|
+
)
|
|
160
|
+
|
|
161
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
162
|
+
|
|
163
|
+
return _build_response(client=client, response=response)
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
async def asyncio(
|
|
167
|
+
*,
|
|
168
|
+
client: AuthenticatedClient | Client,
|
|
169
|
+
x_unique_company_id: str | Unset = "local",
|
|
170
|
+
x_unique_user_id: str | Unset = "local",
|
|
171
|
+
x_unique_chat_id: str | Unset = "local",
|
|
172
|
+
) -> HTTPValidationError | ProvidersListResponse | None:
|
|
173
|
+
"""List registered search engines and crawlers
|
|
174
|
+
|
|
175
|
+
Args:
|
|
176
|
+
x_unique_company_id (str | Unset): Tenant company identifier. Default: 'local'.
|
|
177
|
+
x_unique_user_id (str | Unset): Tenant user identifier. Default: 'local'.
|
|
178
|
+
x_unique_chat_id (str | Unset): Tenant chat or session identifier. Default: 'local'.
|
|
179
|
+
|
|
180
|
+
Raises:
|
|
181
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
182
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
183
|
+
|
|
184
|
+
Returns:
|
|
185
|
+
HTTPValidationError | ProvidersListResponse
|
|
186
|
+
"""
|
|
187
|
+
|
|
188
|
+
return (
|
|
189
|
+
await asyncio_detailed(
|
|
190
|
+
client=client,
|
|
191
|
+
x_unique_company_id=x_unique_company_id,
|
|
192
|
+
x_unique_user_id=x_unique_user_id,
|
|
193
|
+
x_unique_chat_id=x_unique_chat_id,
|
|
194
|
+
)
|
|
195
|
+
).parsed
|
|
@@ -11,7 +11,7 @@ from ...models.firecrawl_crawl_request import FirecrawlCrawlRequest
|
|
|
11
11
|
from ...models.http_validation_error import HTTPValidationError
|
|
12
12
|
from ...models.jina_crawl_request import JinaCrawlRequest
|
|
13
13
|
from ...models.tavily_crawl_request import TavilyCrawlRequest
|
|
14
|
-
from ...types import Response
|
|
14
|
+
from ...types import Response, Unset
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
def _get_kwargs(
|
|
@@ -20,8 +20,19 @@ def _get_kwargs(
|
|
|
20
20
|
| FirecrawlCrawlRequest
|
|
21
21
|
| JinaCrawlRequest
|
|
22
22
|
| TavilyCrawlRequest,
|
|
23
|
+
x_unique_company_id: str | Unset = "local",
|
|
24
|
+
x_unique_user_id: str | Unset = "local",
|
|
25
|
+
x_unique_chat_id: str | Unset = "local",
|
|
23
26
|
) -> dict[str, Any]:
|
|
24
27
|
headers: dict[str, Any] = {}
|
|
28
|
+
if not isinstance(x_unique_company_id, Unset):
|
|
29
|
+
headers["x-unique-company-id"] = x_unique_company_id
|
|
30
|
+
|
|
31
|
+
if not isinstance(x_unique_user_id, Unset):
|
|
32
|
+
headers["x-unique-user-id"] = x_unique_user_id
|
|
33
|
+
|
|
34
|
+
if not isinstance(x_unique_chat_id, Unset):
|
|
35
|
+
headers["x-unique-chat-id"] = x_unique_chat_id
|
|
25
36
|
|
|
26
37
|
_kwargs: dict[str, Any] = {
|
|
27
38
|
"method": "post",
|
|
@@ -80,10 +91,16 @@ def sync_detailed(
|
|
|
80
91
|
| FirecrawlCrawlRequest
|
|
81
92
|
| JinaCrawlRequest
|
|
82
93
|
| TavilyCrawlRequest,
|
|
94
|
+
x_unique_company_id: str | Unset = "local",
|
|
95
|
+
x_unique_user_id: str | Unset = "local",
|
|
96
|
+
x_unique_chat_id: str | Unset = "local",
|
|
83
97
|
) -> Response[CrawlResponse | HTTPValidationError]:
|
|
84
98
|
"""Crawl URLs with a configured crawler
|
|
85
99
|
|
|
86
100
|
Args:
|
|
101
|
+
x_unique_company_id (str | Unset): Tenant company identifier. Default: 'local'.
|
|
102
|
+
x_unique_user_id (str | Unset): Tenant user identifier. Default: 'local'.
|
|
103
|
+
x_unique_chat_id (str | Unset): Tenant chat or session identifier. Default: 'local'.
|
|
87
104
|
body (BasicCrawlRequest | FirecrawlCrawlRequest | JinaCrawlRequest | TavilyCrawlRequest):
|
|
88
105
|
|
|
89
106
|
Raises:
|
|
@@ -96,6 +113,9 @@ def sync_detailed(
|
|
|
96
113
|
|
|
97
114
|
kwargs = _get_kwargs(
|
|
98
115
|
body=body,
|
|
116
|
+
x_unique_company_id=x_unique_company_id,
|
|
117
|
+
x_unique_user_id=x_unique_user_id,
|
|
118
|
+
x_unique_chat_id=x_unique_chat_id,
|
|
99
119
|
)
|
|
100
120
|
|
|
101
121
|
response = client.get_httpx_client().request(
|
|
@@ -112,10 +132,16 @@ def sync(
|
|
|
112
132
|
| FirecrawlCrawlRequest
|
|
113
133
|
| JinaCrawlRequest
|
|
114
134
|
| TavilyCrawlRequest,
|
|
135
|
+
x_unique_company_id: str | Unset = "local",
|
|
136
|
+
x_unique_user_id: str | Unset = "local",
|
|
137
|
+
x_unique_chat_id: str | Unset = "local",
|
|
115
138
|
) -> CrawlResponse | HTTPValidationError | None:
|
|
116
139
|
"""Crawl URLs with a configured crawler
|
|
117
140
|
|
|
118
141
|
Args:
|
|
142
|
+
x_unique_company_id (str | Unset): Tenant company identifier. Default: 'local'.
|
|
143
|
+
x_unique_user_id (str | Unset): Tenant user identifier. Default: 'local'.
|
|
144
|
+
x_unique_chat_id (str | Unset): Tenant chat or session identifier. Default: 'local'.
|
|
119
145
|
body (BasicCrawlRequest | FirecrawlCrawlRequest | JinaCrawlRequest | TavilyCrawlRequest):
|
|
120
146
|
|
|
121
147
|
Raises:
|
|
@@ -129,6 +155,9 @@ def sync(
|
|
|
129
155
|
return sync_detailed(
|
|
130
156
|
client=client,
|
|
131
157
|
body=body,
|
|
158
|
+
x_unique_company_id=x_unique_company_id,
|
|
159
|
+
x_unique_user_id=x_unique_user_id,
|
|
160
|
+
x_unique_chat_id=x_unique_chat_id,
|
|
132
161
|
).parsed
|
|
133
162
|
|
|
134
163
|
|
|
@@ -139,10 +168,16 @@ async def asyncio_detailed(
|
|
|
139
168
|
| FirecrawlCrawlRequest
|
|
140
169
|
| JinaCrawlRequest
|
|
141
170
|
| TavilyCrawlRequest,
|
|
171
|
+
x_unique_company_id: str | Unset = "local",
|
|
172
|
+
x_unique_user_id: str | Unset = "local",
|
|
173
|
+
x_unique_chat_id: str | Unset = "local",
|
|
142
174
|
) -> Response[CrawlResponse | HTTPValidationError]:
|
|
143
175
|
"""Crawl URLs with a configured crawler
|
|
144
176
|
|
|
145
177
|
Args:
|
|
178
|
+
x_unique_company_id (str | Unset): Tenant company identifier. Default: 'local'.
|
|
179
|
+
x_unique_user_id (str | Unset): Tenant user identifier. Default: 'local'.
|
|
180
|
+
x_unique_chat_id (str | Unset): Tenant chat or session identifier. Default: 'local'.
|
|
146
181
|
body (BasicCrawlRequest | FirecrawlCrawlRequest | JinaCrawlRequest | TavilyCrawlRequest):
|
|
147
182
|
|
|
148
183
|
Raises:
|
|
@@ -155,6 +190,9 @@ async def asyncio_detailed(
|
|
|
155
190
|
|
|
156
191
|
kwargs = _get_kwargs(
|
|
157
192
|
body=body,
|
|
193
|
+
x_unique_company_id=x_unique_company_id,
|
|
194
|
+
x_unique_user_id=x_unique_user_id,
|
|
195
|
+
x_unique_chat_id=x_unique_chat_id,
|
|
158
196
|
)
|
|
159
197
|
|
|
160
198
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -169,10 +207,16 @@ async def asyncio(
|
|
|
169
207
|
| FirecrawlCrawlRequest
|
|
170
208
|
| JinaCrawlRequest
|
|
171
209
|
| TavilyCrawlRequest,
|
|
210
|
+
x_unique_company_id: str | Unset = "local",
|
|
211
|
+
x_unique_user_id: str | Unset = "local",
|
|
212
|
+
x_unique_chat_id: str | Unset = "local",
|
|
172
213
|
) -> CrawlResponse | HTTPValidationError | None:
|
|
173
214
|
"""Crawl URLs with a configured crawler
|
|
174
215
|
|
|
175
216
|
Args:
|
|
217
|
+
x_unique_company_id (str | Unset): Tenant company identifier. Default: 'local'.
|
|
218
|
+
x_unique_user_id (str | Unset): Tenant user identifier. Default: 'local'.
|
|
219
|
+
x_unique_chat_id (str | Unset): Tenant chat or session identifier. Default: 'local'.
|
|
176
220
|
body (BasicCrawlRequest | FirecrawlCrawlRequest | JinaCrawlRequest | TavilyCrawlRequest):
|
|
177
221
|
|
|
178
222
|
Raises:
|
|
@@ -187,5 +231,8 @@ async def asyncio(
|
|
|
187
231
|
await asyncio_detailed(
|
|
188
232
|
client=client,
|
|
189
233
|
body=body,
|
|
234
|
+
x_unique_company_id=x_unique_company_id,
|
|
235
|
+
x_unique_user_id=x_unique_user_id,
|
|
236
|
+
x_unique_chat_id=x_unique_chat_id,
|
|
190
237
|
)
|
|
191
238
|
).parsed
|