h2ogpte 1.6.41rc1__py3-none-any.whl → 1.6.41rc3__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 CHANGED
@@ -3,7 +3,7 @@ from h2ogpte.h2ogpte import H2OGPTE
3
3
  from h2ogpte.h2ogpte_async import H2OGPTEAsync
4
4
  from h2ogpte.session_async import SessionAsync
5
5
 
6
- __version__ = "1.6.41rc1"
6
+ __version__ = "1.6.41rc3"
7
7
 
8
8
  __all__ = [
9
9
  "H2OGPTE",
@@ -14,7 +14,7 @@
14
14
  """ # noqa: E501
15
15
 
16
16
 
17
- __version__ = "1.6.41-dev1"
17
+ __version__ = "1.6.41-dev3"
18
18
 
19
19
  # import apis into sdk package
20
20
  from h2ogpte.rest_async.api.api_keys_api import APIKeysApi
@@ -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-dev1/python'
93
+ self.user_agent = 'OpenAPI-Generator/1.6.41-dev3/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.41-dev1".\
502
+ "SDK Package Version: 1.6.41-dev3".\
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
- __properties: ClassVar[List[str]] = ["collection_id", "document_id", "document_name", "chunk_id", "score", "pages", "content", "were_references_deleted"]
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
 
@@ -14,7 +14,7 @@
14
14
  """ # noqa: E501
15
15
 
16
16
 
17
- __version__ = "1.6.41-dev1"
17
+ __version__ = "1.6.41-dev3"
18
18
 
19
19
  # import apis into sdk package
20
20
  from h2ogpte.rest_sync.api.api_keys_api import APIKeysApi
@@ -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-dev1/python'
93
+ self.user_agent = 'OpenAPI-Generator/1.6.41-dev3/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-dev1".\
506
+ "SDK Package Version: 1.6.41-dev3".\
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
- __properties: ClassVar[List[str]] = ["collection_id", "document_id", "document_name", "chunk_id", "score", "pages", "content", "were_references_deleted"]
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
@@ -104,6 +104,7 @@ class ChatMessageReference(BaseModel):
104
104
  content: str
105
105
  collection_id: str
106
106
  were_references_deleted: bool
107
+ uri: Optional[str] = None
107
108
 
108
109
 
109
110
  class ChatMessageMeta(BaseModel):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: h2ogpte
3
- Version: 1.6.41rc1
3
+ Version: 1.6.41rc3
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
@@ -1,4 +1,4 @@
1
- h2ogpte/__init__.py,sha256=QIJ7aOz4gKnOy_nRsuvJ6juJbcP3AUThbo52fbHqpZM,1524
1
+ h2ogpte/__init__.py,sha256=KrIRTdw4b39LuSev36HZlXdy-cw6c77P4YeslGgmt4I,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=unzc6zE1GhHWtCjLTGRqvwmWInM1GPJx4xzd0VuitKk,14512
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=K1fbe3BygQafLaVWuU_ywTLt72tb6avmCwCbwyChoX8,14582
13
- h2ogpte/rest_async/api_client.py,sha256=5yUxdwIzEtwVDq3pfzphnuf4UqYovyMh61HH2vvPKQk,29510
12
+ h2ogpte/rest_async/__init__.py,sha256=wI5s1lGWOSzt0zph90lUss3u5G6kg8P2YoztpGGz1XE,14582
13
+ h2ogpte/rest_async/api_client.py,sha256=XYLvYKmVepTX3D6OnXJi56VZ37oJfrqlkDWbKAR5I0U,29510
14
14
  h2ogpte/rest_async/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
15
- h2ogpte/rest_async/configuration.py,sha256=LB6bKYlQcr8iJgWA6osWQ3l-YkyM4wzQe2KKgiAp_YI,19567
15
+ h2ogpte/rest_async/configuration.py,sha256=N8fVYwOJL0UFdC3s1s2--HcOr6NtuYV3GXugsZuB5QA,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=gxVKN1YYCBB3aAhGRvCLVRvAjZ7BQuHaK6tTeuBzuXM,5170
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=p4DkhTbfxEQHVYHadLiq7bmw0DOwP7GWvb4y7N4xybI,14429
165
- h2ogpte/rest_sync/api_client.py,sha256=iD5RNzeRPFGmKmBHUIc-P8mz35rNj8Vr5uaz06Vw7Kk,29397
164
+ h2ogpte/rest_sync/__init__.py,sha256=TaId7tAK1JIYOlI3P_Zhv771g96biXKaeLe9fwmsBiA,14429
165
+ h2ogpte/rest_sync/api_client.py,sha256=6ZMwl7Mu148zdMi5tpbKzvSy5I4ezH00QeJloSdVufk,29397
166
166
  h2ogpte/rest_sync/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
167
- h2ogpte/rest_sync/configuration.py,sha256=nTybR8Lv6O3LJOyrBrvvsf3iYFzA38ZVkKpBjY8eTxA,19850
167
+ h2ogpte/rest_sync/configuration.py,sha256=2M76J6mrnC-j26wa84jb8HNBq-NTENwdowJtIjfCXWo,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=gxVKN1YYCBB3aAhGRvCLVRvAjZ7BQuHaK6tTeuBzuXM,5170
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.41rc1.dist-info/METADATA,sha256=_SqR13A0POfJxHYTK-sSFo86wWtRF---ycDu7PUvujU,7521
317
- h2ogpte-1.6.41rc1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
318
- h2ogpte-1.6.41rc1.dist-info/top_level.txt,sha256=vXV4JnNwFWFAqTWyHrH-cGIQqbCcEDG9-BbyNn58JpM,8
319
- h2ogpte-1.6.41rc1.dist-info/RECORD,,
316
+ h2ogpte-1.6.41rc3.dist-info/METADATA,sha256=WnulrTOI-2c2y9hF5NvHLF2aPq37wrltr7C1Gm9TdkM,7521
317
+ h2ogpte-1.6.41rc3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
318
+ h2ogpte-1.6.41rc3.dist-info/top_level.txt,sha256=vXV4JnNwFWFAqTWyHrH-cGIQqbCcEDG9-BbyNn58JpM,8
319
+ h2ogpte-1.6.41rc3.dist-info/RECORD,,