h2ogpte 1.6.53rc1__py3-none-any.whl → 1.6.53rc2__py3-none-any.whl
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.
- h2ogpte/__init__.py +1 -1
- h2ogpte/h2ogpte.py +49 -1
- h2ogpte/h2ogpte_async.py +49 -1
- h2ogpte/rest_async/__init__.py +1 -1
- h2ogpte/rest_async/api/agents_api.py +25 -25
- h2ogpte/rest_async/api_client.py +1 -1
- h2ogpte/rest_async/configuration.py +1 -1
- h2ogpte/rest_async/models/chat_settings.py +2 -2
- h2ogpte/rest_sync/__init__.py +1 -1
- h2ogpte/rest_sync/api/agents_api.py +25 -25
- h2ogpte/rest_sync/api_client.py +1 -1
- h2ogpte/rest_sync/configuration.py +1 -1
- h2ogpte/rest_sync/models/chat_settings.py +2 -2
- {h2ogpte-1.6.53rc1.dist-info → h2ogpte-1.6.53rc2.dist-info}/METADATA +1 -1
- {h2ogpte-1.6.53rc1.dist-info → h2ogpte-1.6.53rc2.dist-info}/RECORD +18 -18
- {h2ogpte-1.6.53rc1.dist-info → h2ogpte-1.6.53rc2.dist-info}/WHEEL +0 -0
- {h2ogpte-1.6.53rc1.dist-info → h2ogpte-1.6.53rc2.dist-info}/entry_points.txt +0 -0
- {h2ogpte-1.6.53rc1.dist-info → h2ogpte-1.6.53rc2.dist-info}/top_level.txt +0 -0
h2ogpte/__init__.py
CHANGED
h2ogpte/h2ogpte.py
CHANGED
|
@@ -2745,7 +2745,20 @@ class H2OGPTE(H2OGPTESyncBase):
|
|
|
2745
2745
|
handwriting_check:
|
|
2746
2746
|
Check pages for handwriting. Will use specialized models if handwriting is found.
|
|
2747
2747
|
metadata:
|
|
2748
|
-
|
|
2748
|
+
Dictionary mapping upload_ids to their metadata. Each key must be an upload_id
|
|
2749
|
+
from the upload_ids list, and each value is a dictionary of metadata key-value
|
|
2750
|
+
pairs to associate with that document.
|
|
2751
|
+
|
|
2752
|
+
Example::
|
|
2753
|
+
|
|
2754
|
+
# Single document
|
|
2755
|
+
metadata = {upload_id: {"category": "reports", "year": "2024"}}
|
|
2756
|
+
|
|
2757
|
+
# Multiple documents
|
|
2758
|
+
metadata = {
|
|
2759
|
+
upload_id_1: {"category": "reports"},
|
|
2760
|
+
upload_id_2: {"category": "invoices"}
|
|
2761
|
+
}
|
|
2749
2762
|
timeout:
|
|
2750
2763
|
Timeout in seconds.
|
|
2751
2764
|
ingest_mode:
|
|
@@ -7138,6 +7151,41 @@ class H2OGPTE(H2OGPTESyncBase):
|
|
|
7138
7151
|
def add_custom_agent_tool(
|
|
7139
7152
|
self, tool_type: str, tool_args: dict, custom_tool_path: Optional[str] = None
|
|
7140
7153
|
) -> list:
|
|
7154
|
+
"""Adds a custom agent tool.
|
|
7155
|
+
|
|
7156
|
+
Args:
|
|
7157
|
+
tool_type: The type of custom tool being added. Valid values:
|
|
7158
|
+
- 'local_mcp': Model Context Protocol server running locally
|
|
7159
|
+
- 'remote_mcp': Model Context Protocol server running remotely
|
|
7160
|
+
- 'browser_action': Custom browser automation actions
|
|
7161
|
+
- 'general_code': General purpose code execution tools
|
|
7162
|
+
|
|
7163
|
+
tool_args: Dictionary containing tool-specific arguments. Structure varies by tool_type:
|
|
7164
|
+
|
|
7165
|
+
For 'remote_mcp':
|
|
7166
|
+
{
|
|
7167
|
+
"mcp_config_json": "JSON string with MCP server configuration",
|
|
7168
|
+
"enable_by_default": True/False (optional, defaults to True)
|
|
7169
|
+
}
|
|
7170
|
+
|
|
7171
|
+
For 'local_mcp', 'browser_action', and 'general_code':
|
|
7172
|
+
{
|
|
7173
|
+
"tool_name": "string (optional, defaults to filename without extension)",
|
|
7174
|
+
"description": "string (optional, tool description)",
|
|
7175
|
+
"enable_by_default": True/False (optional, defaults to True),
|
|
7176
|
+
"should_unzip": True/False (optional, for general_code .zip files only),
|
|
7177
|
+
"tool_usage_mode": ["runner", "creator"] (optional list of strings, for remote_mcp)
|
|
7178
|
+
}
|
|
7179
|
+
|
|
7180
|
+
custom_tool_path: Path to the tool file to upload (optional). Requirements vary by tool_type:
|
|
7181
|
+
- 'local_mcp': .zip file containing MCP server code
|
|
7182
|
+
- 'remote_mcp': Optional .json file with MCP configuration
|
|
7183
|
+
- 'browser_action': .py file (must start with 'browser_') or .zip containing browser action scripts
|
|
7184
|
+
- 'general_code': .py or .zip file with custom code
|
|
7185
|
+
|
|
7186
|
+
Returns:
|
|
7187
|
+
list: List of created custom agent tool IDs
|
|
7188
|
+
"""
|
|
7141
7189
|
header = self._get_auth_header()
|
|
7142
7190
|
custom_tool_path = str(custom_tool_path) if custom_tool_path else None
|
|
7143
7191
|
with self._RESTClient(self) as rest_client:
|
h2ogpte/h2ogpte_async.py
CHANGED
|
@@ -2943,7 +2943,20 @@ class H2OGPTEAsync:
|
|
|
2943
2943
|
handwriting_check:
|
|
2944
2944
|
Check pages for handwriting. Will use specialized models if handwriting is found.
|
|
2945
2945
|
metadata:
|
|
2946
|
-
|
|
2946
|
+
Dictionary mapping upload_ids to their metadata. Each key must be an upload_id
|
|
2947
|
+
from the upload_ids list, and each value is a dictionary of metadata key-value
|
|
2948
|
+
pairs to associate with that document.
|
|
2949
|
+
|
|
2950
|
+
Example::
|
|
2951
|
+
|
|
2952
|
+
# Single document
|
|
2953
|
+
metadata = {upload_id: {"category": "reports", "year": "2024"}}
|
|
2954
|
+
|
|
2955
|
+
# Multiple documents
|
|
2956
|
+
metadata = {
|
|
2957
|
+
upload_id_1: {"category": "reports"},
|
|
2958
|
+
upload_id_2: {"category": "invoices"}
|
|
2959
|
+
}
|
|
2947
2960
|
timeout:
|
|
2948
2961
|
Timeout in seconds.
|
|
2949
2962
|
ingest_mode:
|
|
@@ -7393,6 +7406,41 @@ class H2OGPTEAsync:
|
|
|
7393
7406
|
async def add_custom_agent_tool(
|
|
7394
7407
|
self, tool_type: str, tool_args: dict, custom_tool_path: Optional[str] = None
|
|
7395
7408
|
) -> list:
|
|
7409
|
+
"""Adds a custom agent tool.
|
|
7410
|
+
|
|
7411
|
+
Args:
|
|
7412
|
+
tool_type: The type of custom tool being added. Valid values:
|
|
7413
|
+
- 'local_mcp': Model Context Protocol server running locally
|
|
7414
|
+
- 'remote_mcp': Model Context Protocol server running remotely
|
|
7415
|
+
- 'browser_action': Custom browser automation actions
|
|
7416
|
+
- 'general_code': General purpose code execution tools
|
|
7417
|
+
|
|
7418
|
+
tool_args: Dictionary containing tool-specific arguments. Structure varies by tool_type:
|
|
7419
|
+
|
|
7420
|
+
For 'remote_mcp':
|
|
7421
|
+
{
|
|
7422
|
+
"mcp_config_json": "JSON string with MCP server configuration",
|
|
7423
|
+
"enable_by_default": True/False (optional, defaults to True)
|
|
7424
|
+
}
|
|
7425
|
+
|
|
7426
|
+
For 'local_mcp', 'browser_action', and 'general_code':
|
|
7427
|
+
{
|
|
7428
|
+
"tool_name": "string (optional, defaults to filename without extension)",
|
|
7429
|
+
"description": "string (optional, tool description)",
|
|
7430
|
+
"enable_by_default": True/False (optional, defaults to True),
|
|
7431
|
+
"should_unzip": True/False (optional, for general_code .zip files only),
|
|
7432
|
+
"tool_usage_mode": ["runner", "creator"] (optional list of strings, for remote_mcp)
|
|
7433
|
+
}
|
|
7434
|
+
|
|
7435
|
+
custom_tool_path: Path to the tool file to upload (optional). Requirements vary by tool_type:
|
|
7436
|
+
- 'local_mcp': .zip file containing MCP server code
|
|
7437
|
+
- 'remote_mcp': Optional .json file with MCP configuration
|
|
7438
|
+
- 'browser_action': .py file (must start with 'browser_') or .zip containing browser action scripts
|
|
7439
|
+
- 'general_code': .py or .zip file with custom code
|
|
7440
|
+
|
|
7441
|
+
Returns:
|
|
7442
|
+
list: List of created custom agent tool IDs
|
|
7443
|
+
"""
|
|
7396
7444
|
header = await self._get_auth_header()
|
|
7397
7445
|
custom_tool_path = str(custom_tool_path) if custom_tool_path else None
|
|
7398
7446
|
async with self._RESTClient(self) as rest_client:
|
h2ogpte/rest_async/__init__.py
CHANGED
|
@@ -16,7 +16,7 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
|
16
16
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
17
17
|
from typing_extensions import Annotated
|
|
18
18
|
|
|
19
|
-
from pydantic import Field, StrictBytes, StrictInt, StrictStr
|
|
19
|
+
from pydantic import Field, StrictBytes, StrictInt, StrictStr, field_validator
|
|
20
20
|
from typing import List, Optional, Tuple, Union
|
|
21
21
|
from typing_extensions import Annotated
|
|
22
22
|
from h2ogpte.rest_async.models.add_custom_agent_tool201_response_inner import AddCustomAgentTool201ResponseInner
|
|
@@ -54,11 +54,11 @@ class AgentsApi:
|
|
|
54
54
|
@validate_call
|
|
55
55
|
async def add_custom_agent_tool(
|
|
56
56
|
self,
|
|
57
|
-
tool_type: StrictStr,
|
|
58
|
-
tool_args: StrictStr,
|
|
59
|
-
file: Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]] = None,
|
|
57
|
+
tool_type: Annotated[StrictStr, Field(description="The type of custom tool being added: - local_mcp: Model Context Protocol server running locally - remote_mcp: Model Context Protocol server running remotely - browser_action: Custom browser automation actions - general_code: General purpose code execution tools ")],
|
|
58
|
+
tool_args: Annotated[StrictStr, Field(description="JSON string containing tool-specific arguments. The structure varies by tool_type: For remote_mcp: { \\\"mcp_config_json\\\": \\\"JSON string with MCP server configuration\\\", \\\"enable_by_default\\\": true/false (optional, defaults to true) } For local_mcp, browser_action, and general_code: { \\\"tool_name\\\": \\\"string (optional, defaults to filename without extension)\\\", \\\"description\\\": \\\"string (optional, tool description)\\\", \\\"enable_by_default\\\": true/false (optional, defaults to true), \\\"should_unzip\\\": true/false (optional, for general_code .zip files only), \\\"tool_usage_mode\\\": [\\\"runner\\\", \\\"creator\\\"] (optional list of strings) } ")],
|
|
59
|
+
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="The tool file to upload. Requirements vary by tool_type: - local_mcp: .zip file containing MCP server code - remote_mcp: Optional .json file with MCP configuration - browser_action: .py file (must start with 'browser_') or .zip containing browser action scripts - general_code: .py or .zip file with custom code ")] = None,
|
|
60
60
|
custom_tool_path: Optional[StrictStr] = None,
|
|
61
|
-
filename: Optional[StrictStr] = None,
|
|
61
|
+
filename: Annotated[Optional[StrictStr], Field(description="Optional filename to use when storing the uploaded file")] = None,
|
|
62
62
|
_request_timeout: Union[
|
|
63
63
|
None,
|
|
64
64
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -76,15 +76,15 @@ class AgentsApi:
|
|
|
76
76
|
|
|
77
77
|
Add Custom Agent Tools
|
|
78
78
|
|
|
79
|
-
:param tool_type: (required)
|
|
79
|
+
:param tool_type: The type of custom tool being added: - local_mcp: Model Context Protocol server running locally - remote_mcp: Model Context Protocol server running remotely - browser_action: Custom browser automation actions - general_code: General purpose code execution tools (required)
|
|
80
80
|
:type tool_type: str
|
|
81
|
-
:param tool_args: (required)
|
|
81
|
+
:param tool_args: JSON string containing tool-specific arguments. The structure varies by tool_type: For remote_mcp: { \\\"mcp_config_json\\\": \\\"JSON string with MCP server configuration\\\", \\\"enable_by_default\\\": true/false (optional, defaults to true) } For local_mcp, browser_action, and general_code: { \\\"tool_name\\\": \\\"string (optional, defaults to filename without extension)\\\", \\\"description\\\": \\\"string (optional, tool description)\\\", \\\"enable_by_default\\\": true/false (optional, defaults to true), \\\"should_unzip\\\": true/false (optional, for general_code .zip files only), \\\"tool_usage_mode\\\": [\\\"runner\\\", \\\"creator\\\"] (optional list of strings) } (required)
|
|
82
82
|
:type tool_args: str
|
|
83
|
-
:param file:
|
|
83
|
+
:param file: The tool file to upload. Requirements vary by tool_type: - local_mcp: .zip file containing MCP server code - remote_mcp: Optional .json file with MCP configuration - browser_action: .py file (must start with 'browser_') or .zip containing browser action scripts - general_code: .py or .zip file with custom code
|
|
84
84
|
:type file: bytearray
|
|
85
85
|
:param custom_tool_path:
|
|
86
86
|
:type custom_tool_path: str
|
|
87
|
-
:param filename:
|
|
87
|
+
:param filename: Optional filename to use when storing the uploaded file
|
|
88
88
|
:type filename: str
|
|
89
89
|
:param _request_timeout: timeout setting for this request. If one
|
|
90
90
|
number provided, it will be total request
|
|
@@ -138,11 +138,11 @@ class AgentsApi:
|
|
|
138
138
|
@validate_call
|
|
139
139
|
async def add_custom_agent_tool_with_http_info(
|
|
140
140
|
self,
|
|
141
|
-
tool_type: StrictStr,
|
|
142
|
-
tool_args: StrictStr,
|
|
143
|
-
file: Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]] = None,
|
|
141
|
+
tool_type: Annotated[StrictStr, Field(description="The type of custom tool being added: - local_mcp: Model Context Protocol server running locally - remote_mcp: Model Context Protocol server running remotely - browser_action: Custom browser automation actions - general_code: General purpose code execution tools ")],
|
|
142
|
+
tool_args: Annotated[StrictStr, Field(description="JSON string containing tool-specific arguments. The structure varies by tool_type: For remote_mcp: { \\\"mcp_config_json\\\": \\\"JSON string with MCP server configuration\\\", \\\"enable_by_default\\\": true/false (optional, defaults to true) } For local_mcp, browser_action, and general_code: { \\\"tool_name\\\": \\\"string (optional, defaults to filename without extension)\\\", \\\"description\\\": \\\"string (optional, tool description)\\\", \\\"enable_by_default\\\": true/false (optional, defaults to true), \\\"should_unzip\\\": true/false (optional, for general_code .zip files only), \\\"tool_usage_mode\\\": [\\\"runner\\\", \\\"creator\\\"] (optional list of strings) } ")],
|
|
143
|
+
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="The tool file to upload. Requirements vary by tool_type: - local_mcp: .zip file containing MCP server code - remote_mcp: Optional .json file with MCP configuration - browser_action: .py file (must start with 'browser_') or .zip containing browser action scripts - general_code: .py or .zip file with custom code ")] = None,
|
|
144
144
|
custom_tool_path: Optional[StrictStr] = None,
|
|
145
|
-
filename: Optional[StrictStr] = None,
|
|
145
|
+
filename: Annotated[Optional[StrictStr], Field(description="Optional filename to use when storing the uploaded file")] = None,
|
|
146
146
|
_request_timeout: Union[
|
|
147
147
|
None,
|
|
148
148
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -160,15 +160,15 @@ class AgentsApi:
|
|
|
160
160
|
|
|
161
161
|
Add Custom Agent Tools
|
|
162
162
|
|
|
163
|
-
:param tool_type: (required)
|
|
163
|
+
:param tool_type: The type of custom tool being added: - local_mcp: Model Context Protocol server running locally - remote_mcp: Model Context Protocol server running remotely - browser_action: Custom browser automation actions - general_code: General purpose code execution tools (required)
|
|
164
164
|
:type tool_type: str
|
|
165
|
-
:param tool_args: (required)
|
|
165
|
+
:param tool_args: JSON string containing tool-specific arguments. The structure varies by tool_type: For remote_mcp: { \\\"mcp_config_json\\\": \\\"JSON string with MCP server configuration\\\", \\\"enable_by_default\\\": true/false (optional, defaults to true) } For local_mcp, browser_action, and general_code: { \\\"tool_name\\\": \\\"string (optional, defaults to filename without extension)\\\", \\\"description\\\": \\\"string (optional, tool description)\\\", \\\"enable_by_default\\\": true/false (optional, defaults to true), \\\"should_unzip\\\": true/false (optional, for general_code .zip files only), \\\"tool_usage_mode\\\": [\\\"runner\\\", \\\"creator\\\"] (optional list of strings) } (required)
|
|
166
166
|
:type tool_args: str
|
|
167
|
-
:param file:
|
|
167
|
+
:param file: The tool file to upload. Requirements vary by tool_type: - local_mcp: .zip file containing MCP server code - remote_mcp: Optional .json file with MCP configuration - browser_action: .py file (must start with 'browser_') or .zip containing browser action scripts - general_code: .py or .zip file with custom code
|
|
168
168
|
:type file: bytearray
|
|
169
169
|
:param custom_tool_path:
|
|
170
170
|
:type custom_tool_path: str
|
|
171
|
-
:param filename:
|
|
171
|
+
:param filename: Optional filename to use when storing the uploaded file
|
|
172
172
|
:type filename: str
|
|
173
173
|
:param _request_timeout: timeout setting for this request. If one
|
|
174
174
|
number provided, it will be total request
|
|
@@ -222,11 +222,11 @@ class AgentsApi:
|
|
|
222
222
|
@validate_call
|
|
223
223
|
async def add_custom_agent_tool_without_preload_content(
|
|
224
224
|
self,
|
|
225
|
-
tool_type: StrictStr,
|
|
226
|
-
tool_args: StrictStr,
|
|
227
|
-
file: Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]] = None,
|
|
225
|
+
tool_type: Annotated[StrictStr, Field(description="The type of custom tool being added: - local_mcp: Model Context Protocol server running locally - remote_mcp: Model Context Protocol server running remotely - browser_action: Custom browser automation actions - general_code: General purpose code execution tools ")],
|
|
226
|
+
tool_args: Annotated[StrictStr, Field(description="JSON string containing tool-specific arguments. The structure varies by tool_type: For remote_mcp: { \\\"mcp_config_json\\\": \\\"JSON string with MCP server configuration\\\", \\\"enable_by_default\\\": true/false (optional, defaults to true) } For local_mcp, browser_action, and general_code: { \\\"tool_name\\\": \\\"string (optional, defaults to filename without extension)\\\", \\\"description\\\": \\\"string (optional, tool description)\\\", \\\"enable_by_default\\\": true/false (optional, defaults to true), \\\"should_unzip\\\": true/false (optional, for general_code .zip files only), \\\"tool_usage_mode\\\": [\\\"runner\\\", \\\"creator\\\"] (optional list of strings) } ")],
|
|
227
|
+
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="The tool file to upload. Requirements vary by tool_type: - local_mcp: .zip file containing MCP server code - remote_mcp: Optional .json file with MCP configuration - browser_action: .py file (must start with 'browser_') or .zip containing browser action scripts - general_code: .py or .zip file with custom code ")] = None,
|
|
228
228
|
custom_tool_path: Optional[StrictStr] = None,
|
|
229
|
-
filename: Optional[StrictStr] = None,
|
|
229
|
+
filename: Annotated[Optional[StrictStr], Field(description="Optional filename to use when storing the uploaded file")] = None,
|
|
230
230
|
_request_timeout: Union[
|
|
231
231
|
None,
|
|
232
232
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -244,15 +244,15 @@ class AgentsApi:
|
|
|
244
244
|
|
|
245
245
|
Add Custom Agent Tools
|
|
246
246
|
|
|
247
|
-
:param tool_type: (required)
|
|
247
|
+
:param tool_type: The type of custom tool being added: - local_mcp: Model Context Protocol server running locally - remote_mcp: Model Context Protocol server running remotely - browser_action: Custom browser automation actions - general_code: General purpose code execution tools (required)
|
|
248
248
|
:type tool_type: str
|
|
249
|
-
:param tool_args: (required)
|
|
249
|
+
:param tool_args: JSON string containing tool-specific arguments. The structure varies by tool_type: For remote_mcp: { \\\"mcp_config_json\\\": \\\"JSON string with MCP server configuration\\\", \\\"enable_by_default\\\": true/false (optional, defaults to true) } For local_mcp, browser_action, and general_code: { \\\"tool_name\\\": \\\"string (optional, defaults to filename without extension)\\\", \\\"description\\\": \\\"string (optional, tool description)\\\", \\\"enable_by_default\\\": true/false (optional, defaults to true), \\\"should_unzip\\\": true/false (optional, for general_code .zip files only), \\\"tool_usage_mode\\\": [\\\"runner\\\", \\\"creator\\\"] (optional list of strings) } (required)
|
|
250
250
|
:type tool_args: str
|
|
251
|
-
:param file:
|
|
251
|
+
:param file: The tool file to upload. Requirements vary by tool_type: - local_mcp: .zip file containing MCP server code - remote_mcp: Optional .json file with MCP configuration - browser_action: .py file (must start with 'browser_') or .zip containing browser action scripts - general_code: .py or .zip file with custom code
|
|
252
252
|
:type file: bytearray
|
|
253
253
|
:param custom_tool_path:
|
|
254
254
|
:type custom_tool_path: str
|
|
255
|
-
:param filename:
|
|
255
|
+
:param filename: Optional filename to use when storing the uploaded file
|
|
256
256
|
:type filename: str
|
|
257
257
|
:param _request_timeout: timeout setting for this request. If one
|
|
258
258
|
number provided, it will be total request
|
h2ogpte/rest_async/api_client.py
CHANGED
|
@@ -90,7 +90,7 @@ class ApiClient:
|
|
|
90
90
|
self.default_headers[header_name] = header_value
|
|
91
91
|
self.cookie = cookie
|
|
92
92
|
# Set default User-Agent.
|
|
93
|
-
self.user_agent = 'OpenAPI-Generator/1.6.53-
|
|
93
|
+
self.user_agent = 'OpenAPI-Generator/1.6.53-dev2/python'
|
|
94
94
|
self.client_side_validation = configuration.client_side_validation
|
|
95
95
|
|
|
96
96
|
async def __aenter__(self):
|
|
@@ -499,7 +499,7 @@ class Configuration:
|
|
|
499
499
|
"OS: {env}\n"\
|
|
500
500
|
"Python Version: {pyversion}\n"\
|
|
501
501
|
"Version of the API: v1.0.0\n"\
|
|
502
|
-
"SDK Package Version: 1.6.53-
|
|
502
|
+
"SDK Package Version: 1.6.53-dev2".\
|
|
503
503
|
format(env=sys.platform, pyversion=sys.version)
|
|
504
504
|
|
|
505
505
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -41,8 +41,8 @@ class ChatSettings(BaseModel):
|
|
|
41
41
|
if value is None:
|
|
42
42
|
return value
|
|
43
43
|
|
|
44
|
-
if value not in set(['
|
|
45
|
-
raise ValueError("must be one of enum values ('
|
|
44
|
+
if value not in set(['on', 'off', 'auto']):
|
|
45
|
+
raise ValueError("must be one of enum values ('on', 'off', 'auto')")
|
|
46
46
|
return value
|
|
47
47
|
|
|
48
48
|
model_config = ConfigDict(
|
h2ogpte/rest_sync/__init__.py
CHANGED
|
@@ -16,7 +16,7 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
|
16
16
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
17
17
|
from typing_extensions import Annotated
|
|
18
18
|
|
|
19
|
-
from pydantic import Field, StrictBytes, StrictInt, StrictStr
|
|
19
|
+
from pydantic import Field, StrictBytes, StrictInt, StrictStr, field_validator
|
|
20
20
|
from typing import List, Optional, Tuple, Union
|
|
21
21
|
from typing_extensions import Annotated
|
|
22
22
|
from h2ogpte.rest_sync.models.add_custom_agent_tool201_response_inner import AddCustomAgentTool201ResponseInner
|
|
@@ -54,11 +54,11 @@ class AgentsApi:
|
|
|
54
54
|
@validate_call
|
|
55
55
|
def add_custom_agent_tool(
|
|
56
56
|
self,
|
|
57
|
-
tool_type: StrictStr,
|
|
58
|
-
tool_args: StrictStr,
|
|
59
|
-
file: Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]] = None,
|
|
57
|
+
tool_type: Annotated[StrictStr, Field(description="The type of custom tool being added: - local_mcp: Model Context Protocol server running locally - remote_mcp: Model Context Protocol server running remotely - browser_action: Custom browser automation actions - general_code: General purpose code execution tools ")],
|
|
58
|
+
tool_args: Annotated[StrictStr, Field(description="JSON string containing tool-specific arguments. The structure varies by tool_type: For remote_mcp: { \\\"mcp_config_json\\\": \\\"JSON string with MCP server configuration\\\", \\\"enable_by_default\\\": true/false (optional, defaults to true) } For local_mcp, browser_action, and general_code: { \\\"tool_name\\\": \\\"string (optional, defaults to filename without extension)\\\", \\\"description\\\": \\\"string (optional, tool description)\\\", \\\"enable_by_default\\\": true/false (optional, defaults to true), \\\"should_unzip\\\": true/false (optional, for general_code .zip files only), \\\"tool_usage_mode\\\": [\\\"runner\\\", \\\"creator\\\"] (optional list of strings) } ")],
|
|
59
|
+
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="The tool file to upload. Requirements vary by tool_type: - local_mcp: .zip file containing MCP server code - remote_mcp: Optional .json file with MCP configuration - browser_action: .py file (must start with 'browser_') or .zip containing browser action scripts - general_code: .py or .zip file with custom code ")] = None,
|
|
60
60
|
custom_tool_path: Optional[StrictStr] = None,
|
|
61
|
-
filename: Optional[StrictStr] = None,
|
|
61
|
+
filename: Annotated[Optional[StrictStr], Field(description="Optional filename to use when storing the uploaded file")] = None,
|
|
62
62
|
_request_timeout: Union[
|
|
63
63
|
None,
|
|
64
64
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -76,15 +76,15 @@ class AgentsApi:
|
|
|
76
76
|
|
|
77
77
|
Add Custom Agent Tools
|
|
78
78
|
|
|
79
|
-
:param tool_type: (required)
|
|
79
|
+
:param tool_type: The type of custom tool being added: - local_mcp: Model Context Protocol server running locally - remote_mcp: Model Context Protocol server running remotely - browser_action: Custom browser automation actions - general_code: General purpose code execution tools (required)
|
|
80
80
|
:type tool_type: str
|
|
81
|
-
:param tool_args: (required)
|
|
81
|
+
:param tool_args: JSON string containing tool-specific arguments. The structure varies by tool_type: For remote_mcp: { \\\"mcp_config_json\\\": \\\"JSON string with MCP server configuration\\\", \\\"enable_by_default\\\": true/false (optional, defaults to true) } For local_mcp, browser_action, and general_code: { \\\"tool_name\\\": \\\"string (optional, defaults to filename without extension)\\\", \\\"description\\\": \\\"string (optional, tool description)\\\", \\\"enable_by_default\\\": true/false (optional, defaults to true), \\\"should_unzip\\\": true/false (optional, for general_code .zip files only), \\\"tool_usage_mode\\\": [\\\"runner\\\", \\\"creator\\\"] (optional list of strings) } (required)
|
|
82
82
|
:type tool_args: str
|
|
83
|
-
:param file:
|
|
83
|
+
:param file: The tool file to upload. Requirements vary by tool_type: - local_mcp: .zip file containing MCP server code - remote_mcp: Optional .json file with MCP configuration - browser_action: .py file (must start with 'browser_') or .zip containing browser action scripts - general_code: .py or .zip file with custom code
|
|
84
84
|
:type file: bytearray
|
|
85
85
|
:param custom_tool_path:
|
|
86
86
|
:type custom_tool_path: str
|
|
87
|
-
:param filename:
|
|
87
|
+
:param filename: Optional filename to use when storing the uploaded file
|
|
88
88
|
:type filename: str
|
|
89
89
|
:param _request_timeout: timeout setting for this request. If one
|
|
90
90
|
number provided, it will be total request
|
|
@@ -138,11 +138,11 @@ class AgentsApi:
|
|
|
138
138
|
@validate_call
|
|
139
139
|
def add_custom_agent_tool_with_http_info(
|
|
140
140
|
self,
|
|
141
|
-
tool_type: StrictStr,
|
|
142
|
-
tool_args: StrictStr,
|
|
143
|
-
file: Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]] = None,
|
|
141
|
+
tool_type: Annotated[StrictStr, Field(description="The type of custom tool being added: - local_mcp: Model Context Protocol server running locally - remote_mcp: Model Context Protocol server running remotely - browser_action: Custom browser automation actions - general_code: General purpose code execution tools ")],
|
|
142
|
+
tool_args: Annotated[StrictStr, Field(description="JSON string containing tool-specific arguments. The structure varies by tool_type: For remote_mcp: { \\\"mcp_config_json\\\": \\\"JSON string with MCP server configuration\\\", \\\"enable_by_default\\\": true/false (optional, defaults to true) } For local_mcp, browser_action, and general_code: { \\\"tool_name\\\": \\\"string (optional, defaults to filename without extension)\\\", \\\"description\\\": \\\"string (optional, tool description)\\\", \\\"enable_by_default\\\": true/false (optional, defaults to true), \\\"should_unzip\\\": true/false (optional, for general_code .zip files only), \\\"tool_usage_mode\\\": [\\\"runner\\\", \\\"creator\\\"] (optional list of strings) } ")],
|
|
143
|
+
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="The tool file to upload. Requirements vary by tool_type: - local_mcp: .zip file containing MCP server code - remote_mcp: Optional .json file with MCP configuration - browser_action: .py file (must start with 'browser_') or .zip containing browser action scripts - general_code: .py or .zip file with custom code ")] = None,
|
|
144
144
|
custom_tool_path: Optional[StrictStr] = None,
|
|
145
|
-
filename: Optional[StrictStr] = None,
|
|
145
|
+
filename: Annotated[Optional[StrictStr], Field(description="Optional filename to use when storing the uploaded file")] = None,
|
|
146
146
|
_request_timeout: Union[
|
|
147
147
|
None,
|
|
148
148
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -160,15 +160,15 @@ class AgentsApi:
|
|
|
160
160
|
|
|
161
161
|
Add Custom Agent Tools
|
|
162
162
|
|
|
163
|
-
:param tool_type: (required)
|
|
163
|
+
:param tool_type: The type of custom tool being added: - local_mcp: Model Context Protocol server running locally - remote_mcp: Model Context Protocol server running remotely - browser_action: Custom browser automation actions - general_code: General purpose code execution tools (required)
|
|
164
164
|
:type tool_type: str
|
|
165
|
-
:param tool_args: (required)
|
|
165
|
+
:param tool_args: JSON string containing tool-specific arguments. The structure varies by tool_type: For remote_mcp: { \\\"mcp_config_json\\\": \\\"JSON string with MCP server configuration\\\", \\\"enable_by_default\\\": true/false (optional, defaults to true) } For local_mcp, browser_action, and general_code: { \\\"tool_name\\\": \\\"string (optional, defaults to filename without extension)\\\", \\\"description\\\": \\\"string (optional, tool description)\\\", \\\"enable_by_default\\\": true/false (optional, defaults to true), \\\"should_unzip\\\": true/false (optional, for general_code .zip files only), \\\"tool_usage_mode\\\": [\\\"runner\\\", \\\"creator\\\"] (optional list of strings) } (required)
|
|
166
166
|
:type tool_args: str
|
|
167
|
-
:param file:
|
|
167
|
+
:param file: The tool file to upload. Requirements vary by tool_type: - local_mcp: .zip file containing MCP server code - remote_mcp: Optional .json file with MCP configuration - browser_action: .py file (must start with 'browser_') or .zip containing browser action scripts - general_code: .py or .zip file with custom code
|
|
168
168
|
:type file: bytearray
|
|
169
169
|
:param custom_tool_path:
|
|
170
170
|
:type custom_tool_path: str
|
|
171
|
-
:param filename:
|
|
171
|
+
:param filename: Optional filename to use when storing the uploaded file
|
|
172
172
|
:type filename: str
|
|
173
173
|
:param _request_timeout: timeout setting for this request. If one
|
|
174
174
|
number provided, it will be total request
|
|
@@ -222,11 +222,11 @@ class AgentsApi:
|
|
|
222
222
|
@validate_call
|
|
223
223
|
def add_custom_agent_tool_without_preload_content(
|
|
224
224
|
self,
|
|
225
|
-
tool_type: StrictStr,
|
|
226
|
-
tool_args: StrictStr,
|
|
227
|
-
file: Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]] = None,
|
|
225
|
+
tool_type: Annotated[StrictStr, Field(description="The type of custom tool being added: - local_mcp: Model Context Protocol server running locally - remote_mcp: Model Context Protocol server running remotely - browser_action: Custom browser automation actions - general_code: General purpose code execution tools ")],
|
|
226
|
+
tool_args: Annotated[StrictStr, Field(description="JSON string containing tool-specific arguments. The structure varies by tool_type: For remote_mcp: { \\\"mcp_config_json\\\": \\\"JSON string with MCP server configuration\\\", \\\"enable_by_default\\\": true/false (optional, defaults to true) } For local_mcp, browser_action, and general_code: { \\\"tool_name\\\": \\\"string (optional, defaults to filename without extension)\\\", \\\"description\\\": \\\"string (optional, tool description)\\\", \\\"enable_by_default\\\": true/false (optional, defaults to true), \\\"should_unzip\\\": true/false (optional, for general_code .zip files only), \\\"tool_usage_mode\\\": [\\\"runner\\\", \\\"creator\\\"] (optional list of strings) } ")],
|
|
227
|
+
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="The tool file to upload. Requirements vary by tool_type: - local_mcp: .zip file containing MCP server code - remote_mcp: Optional .json file with MCP configuration - browser_action: .py file (must start with 'browser_') or .zip containing browser action scripts - general_code: .py or .zip file with custom code ")] = None,
|
|
228
228
|
custom_tool_path: Optional[StrictStr] = None,
|
|
229
|
-
filename: Optional[StrictStr] = None,
|
|
229
|
+
filename: Annotated[Optional[StrictStr], Field(description="Optional filename to use when storing the uploaded file")] = None,
|
|
230
230
|
_request_timeout: Union[
|
|
231
231
|
None,
|
|
232
232
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -244,15 +244,15 @@ class AgentsApi:
|
|
|
244
244
|
|
|
245
245
|
Add Custom Agent Tools
|
|
246
246
|
|
|
247
|
-
:param tool_type: (required)
|
|
247
|
+
:param tool_type: The type of custom tool being added: - local_mcp: Model Context Protocol server running locally - remote_mcp: Model Context Protocol server running remotely - browser_action: Custom browser automation actions - general_code: General purpose code execution tools (required)
|
|
248
248
|
:type tool_type: str
|
|
249
|
-
:param tool_args: (required)
|
|
249
|
+
:param tool_args: JSON string containing tool-specific arguments. The structure varies by tool_type: For remote_mcp: { \\\"mcp_config_json\\\": \\\"JSON string with MCP server configuration\\\", \\\"enable_by_default\\\": true/false (optional, defaults to true) } For local_mcp, browser_action, and general_code: { \\\"tool_name\\\": \\\"string (optional, defaults to filename without extension)\\\", \\\"description\\\": \\\"string (optional, tool description)\\\", \\\"enable_by_default\\\": true/false (optional, defaults to true), \\\"should_unzip\\\": true/false (optional, for general_code .zip files only), \\\"tool_usage_mode\\\": [\\\"runner\\\", \\\"creator\\\"] (optional list of strings) } (required)
|
|
250
250
|
:type tool_args: str
|
|
251
|
-
:param file:
|
|
251
|
+
:param file: The tool file to upload. Requirements vary by tool_type: - local_mcp: .zip file containing MCP server code - remote_mcp: Optional .json file with MCP configuration - browser_action: .py file (must start with 'browser_') or .zip containing browser action scripts - general_code: .py or .zip file with custom code
|
|
252
252
|
:type file: bytearray
|
|
253
253
|
:param custom_tool_path:
|
|
254
254
|
:type custom_tool_path: str
|
|
255
|
-
:param filename:
|
|
255
|
+
:param filename: Optional filename to use when storing the uploaded file
|
|
256
256
|
:type filename: str
|
|
257
257
|
:param _request_timeout: timeout setting for this request. If one
|
|
258
258
|
number provided, it will be total request
|
h2ogpte/rest_sync/api_client.py
CHANGED
|
@@ -90,7 +90,7 @@ class ApiClient:
|
|
|
90
90
|
self.default_headers[header_name] = header_value
|
|
91
91
|
self.cookie = cookie
|
|
92
92
|
# Set default User-Agent.
|
|
93
|
-
self.user_agent = 'OpenAPI-Generator/1.6.53-
|
|
93
|
+
self.user_agent = 'OpenAPI-Generator/1.6.53-dev2/python'
|
|
94
94
|
self.client_side_validation = configuration.client_side_validation
|
|
95
95
|
|
|
96
96
|
def __enter__(self):
|
|
@@ -503,7 +503,7 @@ class Configuration:
|
|
|
503
503
|
"OS: {env}\n"\
|
|
504
504
|
"Python Version: {pyversion}\n"\
|
|
505
505
|
"Version of the API: v1.0.0\n"\
|
|
506
|
-
"SDK Package Version: 1.6.53-
|
|
506
|
+
"SDK Package Version: 1.6.53-dev2".\
|
|
507
507
|
format(env=sys.platform, pyversion=sys.version)
|
|
508
508
|
|
|
509
509
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -41,8 +41,8 @@ class ChatSettings(BaseModel):
|
|
|
41
41
|
if value is None:
|
|
42
42
|
return value
|
|
43
43
|
|
|
44
|
-
if value not in set(['
|
|
45
|
-
raise ValueError("must be one of enum values ('
|
|
44
|
+
if value not in set(['on', 'off', 'auto']):
|
|
45
|
+
raise ValueError("must be one of enum values ('on', 'off', 'auto')")
|
|
46
46
|
return value
|
|
47
47
|
|
|
48
48
|
model_config = ConfigDict(
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
h2ogpte/__init__.py,sha256=
|
|
1
|
+
h2ogpte/__init__.py,sha256=xqUMOwwbvjsEQ2ppgmYZFh1EvR6dSxs4KB9HfOdOcVo,1524
|
|
2
2
|
h2ogpte/connectors.py,sha256=CRAEpkn9GotcCjWANfJjZ5Hq1cjGWJ4H_IO4eJgVWiI,8466
|
|
3
3
|
h2ogpte/errors.py,sha256=XgLdfJO1fZ9Bf9rhUKpnvRzzvkNyan3Oc6WzGS6hCUA,1248
|
|
4
|
-
h2ogpte/h2ogpte.py,sha256=
|
|
5
|
-
h2ogpte/h2ogpte_async.py,sha256=
|
|
4
|
+
h2ogpte/h2ogpte.py,sha256=V1yamOJ29JmjUoEkT7D5iaLRGedMRXnOJZZ0ajInBWU,312669
|
|
5
|
+
h2ogpte/h2ogpte_async.py,sha256=ToWNi7bapDwcF7ELppcTvZoLlH3WtmzGAk8B7hJHFBc,332566
|
|
6
6
|
h2ogpte/h2ogpte_sync_base.py,sha256=ftsVzpMqEsyi0UACMI-7H_EIYEx9JEdEUImbyjWy_Hc,15285
|
|
7
7
|
h2ogpte/session.py,sha256=uyU0QJhTpN9vMfie3hj3S8pvMOLkcJdsnnXrSgCgxqE,32770
|
|
8
8
|
h2ogpte/session_async.py,sha256=F5wg8bIRhdXZNvc_6WLtT1tQUAPVPaKq4bYJDoMCEOA,31738
|
|
@@ -41,14 +41,14 @@ h2ogpte/cli/ui/prompts.py,sha256=bJvRe_32KppQTK5bqnsrPh0RS4JaY9KkiV7y-3v8PMQ,538
|
|
|
41
41
|
h2ogpte/cli/ui/status_bar.py,sha256=hs2MLvkg-y3Aiu3gWRtgMXf3jv3DGe7Y47ucgoBAP7Y,3852
|
|
42
42
|
h2ogpte/cli/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
43
43
|
h2ogpte/cli/utils/file_manager.py,sha256=ghNDX6G3Dr0vFvBYjbqx5o7qxq-pN8Vo2Rp1vyITfLo,13988
|
|
44
|
-
h2ogpte/rest_async/__init__.py,sha256=
|
|
45
|
-
h2ogpte/rest_async/api_client.py,sha256=
|
|
44
|
+
h2ogpte/rest_async/__init__.py,sha256=UlQIkjqknnVQPEYIh-DME3-JEinp2ab3VQZuCh5jKjk,15336
|
|
45
|
+
h2ogpte/rest_async/api_client.py,sha256=j3veCMCqQhiZlN7tKjke1CPobTZojBZNXGQrLWiyZeY,29510
|
|
46
46
|
h2ogpte/rest_async/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
47
|
-
h2ogpte/rest_async/configuration.py,sha256=
|
|
47
|
+
h2ogpte/rest_async/configuration.py,sha256=p2c5TNeM8OqMuqq5OAbn6GOxuPdWB1TIdSjOG_Gt3Zc,19567
|
|
48
48
|
h2ogpte/rest_async/exceptions.py,sha256=aSDc-0lURtyQjf5HGa7_Ta0nATxKxfHW3huDA2Zdj6o,8370
|
|
49
49
|
h2ogpte/rest_async/rest.py,sha256=mdjDwzJ1kiaYtONUfDRqKsRPw5-tG6eyZV2P1yBuwRo,9147
|
|
50
50
|
h2ogpte/rest_async/api/__init__.py,sha256=R_x57GGyaSgxZyrJOyOt551TodbRSQf3T7VrraQc-84,973
|
|
51
|
-
h2ogpte/rest_async/api/agents_api.py,sha256=
|
|
51
|
+
h2ogpte/rest_async/api/agents_api.py,sha256=B96qOwSyjttB1YXIP6GSI7u2k1-MCta5ht0f8JcDmxw,185958
|
|
52
52
|
h2ogpte/rest_async/api/api_keys_api.py,sha256=hgywNjCWaIrhFRJacKuPkJSKDEltIK8B9fi-4xMWLgs,58244
|
|
53
53
|
h2ogpte/rest_async/api/chat_api.py,sha256=bJDJqTIXiTYW4anTkqE4XYuEqRDcRW8LcwlMgXyQQS4,295852
|
|
54
54
|
h2ogpte/rest_async/api/collections_api.py,sha256=kg6ZJyqNtnrqu2Q1cS8S-ViYPjXTEAynE2nlSQ-61HA,649556
|
|
@@ -87,7 +87,7 @@ h2ogpte/rest_async/models/chat_message_meta.py,sha256=dgM0NIDSdB6_MN7lEiR4frDFCV
|
|
|
87
87
|
h2ogpte/rest_async/models/chat_message_reference.py,sha256=P5_jxbgfNcwdzC7OgND27EbVemPKiZay0jsCYn8qqTs,5248
|
|
88
88
|
h2ogpte/rest_async/models/chat_session.py,sha256=RVvL2IvMzIQPJ2W6lheUJyN3i6kaffQ80ox66sivq_M,5199
|
|
89
89
|
h2ogpte/rest_async/models/chat_session_update_request.py,sha256=yiH14-IrQfbZ0qINIAyGgtrmhgDr-E-cmd9_5OVVHKU,4411
|
|
90
|
-
h2ogpte/rest_async/models/chat_settings.py,sha256=
|
|
90
|
+
h2ogpte/rest_async/models/chat_settings.py,sha256=pdXyWx9FC6RZTYRmMBSfO_fO8Djz9j7e_lGvz7dFD7M,17141
|
|
91
91
|
h2ogpte/rest_async/models/chat_settings_tags.py,sha256=W8q1R6hMIXGNOcyc5k-hAOSOUCV7744IOcTsT7SKOU4,7424
|
|
92
92
|
h2ogpte/rest_async/models/chunk.py,sha256=4t2oms4W29WEYKi7KvzCArsLOaCOLYyyQRrJttlDUAU,4759
|
|
93
93
|
h2ogpte/rest_async/models/chunk_search_result.py,sha256=keifMKId0YhLFGzh5nv3jNCtQt7YciiwUd6-DsNckAs,4985
|
|
@@ -203,14 +203,14 @@ h2ogpte/rest_async/models/user_deletion_request.py,sha256=z7gD8XKOGwwg782TRzXJii
|
|
|
203
203
|
h2ogpte/rest_async/models/user_info.py,sha256=ef59Eh9k42JUY3X2RnCrwYR7sc_8lXT1vRLGoNz3uTU,4489
|
|
204
204
|
h2ogpte/rest_async/models/user_job_details.py,sha256=kzu8fLxVsRMgnyt6dLr0VWjlIoE3i1VRpGR9nDxFyk4,4985
|
|
205
205
|
h2ogpte/rest_async/models/user_permission.py,sha256=1k74E7s2kD2waSZ79KPlgTupVYEacTKWMqcKxv2972A,4856
|
|
206
|
-
h2ogpte/rest_sync/__init__.py,sha256=
|
|
207
|
-
h2ogpte/rest_sync/api_client.py,sha256=
|
|
206
|
+
h2ogpte/rest_sync/__init__.py,sha256=ICpDb7V-NKYUU2woCJWyrkFhW5BA4YXZjSigvEcH-R4,15173
|
|
207
|
+
h2ogpte/rest_sync/api_client.py,sha256=3x6DrbIQhYYna6rVhaa3yRO-GuNi9f5xijLRoiPGQBc,29397
|
|
208
208
|
h2ogpte/rest_sync/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
209
|
-
h2ogpte/rest_sync/configuration.py,sha256=
|
|
209
|
+
h2ogpte/rest_sync/configuration.py,sha256=iAwY7P5AHwg7vCyPGaIGttOQD-gtUyUWd9D1DD47eDU,19850
|
|
210
210
|
h2ogpte/rest_sync/exceptions.py,sha256=aSDc-0lURtyQjf5HGa7_Ta0nATxKxfHW3huDA2Zdj6o,8370
|
|
211
211
|
h2ogpte/rest_sync/rest.py,sha256=evRzviTYC_fsrpTtFlGvruXmquH9C0jDn-oQrGrE5A0,11314
|
|
212
212
|
h2ogpte/rest_sync/api/__init__.py,sha256=ZuLQQtyiXnP5UOwTlIOYLGLQq1BG_0PEkzC9s698vjM,958
|
|
213
|
-
h2ogpte/rest_sync/api/agents_api.py,sha256=
|
|
213
|
+
h2ogpte/rest_sync/api/agents_api.py,sha256=4dEYWDm3Fcq2n6eF3I9Pl8uzXBDFNK6PQBehcSGChf0,185174
|
|
214
214
|
h2ogpte/rest_sync/api/api_keys_api.py,sha256=MueDC8Z4VUC61IVIBem0kD0Wpgh35MvhoilUtPVLrN0,57997
|
|
215
215
|
h2ogpte/rest_sync/api/chat_api.py,sha256=9DoF08mTxi3D7sYRkvOM76qB4crS13lb5QmTXtJIV1U,294582
|
|
216
216
|
h2ogpte/rest_sync/api/collections_api.py,sha256=DsM57mFCtEn7WjMen3-zbZz_fC0TH1-zttlXJGQwwCs,647030
|
|
@@ -249,7 +249,7 @@ h2ogpte/rest_sync/models/chat_message_meta.py,sha256=dgM0NIDSdB6_MN7lEiR4frDFCVZ
|
|
|
249
249
|
h2ogpte/rest_sync/models/chat_message_reference.py,sha256=P5_jxbgfNcwdzC7OgND27EbVemPKiZay0jsCYn8qqTs,5248
|
|
250
250
|
h2ogpte/rest_sync/models/chat_session.py,sha256=RVvL2IvMzIQPJ2W6lheUJyN3i6kaffQ80ox66sivq_M,5199
|
|
251
251
|
h2ogpte/rest_sync/models/chat_session_update_request.py,sha256=yiH14-IrQfbZ0qINIAyGgtrmhgDr-E-cmd9_5OVVHKU,4411
|
|
252
|
-
h2ogpte/rest_sync/models/chat_settings.py,sha256=
|
|
252
|
+
h2ogpte/rest_sync/models/chat_settings.py,sha256=RxZrOO_i8HfokuLbgaCtAKkEkKk3OYftkRQfQfjgAdE,17140
|
|
253
253
|
h2ogpte/rest_sync/models/chat_settings_tags.py,sha256=fZoLR7g19bvVz4ChhttflYp36PkUsiEFwwh4A5VFEHk,7423
|
|
254
254
|
h2ogpte/rest_sync/models/chunk.py,sha256=4t2oms4W29WEYKi7KvzCArsLOaCOLYyyQRrJttlDUAU,4759
|
|
255
255
|
h2ogpte/rest_sync/models/chunk_search_result.py,sha256=keifMKId0YhLFGzh5nv3jNCtQt7YciiwUd6-DsNckAs,4985
|
|
@@ -365,8 +365,8 @@ h2ogpte/rest_sync/models/user_deletion_request.py,sha256=z7gD8XKOGwwg782TRzXJiiP
|
|
|
365
365
|
h2ogpte/rest_sync/models/user_info.py,sha256=ef59Eh9k42JUY3X2RnCrwYR7sc_8lXT1vRLGoNz3uTU,4489
|
|
366
366
|
h2ogpte/rest_sync/models/user_job_details.py,sha256=9cbhpgLMDpar-aTOaY5Ygud-8Kbi23cLNldTGab0Sd8,4984
|
|
367
367
|
h2ogpte/rest_sync/models/user_permission.py,sha256=1k74E7s2kD2waSZ79KPlgTupVYEacTKWMqcKxv2972A,4856
|
|
368
|
-
h2ogpte-1.6.
|
|
369
|
-
h2ogpte-1.6.
|
|
370
|
-
h2ogpte-1.6.
|
|
371
|
-
h2ogpte-1.6.
|
|
372
|
-
h2ogpte-1.6.
|
|
368
|
+
h2ogpte-1.6.53rc2.dist-info/METADATA,sha256=VrdXthT9GpkouOkKVq-n-KLabKZiZgQSz4HMi_C5ix0,8615
|
|
369
|
+
h2ogpte-1.6.53rc2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
370
|
+
h2ogpte-1.6.53rc2.dist-info/entry_points.txt,sha256=BlaqX2SXJanrOGqNYwnzvCxHGNadM7RBI4pW4rVo5z4,54
|
|
371
|
+
h2ogpte-1.6.53rc2.dist-info/top_level.txt,sha256=vXV4JnNwFWFAqTWyHrH-cGIQqbCcEDG9-BbyNn58JpM,8
|
|
372
|
+
h2ogpte-1.6.53rc2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|