h2ogpte 1.6.40rc6__py3-none-any.whl → 1.6.41rc2__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/rest_async/__init__.py +1 -1
- h2ogpte/rest_async/api_client.py +1 -1
- h2ogpte/rest_async/configuration.py +1 -1
- h2ogpte/rest_async/models/chat_message_reference.py +4 -2
- h2ogpte/rest_sync/__init__.py +1 -1
- h2ogpte/rest_sync/api_client.py +1 -1
- h2ogpte/rest_sync/configuration.py +1 -1
- h2ogpte/rest_sync/models/chat_message_reference.py +4 -2
- h2ogpte/types.py +1 -0
- {h2ogpte-1.6.40rc6.dist-info → h2ogpte-1.6.41rc2.dist-info}/METADATA +1 -1
- {h2ogpte-1.6.40rc6.dist-info → h2ogpte-1.6.41rc2.dist-info}/RECORD +14 -14
- {h2ogpte-1.6.40rc6.dist-info → h2ogpte-1.6.41rc2.dist-info}/WHEEL +0 -0
- {h2ogpte-1.6.40rc6.dist-info → h2ogpte-1.6.41rc2.dist-info}/top_level.txt +0 -0
h2ogpte/__init__.py
CHANGED
h2ogpte/rest_async/__init__.py
CHANGED
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.
|
|
93
|
+
self.user_agent = 'OpenAPI-Generator/1.6.41-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.
|
|
502
|
+
"SDK Package Version: 1.6.41-dev2".\
|
|
503
503
|
format(env=sys.platform, pyversion=sys.version)
|
|
504
504
|
|
|
505
505
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -34,7 +34,8 @@ class ChatMessageReference(BaseModel):
|
|
|
34
34
|
pages: StrictStr
|
|
35
35
|
content: Optional[StrictStr] = None
|
|
36
36
|
were_references_deleted: StrictBool
|
|
37
|
-
|
|
37
|
+
uri: Optional[StrictStr] = None
|
|
38
|
+
__properties: ClassVar[List[str]] = ["collection_id", "document_id", "document_name", "chunk_id", "score", "pages", "content", "were_references_deleted", "uri"]
|
|
38
39
|
|
|
39
40
|
model_config = ConfigDict(
|
|
40
41
|
populate_by_name=True,
|
|
@@ -94,7 +95,8 @@ class ChatMessageReference(BaseModel):
|
|
|
94
95
|
"score": obj.get("score"),
|
|
95
96
|
"pages": obj.get("pages"),
|
|
96
97
|
"content": obj.get("content"),
|
|
97
|
-
"were_references_deleted": obj.get("were_references_deleted")
|
|
98
|
+
"were_references_deleted": obj.get("were_references_deleted"),
|
|
99
|
+
"uri": obj.get("uri")
|
|
98
100
|
})
|
|
99
101
|
return _obj
|
|
100
102
|
|
h2ogpte/rest_sync/__init__.py
CHANGED
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.
|
|
93
|
+
self.user_agent = 'OpenAPI-Generator/1.6.41-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.
|
|
506
|
+
"SDK Package Version: 1.6.41-dev2".\
|
|
507
507
|
format(env=sys.platform, pyversion=sys.version)
|
|
508
508
|
|
|
509
509
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -34,7 +34,8 @@ class ChatMessageReference(BaseModel):
|
|
|
34
34
|
pages: StrictStr
|
|
35
35
|
content: Optional[StrictStr] = None
|
|
36
36
|
were_references_deleted: StrictBool
|
|
37
|
-
|
|
37
|
+
uri: Optional[StrictStr] = None
|
|
38
|
+
__properties: ClassVar[List[str]] = ["collection_id", "document_id", "document_name", "chunk_id", "score", "pages", "content", "were_references_deleted", "uri"]
|
|
38
39
|
|
|
39
40
|
model_config = ConfigDict(
|
|
40
41
|
populate_by_name=True,
|
|
@@ -94,7 +95,8 @@ class ChatMessageReference(BaseModel):
|
|
|
94
95
|
"score": obj.get("score"),
|
|
95
96
|
"pages": obj.get("pages"),
|
|
96
97
|
"content": obj.get("content"),
|
|
97
|
-
"were_references_deleted": obj.get("were_references_deleted")
|
|
98
|
+
"were_references_deleted": obj.get("were_references_deleted"),
|
|
99
|
+
"uri": obj.get("uri")
|
|
98
100
|
})
|
|
99
101
|
return _obj
|
|
100
102
|
|
h2ogpte/types.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
h2ogpte/__init__.py,sha256=
|
|
1
|
+
h2ogpte/__init__.py,sha256=k336UngDKnoy0EeR7PnpHqhlh7wc2KhSAKZFtLsF7yg,1524
|
|
2
2
|
h2ogpte/connectors.py,sha256=nKUK6rWeFoI4VTonh4xvAfLMHFqeYgVgSydRTYUzTZg,7728
|
|
3
3
|
h2ogpte/errors.py,sha256=XgLdfJO1fZ9Bf9rhUKpnvRzzvkNyan3Oc6WzGS6hCUA,1248
|
|
4
4
|
h2ogpte/h2ogpte.py,sha256=5ma_DviWt4FI2z_dmRafyDp2-kkzz19SB8DLfk204WA,277615
|
|
@@ -7,12 +7,12 @@ h2ogpte/h2ogpte_sync_base.py,sha256=QDv7wq05NC4FVJujFFHmn5D5FbjmsF4Ydf_XqLQTRpc,
|
|
|
7
7
|
h2ogpte/session.py,sha256=8HXgseLgjAIRoy7e65x6YeyjnoJBV29VaOdlnpkXNJM,30598
|
|
8
8
|
h2ogpte/session_async.py,sha256=gHb0Do_HbN8cL3-83dTuMKx680LOk84WwiJekE2nDyI,28877
|
|
9
9
|
h2ogpte/shared_client.py,sha256=Zh24myL--5JDdrKoJPW4aeprHX6a_oB9o461Ho3hnU8,14691
|
|
10
|
-
h2ogpte/types.py,sha256=
|
|
10
|
+
h2ogpte/types.py,sha256=UH-CSyp3o3oEZzG_19PoHLhVkTvgg1UWMfJzuWvtT4c,14542
|
|
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=qtRF5QQjPfBV0SJRwlcwUiS8jA_5RdSYuPZHWNx4b2o,14582
|
|
13
|
+
h2ogpte/rest_async/api_client.py,sha256=nSF5Q3O29plRRbOmJA4sOBzk1jTTVxIX0aIOY9UgcT8,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=ZEHlPuRlBasIQp3MZkmu4lJict7cdyzBJVd_k8rBn5E,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
18
|
h2ogpte/rest_async/api/__init__.py,sha256=l4UOcqn7RsyOZPJX7UOqSiUYn9E300bYvkyI21b6YJI,909
|
|
@@ -51,7 +51,7 @@ h2ogpte/rest_async/models/chat_completion_request.py,sha256=jbgC8wKOLWSLOzah4yLp
|
|
|
51
51
|
h2ogpte/rest_async/models/chat_error.py,sha256=Ob1UB0nhrKdEGA5Z63VD_TdxokV-8CyA5m-NDgnwqt4,4355
|
|
52
52
|
h2ogpte/rest_async/models/chat_message.py,sha256=D46MmPf86LPKkcTJKcPyH-EFyMMkPRNOCC1jfQu0xYE,5768
|
|
53
53
|
h2ogpte/rest_async/models/chat_message_meta.py,sha256=dgM0NIDSdB6_MN7lEiR4frDFCVZa7C58UATW0SiJB2s,4484
|
|
54
|
-
h2ogpte/rest_async/models/chat_message_reference.py,sha256=
|
|
54
|
+
h2ogpte/rest_async/models/chat_message_reference.py,sha256=P5_jxbgfNcwdzC7OgND27EbVemPKiZay0jsCYn8qqTs,5248
|
|
55
55
|
h2ogpte/rest_async/models/chat_session.py,sha256=_bTDNoclga0NPtNiFh4DUM7e6AmnTjzhpS10BGw_nmQ,5097
|
|
56
56
|
h2ogpte/rest_async/models/chat_session_update_request.py,sha256=yiH14-IrQfbZ0qINIAyGgtrmhgDr-E-cmd9_5OVVHKU,4411
|
|
57
57
|
h2ogpte/rest_async/models/chat_settings.py,sha256=NpYErhHXwM7YNjR0DWX0S9NGwW9btmUaXNFbE4Q4Zmw,16462
|
|
@@ -161,10 +161,10 @@ h2ogpte/rest_async/models/user_deletion_request.py,sha256=z7gD8XKOGwwg782TRzXJii
|
|
|
161
161
|
h2ogpte/rest_async/models/user_info.py,sha256=ef59Eh9k42JUY3X2RnCrwYR7sc_8lXT1vRLGoNz3uTU,4489
|
|
162
162
|
h2ogpte/rest_async/models/user_job_details.py,sha256=kzu8fLxVsRMgnyt6dLr0VWjlIoE3i1VRpGR9nDxFyk4,4985
|
|
163
163
|
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=
|
|
164
|
+
h2ogpte/rest_sync/__init__.py,sha256=W02czANG3k7esM9lpNw-wIX_-O4ldAmaVwKQqoqtaX0,14429
|
|
165
|
+
h2ogpte/rest_sync/api_client.py,sha256=ork_hRz60w5DN3Jqt-6l-1xaDn6HqTkYyKS63dk1uCs,29397
|
|
166
166
|
h2ogpte/rest_sync/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
167
|
-
h2ogpte/rest_sync/configuration.py,sha256=
|
|
167
|
+
h2ogpte/rest_sync/configuration.py,sha256=9ZH5EHFdLhxyX67LYnMMqIgCcdqyiqClDBhrH65B0Y0,19850
|
|
168
168
|
h2ogpte/rest_sync/exceptions.py,sha256=aSDc-0lURtyQjf5HGa7_Ta0nATxKxfHW3huDA2Zdj6o,8370
|
|
169
169
|
h2ogpte/rest_sync/rest.py,sha256=evRzviTYC_fsrpTtFlGvruXmquH9C0jDn-oQrGrE5A0,11314
|
|
170
170
|
h2ogpte/rest_sync/api/__init__.py,sha256=dHcQUPeqF3jrOEx8vDWG3an_HpOwQFU8id_s9GC_o0E,895
|
|
@@ -203,7 +203,7 @@ h2ogpte/rest_sync/models/chat_completion_request.py,sha256=jbgC8wKOLWSLOzah4yLph
|
|
|
203
203
|
h2ogpte/rest_sync/models/chat_error.py,sha256=Ob1UB0nhrKdEGA5Z63VD_TdxokV-8CyA5m-NDgnwqt4,4355
|
|
204
204
|
h2ogpte/rest_sync/models/chat_message.py,sha256=OLBO6sF7Wn8NC2Qf2anxGZYJ7YpWQTf8oI7ENcOSmQ8,5767
|
|
205
205
|
h2ogpte/rest_sync/models/chat_message_meta.py,sha256=dgM0NIDSdB6_MN7lEiR4frDFCVZa7C58UATW0SiJB2s,4484
|
|
206
|
-
h2ogpte/rest_sync/models/chat_message_reference.py,sha256=
|
|
206
|
+
h2ogpte/rest_sync/models/chat_message_reference.py,sha256=P5_jxbgfNcwdzC7OgND27EbVemPKiZay0jsCYn8qqTs,5248
|
|
207
207
|
h2ogpte/rest_sync/models/chat_session.py,sha256=_bTDNoclga0NPtNiFh4DUM7e6AmnTjzhpS10BGw_nmQ,5097
|
|
208
208
|
h2ogpte/rest_sync/models/chat_session_update_request.py,sha256=yiH14-IrQfbZ0qINIAyGgtrmhgDr-E-cmd9_5OVVHKU,4411
|
|
209
209
|
h2ogpte/rest_sync/models/chat_settings.py,sha256=NpYErhHXwM7YNjR0DWX0S9NGwW9btmUaXNFbE4Q4Zmw,16462
|
|
@@ -313,7 +313,7 @@ h2ogpte/rest_sync/models/user_deletion_request.py,sha256=z7gD8XKOGwwg782TRzXJiiP
|
|
|
313
313
|
h2ogpte/rest_sync/models/user_info.py,sha256=ef59Eh9k42JUY3X2RnCrwYR7sc_8lXT1vRLGoNz3uTU,4489
|
|
314
314
|
h2ogpte/rest_sync/models/user_job_details.py,sha256=9cbhpgLMDpar-aTOaY5Ygud-8Kbi23cLNldTGab0Sd8,4984
|
|
315
315
|
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.
|
|
316
|
+
h2ogpte-1.6.41rc2.dist-info/METADATA,sha256=0SumRnFaO6KaY6c4SHdywGfaxpzKZy98SzBp4WzUO-c,7521
|
|
317
|
+
h2ogpte-1.6.41rc2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
318
|
+
h2ogpte-1.6.41rc2.dist-info/top_level.txt,sha256=vXV4JnNwFWFAqTWyHrH-cGIQqbCcEDG9-BbyNn58JpM,8
|
|
319
|
+
h2ogpte-1.6.41rc2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|