h2ogpte 1.6.41rc3__py3-none-any.whl → 1.6.41rc5__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 +143 -0
- h2ogpte/h2ogpte_async.py +156 -1
- h2ogpte/h2ogpte_sync_base.py +11 -0
- h2ogpte/rest_async/__init__.py +4 -1
- h2ogpte/rest_async/api/__init__.py +1 -0
- h2ogpte/rest_async/api/extractors_api.py +1148 -0
- h2ogpte/rest_async/api_client.py +1 -1
- h2ogpte/rest_async/configuration.py +1 -1
- h2ogpte/rest_async/models/__init__.py +2 -0
- h2ogpte/rest_async/models/extractor.py +98 -0
- h2ogpte/rest_async/models/extractor_create_request.py +93 -0
- h2ogpte/rest_sync/__init__.py +4 -1
- h2ogpte/rest_sync/api/__init__.py +1 -0
- h2ogpte/rest_sync/api/extractors_api.py +1148 -0
- h2ogpte/rest_sync/api_client.py +1 -1
- h2ogpte/rest_sync/configuration.py +1 -1
- h2ogpte/rest_sync/models/__init__.py +2 -0
- h2ogpte/rest_sync/models/extractor.py +98 -0
- h2ogpte/rest_sync/models/extractor_create_request.py +93 -0
- h2ogpte/session.py +1 -0
- h2ogpte/session_async.py +1 -0
- h2ogpte/types.py +17 -1
- {h2ogpte-1.6.41rc3.dist-info → h2ogpte-1.6.41rc5.dist-info}/METADATA +47 -1
- {h2ogpte-1.6.41rc3.dist-info → h2ogpte-1.6.41rc5.dist-info}/RECORD +27 -21
- {h2ogpte-1.6.41rc3.dist-info → h2ogpte-1.6.41rc5.dist-info}/WHEEL +0 -0
- {h2ogpte-1.6.41rc3.dist-info → h2ogpte-1.6.41rc5.dist-info}/top_level.txt +0 -0
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.41-
|
|
93
|
+
self.user_agent = 'OpenAPI-Generator/1.6.41-dev5/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.41-
|
|
506
|
+
"SDK Package Version: 1.6.41-dev5".\
|
|
507
507
|
format(env=sys.platform, pyversion=sys.version)
|
|
508
508
|
|
|
509
509
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -67,6 +67,8 @@ from h2ogpte.rest_sync.models.embedding_model import EmbeddingModel
|
|
|
67
67
|
from h2ogpte.rest_sync.models.encode_chunks_for_retrieval_request import EncodeChunksForRetrievalRequest
|
|
68
68
|
from h2ogpte.rest_sync.models.endpoint_error import EndpointError
|
|
69
69
|
from h2ogpte.rest_sync.models.extraction_request import ExtractionRequest
|
|
70
|
+
from h2ogpte.rest_sync.models.extractor import Extractor
|
|
71
|
+
from h2ogpte.rest_sync.models.extractor_create_request import ExtractorCreateRequest
|
|
70
72
|
from h2ogpte.rest_sync.models.gcs_credentials import GCSCredentials
|
|
71
73
|
from h2ogpte.rest_sync.models.global_configuration_item import GlobalConfigurationItem
|
|
72
74
|
from h2ogpte.rest_sync.models.group_create_request import GroupCreateRequest
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
h2oGPTe REST API
|
|
5
|
+
|
|
6
|
+
# Overview Users can easily interact with the h2oGPTe API through its REST API, allowing HTTP requests from any programming language. ## Authorization: Getting an API key Sign up/in at Enterprise h2oGPTe and generate one of the following two types of API keys: - **Global API key**: If a Collection is not specified when creating a new API Key, that key is considered to be a global API Key. Use global API Keys to grant full user impersonation and system-wide access to all of your work. Anyone with access to one of your global API Keys can create, delete, or interact with any of your past, current, and future Collections, Documents, Chats, and settings. - **Collection-specific API key**: Use Collection-specific API Keys to grant external access to only Chat with a specified Collection and make related API calls to it. Collection-specific API keys do not allow other API calls, such as creation, deletion, or access to other Collections or Chats. Access Enterprise h2oGPTe through your [H2O Generative AI](https://genai.h2o.ai/appstore) app store account, available with a freemium tier. ## Authorization: Using an API key All h2oGPTe REST API requests must include an API Key in the \"Authorization\" HTTP header, formatted as follows: ``` Authorization: Bearer sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ``` ```sh curl -X 'POST' \\ 'https://h2ogpte.genai.h2o.ai/api/v1/collections' \\ -H 'accept: application/json' \\ -H 'Content-Type: application/json' \\ -H 'Authorization: Bearer sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' \\ -d '{ \"name\": \"The name of my Collection\", \"description\": \"The description of my Collection\", \"embedding_model\": \"BAAI/bge-large-en-v1.5\" }' ``` ## Interactive h2oGPTe API testing This page only showcases the h2oGPTe REST API; you can test it directly in the [Swagger UI](https://h2ogpte.genai.h2o.ai/swagger-ui/). Ensure that you are logged into your Enterprise h2oGPTe account.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from datetime import datetime
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
22
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
+
from typing import Optional, Set
|
|
24
|
+
from typing_extensions import Self
|
|
25
|
+
|
|
26
|
+
class Extractor(BaseModel):
|
|
27
|
+
"""
|
|
28
|
+
Extractor
|
|
29
|
+
""" # noqa: E501
|
|
30
|
+
name: StrictStr = Field(description="Human-readable name")
|
|
31
|
+
description: StrictStr = Field(description="What this extractor does")
|
|
32
|
+
llm: Optional[StrictStr] = Field(default=None, description="(Optional) Identifier or version of the language model the extractor uses")
|
|
33
|
+
var_schema: Optional[StrictStr] = Field(default=None, description="(Optional) JSONSchema (or other spec) that the extractor outputs", alias="schema")
|
|
34
|
+
id: StrictStr = Field(description="Unique identifier of the extractor")
|
|
35
|
+
created_at: datetime = Field(description="When the extractor definition was created")
|
|
36
|
+
__properties: ClassVar[List[str]] = ["name", "description", "llm", "schema", "id", "created_at"]
|
|
37
|
+
|
|
38
|
+
model_config = ConfigDict(
|
|
39
|
+
populate_by_name=True,
|
|
40
|
+
validate_assignment=True,
|
|
41
|
+
protected_namespaces=(),
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def to_str(self) -> str:
|
|
46
|
+
"""Returns the string representation of the model using alias"""
|
|
47
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
48
|
+
|
|
49
|
+
def to_json(self) -> str:
|
|
50
|
+
"""Returns the JSON representation of the model using alias"""
|
|
51
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
52
|
+
return json.dumps(self.to_dict())
|
|
53
|
+
|
|
54
|
+
@classmethod
|
|
55
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
56
|
+
"""Create an instance of Extractor from a JSON string"""
|
|
57
|
+
return cls.from_dict(json.loads(json_str))
|
|
58
|
+
|
|
59
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
60
|
+
"""Return the dictionary representation of the model using alias.
|
|
61
|
+
|
|
62
|
+
This has the following differences from calling pydantic's
|
|
63
|
+
`self.model_dump(by_alias=True)`:
|
|
64
|
+
|
|
65
|
+
* `None` is only added to the output dict for nullable fields that
|
|
66
|
+
were set at model initialization. Other fields with value `None`
|
|
67
|
+
are ignored.
|
|
68
|
+
"""
|
|
69
|
+
excluded_fields: Set[str] = set([
|
|
70
|
+
])
|
|
71
|
+
|
|
72
|
+
_dict = self.model_dump(
|
|
73
|
+
by_alias=True,
|
|
74
|
+
exclude=excluded_fields,
|
|
75
|
+
exclude_none=True,
|
|
76
|
+
)
|
|
77
|
+
return _dict
|
|
78
|
+
|
|
79
|
+
@classmethod
|
|
80
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
81
|
+
"""Create an instance of Extractor from a dict"""
|
|
82
|
+
if obj is None:
|
|
83
|
+
return None
|
|
84
|
+
|
|
85
|
+
if not isinstance(obj, dict):
|
|
86
|
+
return cls.model_validate(obj)
|
|
87
|
+
|
|
88
|
+
_obj = cls.model_validate({
|
|
89
|
+
"name": obj.get("name"),
|
|
90
|
+
"description": obj.get("description"),
|
|
91
|
+
"llm": obj.get("llm"),
|
|
92
|
+
"schema": obj.get("schema"),
|
|
93
|
+
"id": obj.get("id"),
|
|
94
|
+
"created_at": obj.get("created_at")
|
|
95
|
+
})
|
|
96
|
+
return _obj
|
|
97
|
+
|
|
98
|
+
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
h2oGPTe REST API
|
|
5
|
+
|
|
6
|
+
# Overview Users can easily interact with the h2oGPTe API through its REST API, allowing HTTP requests from any programming language. ## Authorization: Getting an API key Sign up/in at Enterprise h2oGPTe and generate one of the following two types of API keys: - **Global API key**: If a Collection is not specified when creating a new API Key, that key is considered to be a global API Key. Use global API Keys to grant full user impersonation and system-wide access to all of your work. Anyone with access to one of your global API Keys can create, delete, or interact with any of your past, current, and future Collections, Documents, Chats, and settings. - **Collection-specific API key**: Use Collection-specific API Keys to grant external access to only Chat with a specified Collection and make related API calls to it. Collection-specific API keys do not allow other API calls, such as creation, deletion, or access to other Collections or Chats. Access Enterprise h2oGPTe through your [H2O Generative AI](https://genai.h2o.ai/appstore) app store account, available with a freemium tier. ## Authorization: Using an API key All h2oGPTe REST API requests must include an API Key in the \"Authorization\" HTTP header, formatted as follows: ``` Authorization: Bearer sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ``` ```sh curl -X 'POST' \\ 'https://h2ogpte.genai.h2o.ai/api/v1/collections' \\ -H 'accept: application/json' \\ -H 'Content-Type: application/json' \\ -H 'Authorization: Bearer sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' \\ -d '{ \"name\": \"The name of my Collection\", \"description\": \"The description of my Collection\", \"embedding_model\": \"BAAI/bge-large-en-v1.5\" }' ``` ## Interactive h2oGPTe API testing This page only showcases the h2oGPTe REST API; you can test it directly in the [Swagger UI](https://h2ogpte.genai.h2o.ai/swagger-ui/). Ensure that you are logged into your Enterprise h2oGPTe account.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
21
|
+
from typing import Any, ClassVar, Dict, List
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
class ExtractorCreateRequest(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
ExtractorCreateRequest
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
name: StrictStr = Field(description="Human-readable name")
|
|
30
|
+
description: StrictStr = Field(description="What this extractor does")
|
|
31
|
+
llm: StrictStr = Field(description="Identifier or version of the language model the extractor uses")
|
|
32
|
+
var_schema: StrictStr = Field(description="JSONSchema (or other spec) that the extractor outputs", alias="schema")
|
|
33
|
+
__properties: ClassVar[List[str]] = ["name", "description", "llm", "schema"]
|
|
34
|
+
|
|
35
|
+
model_config = ConfigDict(
|
|
36
|
+
populate_by_name=True,
|
|
37
|
+
validate_assignment=True,
|
|
38
|
+
protected_namespaces=(),
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
def to_str(self) -> str:
|
|
43
|
+
"""Returns the string representation of the model using alias"""
|
|
44
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
45
|
+
|
|
46
|
+
def to_json(self) -> str:
|
|
47
|
+
"""Returns the JSON representation of the model using alias"""
|
|
48
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
49
|
+
return json.dumps(self.to_dict())
|
|
50
|
+
|
|
51
|
+
@classmethod
|
|
52
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
53
|
+
"""Create an instance of ExtractorCreateRequest from a JSON string"""
|
|
54
|
+
return cls.from_dict(json.loads(json_str))
|
|
55
|
+
|
|
56
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
57
|
+
"""Return the dictionary representation of the model using alias.
|
|
58
|
+
|
|
59
|
+
This has the following differences from calling pydantic's
|
|
60
|
+
`self.model_dump(by_alias=True)`:
|
|
61
|
+
|
|
62
|
+
* `None` is only added to the output dict for nullable fields that
|
|
63
|
+
were set at model initialization. Other fields with value `None`
|
|
64
|
+
are ignored.
|
|
65
|
+
"""
|
|
66
|
+
excluded_fields: Set[str] = set([
|
|
67
|
+
])
|
|
68
|
+
|
|
69
|
+
_dict = self.model_dump(
|
|
70
|
+
by_alias=True,
|
|
71
|
+
exclude=excluded_fields,
|
|
72
|
+
exclude_none=True,
|
|
73
|
+
)
|
|
74
|
+
return _dict
|
|
75
|
+
|
|
76
|
+
@classmethod
|
|
77
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
78
|
+
"""Create an instance of ExtractorCreateRequest from a dict"""
|
|
79
|
+
if obj is None:
|
|
80
|
+
return None
|
|
81
|
+
|
|
82
|
+
if not isinstance(obj, dict):
|
|
83
|
+
return cls.model_validate(obj)
|
|
84
|
+
|
|
85
|
+
_obj = cls.model_validate({
|
|
86
|
+
"name": obj.get("name"),
|
|
87
|
+
"description": obj.get("description"),
|
|
88
|
+
"llm": obj.get("llm"),
|
|
89
|
+
"schema": obj.get("schema")
|
|
90
|
+
})
|
|
91
|
+
return _obj
|
|
92
|
+
|
|
93
|
+
|
h2ogpte/session.py
CHANGED
|
@@ -275,6 +275,7 @@ class Session:
|
|
|
275
275
|
agent_original_files (List[str], default: None) — List of file paths for agent to process.
|
|
276
276
|
agent_timeout (int, default: None) — Timeout in seconds for each agent turn.
|
|
277
277
|
agent_total_timeout (int, default: 3600) — Total timeout in seconds for all agent processing.
|
|
278
|
+
agent_min_time (int, default: 0) — Minimum time in seconds for all agent processing.
|
|
278
279
|
agent_code_writer_system_message (str, default: None) — System message for agent code writer.
|
|
279
280
|
agent_num_executable_code_blocks_limit (int, default: 1) — Maximum number of executable code blocks.
|
|
280
281
|
agent_system_site_packages (bool, default: True) — Whether agent has access to system site packages.
|
h2ogpte/session_async.py
CHANGED
|
@@ -186,6 +186,7 @@ class SessionAsync:
|
|
|
186
186
|
agent_original_files (List[str], default: None) — List of file paths for agent to process.
|
|
187
187
|
agent_timeout (int, default: None) — Timeout in seconds for each agent turn.
|
|
188
188
|
agent_total_timeout (int, default: 3600) — Total timeout in seconds for all agent processing.
|
|
189
|
+
agent_min_time (int, default: 0) — Minimum time in seconds for all agent processing.
|
|
189
190
|
agent_code_writer_system_message (str, default: None) — System message for agent code writer.
|
|
190
191
|
agent_num_executable_code_blocks_limit (int, default: 1) — Maximum number of executable code blocks.
|
|
191
192
|
agent_system_site_packages (bool, default: True) — Whether agent has access to system site packages.
|
h2ogpte/types.py
CHANGED
|
@@ -3,7 +3,7 @@ from datetime import datetime
|
|
|
3
3
|
from enum import Enum
|
|
4
4
|
from pydantic import BaseModel
|
|
5
5
|
from pydantic import ConfigDict
|
|
6
|
-
from typing import Union, Optional, List
|
|
6
|
+
from typing import Union, Optional, List, Dict, Any
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class JobKind(str, Enum):
|
|
@@ -292,6 +292,16 @@ class Document(BaseModel):
|
|
|
292
292
|
model_config = ConfigDict(use_enum_values=True)
|
|
293
293
|
|
|
294
294
|
|
|
295
|
+
class Extractor(BaseModel):
|
|
296
|
+
id: str
|
|
297
|
+
created_at: datetime
|
|
298
|
+
name: str
|
|
299
|
+
description: Optional[str] = None
|
|
300
|
+
llm: Optional[str] = None
|
|
301
|
+
# can't use name schema as it conflicts with BaseModel's internals
|
|
302
|
+
extractor_schema: Optional[Dict[str, Any]] = None
|
|
303
|
+
|
|
304
|
+
|
|
295
305
|
class Tag(BaseModel):
|
|
296
306
|
id: str
|
|
297
307
|
name: str
|
|
@@ -614,3 +624,9 @@ class ChatResponse:
|
|
|
614
624
|
reply_to_id: str
|
|
615
625
|
body: str
|
|
616
626
|
error: str
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
@dataclass
|
|
630
|
+
class ChatShareUrl:
|
|
631
|
+
url: str
|
|
632
|
+
relative_path: str
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: h2ogpte
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.41rc5
|
|
4
4
|
Summary: Client library for Enterprise h2oGPTe
|
|
5
5
|
Author-email: "H2O.ai, Inc." <support@h2o.ai>
|
|
6
6
|
Project-URL: Source, https://github.com/h2oai/h2ogpte
|
|
@@ -229,3 +229,49 @@ for doc in documents:
|
|
|
229
229
|
)
|
|
230
230
|
print(summary.content)
|
|
231
231
|
```
|
|
232
|
+
|
|
233
|
+
### OpenAI-compatible API
|
|
234
|
+
|
|
235
|
+
H2OGPTe provides an API that enables communication with underlying LLMs via openai clients.
|
|
236
|
+
|
|
237
|
+
Example:
|
|
238
|
+
|
|
239
|
+
```bash
|
|
240
|
+
pip install openai
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
```py
|
|
244
|
+
# Create OpenAI client
|
|
245
|
+
from openai import OpenAI
|
|
246
|
+
client = OpenAI(
|
|
247
|
+
api_key='sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
|
|
248
|
+
base_url="https://h2ogpte.genai.h2o.ai/openai_api/v1"
|
|
249
|
+
)
|
|
250
|
+
|
|
251
|
+
# List available models
|
|
252
|
+
models = client.models.list()
|
|
253
|
+
for m in models:
|
|
254
|
+
print(m.id)
|
|
255
|
+
|
|
256
|
+
# Create chat completion
|
|
257
|
+
response = client.chat.completions.create(
|
|
258
|
+
model="auto",
|
|
259
|
+
messages=[
|
|
260
|
+
{
|
|
261
|
+
"role": "user",
|
|
262
|
+
"content": "What color is the sky?",
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"role": "assistant",
|
|
266
|
+
"content": "pink",
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"role": "user",
|
|
270
|
+
"content": "What was the answer, again?",
|
|
271
|
+
},
|
|
272
|
+
],
|
|
273
|
+
)
|
|
274
|
+
print(response)
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
See [docs](https://docs.h2o.ai/enterprise-h2ogpte/rest-api#openai-compatible-rest-api) for more details.
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
h2ogpte/__init__.py,sha256=
|
|
1
|
+
h2ogpte/__init__.py,sha256=eFSr73ts1dZ3jX4H75qh82YPy3vBRx_494P1OMy3Nlg,1524
|
|
2
2
|
h2ogpte/connectors.py,sha256=nKUK6rWeFoI4VTonh4xvAfLMHFqeYgVgSydRTYUzTZg,7728
|
|
3
3
|
h2ogpte/errors.py,sha256=XgLdfJO1fZ9Bf9rhUKpnvRzzvkNyan3Oc6WzGS6hCUA,1248
|
|
4
|
-
h2ogpte/h2ogpte.py,sha256=
|
|
5
|
-
h2ogpte/h2ogpte_async.py,sha256=
|
|
6
|
-
h2ogpte/h2ogpte_sync_base.py,sha256=
|
|
7
|
-
h2ogpte/session.py,sha256=
|
|
8
|
-
h2ogpte/session_async.py,sha256=
|
|
4
|
+
h2ogpte/h2ogpte.py,sha256=DaEAEH4w8czmEXEfttvqZkKIzsPFCkBTHJ4fGA2fIPk,282677
|
|
5
|
+
h2ogpte/h2ogpte_async.py,sha256=vPXzdTWmY59C1Ae6euOFmpoz-T-kXYIIfukznzLN9Y4,302178
|
|
6
|
+
h2ogpte/h2ogpte_sync_base.py,sha256=RJSt_2CSyhKr0bahrso__KjQ_8rTvhTWGiwj1Z-wWs8,15141
|
|
7
|
+
h2ogpte/session.py,sha256=tvj7agUM_oHjSz09Gpd4iHdXABzTdq_T2i6faw843z8,30705
|
|
8
|
+
h2ogpte/session_async.py,sha256=qXWpfNF-gV8HkJ3rpSsFvmOwsB9VfINgq9ziO_C2Az4,28984
|
|
9
9
|
h2ogpte/shared_client.py,sha256=Zh24myL--5JDdrKoJPW4aeprHX6a_oB9o461Ho3hnU8,14691
|
|
10
|
-
h2ogpte/types.py,sha256=
|
|
10
|
+
h2ogpte/types.py,sha256=co2G3AjIj_QR4gLH9HZP96Lakg10b_kg1_73LTv1HrY,14896
|
|
11
11
|
h2ogpte/utils.py,sha256=Z9n57xxPu0KtsCzkJ9V_VgTW--oG_aXTLBgmXDWSdnM,3201
|
|
12
|
-
h2ogpte/rest_async/__init__.py,sha256=
|
|
13
|
-
h2ogpte/rest_async/api_client.py,sha256=
|
|
12
|
+
h2ogpte/rest_async/__init__.py,sha256=vffnQRymdK5pybUy7YjM7EkMyP887wBXU1M7wLoLOsg,14790
|
|
13
|
+
h2ogpte/rest_async/api_client.py,sha256=IBgV2JxjF45gdnCaRr6ZyLbaHhx9JZwfKnlx9-44uLI,29510
|
|
14
14
|
h2ogpte/rest_async/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
15
|
-
h2ogpte/rest_async/configuration.py,sha256=
|
|
15
|
+
h2ogpte/rest_async/configuration.py,sha256=aCjtW7lo6HwOKcWYSt-se1Q74xI1dcnfa-4di94VYC4,19567
|
|
16
16
|
h2ogpte/rest_async/exceptions.py,sha256=aSDc-0lURtyQjf5HGa7_Ta0nATxKxfHW3huDA2Zdj6o,8370
|
|
17
17
|
h2ogpte/rest_async/rest.py,sha256=mdjDwzJ1kiaYtONUfDRqKsRPw5-tG6eyZV2P1yBuwRo,9147
|
|
18
|
-
h2ogpte/rest_async/api/__init__.py,sha256=
|
|
18
|
+
h2ogpte/rest_async/api/__init__.py,sha256=R_x57GGyaSgxZyrJOyOt551TodbRSQf3T7VrraQc-84,973
|
|
19
19
|
h2ogpte/rest_async/api/agents_api.py,sha256=_-7Y1h3ssEqqgjriUmuDnngbimbVifva75Z7ks3-wNw,177547
|
|
20
20
|
h2ogpte/rest_async/api/api_keys_api.py,sha256=hgywNjCWaIrhFRJacKuPkJSKDEltIK8B9fi-4xMWLgs,58244
|
|
21
21
|
h2ogpte/rest_async/api/chat_api.py,sha256=i7vijHVYsAN-pW5yvf5LmizuOOnklfww2dpw0DFZuho,294352
|
|
@@ -23,6 +23,7 @@ h2ogpte/rest_async/api/collections_api.py,sha256=pYcvKH63YNDDmiR8oXnarZutet3zmpX
|
|
|
23
23
|
h2ogpte/rest_async/api/configurations_api.py,sha256=H9I2hukGC8ACin3cSUR3pAqtghJs0OUPJAzC9nOlkGY,127865
|
|
24
24
|
h2ogpte/rest_async/api/document_ingestion_api.py,sha256=otoR4L-DyWtShCr1aUiLHLz_KTr8pEwUXlyTLC0IS5c,435895
|
|
25
25
|
h2ogpte/rest_async/api/documents_api.py,sha256=X-w5x4bX2wHXlxb_97XgWdgNi5qAkdksoqz7bHKG5fA,261595
|
|
26
|
+
h2ogpte/rest_async/api/extractors_api.py,sha256=JlIzcXsROi4TGZGqWyJO6j-ymEtFe38XEde6xp5k3wk,46919
|
|
26
27
|
h2ogpte/rest_async/api/jobs_api.py,sha256=xXxqeDGy3ZA9KTF0Aowd5Rlt-gu2mXfD1S5Y6_-ST68,72519
|
|
27
28
|
h2ogpte/rest_async/api/models_api.py,sha256=oSJgvLsjPypYs3gIwElCl1IFx_gvjSokNTstHvWl5rM,221092
|
|
28
29
|
h2ogpte/rest_async/api/permissions_api.py,sha256=ykcgCy2vc4xUwvo-IkZk4p9UFslGNPbU5nrj7lzRJc0,369442
|
|
@@ -30,7 +31,7 @@ h2ogpte/rest_async/api/prompt_templates_api.py,sha256=EO7eBU-1-8CXOSR7yTWCfO--Kr
|
|
|
30
31
|
h2ogpte/rest_async/api/secrets_api.py,sha256=MTtmpYO2IOXuCklK-BxVyF9aBNZebgWuQenada-uM7o,68122
|
|
31
32
|
h2ogpte/rest_async/api/system_api.py,sha256=wXxO1lFEnrPHO0JRCgg13j6CpRKb3nou81dk8nA31v0,12532
|
|
32
33
|
h2ogpte/rest_async/api/tags_api.py,sha256=VwamxhJKsuBu3UeslsZ0vflxbnV1FmUV2pbWvIBwvFk,56168
|
|
33
|
-
h2ogpte/rest_async/models/__init__.py,sha256=
|
|
34
|
+
h2ogpte/rest_async/models/__init__.py,sha256=J0wnBsYARhTgjZEXeORrteAH6Pvqbp7N4SicmZYwfLM,13279
|
|
34
35
|
h2ogpte/rest_async/models/add_custom_agent_tool201_response_inner.py,sha256=0pxOC4ETqAnl2Amyt9d47oZDCH7Gjz0kexbpPsXurlg,4619
|
|
35
36
|
h2ogpte/rest_async/models/agent_key.py,sha256=u-48HJqvAd3fpY8SZnl6_iDnv_2_V_wGrGu9w54V7s8,5226
|
|
36
37
|
h2ogpte/rest_async/models/agent_server_directory_file_stats.py,sha256=Y25fTkk8kbY_p2AXFNTM4sUlPwEGGSMLxmC_csmTn1w,6335
|
|
@@ -84,6 +85,8 @@ h2ogpte/rest_async/models/embedding_model.py,sha256=Az8OIiycqS9iuFX9li2MKN01om-L
|
|
|
84
85
|
h2ogpte/rest_async/models/encode_chunks_for_retrieval_request.py,sha256=pNt-ysMzqNyXbKFI3Repuq6ciaF1jFkADMxGvZjF518,4453
|
|
85
86
|
h2ogpte/rest_async/models/endpoint_error.py,sha256=jzaoCDJO1O_CtfdBQCsJCFhzzJDJQQnGxTpVq7cdH50,4533
|
|
86
87
|
h2ogpte/rest_async/models/extraction_request.py,sha256=TPXSDaAF2cWiOnjm8YAubMnUeRMC8xqEAIV1hThbxnY,14083
|
|
88
|
+
h2ogpte/rest_async/models/extractor.py,sha256=c1PqRP8CNOAzTZEi7XPFRIjd_SB8bFFNfiYRCkSyEkE,5237
|
|
89
|
+
h2ogpte/rest_async/models/extractor_create_request.py,sha256=xvDXyXOUcKTLxYMljOBGgt6d-w7m5gdCIXXf220sVb8,4911
|
|
87
90
|
h2ogpte/rest_async/models/gcs_credentials.py,sha256=Fj8_eC3MqKKwn8NDM9hObMhOu0ScitFQrKG4JSXRmoI,4569
|
|
88
91
|
h2ogpte/rest_async/models/global_configuration_item.py,sha256=MnA0ysC34KZue6R3zDVERQPbQGglz47kMNFSlXH0_CM,4980
|
|
89
92
|
h2ogpte/rest_async/models/group_create_request.py,sha256=Pw4dQQqbPnWWbVDALmjF-f96fhW7giuUaDVkshiHwoY,4480
|
|
@@ -161,13 +164,13 @@ h2ogpte/rest_async/models/user_deletion_request.py,sha256=z7gD8XKOGwwg782TRzXJii
|
|
|
161
164
|
h2ogpte/rest_async/models/user_info.py,sha256=ef59Eh9k42JUY3X2RnCrwYR7sc_8lXT1vRLGoNz3uTU,4489
|
|
162
165
|
h2ogpte/rest_async/models/user_job_details.py,sha256=kzu8fLxVsRMgnyt6dLr0VWjlIoE3i1VRpGR9nDxFyk4,4985
|
|
163
166
|
h2ogpte/rest_async/models/user_permission.py,sha256=9ffijaF3U3SYz_T_kcqHPJUfIZFkpCH0vBGboPjsg2o,4646
|
|
164
|
-
h2ogpte/rest_sync/__init__.py,sha256=
|
|
165
|
-
h2ogpte/rest_sync/api_client.py,sha256=
|
|
167
|
+
h2ogpte/rest_sync/__init__.py,sha256=7kkxocdaA7v7sql8ADu-VU6ykYeyAY3dzivG2FV5CpE,14634
|
|
168
|
+
h2ogpte/rest_sync/api_client.py,sha256=AgH4KVE9Dx2KTrRsPGI9U9JGAqpcep8v2dlE8wr82c8,29397
|
|
166
169
|
h2ogpte/rest_sync/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
167
|
-
h2ogpte/rest_sync/configuration.py,sha256=
|
|
170
|
+
h2ogpte/rest_sync/configuration.py,sha256=wGS8Tsf4hPKT_PMKbx09zbm4elUzvdneHVMgwu4KFvE,19850
|
|
168
171
|
h2ogpte/rest_sync/exceptions.py,sha256=aSDc-0lURtyQjf5HGa7_Ta0nATxKxfHW3huDA2Zdj6o,8370
|
|
169
172
|
h2ogpte/rest_sync/rest.py,sha256=evRzviTYC_fsrpTtFlGvruXmquH9C0jDn-oQrGrE5A0,11314
|
|
170
|
-
h2ogpte/rest_sync/api/__init__.py,sha256=
|
|
173
|
+
h2ogpte/rest_sync/api/__init__.py,sha256=ZuLQQtyiXnP5UOwTlIOYLGLQq1BG_0PEkzC9s698vjM,958
|
|
171
174
|
h2ogpte/rest_sync/api/agents_api.py,sha256=zWzPXtqHbhBe6xVZZKYl93bFLDVzNw2KmAJG5xIW6i0,176763
|
|
172
175
|
h2ogpte/rest_sync/api/api_keys_api.py,sha256=MueDC8Z4VUC61IVIBem0kD0Wpgh35MvhoilUtPVLrN0,57997
|
|
173
176
|
h2ogpte/rest_sync/api/chat_api.py,sha256=aQwXN3QBuC-DjTAedtc1JzImMrXFoChAjhWqp1rioas,293083
|
|
@@ -175,6 +178,7 @@ h2ogpte/rest_sync/api/collections_api.py,sha256=mwVKnE3xxSinJhPWUcr7ERVpKBqs-PTu
|
|
|
175
178
|
h2ogpte/rest_sync/api/configurations_api.py,sha256=B39KQB3fRknMZ8PtDNBxWVX2aVGTQSmaE2nq6Ya8VkE,127330
|
|
176
179
|
h2ogpte/rest_sync/api/document_ingestion_api.py,sha256=DppDRB7eAdh7k89q0_gRTiqmb2h0D71Vi2ymf5K1Tg8,435068
|
|
177
180
|
h2ogpte/rest_sync/api/documents_api.py,sha256=qRDBXrQaZWp_hGxg-7mqAFUMeeWd1EB2M_xIlzHh6rw,260474
|
|
181
|
+
h2ogpte/rest_sync/api/extractors_api.py,sha256=STlYF2HTFukGLRiQeP7Uihkpw-VT5uF0pGV7c8P5egk,46722
|
|
178
182
|
h2ogpte/rest_sync/api/jobs_api.py,sha256=LM9erEymF1SgEg8j4ePeNbUeJtwAGTMCI3Z4zRESehE,72177
|
|
179
183
|
h2ogpte/rest_sync/api/models_api.py,sha256=a5DuGNAEXeynqnPuFcvIWHtIBYfGKhn5uFi43aXSBgA,220111
|
|
180
184
|
h2ogpte/rest_sync/api/permissions_api.py,sha256=MiXD2duhCsA-QS-xR_uoY_piLmuYvw9gxr6HIGY3JPo,367795
|
|
@@ -182,7 +186,7 @@ h2ogpte/rest_sync/api/prompt_templates_api.py,sha256=2CwEN4zT6gMKvX3lvC1KMwrfk_e
|
|
|
182
186
|
h2ogpte/rest_sync/api/secrets_api.py,sha256=5rAikvrX7n3Cj9M0ME-cPjISLpqrEFh2LmW23mvGk4g,67828
|
|
183
187
|
h2ogpte/rest_sync/api/system_api.py,sha256=knhP97lzeZt-YFTpcNJm9NdnqjoSg_Oh0yMGowiV1IM,12480
|
|
184
188
|
h2ogpte/rest_sync/api/tags_api.py,sha256=oCBsrFFLk0su8mz4wnCGSR_NxpCQgwEx18IwJKsOKrA,55921
|
|
185
|
-
h2ogpte/rest_sync/models/__init__.py,sha256=
|
|
189
|
+
h2ogpte/rest_sync/models/__init__.py,sha256=F6Q3G4hrW0d6uuKzP-TFKw51sw8hQBd0w40I23A8isU,13147
|
|
186
190
|
h2ogpte/rest_sync/models/add_custom_agent_tool201_response_inner.py,sha256=0pxOC4ETqAnl2Amyt9d47oZDCH7Gjz0kexbpPsXurlg,4619
|
|
187
191
|
h2ogpte/rest_sync/models/agent_key.py,sha256=u-48HJqvAd3fpY8SZnl6_iDnv_2_V_wGrGu9w54V7s8,5226
|
|
188
192
|
h2ogpte/rest_sync/models/agent_server_directory_file_stats.py,sha256=Y25fTkk8kbY_p2AXFNTM4sUlPwEGGSMLxmC_csmTn1w,6335
|
|
@@ -236,6 +240,8 @@ h2ogpte/rest_sync/models/embedding_model.py,sha256=Az8OIiycqS9iuFX9li2MKN01om-L6
|
|
|
236
240
|
h2ogpte/rest_sync/models/encode_chunks_for_retrieval_request.py,sha256=pNt-ysMzqNyXbKFI3Repuq6ciaF1jFkADMxGvZjF518,4453
|
|
237
241
|
h2ogpte/rest_sync/models/endpoint_error.py,sha256=jzaoCDJO1O_CtfdBQCsJCFhzzJDJQQnGxTpVq7cdH50,4533
|
|
238
242
|
h2ogpte/rest_sync/models/extraction_request.py,sha256=6YdtpFp73IoV3qDmb-clU_GOsmtt7U5e3GkaLgK22lE,14082
|
|
243
|
+
h2ogpte/rest_sync/models/extractor.py,sha256=c1PqRP8CNOAzTZEi7XPFRIjd_SB8bFFNfiYRCkSyEkE,5237
|
|
244
|
+
h2ogpte/rest_sync/models/extractor_create_request.py,sha256=xvDXyXOUcKTLxYMljOBGgt6d-w7m5gdCIXXf220sVb8,4911
|
|
239
245
|
h2ogpte/rest_sync/models/gcs_credentials.py,sha256=Fj8_eC3MqKKwn8NDM9hObMhOu0ScitFQrKG4JSXRmoI,4569
|
|
240
246
|
h2ogpte/rest_sync/models/global_configuration_item.py,sha256=MnA0ysC34KZue6R3zDVERQPbQGglz47kMNFSlXH0_CM,4980
|
|
241
247
|
h2ogpte/rest_sync/models/group_create_request.py,sha256=Pw4dQQqbPnWWbVDALmjF-f96fhW7giuUaDVkshiHwoY,4480
|
|
@@ -313,7 +319,7 @@ h2ogpte/rest_sync/models/user_deletion_request.py,sha256=z7gD8XKOGwwg782TRzXJiiP
|
|
|
313
319
|
h2ogpte/rest_sync/models/user_info.py,sha256=ef59Eh9k42JUY3X2RnCrwYR7sc_8lXT1vRLGoNz3uTU,4489
|
|
314
320
|
h2ogpte/rest_sync/models/user_job_details.py,sha256=9cbhpgLMDpar-aTOaY5Ygud-8Kbi23cLNldTGab0Sd8,4984
|
|
315
321
|
h2ogpte/rest_sync/models/user_permission.py,sha256=9ffijaF3U3SYz_T_kcqHPJUfIZFkpCH0vBGboPjsg2o,4646
|
|
316
|
-
h2ogpte-1.6.
|
|
317
|
-
h2ogpte-1.6.
|
|
318
|
-
h2ogpte-1.6.
|
|
319
|
-
h2ogpte-1.6.
|
|
322
|
+
h2ogpte-1.6.41rc5.dist-info/METADATA,sha256=74ffT-uGET06Nl6X6Eca54LJmgYMIy0QhN80_vm8oKo,8494
|
|
323
|
+
h2ogpte-1.6.41rc5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
324
|
+
h2ogpte-1.6.41rc5.dist-info/top_level.txt,sha256=vXV4JnNwFWFAqTWyHrH-cGIQqbCcEDG9-BbyNn58JpM,8
|
|
325
|
+
h2ogpte-1.6.41rc5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|