h2ogpte 1.6.43rc2__py3-none-any.whl → 1.6.43rc5__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/connectors.py +11 -0
- h2ogpte/h2ogpte.py +86 -0
- h2ogpte/h2ogpte_async.py +87 -0
- h2ogpte/rest_async/__init__.py +3 -1
- h2ogpte/rest_async/api/document_ingestion_api.py +1365 -436
- 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/confluence_credentials.py +89 -0
- h2ogpte/rest_async/models/ingest_from_confluence_body.py +97 -0
- h2ogpte/rest_sync/__init__.py +3 -1
- h2ogpte/rest_sync/api/document_ingestion_api.py +1365 -436
- 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/confluence_credentials.py +89 -0
- h2ogpte/rest_sync/models/ingest_from_confluence_body.py +97 -0
- h2ogpte/session.py +8 -0
- h2ogpte/session_async.py +8 -0
- {h2ogpte-1.6.43rc2.dist-info → h2ogpte-1.6.43rc5.dist-info}/METADATA +1 -1
- {h2ogpte-1.6.43rc2.dist-info → h2ogpte-1.6.43rc5.dist-info}/RECORD +25 -21
- {h2ogpte-1.6.43rc2.dist-info → h2ogpte-1.6.43rc5.dist-info}/WHEEL +0 -0
- {h2ogpte-1.6.43rc2.dist-info → h2ogpte-1.6.43rc5.dist-info}/entry_points.txt +0 -0
- {h2ogpte-1.6.43rc2.dist-info → h2ogpte-1.6.43rc5.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.43-
|
|
93
|
+
self.user_agent = 'OpenAPI-Generator/1.6.43-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.43-
|
|
506
|
+
"SDK Package Version: 1.6.43-dev5".\
|
|
507
507
|
format(env=sys.platform, pyversion=sys.version)
|
|
508
508
|
|
|
509
509
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -46,6 +46,7 @@ from h2ogpte.rest_sync.models.collection_create_request import CollectionCreateR
|
|
|
46
46
|
from h2ogpte.rest_sync.models.collection_settings import CollectionSettings
|
|
47
47
|
from h2ogpte.rest_sync.models.collection_update_request import CollectionUpdateRequest
|
|
48
48
|
from h2ogpte.rest_sync.models.confirm_user_deletion_request import ConfirmUserDeletionRequest
|
|
49
|
+
from h2ogpte.rest_sync.models.confluence_credentials import ConfluenceCredentials
|
|
49
50
|
from h2ogpte.rest_sync.models.count import Count
|
|
50
51
|
from h2ogpte.rest_sync.models.count_with_queue_details import CountWithQueueDetails
|
|
51
52
|
from h2ogpte.rest_sync.models.create_agent_key_request import CreateAgentKeyRequest
|
|
@@ -80,6 +81,7 @@ from h2ogpte.rest_sync.models.guardrails_settings_create_request import Guardrai
|
|
|
80
81
|
from h2ogpte.rest_sync.models.h2_ogptgpu_info import H2OGPTGPUInfo
|
|
81
82
|
from h2ogpte.rest_sync.models.h2_ogpt_system_info import H2OGPTSystemInfo
|
|
82
83
|
from h2ogpte.rest_sync.models.ingest_from_azure_blob_storage_body import IngestFromAzureBlobStorageBody
|
|
84
|
+
from h2ogpte.rest_sync.models.ingest_from_confluence_body import IngestFromConfluenceBody
|
|
83
85
|
from h2ogpte.rest_sync.models.ingest_from_file_system_body import IngestFromFileSystemBody
|
|
84
86
|
from h2ogpte.rest_sync.models.ingest_from_gcs_body import IngestFromGcsBody
|
|
85
87
|
from h2ogpte.rest_sync.models.ingest_from_s3_body import IngestFromS3Body
|
|
@@ -0,0 +1,89 @@
|
|
|
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 ConfluenceCredentials(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
The object with Confluence credentials.
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
username: StrictStr = Field(description="Name or email of the user.")
|
|
30
|
+
password: StrictStr = Field(description="Password or API token.")
|
|
31
|
+
__properties: ClassVar[List[str]] = ["username", "password"]
|
|
32
|
+
|
|
33
|
+
model_config = ConfigDict(
|
|
34
|
+
populate_by_name=True,
|
|
35
|
+
validate_assignment=True,
|
|
36
|
+
protected_namespaces=(),
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def to_str(self) -> str:
|
|
41
|
+
"""Returns the string representation of the model using alias"""
|
|
42
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
43
|
+
|
|
44
|
+
def to_json(self) -> str:
|
|
45
|
+
"""Returns the JSON representation of the model using alias"""
|
|
46
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
47
|
+
return json.dumps(self.to_dict())
|
|
48
|
+
|
|
49
|
+
@classmethod
|
|
50
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
51
|
+
"""Create an instance of ConfluenceCredentials from a JSON string"""
|
|
52
|
+
return cls.from_dict(json.loads(json_str))
|
|
53
|
+
|
|
54
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
55
|
+
"""Return the dictionary representation of the model using alias.
|
|
56
|
+
|
|
57
|
+
This has the following differences from calling pydantic's
|
|
58
|
+
`self.model_dump(by_alias=True)`:
|
|
59
|
+
|
|
60
|
+
* `None` is only added to the output dict for nullable fields that
|
|
61
|
+
were set at model initialization. Other fields with value `None`
|
|
62
|
+
are ignored.
|
|
63
|
+
"""
|
|
64
|
+
excluded_fields: Set[str] = set([
|
|
65
|
+
])
|
|
66
|
+
|
|
67
|
+
_dict = self.model_dump(
|
|
68
|
+
by_alias=True,
|
|
69
|
+
exclude=excluded_fields,
|
|
70
|
+
exclude_none=True,
|
|
71
|
+
)
|
|
72
|
+
return _dict
|
|
73
|
+
|
|
74
|
+
@classmethod
|
|
75
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
76
|
+
"""Create an instance of ConfluenceCredentials from a dict"""
|
|
77
|
+
if obj is None:
|
|
78
|
+
return None
|
|
79
|
+
|
|
80
|
+
if not isinstance(obj, dict):
|
|
81
|
+
return cls.model_validate(obj)
|
|
82
|
+
|
|
83
|
+
_obj = cls.model_validate({
|
|
84
|
+
"username": obj.get("username"),
|
|
85
|
+
"password": obj.get("password")
|
|
86
|
+
})
|
|
87
|
+
return _obj
|
|
88
|
+
|
|
89
|
+
|
|
@@ -0,0 +1,97 @@
|
|
|
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, Optional
|
|
22
|
+
from h2ogpte.rest_sync.models.confluence_credentials import ConfluenceCredentials
|
|
23
|
+
from typing import Optional, Set
|
|
24
|
+
from typing_extensions import Self
|
|
25
|
+
|
|
26
|
+
class IngestFromConfluenceBody(BaseModel):
|
|
27
|
+
"""
|
|
28
|
+
IngestFromConfluenceBody
|
|
29
|
+
""" # noqa: E501
|
|
30
|
+
base_url: StrictStr = Field(description="Base url of the confluence instance.")
|
|
31
|
+
page_ids: List[StrictStr] = Field(description="Ids of pages to be ingested.")
|
|
32
|
+
credentials: ConfluenceCredentials
|
|
33
|
+
metadata: Optional[Dict[str, Any]] = Field(default=None, description="Metadata for the documents.")
|
|
34
|
+
__properties: ClassVar[List[str]] = ["base_url", "page_ids", "credentials", "metadata"]
|
|
35
|
+
|
|
36
|
+
model_config = ConfigDict(
|
|
37
|
+
populate_by_name=True,
|
|
38
|
+
validate_assignment=True,
|
|
39
|
+
protected_namespaces=(),
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def to_str(self) -> str:
|
|
44
|
+
"""Returns the string representation of the model using alias"""
|
|
45
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
46
|
+
|
|
47
|
+
def to_json(self) -> str:
|
|
48
|
+
"""Returns the JSON representation of the model using alias"""
|
|
49
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
50
|
+
return json.dumps(self.to_dict())
|
|
51
|
+
|
|
52
|
+
@classmethod
|
|
53
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
54
|
+
"""Create an instance of IngestFromConfluenceBody from a JSON string"""
|
|
55
|
+
return cls.from_dict(json.loads(json_str))
|
|
56
|
+
|
|
57
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
58
|
+
"""Return the dictionary representation of the model using alias.
|
|
59
|
+
|
|
60
|
+
This has the following differences from calling pydantic's
|
|
61
|
+
`self.model_dump(by_alias=True)`:
|
|
62
|
+
|
|
63
|
+
* `None` is only added to the output dict for nullable fields that
|
|
64
|
+
were set at model initialization. Other fields with value `None`
|
|
65
|
+
are ignored.
|
|
66
|
+
"""
|
|
67
|
+
excluded_fields: Set[str] = set([
|
|
68
|
+
])
|
|
69
|
+
|
|
70
|
+
_dict = self.model_dump(
|
|
71
|
+
by_alias=True,
|
|
72
|
+
exclude=excluded_fields,
|
|
73
|
+
exclude_none=True,
|
|
74
|
+
)
|
|
75
|
+
# override the default output from pydantic by calling `to_dict()` of credentials
|
|
76
|
+
if self.credentials:
|
|
77
|
+
_dict['credentials'] = self.credentials.to_dict()
|
|
78
|
+
return _dict
|
|
79
|
+
|
|
80
|
+
@classmethod
|
|
81
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
82
|
+
"""Create an instance of IngestFromConfluenceBody from a dict"""
|
|
83
|
+
if obj is None:
|
|
84
|
+
return None
|
|
85
|
+
|
|
86
|
+
if not isinstance(obj, dict):
|
|
87
|
+
return cls.model_validate(obj)
|
|
88
|
+
|
|
89
|
+
_obj = cls.model_validate({
|
|
90
|
+
"base_url": obj.get("base_url"),
|
|
91
|
+
"page_ids": obj.get("page_ids"),
|
|
92
|
+
"credentials": ConfluenceCredentials.from_dict(obj["credentials"]) if obj.get("credentials") is not None else None,
|
|
93
|
+
"metadata": obj.get("metadata")
|
|
94
|
+
})
|
|
95
|
+
return _obj
|
|
96
|
+
|
|
97
|
+
|
h2ogpte/session.py
CHANGED
|
@@ -277,6 +277,14 @@ class Session:
|
|
|
277
277
|
agent_timeout (int, default: None) — Timeout in seconds for each agent turn.
|
|
278
278
|
agent_total_timeout (int, default: 3600) — Total timeout in seconds for all agent processing.
|
|
279
279
|
agent_min_time (int, default: 0) — Minimum time in seconds for all agent processing.
|
|
280
|
+
final_answer_guidelines_mode (str, default: "auto") — Mode for formatting agent final answers. Options:
|
|
281
|
+
* auto: chooses "detailed" for now, but may later adapt
|
|
282
|
+
* detailed: full deep_research like final answer guidelines
|
|
283
|
+
* detailed_no_file_links: Like detailed, but without files provided to LLM for final answer so LLM doesn't over-emphasize showing file links except what it auto-decides from chat history
|
|
284
|
+
* detailed_no_image_links: Like detailed, but without images provided to LLM for final answer so LLM doesn't over-emphasize showing image links except what it auto-decides from chat history
|
|
285
|
+
* detailed_no_links: Like detailed, but without files or images provided to LLM for final answer so LLM doesn't over-emphasize showing file or image links except what it auto-decides from chat history
|
|
286
|
+
* file_template: Use file final_answer_guidelines_template.txt (in agent_files or original_agent_files) that has optional f-strings: agent_accuracy, new_image_files, new_non_image_files, formatted_references
|
|
287
|
+
* raw_LLM: Bypasses final answer guidelines and just stops after own final LLM response that has no executable code.
|
|
280
288
|
agent_code_writer_system_message (str, default: None) — System message for agent code writer.
|
|
281
289
|
agent_num_executable_code_blocks_limit (int, default: 1) — Maximum number of executable code blocks.
|
|
282
290
|
agent_system_site_packages (bool, default: True) — Whether agent has access to system site packages.
|
h2ogpte/session_async.py
CHANGED
|
@@ -191,6 +191,14 @@ class SessionAsync:
|
|
|
191
191
|
agent_timeout (int, default: None) — Timeout in seconds for each agent turn.
|
|
192
192
|
agent_total_timeout (int, default: 3600) — Total timeout in seconds for all agent processing.
|
|
193
193
|
agent_min_time (int, default: 0) — Minimum time in seconds for all agent processing.
|
|
194
|
+
final_answer_guidelines_mode (str, default: "auto") — Mode for formatting agent final answers. Options:
|
|
195
|
+
* auto: chooses "detailed" for now, but may later adapt
|
|
196
|
+
* detailed: full deep_research like final answer guidelines
|
|
197
|
+
* detailed_no_file_links: Like detailed, but without files provided to LLM for final answer so LLM doesn't over-emphasize showing file links except what it auto-decides from chat history
|
|
198
|
+
* detailed_no_image_links: Like detailed, but without images provided to LLM for final answer so LLM doesn't over-emphasize showing image links except what it auto-decides from chat history
|
|
199
|
+
* detailed_no_links: Like detailed, but without files or images provided to LLM for final answer so LLM doesn't over-emphasize showing file or image links except what it auto-decides from chat history
|
|
200
|
+
* file_template: Use file final_answer_guidelines_template.txt (in agent_files or original_agent_files) that has optional f-strings: agent_accuracy, new_image_files, new_non_image_files, formatted_references
|
|
201
|
+
* raw_LLM: Bypasses final answer guidelines and just stops after own final LLM response that has no executable code.
|
|
194
202
|
agent_code_writer_system_message (str, default: None) — System message for agent code writer.
|
|
195
203
|
agent_num_executable_code_blocks_limit (int, default: 1) — Maximum number of executable code blocks.
|
|
196
204
|
agent_system_site_packages (bool, default: True) — Whether agent has access to system site packages.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
h2ogpte/__init__.py,sha256=
|
|
2
|
-
h2ogpte/connectors.py,sha256=
|
|
1
|
+
h2ogpte/__init__.py,sha256=A0MySf314hae1vqv-e3VDwOhnByLIczAEZY5hJY50CM,1524
|
|
2
|
+
h2ogpte/connectors.py,sha256=vkILsfW-tsLUn6KB6zgu_kjps4NMGgJpZ3OOaIjji04,8057
|
|
3
3
|
h2ogpte/errors.py,sha256=XgLdfJO1fZ9Bf9rhUKpnvRzzvkNyan3Oc6WzGS6hCUA,1248
|
|
4
|
-
h2ogpte/h2ogpte.py,sha256
|
|
5
|
-
h2ogpte/h2ogpte_async.py,sha256=
|
|
4
|
+
h2ogpte/h2ogpte.py,sha256=r3EaK4g_HyZ9R7nZP6MEEjo9nsaPPUIz8-_u9mq_b50,305510
|
|
5
|
+
h2ogpte/h2ogpte_async.py,sha256=FKZdbqgko7MkZOnzzP4Dc-tT9O_jOXo-SP8l4OgnET4,325407
|
|
6
6
|
h2ogpte/h2ogpte_sync_base.py,sha256=ftsVzpMqEsyi0UACMI-7H_EIYEx9JEdEUImbyjWy_Hc,15285
|
|
7
|
-
h2ogpte/session.py,sha256=
|
|
8
|
-
h2ogpte/session_async.py,sha256=
|
|
7
|
+
h2ogpte/session.py,sha256=BXLz90R5MsIFf_nU7N7KV3HkvOYE8CyImC_LRKoU4ew,32270
|
|
8
|
+
h2ogpte/session_async.py,sha256=fqm5ZSPbThKrS3y9zjcVrq7sc5GQKTymK8jUVhsEvp0,31016
|
|
9
9
|
h2ogpte/shared_client.py,sha256=Zh24myL--5JDdrKoJPW4aeprHX6a_oB9o461Ho3hnU8,14691
|
|
10
10
|
h2ogpte/types.py,sha256=9-Qjag0PTo3rf8ICVQKzqRIo63DHthUzn9HagPB--SY,15132
|
|
11
11
|
h2ogpte/utils.py,sha256=Z9n57xxPu0KtsCzkJ9V_VgTW--oG_aXTLBgmXDWSdnM,3201
|
|
@@ -41,10 +41,10 @@ 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=ow5WkV53QdNwaJAHszOykMTIyhlWtb9tp1TmqGcbiAY,15203
|
|
45
|
+
h2ogpte/rest_async/api_client.py,sha256=dDi0UPdHq8MRmkcaZfUspVR5HZ_d28x0uHZd8esyXIg,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=8rJ2yyi-Y2tmN2crLD5dIqQxCA0FBujAcjHbldLRi1I,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
|
|
@@ -53,7 +53,7 @@ h2ogpte/rest_async/api/api_keys_api.py,sha256=hgywNjCWaIrhFRJacKuPkJSKDEltIK8B9f
|
|
|
53
53
|
h2ogpte/rest_async/api/chat_api.py,sha256=bJDJqTIXiTYW4anTkqE4XYuEqRDcRW8LcwlMgXyQQS4,295852
|
|
54
54
|
h2ogpte/rest_async/api/collections_api.py,sha256=fvB_HNR41uaS986lzitfIZ350grq6cAqsPZ2ZsvNY0A,639458
|
|
55
55
|
h2ogpte/rest_async/api/configurations_api.py,sha256=H9I2hukGC8ACin3cSUR3pAqtghJs0OUPJAzC9nOlkGY,127865
|
|
56
|
-
h2ogpte/rest_async/api/document_ingestion_api.py,sha256=
|
|
56
|
+
h2ogpte/rest_async/api/document_ingestion_api.py,sha256=K8iIH9yPEwZlJdySLnEQkSen2uneR2kEUHZXzJyc0JA,489154
|
|
57
57
|
h2ogpte/rest_async/api/documents_api.py,sha256=X-w5x4bX2wHXlxb_97XgWdgNi5qAkdksoqz7bHKG5fA,261595
|
|
58
58
|
h2ogpte/rest_async/api/extractors_api.py,sha256=BJXOzn14HruFfkGh0MlXm4zFGoxijcIrA0NZmjru-yE,161348
|
|
59
59
|
h2ogpte/rest_async/api/jobs_api.py,sha256=xXxqeDGy3ZA9KTF0Aowd5Rlt-gu2mXfD1S5Y6_-ST68,72519
|
|
@@ -63,7 +63,7 @@ h2ogpte/rest_async/api/prompt_templates_api.py,sha256=RJnYC3jfhvx2L_vpTlU6kCqujs
|
|
|
63
63
|
h2ogpte/rest_async/api/secrets_api.py,sha256=MTtmpYO2IOXuCklK-BxVyF9aBNZebgWuQenada-uM7o,68122
|
|
64
64
|
h2ogpte/rest_async/api/system_api.py,sha256=wXxO1lFEnrPHO0JRCgg13j6CpRKb3nou81dk8nA31v0,12532
|
|
65
65
|
h2ogpte/rest_async/api/tags_api.py,sha256=VwamxhJKsuBu3UeslsZ0vflxbnV1FmUV2pbWvIBwvFk,56168
|
|
66
|
-
h2ogpte/rest_async/models/__init__.py,sha256=
|
|
66
|
+
h2ogpte/rest_async/models/__init__.py,sha256=UKQwRSTiPYtkg58_uJiCXnCKmPdYp0qtIv6Vb1F1h4M,13692
|
|
67
67
|
h2ogpte/rest_async/models/add_custom_agent_tool201_response_inner.py,sha256=0pxOC4ETqAnl2Amyt9d47oZDCH7Gjz0kexbpPsXurlg,4619
|
|
68
68
|
h2ogpte/rest_async/models/agent_key.py,sha256=u-48HJqvAd3fpY8SZnl6_iDnv_2_V_wGrGu9w54V7s8,5226
|
|
69
69
|
h2ogpte/rest_async/models/agent_server_directory_file_stats.py,sha256=Y25fTkk8kbY_p2AXFNTM4sUlPwEGGSMLxmC_csmTn1w,6335
|
|
@@ -96,6 +96,7 @@ h2ogpte/rest_async/models/collection_create_request.py,sha256=PvIs2w1Brl8GsQwc__
|
|
|
96
96
|
h2ogpte/rest_async/models/collection_settings.py,sha256=u9t3OtsOYR-H1JKHX7nW7dalk-Kn0i3W8mvfYYcSoGk,9466
|
|
97
97
|
h2ogpte/rest_async/models/collection_update_request.py,sha256=Y2ojg5NqGbR_Lm_Pf-Aig46HyZ9OKBN4-iwT_PdAWco,6332
|
|
98
98
|
h2ogpte/rest_async/models/confirm_user_deletion_request.py,sha256=6L99MbScW_qbvxHKTv8dNJIQyY2L5ak13nYxvL4vBcs,4527
|
|
99
|
+
h2ogpte/rest_async/models/confluence_credentials.py,sha256=y8mNDsU7XGOQSdtMEZsG42SCK6oxr3zM_wZVdlScqIU,4617
|
|
99
100
|
h2ogpte/rest_async/models/count.py,sha256=1mm5PQtrJHl3ky5w9UfO0MneaohqucGk2cK74fjL0Ig,4339
|
|
100
101
|
h2ogpte/rest_async/models/count_with_queue_details.py,sha256=6lj1DTij6PgabJ0aoa-KDURtgy76qJW8w545Uc9XW3c,5016
|
|
101
102
|
h2ogpte/rest_async/models/create_agent_key_request.py,sha256=fr6C3x6iDzF77bRsEwMDDO1MFSJxKEpm23VhJ2JGXtM,4927
|
|
@@ -130,6 +131,7 @@ h2ogpte/rest_async/models/guardrails_settings_create_request.py,sha256=6DMke_u-1
|
|
|
130
131
|
h2ogpte/rest_async/models/h2_ogpt_system_info.py,sha256=6pBoTwU-QOh3oSk48drmuFhOcv9zEEzsWXvn-P4LIHk,8652
|
|
131
132
|
h2ogpte/rest_async/models/h2_ogptgpu_info.py,sha256=gUdC0izDgwpyRBJa9_bua6BYnJo8K0H9nG_E4kO_pNE,5124
|
|
132
133
|
h2ogpte/rest_async/models/ingest_from_azure_blob_storage_body.py,sha256=ouEUrdMYJU8kcjTOD8FfzPiaZYwU6RJFP6DYfY9oNyk,5470
|
|
134
|
+
h2ogpte/rest_async/models/ingest_from_confluence_body.py,sha256=7nViW05VVPkyBCVmy3cVn8oLdjfJaT6oE5hbjdwsLD0,5250
|
|
133
135
|
h2ogpte/rest_async/models/ingest_from_file_system_body.py,sha256=JnbjY-PxMxaLZXvHRjKdfNTZDtJj9CfPpRPG1QVyBjU,4655
|
|
134
136
|
h2ogpte/rest_async/models/ingest_from_gcs_body.py,sha256=ygQsntThO7SHxzHlwsftFvPvZQsGj6qHMCDp5HOdipg,5079
|
|
135
137
|
h2ogpte/rest_async/models/ingest_from_s3_body.py,sha256=n7nuAHbMBQpFPerWspgxy5Pua-Bvkc3axcYgFEg33mU,5311
|
|
@@ -199,10 +201,10 @@ h2ogpte/rest_async/models/user_deletion_request.py,sha256=z7gD8XKOGwwg782TRzXJii
|
|
|
199
201
|
h2ogpte/rest_async/models/user_info.py,sha256=ef59Eh9k42JUY3X2RnCrwYR7sc_8lXT1vRLGoNz3uTU,4489
|
|
200
202
|
h2ogpte/rest_async/models/user_job_details.py,sha256=kzu8fLxVsRMgnyt6dLr0VWjlIoE3i1VRpGR9nDxFyk4,4985
|
|
201
203
|
h2ogpte/rest_async/models/user_permission.py,sha256=9ffijaF3U3SYz_T_kcqHPJUfIZFkpCH0vBGboPjsg2o,4646
|
|
202
|
-
h2ogpte/rest_sync/__init__.py,sha256=
|
|
203
|
-
h2ogpte/rest_sync/api_client.py,sha256=
|
|
204
|
+
h2ogpte/rest_sync/__init__.py,sha256=lkEwKf2rNiQBEt7IUTXRIRXQR60biv5ytdI5AD1h8qc,15042
|
|
205
|
+
h2ogpte/rest_sync/api_client.py,sha256=Sgj9gtexjRfOaf9EuKPYh0haHomnt7D3yi8SVxsS-ZY,29397
|
|
204
206
|
h2ogpte/rest_sync/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
205
|
-
h2ogpte/rest_sync/configuration.py,sha256=
|
|
207
|
+
h2ogpte/rest_sync/configuration.py,sha256=nhe6vWg5HX9uIxlWeb8CTMQLGjqP1PGzrDLYmNr6J4E,19850
|
|
206
208
|
h2ogpte/rest_sync/exceptions.py,sha256=aSDc-0lURtyQjf5HGa7_Ta0nATxKxfHW3huDA2Zdj6o,8370
|
|
207
209
|
h2ogpte/rest_sync/rest.py,sha256=evRzviTYC_fsrpTtFlGvruXmquH9C0jDn-oQrGrE5A0,11314
|
|
208
210
|
h2ogpte/rest_sync/api/__init__.py,sha256=ZuLQQtyiXnP5UOwTlIOYLGLQq1BG_0PEkzC9s698vjM,958
|
|
@@ -211,7 +213,7 @@ h2ogpte/rest_sync/api/api_keys_api.py,sha256=MueDC8Z4VUC61IVIBem0kD0Wpgh35Mvhoil
|
|
|
211
213
|
h2ogpte/rest_sync/api/chat_api.py,sha256=9DoF08mTxi3D7sYRkvOM76qB4crS13lb5QmTXtJIV1U,294582
|
|
212
214
|
h2ogpte/rest_sync/api/collections_api.py,sha256=3oTV2IuRV9l_8Wjb9ivQX7bQ6Ay6uFO6zIjbre1bSXs,636980
|
|
213
215
|
h2ogpte/rest_sync/api/configurations_api.py,sha256=B39KQB3fRknMZ8PtDNBxWVX2aVGTQSmaE2nq6Ya8VkE,127330
|
|
214
|
-
h2ogpte/rest_sync/api/document_ingestion_api.py,sha256=
|
|
216
|
+
h2ogpte/rest_sync/api/document_ingestion_api.py,sha256=i7bLMjtFOvtr9zwgR2F-uXY1AhmW918axnm0T1vxU90,488230
|
|
215
217
|
h2ogpte/rest_sync/api/documents_api.py,sha256=qRDBXrQaZWp_hGxg-7mqAFUMeeWd1EB2M_xIlzHh6rw,260474
|
|
216
218
|
h2ogpte/rest_sync/api/extractors_api.py,sha256=Dz7RCbNRIuraNszzMOLVYzBxwMJwFsqwFIXreMr7B-Y,160666
|
|
217
219
|
h2ogpte/rest_sync/api/jobs_api.py,sha256=LM9erEymF1SgEg8j4ePeNbUeJtwAGTMCI3Z4zRESehE,72177
|
|
@@ -221,7 +223,7 @@ h2ogpte/rest_sync/api/prompt_templates_api.py,sha256=157y9lzY7Ky_ALu8TEemi0rfYzX
|
|
|
221
223
|
h2ogpte/rest_sync/api/secrets_api.py,sha256=5rAikvrX7n3Cj9M0ME-cPjISLpqrEFh2LmW23mvGk4g,67828
|
|
222
224
|
h2ogpte/rest_sync/api/system_api.py,sha256=knhP97lzeZt-YFTpcNJm9NdnqjoSg_Oh0yMGowiV1IM,12480
|
|
223
225
|
h2ogpte/rest_sync/api/tags_api.py,sha256=oCBsrFFLk0su8mz4wnCGSR_NxpCQgwEx18IwJKsOKrA,55921
|
|
224
|
-
h2ogpte/rest_sync/models/__init__.py,sha256=
|
|
226
|
+
h2ogpte/rest_sync/models/__init__.py,sha256=jRJSG4_PvnmArljk4J3ioPvD0v_iFIqB3YEpYpdLa54,13555
|
|
225
227
|
h2ogpte/rest_sync/models/add_custom_agent_tool201_response_inner.py,sha256=0pxOC4ETqAnl2Amyt9d47oZDCH7Gjz0kexbpPsXurlg,4619
|
|
226
228
|
h2ogpte/rest_sync/models/agent_key.py,sha256=u-48HJqvAd3fpY8SZnl6_iDnv_2_V_wGrGu9w54V7s8,5226
|
|
227
229
|
h2ogpte/rest_sync/models/agent_server_directory_file_stats.py,sha256=Y25fTkk8kbY_p2AXFNTM4sUlPwEGGSMLxmC_csmTn1w,6335
|
|
@@ -254,6 +256,7 @@ h2ogpte/rest_sync/models/collection_create_request.py,sha256=CUKFj3psED3tsIUMB8Q
|
|
|
254
256
|
h2ogpte/rest_sync/models/collection_settings.py,sha256=Q-yDvnVnZBlnH7gLgXP5rsnxZLVM4lxX2FEa40qb45o,9465
|
|
255
257
|
h2ogpte/rest_sync/models/collection_update_request.py,sha256=Y2ojg5NqGbR_Lm_Pf-Aig46HyZ9OKBN4-iwT_PdAWco,6332
|
|
256
258
|
h2ogpte/rest_sync/models/confirm_user_deletion_request.py,sha256=6L99MbScW_qbvxHKTv8dNJIQyY2L5ak13nYxvL4vBcs,4527
|
|
259
|
+
h2ogpte/rest_sync/models/confluence_credentials.py,sha256=y8mNDsU7XGOQSdtMEZsG42SCK6oxr3zM_wZVdlScqIU,4617
|
|
257
260
|
h2ogpte/rest_sync/models/count.py,sha256=1mm5PQtrJHl3ky5w9UfO0MneaohqucGk2cK74fjL0Ig,4339
|
|
258
261
|
h2ogpte/rest_sync/models/count_with_queue_details.py,sha256=6FDySSWe7AuZRXql8tK5vip135J8YvI73YYdKJd45C4,5015
|
|
259
262
|
h2ogpte/rest_sync/models/create_agent_key_request.py,sha256=fr6C3x6iDzF77bRsEwMDDO1MFSJxKEpm23VhJ2JGXtM,4927
|
|
@@ -288,6 +291,7 @@ h2ogpte/rest_sync/models/guardrails_settings_create_request.py,sha256=W3-vZsU0Cu
|
|
|
288
291
|
h2ogpte/rest_sync/models/h2_ogpt_system_info.py,sha256=eaFSINplInnPIW-dRO9K25AbQouNYngBI_JXX-AuY_w,8651
|
|
289
292
|
h2ogpte/rest_sync/models/h2_ogptgpu_info.py,sha256=gUdC0izDgwpyRBJa9_bua6BYnJo8K0H9nG_E4kO_pNE,5124
|
|
290
293
|
h2ogpte/rest_sync/models/ingest_from_azure_blob_storage_body.py,sha256=G_0SInDzFcpWWwnOEByjDir3QkMBiMxU4D-rGKeBSUU,5469
|
|
294
|
+
h2ogpte/rest_sync/models/ingest_from_confluence_body.py,sha256=e9wndvmRRHs161DoYDwnNPiuJmynU1f2r5NgldbJwKk,5249
|
|
291
295
|
h2ogpte/rest_sync/models/ingest_from_file_system_body.py,sha256=JnbjY-PxMxaLZXvHRjKdfNTZDtJj9CfPpRPG1QVyBjU,4655
|
|
292
296
|
h2ogpte/rest_sync/models/ingest_from_gcs_body.py,sha256=XLRQMzcYLHWUWaRD_hnhSwIRz8TYGM3emDgpvWw_Gak,5078
|
|
293
297
|
h2ogpte/rest_sync/models/ingest_from_s3_body.py,sha256=OTZ01MO7hn-LRlATgsrv1DUX6oz04jv4Qk94fsGSfnE,5310
|
|
@@ -357,8 +361,8 @@ h2ogpte/rest_sync/models/user_deletion_request.py,sha256=z7gD8XKOGwwg782TRzXJiiP
|
|
|
357
361
|
h2ogpte/rest_sync/models/user_info.py,sha256=ef59Eh9k42JUY3X2RnCrwYR7sc_8lXT1vRLGoNz3uTU,4489
|
|
358
362
|
h2ogpte/rest_sync/models/user_job_details.py,sha256=9cbhpgLMDpar-aTOaY5Ygud-8Kbi23cLNldTGab0Sd8,4984
|
|
359
363
|
h2ogpte/rest_sync/models/user_permission.py,sha256=9ffijaF3U3SYz_T_kcqHPJUfIZFkpCH0vBGboPjsg2o,4646
|
|
360
|
-
h2ogpte-1.6.
|
|
361
|
-
h2ogpte-1.6.
|
|
362
|
-
h2ogpte-1.6.
|
|
363
|
-
h2ogpte-1.6.
|
|
364
|
-
h2ogpte-1.6.
|
|
364
|
+
h2ogpte-1.6.43rc5.dist-info/METADATA,sha256=daANR6wXp1fidtcFsWJKxFOomNV1uolOA5a__wK-2z8,8615
|
|
365
|
+
h2ogpte-1.6.43rc5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
366
|
+
h2ogpte-1.6.43rc5.dist-info/entry_points.txt,sha256=BlaqX2SXJanrOGqNYwnzvCxHGNadM7RBI4pW4rVo5z4,54
|
|
367
|
+
h2ogpte-1.6.43rc5.dist-info/top_level.txt,sha256=vXV4JnNwFWFAqTWyHrH-cGIQqbCcEDG9-BbyNn58JpM,8
|
|
368
|
+
h2ogpte-1.6.43rc5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|