h2ogpte 1.7.0rc1__py3-none-any.whl → 1.7.0rc2__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.7.0rc1"
6
+ __version__ = "1.7.0rc2"
7
7
 
8
8
  __all__ = [
9
9
  "H2OGPTE",
h2ogpte/h2ogpte.py CHANGED
@@ -1467,6 +1467,7 @@ class H2OGPTE(H2OGPTESyncBase):
1467
1467
  handwriting_check: Union[bool, None] = None,
1468
1468
  timeout: Union[float, None] = None,
1469
1469
  ingest_mode: Union[str, None] = None,
1470
+ preserve_document_status: Union[bool, None] = None,
1470
1471
  ):
1471
1472
  """Import all documents from a collection into an existing collection
1472
1473
 
@@ -1503,6 +1504,10 @@ class H2OGPTE(H2OGPTESyncBase):
1503
1504
  "standard" - Files will be ingested for use with RAG
1504
1505
  "lite" - Files will be ingested for use with RAG, but minimal processing will be done, favoring ingest speed over accuracy
1505
1506
  "agent_only" - Bypasses standard ingestion. Files can only be used with agents.
1507
+ preserve_document_status:
1508
+ Whether to preserve each document's original ingest mode (agent_only vs standard) when importing.
1509
+ When True, documents with agent_only status remain agent_only in the target collection.
1510
+ When False, all documents use the ingest_mode parameter uniformly.
1506
1511
  """
1507
1512
  header = self._get_auth_header()
1508
1513
  with self._RESTClient(self) as rest_client:
@@ -1521,6 +1526,7 @@ class H2OGPTE(H2OGPTESyncBase):
1521
1526
  chunk_by_page=chunk_by_page,
1522
1527
  handwriting_check=handwriting_check,
1523
1528
  ingest_mode=ingest_mode,
1529
+ preserve_document_status=preserve_document_status,
1524
1530
  timeout=timeout,
1525
1531
  _headers=header,
1526
1532
  )
@@ -3662,6 +3668,29 @@ class H2OGPTE(H2OGPTESyncBase):
3662
3668
  )
3663
3669
  return [GroupSharePermission(**d.to_dict()) for d in response]
3664
3670
 
3671
+ def list_collection_public_permissions(self, collection_id: str) -> List[str]:
3672
+ """Returns the public permissions for a given collection.
3673
+
3674
+ The returned list contains the permission strings that apply to
3675
+ public access of the collection.
3676
+
3677
+ Args:
3678
+ collection_id:
3679
+ ID of the collection to inspect.
3680
+
3681
+ Returns:
3682
+ list of str: Public permissions list for the given collection.
3683
+ """
3684
+ header = self._get_auth_header()
3685
+ with self._RESTClient(self) as rest_client:
3686
+ response = _rest_to_client_exceptions(
3687
+ lambda: rest_client.collection_api.list_collection_public_permissions(
3688
+ collection_id=collection_id,
3689
+ _headers=header,
3690
+ )
3691
+ )
3692
+ return response
3693
+
3665
3694
  def list_users(self, offset: int, limit: int) -> List[User]:
3666
3695
  """List system users.
3667
3696
 
h2ogpte/h2ogpte_async.py CHANGED
@@ -1667,6 +1667,7 @@ class H2OGPTEAsync:
1667
1667
  handwriting_check: Union[bool, None] = None,
1668
1668
  timeout: Union[float, None] = None,
1669
1669
  ingest_mode: Union[str, None] = None,
1670
+ preserve_document_status: Union[bool, None] = None,
1670
1671
  ):
1671
1672
  """Import all documents from a collection into an existing collection
1672
1673
 
@@ -1703,6 +1704,10 @@ class H2OGPTEAsync:
1703
1704
  "standard" - Files will be ingested for use with RAG
1704
1705
  "lite" - Files will be ingested for use with RAG, but minimal processing will be done, favoring ingest speed over accuracy
1705
1706
  "agent_only" - Bypasses standard ingestion. Files can only be used with agents.
1707
+ preserve_document_status:
1708
+ Whether to preserve each document's original ingest mode (agent_only vs standard) when importing.
1709
+ When True, documents with agent_only status remain agent_only in the target collection.
1710
+ When False, all documents use the ingest_mode parameter uniformly.
1706
1711
  """
1707
1712
  header = await self._get_auth_header()
1708
1713
  async with self._RESTClient(self) as rest_client:
@@ -1721,6 +1726,7 @@ class H2OGPTEAsync:
1721
1726
  chunk_by_page=chunk_by_page,
1722
1727
  handwriting_check=handwriting_check,
1723
1728
  ingest_mode=ingest_mode,
1729
+ preserve_document_status=preserve_document_status,
1724
1730
  timeout=timeout,
1725
1731
  _headers=header,
1726
1732
  )
@@ -3864,6 +3870,29 @@ class H2OGPTEAsync:
3864
3870
  )
3865
3871
  return [GroupSharePermission(**d.to_dict()) for d in response]
3866
3872
 
3873
+ async def list_collection_public_permissions(self, collection_id: str) -> List[str]:
3874
+ """Returns the public permissions for a given collection.
3875
+
3876
+ The returned list contains the permission strings that apply to
3877
+ public access of the collection.
3878
+
3879
+ Args:
3880
+ collection_id:
3881
+ ID of the collection to inspect.
3882
+
3883
+ Returns:
3884
+ list of str: Public permissions list for the given collection.
3885
+ """
3886
+ header = await self._get_auth_header()
3887
+ async with self._RESTClient(self) as rest_client:
3888
+ response = await _rest_to_client_exceptions(
3889
+ rest_client.collection_api.list_collection_public_permissions(
3890
+ collection_id=collection_id,
3891
+ _headers=header,
3892
+ )
3893
+ )
3894
+ return response
3895
+
3867
3896
  async def list_users(self, offset: int, limit: int) -> List[User]:
3868
3897
  """List system users.
3869
3898
 
@@ -14,7 +14,7 @@
14
14
  """ # noqa: E501
15
15
 
16
16
 
17
- __version__ = "1.7.0-dev1"
17
+ __version__ = "1.7.0-dev2"
18
18
 
19
19
  # import apis into sdk package
20
20
  from h2ogpte.rest_async.api.api_keys_api import APIKeysApi
@@ -1448,6 +1448,7 @@ class CollectionsApi:
1448
1448
  collection_id: Annotated[StrictStr, Field(description="Id of the destination collection.")],
1449
1449
  create_import_collection_to_collection_job_request: CreateImportCollectionToCollectionJobRequest,
1450
1450
  copy_document: Annotated[Optional[StrictBool], Field(description="Whether to save a new copy of the document")] = None,
1451
+ preserve_document_status: Annotated[Optional[StrictBool], Field(description="Whether to preserve each document's original ingest mode (agent_only vs standard) when importing. When true, documents with agent_only status remain agent_only in the target collection. When false (default), all documents use the ingest_mode parameter uniformly.")] = None,
1451
1452
  gen_doc_summaries: Annotated[Optional[StrictBool], Field(description="Whether to auto-generate document summaries (uses LLM).")] = None,
1452
1453
  gen_doc_questions: Annotated[Optional[StrictBool], Field(description="Whether to auto-generate sample questions for each document (uses LLM).")] = None,
1453
1454
  ocr_model: Annotated[Optional[StrictStr], Field(description="Which method to use to extract text from images using AI-enabled optical character recognition (OCR) models. docTR is best for Latin text, PaddleOCR is best for certain non-Latin languages, Tesseract covers a wide range of languages. Mississippi works well on handwriting. - `auto` - Automatic will auto-select the best OCR model for every page. - `off` - Disable OCR for speed, but all images will then be skipped (also no image captions will be made).")] = None,
@@ -1480,6 +1481,8 @@ class CollectionsApi:
1480
1481
  :type create_import_collection_to_collection_job_request: CreateImportCollectionToCollectionJobRequest
1481
1482
  :param copy_document: Whether to save a new copy of the document
1482
1483
  :type copy_document: bool
1484
+ :param preserve_document_status: Whether to preserve each document's original ingest mode (agent_only vs standard) when importing. When true, documents with agent_only status remain agent_only in the target collection. When false (default), all documents use the ingest_mode parameter uniformly.
1485
+ :type preserve_document_status: bool
1483
1486
  :param gen_doc_summaries: Whether to auto-generate document summaries (uses LLM).
1484
1487
  :type gen_doc_summaries: bool
1485
1488
  :param gen_doc_questions: Whether to auto-generate sample questions for each document (uses LLM).
@@ -1524,6 +1527,7 @@ class CollectionsApi:
1524
1527
  collection_id=collection_id,
1525
1528
  create_import_collection_to_collection_job_request=create_import_collection_to_collection_job_request,
1526
1529
  copy_document=copy_document,
1530
+ preserve_document_status=preserve_document_status,
1527
1531
  gen_doc_summaries=gen_doc_summaries,
1528
1532
  gen_doc_questions=gen_doc_questions,
1529
1533
  ocr_model=ocr_model,
@@ -1560,6 +1564,7 @@ class CollectionsApi:
1560
1564
  collection_id: Annotated[StrictStr, Field(description="Id of the destination collection.")],
1561
1565
  create_import_collection_to_collection_job_request: CreateImportCollectionToCollectionJobRequest,
1562
1566
  copy_document: Annotated[Optional[StrictBool], Field(description="Whether to save a new copy of the document")] = None,
1567
+ preserve_document_status: Annotated[Optional[StrictBool], Field(description="Whether to preserve each document's original ingest mode (agent_only vs standard) when importing. When true, documents with agent_only status remain agent_only in the target collection. When false (default), all documents use the ingest_mode parameter uniformly.")] = None,
1563
1568
  gen_doc_summaries: Annotated[Optional[StrictBool], Field(description="Whether to auto-generate document summaries (uses LLM).")] = None,
1564
1569
  gen_doc_questions: Annotated[Optional[StrictBool], Field(description="Whether to auto-generate sample questions for each document (uses LLM).")] = None,
1565
1570
  ocr_model: Annotated[Optional[StrictStr], Field(description="Which method to use to extract text from images using AI-enabled optical character recognition (OCR) models. docTR is best for Latin text, PaddleOCR is best for certain non-Latin languages, Tesseract covers a wide range of languages. Mississippi works well on handwriting. - `auto` - Automatic will auto-select the best OCR model for every page. - `off` - Disable OCR for speed, but all images will then be skipped (also no image captions will be made).")] = None,
@@ -1592,6 +1597,8 @@ class CollectionsApi:
1592
1597
  :type create_import_collection_to_collection_job_request: CreateImportCollectionToCollectionJobRequest
1593
1598
  :param copy_document: Whether to save a new copy of the document
1594
1599
  :type copy_document: bool
1600
+ :param preserve_document_status: Whether to preserve each document's original ingest mode (agent_only vs standard) when importing. When true, documents with agent_only status remain agent_only in the target collection. When false (default), all documents use the ingest_mode parameter uniformly.
1601
+ :type preserve_document_status: bool
1595
1602
  :param gen_doc_summaries: Whether to auto-generate document summaries (uses LLM).
1596
1603
  :type gen_doc_summaries: bool
1597
1604
  :param gen_doc_questions: Whether to auto-generate sample questions for each document (uses LLM).
@@ -1636,6 +1643,7 @@ class CollectionsApi:
1636
1643
  collection_id=collection_id,
1637
1644
  create_import_collection_to_collection_job_request=create_import_collection_to_collection_job_request,
1638
1645
  copy_document=copy_document,
1646
+ preserve_document_status=preserve_document_status,
1639
1647
  gen_doc_summaries=gen_doc_summaries,
1640
1648
  gen_doc_questions=gen_doc_questions,
1641
1649
  ocr_model=ocr_model,
@@ -1672,6 +1680,7 @@ class CollectionsApi:
1672
1680
  collection_id: Annotated[StrictStr, Field(description="Id of the destination collection.")],
1673
1681
  create_import_collection_to_collection_job_request: CreateImportCollectionToCollectionJobRequest,
1674
1682
  copy_document: Annotated[Optional[StrictBool], Field(description="Whether to save a new copy of the document")] = None,
1683
+ preserve_document_status: Annotated[Optional[StrictBool], Field(description="Whether to preserve each document's original ingest mode (agent_only vs standard) when importing. When true, documents with agent_only status remain agent_only in the target collection. When false (default), all documents use the ingest_mode parameter uniformly.")] = None,
1675
1684
  gen_doc_summaries: Annotated[Optional[StrictBool], Field(description="Whether to auto-generate document summaries (uses LLM).")] = None,
1676
1685
  gen_doc_questions: Annotated[Optional[StrictBool], Field(description="Whether to auto-generate sample questions for each document (uses LLM).")] = None,
1677
1686
  ocr_model: Annotated[Optional[StrictStr], Field(description="Which method to use to extract text from images using AI-enabled optical character recognition (OCR) models. docTR is best for Latin text, PaddleOCR is best for certain non-Latin languages, Tesseract covers a wide range of languages. Mississippi works well on handwriting. - `auto` - Automatic will auto-select the best OCR model for every page. - `off` - Disable OCR for speed, but all images will then be skipped (also no image captions will be made).")] = None,
@@ -1704,6 +1713,8 @@ class CollectionsApi:
1704
1713
  :type create_import_collection_to_collection_job_request: CreateImportCollectionToCollectionJobRequest
1705
1714
  :param copy_document: Whether to save a new copy of the document
1706
1715
  :type copy_document: bool
1716
+ :param preserve_document_status: Whether to preserve each document's original ingest mode (agent_only vs standard) when importing. When true, documents with agent_only status remain agent_only in the target collection. When false (default), all documents use the ingest_mode parameter uniformly.
1717
+ :type preserve_document_status: bool
1707
1718
  :param gen_doc_summaries: Whether to auto-generate document summaries (uses LLM).
1708
1719
  :type gen_doc_summaries: bool
1709
1720
  :param gen_doc_questions: Whether to auto-generate sample questions for each document (uses LLM).
@@ -1748,6 +1759,7 @@ class CollectionsApi:
1748
1759
  collection_id=collection_id,
1749
1760
  create_import_collection_to_collection_job_request=create_import_collection_to_collection_job_request,
1750
1761
  copy_document=copy_document,
1762
+ preserve_document_status=preserve_document_status,
1751
1763
  gen_doc_summaries=gen_doc_summaries,
1752
1764
  gen_doc_questions=gen_doc_questions,
1753
1765
  ocr_model=ocr_model,
@@ -1779,6 +1791,7 @@ class CollectionsApi:
1779
1791
  collection_id,
1780
1792
  create_import_collection_to_collection_job_request,
1781
1793
  copy_document,
1794
+ preserve_document_status,
1782
1795
  gen_doc_summaries,
1783
1796
  gen_doc_questions,
1784
1797
  ocr_model,
@@ -1816,6 +1829,10 @@ class CollectionsApi:
1816
1829
 
1817
1830
  _query_params.append(('copy_document', copy_document))
1818
1831
 
1832
+ if preserve_document_status is not None:
1833
+
1834
+ _query_params.append(('preserve_document_status', preserve_document_status))
1835
+
1819
1836
  if gen_doc_summaries is not None:
1820
1837
 
1821
1838
  _query_params.append(('gen_doc_summaries', gen_doc_summaries))
@@ -8039,6 +8056,270 @@ class CollectionsApi:
8039
8056
 
8040
8057
 
8041
8058
 
8059
+ @validate_call
8060
+ async def list_collection_public_permissions(
8061
+ self,
8062
+ collection_id: Annotated[StrictStr, Field(description="Id of the collection.")],
8063
+ _request_timeout: Union[
8064
+ None,
8065
+ Annotated[StrictFloat, Field(gt=0)],
8066
+ Tuple[
8067
+ Annotated[StrictFloat, Field(gt=0)],
8068
+ Annotated[StrictFloat, Field(gt=0)]
8069
+ ]
8070
+ ] = None,
8071
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
8072
+ _content_type: Optional[StrictStr] = None,
8073
+ _headers: Optional[Dict[StrictStr, Any]] = None,
8074
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
8075
+ ) -> List[str]:
8076
+ """Returns the public permissions for a given collection.
8077
+
8078
+ Returns the list of public permissions for a collection. Returns an empty array if the collection is not public or has no permissions.
8079
+
8080
+ :param collection_id: Id of the collection. (required)
8081
+ :type collection_id: str
8082
+ :param _request_timeout: timeout setting for this request. If one
8083
+ number provided, it will be total request
8084
+ timeout. It can also be a pair (tuple) of
8085
+ (connection, read) timeouts.
8086
+ :type _request_timeout: int, tuple(int, int), optional
8087
+ :param _request_auth: set to override the auth_settings for an a single
8088
+ request; this effectively ignores the
8089
+ authentication in the spec for a single request.
8090
+ :type _request_auth: dict, optional
8091
+ :param _content_type: force content-type for the request.
8092
+ :type _content_type: str, Optional
8093
+ :param _headers: set to override the headers for a single
8094
+ request; this effectively ignores the headers
8095
+ in the spec for a single request.
8096
+ :type _headers: dict, optional
8097
+ :param _host_index: set to override the host_index for a single
8098
+ request; this effectively ignores the host_index
8099
+ in the spec for a single request.
8100
+ :type _host_index: int, optional
8101
+ :return: Returns the result object.
8102
+ """ # noqa: E501
8103
+
8104
+ _param = self._list_collection_public_permissions_serialize(
8105
+ collection_id=collection_id,
8106
+ _request_auth=_request_auth,
8107
+ _content_type=_content_type,
8108
+ _headers=_headers,
8109
+ _host_index=_host_index
8110
+ )
8111
+
8112
+ _response_types_map: Dict[str, Optional[str]] = {
8113
+ '200': "List[str]",
8114
+ '401': "EndpointError",
8115
+ }
8116
+ response_data = await self.api_client.call_api(
8117
+ *_param,
8118
+ _request_timeout=_request_timeout
8119
+ )
8120
+ await response_data.read()
8121
+ return self.api_client.response_deserialize(
8122
+ response_data=response_data,
8123
+ response_types_map=_response_types_map,
8124
+ ).data
8125
+
8126
+
8127
+ @validate_call
8128
+ async def list_collection_public_permissions_with_http_info(
8129
+ self,
8130
+ collection_id: Annotated[StrictStr, Field(description="Id of the collection.")],
8131
+ _request_timeout: Union[
8132
+ None,
8133
+ Annotated[StrictFloat, Field(gt=0)],
8134
+ Tuple[
8135
+ Annotated[StrictFloat, Field(gt=0)],
8136
+ Annotated[StrictFloat, Field(gt=0)]
8137
+ ]
8138
+ ] = None,
8139
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
8140
+ _content_type: Optional[StrictStr] = None,
8141
+ _headers: Optional[Dict[StrictStr, Any]] = None,
8142
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
8143
+ ) -> ApiResponse[List[str]]:
8144
+ """Returns the public permissions for a given collection.
8145
+
8146
+ Returns the list of public permissions for a collection. Returns an empty array if the collection is not public or has no permissions.
8147
+
8148
+ :param collection_id: Id of the collection. (required)
8149
+ :type collection_id: str
8150
+ :param _request_timeout: timeout setting for this request. If one
8151
+ number provided, it will be total request
8152
+ timeout. It can also be a pair (tuple) of
8153
+ (connection, read) timeouts.
8154
+ :type _request_timeout: int, tuple(int, int), optional
8155
+ :param _request_auth: set to override the auth_settings for an a single
8156
+ request; this effectively ignores the
8157
+ authentication in the spec for a single request.
8158
+ :type _request_auth: dict, optional
8159
+ :param _content_type: force content-type for the request.
8160
+ :type _content_type: str, Optional
8161
+ :param _headers: set to override the headers for a single
8162
+ request; this effectively ignores the headers
8163
+ in the spec for a single request.
8164
+ :type _headers: dict, optional
8165
+ :param _host_index: set to override the host_index for a single
8166
+ request; this effectively ignores the host_index
8167
+ in the spec for a single request.
8168
+ :type _host_index: int, optional
8169
+ :return: Returns the result object.
8170
+ """ # noqa: E501
8171
+
8172
+ _param = self._list_collection_public_permissions_serialize(
8173
+ collection_id=collection_id,
8174
+ _request_auth=_request_auth,
8175
+ _content_type=_content_type,
8176
+ _headers=_headers,
8177
+ _host_index=_host_index
8178
+ )
8179
+
8180
+ _response_types_map: Dict[str, Optional[str]] = {
8181
+ '200': "List[str]",
8182
+ '401': "EndpointError",
8183
+ }
8184
+ response_data = await self.api_client.call_api(
8185
+ *_param,
8186
+ _request_timeout=_request_timeout
8187
+ )
8188
+ await response_data.read()
8189
+ return self.api_client.response_deserialize(
8190
+ response_data=response_data,
8191
+ response_types_map=_response_types_map,
8192
+ )
8193
+
8194
+
8195
+ @validate_call
8196
+ async def list_collection_public_permissions_without_preload_content(
8197
+ self,
8198
+ collection_id: Annotated[StrictStr, Field(description="Id of the collection.")],
8199
+ _request_timeout: Union[
8200
+ None,
8201
+ Annotated[StrictFloat, Field(gt=0)],
8202
+ Tuple[
8203
+ Annotated[StrictFloat, Field(gt=0)],
8204
+ Annotated[StrictFloat, Field(gt=0)]
8205
+ ]
8206
+ ] = None,
8207
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
8208
+ _content_type: Optional[StrictStr] = None,
8209
+ _headers: Optional[Dict[StrictStr, Any]] = None,
8210
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
8211
+ ) -> RESTResponseType:
8212
+ """Returns the public permissions for a given collection.
8213
+
8214
+ Returns the list of public permissions for a collection. Returns an empty array if the collection is not public or has no permissions.
8215
+
8216
+ :param collection_id: Id of the collection. (required)
8217
+ :type collection_id: str
8218
+ :param _request_timeout: timeout setting for this request. If one
8219
+ number provided, it will be total request
8220
+ timeout. It can also be a pair (tuple) of
8221
+ (connection, read) timeouts.
8222
+ :type _request_timeout: int, tuple(int, int), optional
8223
+ :param _request_auth: set to override the auth_settings for an a single
8224
+ request; this effectively ignores the
8225
+ authentication in the spec for a single request.
8226
+ :type _request_auth: dict, optional
8227
+ :param _content_type: force content-type for the request.
8228
+ :type _content_type: str, Optional
8229
+ :param _headers: set to override the headers for a single
8230
+ request; this effectively ignores the headers
8231
+ in the spec for a single request.
8232
+ :type _headers: dict, optional
8233
+ :param _host_index: set to override the host_index for a single
8234
+ request; this effectively ignores the host_index
8235
+ in the spec for a single request.
8236
+ :type _host_index: int, optional
8237
+ :return: Returns the result object.
8238
+ """ # noqa: E501
8239
+
8240
+ _param = self._list_collection_public_permissions_serialize(
8241
+ collection_id=collection_id,
8242
+ _request_auth=_request_auth,
8243
+ _content_type=_content_type,
8244
+ _headers=_headers,
8245
+ _host_index=_host_index
8246
+ )
8247
+
8248
+ _response_types_map: Dict[str, Optional[str]] = {
8249
+ '200': "List[str]",
8250
+ '401': "EndpointError",
8251
+ }
8252
+ response_data = await self.api_client.call_api(
8253
+ *_param,
8254
+ _request_timeout=_request_timeout
8255
+ )
8256
+ return response_data.response
8257
+
8258
+
8259
+ def _list_collection_public_permissions_serialize(
8260
+ self,
8261
+ collection_id,
8262
+ _request_auth,
8263
+ _content_type,
8264
+ _headers,
8265
+ _host_index,
8266
+ ) -> RequestSerialized:
8267
+
8268
+ _host = None
8269
+
8270
+ _collection_formats: Dict[str, str] = {
8271
+ }
8272
+
8273
+ _path_params: Dict[str, str] = {}
8274
+ _query_params: List[Tuple[str, str]] = []
8275
+ _header_params: Dict[str, Optional[str]] = _headers or {}
8276
+ _form_params: List[Tuple[str, str]] = []
8277
+ _files: Dict[
8278
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
8279
+ ] = {}
8280
+ _body_params: Optional[bytes] = None
8281
+
8282
+ # process the path parameters
8283
+ if collection_id is not None:
8284
+ _path_params['collection_id'] = collection_id
8285
+ # process the query parameters
8286
+ # process the header parameters
8287
+ # process the form parameters
8288
+ # process the body parameter
8289
+
8290
+
8291
+ # set the HTTP header `Accept`
8292
+ if 'Accept' not in _header_params:
8293
+ _header_params['Accept'] = self.api_client.select_header_accept(
8294
+ [
8295
+ 'application/json'
8296
+ ]
8297
+ )
8298
+
8299
+
8300
+ # authentication setting
8301
+ _auth_settings: List[str] = [
8302
+ 'bearerAuth'
8303
+ ]
8304
+
8305
+ return self.api_client.param_serialize(
8306
+ method='GET',
8307
+ resource_path='/collections/{collection_id}/public_permissions',
8308
+ path_params=_path_params,
8309
+ query_params=_query_params,
8310
+ header_params=_header_params,
8311
+ body=_body_params,
8312
+ post_params=_form_params,
8313
+ files=_files,
8314
+ auth_settings=_auth_settings,
8315
+ collection_formats=_collection_formats,
8316
+ _host=_host,
8317
+ _request_auth=_request_auth
8318
+ )
8319
+
8320
+
8321
+
8322
+
8042
8323
  @validate_call
8043
8324
  async def list_collections(
8044
8325
  self,
@@ -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.7.0-dev1/python'
93
+ self.user_agent = 'OpenAPI-Generator/1.7.0-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.7.0-dev1".\
502
+ "SDK Package Version: 1.7.0-dev2".\
503
503
  format(env=sys.platform, pyversion=sys.version)
504
504
 
505
505
  def get_host_settings(self) -> List[HostSetting]:
@@ -14,7 +14,7 @@
14
14
  """ # noqa: E501
15
15
 
16
16
 
17
- __version__ = "1.7.0-dev1"
17
+ __version__ = "1.7.0-dev2"
18
18
 
19
19
  # import apis into sdk package
20
20
  from h2ogpte.rest_sync.api.api_keys_api import APIKeysApi
@@ -1448,6 +1448,7 @@ class CollectionsApi:
1448
1448
  collection_id: Annotated[StrictStr, Field(description="Id of the destination collection.")],
1449
1449
  create_import_collection_to_collection_job_request: CreateImportCollectionToCollectionJobRequest,
1450
1450
  copy_document: Annotated[Optional[StrictBool], Field(description="Whether to save a new copy of the document")] = None,
1451
+ preserve_document_status: Annotated[Optional[StrictBool], Field(description="Whether to preserve each document's original ingest mode (agent_only vs standard) when importing. When true, documents with agent_only status remain agent_only in the target collection. When false (default), all documents use the ingest_mode parameter uniformly.")] = None,
1451
1452
  gen_doc_summaries: Annotated[Optional[StrictBool], Field(description="Whether to auto-generate document summaries (uses LLM).")] = None,
1452
1453
  gen_doc_questions: Annotated[Optional[StrictBool], Field(description="Whether to auto-generate sample questions for each document (uses LLM).")] = None,
1453
1454
  ocr_model: Annotated[Optional[StrictStr], Field(description="Which method to use to extract text from images using AI-enabled optical character recognition (OCR) models. docTR is best for Latin text, PaddleOCR is best for certain non-Latin languages, Tesseract covers a wide range of languages. Mississippi works well on handwriting. - `auto` - Automatic will auto-select the best OCR model for every page. - `off` - Disable OCR for speed, but all images will then be skipped (also no image captions will be made).")] = None,
@@ -1480,6 +1481,8 @@ class CollectionsApi:
1480
1481
  :type create_import_collection_to_collection_job_request: CreateImportCollectionToCollectionJobRequest
1481
1482
  :param copy_document: Whether to save a new copy of the document
1482
1483
  :type copy_document: bool
1484
+ :param preserve_document_status: Whether to preserve each document's original ingest mode (agent_only vs standard) when importing. When true, documents with agent_only status remain agent_only in the target collection. When false (default), all documents use the ingest_mode parameter uniformly.
1485
+ :type preserve_document_status: bool
1483
1486
  :param gen_doc_summaries: Whether to auto-generate document summaries (uses LLM).
1484
1487
  :type gen_doc_summaries: bool
1485
1488
  :param gen_doc_questions: Whether to auto-generate sample questions for each document (uses LLM).
@@ -1524,6 +1527,7 @@ class CollectionsApi:
1524
1527
  collection_id=collection_id,
1525
1528
  create_import_collection_to_collection_job_request=create_import_collection_to_collection_job_request,
1526
1529
  copy_document=copy_document,
1530
+ preserve_document_status=preserve_document_status,
1527
1531
  gen_doc_summaries=gen_doc_summaries,
1528
1532
  gen_doc_questions=gen_doc_questions,
1529
1533
  ocr_model=ocr_model,
@@ -1560,6 +1564,7 @@ class CollectionsApi:
1560
1564
  collection_id: Annotated[StrictStr, Field(description="Id of the destination collection.")],
1561
1565
  create_import_collection_to_collection_job_request: CreateImportCollectionToCollectionJobRequest,
1562
1566
  copy_document: Annotated[Optional[StrictBool], Field(description="Whether to save a new copy of the document")] = None,
1567
+ preserve_document_status: Annotated[Optional[StrictBool], Field(description="Whether to preserve each document's original ingest mode (agent_only vs standard) when importing. When true, documents with agent_only status remain agent_only in the target collection. When false (default), all documents use the ingest_mode parameter uniformly.")] = None,
1563
1568
  gen_doc_summaries: Annotated[Optional[StrictBool], Field(description="Whether to auto-generate document summaries (uses LLM).")] = None,
1564
1569
  gen_doc_questions: Annotated[Optional[StrictBool], Field(description="Whether to auto-generate sample questions for each document (uses LLM).")] = None,
1565
1570
  ocr_model: Annotated[Optional[StrictStr], Field(description="Which method to use to extract text from images using AI-enabled optical character recognition (OCR) models. docTR is best for Latin text, PaddleOCR is best for certain non-Latin languages, Tesseract covers a wide range of languages. Mississippi works well on handwriting. - `auto` - Automatic will auto-select the best OCR model for every page. - `off` - Disable OCR for speed, but all images will then be skipped (also no image captions will be made).")] = None,
@@ -1592,6 +1597,8 @@ class CollectionsApi:
1592
1597
  :type create_import_collection_to_collection_job_request: CreateImportCollectionToCollectionJobRequest
1593
1598
  :param copy_document: Whether to save a new copy of the document
1594
1599
  :type copy_document: bool
1600
+ :param preserve_document_status: Whether to preserve each document's original ingest mode (agent_only vs standard) when importing. When true, documents with agent_only status remain agent_only in the target collection. When false (default), all documents use the ingest_mode parameter uniformly.
1601
+ :type preserve_document_status: bool
1595
1602
  :param gen_doc_summaries: Whether to auto-generate document summaries (uses LLM).
1596
1603
  :type gen_doc_summaries: bool
1597
1604
  :param gen_doc_questions: Whether to auto-generate sample questions for each document (uses LLM).
@@ -1636,6 +1643,7 @@ class CollectionsApi:
1636
1643
  collection_id=collection_id,
1637
1644
  create_import_collection_to_collection_job_request=create_import_collection_to_collection_job_request,
1638
1645
  copy_document=copy_document,
1646
+ preserve_document_status=preserve_document_status,
1639
1647
  gen_doc_summaries=gen_doc_summaries,
1640
1648
  gen_doc_questions=gen_doc_questions,
1641
1649
  ocr_model=ocr_model,
@@ -1672,6 +1680,7 @@ class CollectionsApi:
1672
1680
  collection_id: Annotated[StrictStr, Field(description="Id of the destination collection.")],
1673
1681
  create_import_collection_to_collection_job_request: CreateImportCollectionToCollectionJobRequest,
1674
1682
  copy_document: Annotated[Optional[StrictBool], Field(description="Whether to save a new copy of the document")] = None,
1683
+ preserve_document_status: Annotated[Optional[StrictBool], Field(description="Whether to preserve each document's original ingest mode (agent_only vs standard) when importing. When true, documents with agent_only status remain agent_only in the target collection. When false (default), all documents use the ingest_mode parameter uniformly.")] = None,
1675
1684
  gen_doc_summaries: Annotated[Optional[StrictBool], Field(description="Whether to auto-generate document summaries (uses LLM).")] = None,
1676
1685
  gen_doc_questions: Annotated[Optional[StrictBool], Field(description="Whether to auto-generate sample questions for each document (uses LLM).")] = None,
1677
1686
  ocr_model: Annotated[Optional[StrictStr], Field(description="Which method to use to extract text from images using AI-enabled optical character recognition (OCR) models. docTR is best for Latin text, PaddleOCR is best for certain non-Latin languages, Tesseract covers a wide range of languages. Mississippi works well on handwriting. - `auto` - Automatic will auto-select the best OCR model for every page. - `off` - Disable OCR for speed, but all images will then be skipped (also no image captions will be made).")] = None,
@@ -1704,6 +1713,8 @@ class CollectionsApi:
1704
1713
  :type create_import_collection_to_collection_job_request: CreateImportCollectionToCollectionJobRequest
1705
1714
  :param copy_document: Whether to save a new copy of the document
1706
1715
  :type copy_document: bool
1716
+ :param preserve_document_status: Whether to preserve each document's original ingest mode (agent_only vs standard) when importing. When true, documents with agent_only status remain agent_only in the target collection. When false (default), all documents use the ingest_mode parameter uniformly.
1717
+ :type preserve_document_status: bool
1707
1718
  :param gen_doc_summaries: Whether to auto-generate document summaries (uses LLM).
1708
1719
  :type gen_doc_summaries: bool
1709
1720
  :param gen_doc_questions: Whether to auto-generate sample questions for each document (uses LLM).
@@ -1748,6 +1759,7 @@ class CollectionsApi:
1748
1759
  collection_id=collection_id,
1749
1760
  create_import_collection_to_collection_job_request=create_import_collection_to_collection_job_request,
1750
1761
  copy_document=copy_document,
1762
+ preserve_document_status=preserve_document_status,
1751
1763
  gen_doc_summaries=gen_doc_summaries,
1752
1764
  gen_doc_questions=gen_doc_questions,
1753
1765
  ocr_model=ocr_model,
@@ -1779,6 +1791,7 @@ class CollectionsApi:
1779
1791
  collection_id,
1780
1792
  create_import_collection_to_collection_job_request,
1781
1793
  copy_document,
1794
+ preserve_document_status,
1782
1795
  gen_doc_summaries,
1783
1796
  gen_doc_questions,
1784
1797
  ocr_model,
@@ -1816,6 +1829,10 @@ class CollectionsApi:
1816
1829
 
1817
1830
  _query_params.append(('copy_document', copy_document))
1818
1831
 
1832
+ if preserve_document_status is not None:
1833
+
1834
+ _query_params.append(('preserve_document_status', preserve_document_status))
1835
+
1819
1836
  if gen_doc_summaries is not None:
1820
1837
 
1821
1838
  _query_params.append(('gen_doc_summaries', gen_doc_summaries))
@@ -8039,6 +8056,270 @@ class CollectionsApi:
8039
8056
 
8040
8057
 
8041
8058
 
8059
+ @validate_call
8060
+ def list_collection_public_permissions(
8061
+ self,
8062
+ collection_id: Annotated[StrictStr, Field(description="Id of the collection.")],
8063
+ _request_timeout: Union[
8064
+ None,
8065
+ Annotated[StrictFloat, Field(gt=0)],
8066
+ Tuple[
8067
+ Annotated[StrictFloat, Field(gt=0)],
8068
+ Annotated[StrictFloat, Field(gt=0)]
8069
+ ]
8070
+ ] = None,
8071
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
8072
+ _content_type: Optional[StrictStr] = None,
8073
+ _headers: Optional[Dict[StrictStr, Any]] = None,
8074
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
8075
+ ) -> List[str]:
8076
+ """Returns the public permissions for a given collection.
8077
+
8078
+ Returns the list of public permissions for a collection. Returns an empty array if the collection is not public or has no permissions.
8079
+
8080
+ :param collection_id: Id of the collection. (required)
8081
+ :type collection_id: str
8082
+ :param _request_timeout: timeout setting for this request. If one
8083
+ number provided, it will be total request
8084
+ timeout. It can also be a pair (tuple) of
8085
+ (connection, read) timeouts.
8086
+ :type _request_timeout: int, tuple(int, int), optional
8087
+ :param _request_auth: set to override the auth_settings for an a single
8088
+ request; this effectively ignores the
8089
+ authentication in the spec for a single request.
8090
+ :type _request_auth: dict, optional
8091
+ :param _content_type: force content-type for the request.
8092
+ :type _content_type: str, Optional
8093
+ :param _headers: set to override the headers for a single
8094
+ request; this effectively ignores the headers
8095
+ in the spec for a single request.
8096
+ :type _headers: dict, optional
8097
+ :param _host_index: set to override the host_index for a single
8098
+ request; this effectively ignores the host_index
8099
+ in the spec for a single request.
8100
+ :type _host_index: int, optional
8101
+ :return: Returns the result object.
8102
+ """ # noqa: E501
8103
+
8104
+ _param = self._list_collection_public_permissions_serialize(
8105
+ collection_id=collection_id,
8106
+ _request_auth=_request_auth,
8107
+ _content_type=_content_type,
8108
+ _headers=_headers,
8109
+ _host_index=_host_index
8110
+ )
8111
+
8112
+ _response_types_map: Dict[str, Optional[str]] = {
8113
+ '200': "List[str]",
8114
+ '401': "EndpointError",
8115
+ }
8116
+ response_data = self.api_client.call_api(
8117
+ *_param,
8118
+ _request_timeout=_request_timeout
8119
+ )
8120
+ response_data.read()
8121
+ return self.api_client.response_deserialize(
8122
+ response_data=response_data,
8123
+ response_types_map=_response_types_map,
8124
+ ).data
8125
+
8126
+
8127
+ @validate_call
8128
+ def list_collection_public_permissions_with_http_info(
8129
+ self,
8130
+ collection_id: Annotated[StrictStr, Field(description="Id of the collection.")],
8131
+ _request_timeout: Union[
8132
+ None,
8133
+ Annotated[StrictFloat, Field(gt=0)],
8134
+ Tuple[
8135
+ Annotated[StrictFloat, Field(gt=0)],
8136
+ Annotated[StrictFloat, Field(gt=0)]
8137
+ ]
8138
+ ] = None,
8139
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
8140
+ _content_type: Optional[StrictStr] = None,
8141
+ _headers: Optional[Dict[StrictStr, Any]] = None,
8142
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
8143
+ ) -> ApiResponse[List[str]]:
8144
+ """Returns the public permissions for a given collection.
8145
+
8146
+ Returns the list of public permissions for a collection. Returns an empty array if the collection is not public or has no permissions.
8147
+
8148
+ :param collection_id: Id of the collection. (required)
8149
+ :type collection_id: str
8150
+ :param _request_timeout: timeout setting for this request. If one
8151
+ number provided, it will be total request
8152
+ timeout. It can also be a pair (tuple) of
8153
+ (connection, read) timeouts.
8154
+ :type _request_timeout: int, tuple(int, int), optional
8155
+ :param _request_auth: set to override the auth_settings for an a single
8156
+ request; this effectively ignores the
8157
+ authentication in the spec for a single request.
8158
+ :type _request_auth: dict, optional
8159
+ :param _content_type: force content-type for the request.
8160
+ :type _content_type: str, Optional
8161
+ :param _headers: set to override the headers for a single
8162
+ request; this effectively ignores the headers
8163
+ in the spec for a single request.
8164
+ :type _headers: dict, optional
8165
+ :param _host_index: set to override the host_index for a single
8166
+ request; this effectively ignores the host_index
8167
+ in the spec for a single request.
8168
+ :type _host_index: int, optional
8169
+ :return: Returns the result object.
8170
+ """ # noqa: E501
8171
+
8172
+ _param = self._list_collection_public_permissions_serialize(
8173
+ collection_id=collection_id,
8174
+ _request_auth=_request_auth,
8175
+ _content_type=_content_type,
8176
+ _headers=_headers,
8177
+ _host_index=_host_index
8178
+ )
8179
+
8180
+ _response_types_map: Dict[str, Optional[str]] = {
8181
+ '200': "List[str]",
8182
+ '401': "EndpointError",
8183
+ }
8184
+ response_data = self.api_client.call_api(
8185
+ *_param,
8186
+ _request_timeout=_request_timeout
8187
+ )
8188
+ response_data.read()
8189
+ return self.api_client.response_deserialize(
8190
+ response_data=response_data,
8191
+ response_types_map=_response_types_map,
8192
+ )
8193
+
8194
+
8195
+ @validate_call
8196
+ def list_collection_public_permissions_without_preload_content(
8197
+ self,
8198
+ collection_id: Annotated[StrictStr, Field(description="Id of the collection.")],
8199
+ _request_timeout: Union[
8200
+ None,
8201
+ Annotated[StrictFloat, Field(gt=0)],
8202
+ Tuple[
8203
+ Annotated[StrictFloat, Field(gt=0)],
8204
+ Annotated[StrictFloat, Field(gt=0)]
8205
+ ]
8206
+ ] = None,
8207
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
8208
+ _content_type: Optional[StrictStr] = None,
8209
+ _headers: Optional[Dict[StrictStr, Any]] = None,
8210
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
8211
+ ) -> RESTResponseType:
8212
+ """Returns the public permissions for a given collection.
8213
+
8214
+ Returns the list of public permissions for a collection. Returns an empty array if the collection is not public or has no permissions.
8215
+
8216
+ :param collection_id: Id of the collection. (required)
8217
+ :type collection_id: str
8218
+ :param _request_timeout: timeout setting for this request. If one
8219
+ number provided, it will be total request
8220
+ timeout. It can also be a pair (tuple) of
8221
+ (connection, read) timeouts.
8222
+ :type _request_timeout: int, tuple(int, int), optional
8223
+ :param _request_auth: set to override the auth_settings for an a single
8224
+ request; this effectively ignores the
8225
+ authentication in the spec for a single request.
8226
+ :type _request_auth: dict, optional
8227
+ :param _content_type: force content-type for the request.
8228
+ :type _content_type: str, Optional
8229
+ :param _headers: set to override the headers for a single
8230
+ request; this effectively ignores the headers
8231
+ in the spec for a single request.
8232
+ :type _headers: dict, optional
8233
+ :param _host_index: set to override the host_index for a single
8234
+ request; this effectively ignores the host_index
8235
+ in the spec for a single request.
8236
+ :type _host_index: int, optional
8237
+ :return: Returns the result object.
8238
+ """ # noqa: E501
8239
+
8240
+ _param = self._list_collection_public_permissions_serialize(
8241
+ collection_id=collection_id,
8242
+ _request_auth=_request_auth,
8243
+ _content_type=_content_type,
8244
+ _headers=_headers,
8245
+ _host_index=_host_index
8246
+ )
8247
+
8248
+ _response_types_map: Dict[str, Optional[str]] = {
8249
+ '200': "List[str]",
8250
+ '401': "EndpointError",
8251
+ }
8252
+ response_data = self.api_client.call_api(
8253
+ *_param,
8254
+ _request_timeout=_request_timeout
8255
+ )
8256
+ return response_data.response
8257
+
8258
+
8259
+ def _list_collection_public_permissions_serialize(
8260
+ self,
8261
+ collection_id,
8262
+ _request_auth,
8263
+ _content_type,
8264
+ _headers,
8265
+ _host_index,
8266
+ ) -> RequestSerialized:
8267
+
8268
+ _host = None
8269
+
8270
+ _collection_formats: Dict[str, str] = {
8271
+ }
8272
+
8273
+ _path_params: Dict[str, str] = {}
8274
+ _query_params: List[Tuple[str, str]] = []
8275
+ _header_params: Dict[str, Optional[str]] = _headers or {}
8276
+ _form_params: List[Tuple[str, str]] = []
8277
+ _files: Dict[
8278
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
8279
+ ] = {}
8280
+ _body_params: Optional[bytes] = None
8281
+
8282
+ # process the path parameters
8283
+ if collection_id is not None:
8284
+ _path_params['collection_id'] = collection_id
8285
+ # process the query parameters
8286
+ # process the header parameters
8287
+ # process the form parameters
8288
+ # process the body parameter
8289
+
8290
+
8291
+ # set the HTTP header `Accept`
8292
+ if 'Accept' not in _header_params:
8293
+ _header_params['Accept'] = self.api_client.select_header_accept(
8294
+ [
8295
+ 'application/json'
8296
+ ]
8297
+ )
8298
+
8299
+
8300
+ # authentication setting
8301
+ _auth_settings: List[str] = [
8302
+ 'bearerAuth'
8303
+ ]
8304
+
8305
+ return self.api_client.param_serialize(
8306
+ method='GET',
8307
+ resource_path='/collections/{collection_id}/public_permissions',
8308
+ path_params=_path_params,
8309
+ query_params=_query_params,
8310
+ header_params=_header_params,
8311
+ body=_body_params,
8312
+ post_params=_form_params,
8313
+ files=_files,
8314
+ auth_settings=_auth_settings,
8315
+ collection_formats=_collection_formats,
8316
+ _host=_host,
8317
+ _request_auth=_request_auth
8318
+ )
8319
+
8320
+
8321
+
8322
+
8042
8323
  @validate_call
8043
8324
  def list_collections(
8044
8325
  self,
@@ -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.7.0-dev1/python'
93
+ self.user_agent = 'OpenAPI-Generator/1.7.0-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.7.0-dev1".\
506
+ "SDK Package Version: 1.7.0-dev2".\
507
507
  format(env=sys.platform, pyversion=sys.version)
508
508
 
509
509
  def get_host_settings(self) -> List[HostSetting]:
h2ogpte/types.py CHANGED
@@ -259,9 +259,11 @@ class CollectionInfo(BaseModel):
259
259
  id: str
260
260
  name: str
261
261
  description: str
262
+ embedding_model: str
262
263
  document_count: int
263
264
  document_size: int
264
265
  updated_at: datetime
266
+ created_at: datetime
265
267
  user_count: int
266
268
  is_public: bool
267
269
  username: str
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: h2ogpte
3
- Version: 1.7.0rc1
3
+ Version: 1.7.0rc2
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,13 +1,13 @@
1
- h2ogpte/__init__.py,sha256=5fgRaIf-gXNieXWqHbaj-FttUmQuFrw4SbClEpWADk0,1523
1
+ h2ogpte/__init__.py,sha256=c04dEfUhi92pU_-FQhpRxqM2x5a1-mhRz50aKj7lRuk,1523
2
2
  h2ogpte/connectors.py,sha256=CRAEpkn9GotcCjWANfJjZ5Hq1cjGWJ4H_IO4eJgVWiI,8466
3
3
  h2ogpte/errors.py,sha256=XgLdfJO1fZ9Bf9rhUKpnvRzzvkNyan3Oc6WzGS6hCUA,1248
4
- h2ogpte/h2ogpte.py,sha256=VaSuzh1YTvfGdXd5btX1JiHRW6VfGGHk9-4FcKgf0e4,317627
5
- h2ogpte/h2ogpte_async.py,sha256=2OJn3sOwtWZ8CmiqwHuJV3pqvOXOSMss1hqrBUtid3w,337566
4
+ h2ogpte/h2ogpte.py,sha256=ArJNlm1WU_uNnP11w6rzN2YTeCmaS7vk-OHBxe_N2Q8,318930
5
+ h2ogpte/h2ogpte_async.py,sha256=uZwdXQ8n5YWcVEqoZ6ri2pcHgU4EtUX2mgTJxZbeCoQ,338885
6
6
  h2ogpte/h2ogpte_sync_base.py,sha256=ftsVzpMqEsyi0UACMI-7H_EIYEx9JEdEUImbyjWy_Hc,15285
7
7
  h2ogpte/session.py,sha256=I_ETIrTRZbuHj66bjxabEBblg33--vAY1BMkAYkGqZE,33037
8
8
  h2ogpte/session_async.py,sha256=GseDpeDevspXhK4Z6mhg6LeIjulnUXMv0SRJ3p4RZ2c,32005
9
9
  h2ogpte/shared_client.py,sha256=Zh24myL--5JDdrKoJPW4aeprHX6a_oB9o461Ho3hnU8,14691
10
- h2ogpte/types.py,sha256=LTdz14_lLNtdxSVbvhxkUmHVmg91ZCn4ZfXyg-QmKAU,16186
10
+ h2ogpte/types.py,sha256=2AiN_bSUyU4FSX4i8VVe8uxOfa7EKpnjm364mxiQeEk,16236
11
11
  h2ogpte/utils.py,sha256=Z9n57xxPu0KtsCzkJ9V_VgTW--oG_aXTLBgmXDWSdnM,3201
12
12
  h2ogpte/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
13
  h2ogpte/cli/main.py,sha256=Upf3t_5m1RqLh1jKGB6Gbyp3n9sujVny7sY-qxh2PYo,2722
@@ -41,17 +41,17 @@ 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=hvNglhdWXbHzs0KZOmgt_8E008_IWFjs57-aW01t0as,15239
45
- h2ogpte/rest_async/api_client.py,sha256=EjRijfYCIM_9sV6dHcIcFLdmKiq07EdIUgnRA1a7a_Q,29509
44
+ h2ogpte/rest_async/__init__.py,sha256=5N0zu-yL01O8Rfk-BgNyoYUZ9AQO__sLwSnU_iPG0pk,15239
45
+ h2ogpte/rest_async/api_client.py,sha256=xHtGtu2lhe4vQbsyq6EwrAuPE13blfYpY290JQn9J6c,29509
46
46
  h2ogpte/rest_async/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
47
- h2ogpte/rest_async/configuration.py,sha256=at_yykXhk48EO7Np_cRNJlfLH7YWOUodVlKCjzHFFzI,19566
47
+ h2ogpte/rest_async/configuration.py,sha256=MhPbL4cLU364aQQziXZwj8N2NpExlQhGdYIYxXfBxVU,19566
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
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=unIUiAM9RGa6ICmogl0Kfyz7_fFD_zU_iIisy61WIho,338235
54
- h2ogpte/rest_async/api/collections_api.py,sha256=kg6ZJyqNtnrqu2Q1cS8S-ViYPjXTEAynE2nlSQ-61HA,649556
54
+ h2ogpte/rest_async/api/collections_api.py,sha256=cZBEb748NCSFmmPdp0ex5_CN3vLry53KcQcDVR5ySPw,662852
55
55
  h2ogpte/rest_async/api/configurations_api.py,sha256=H9I2hukGC8ACin3cSUR3pAqtghJs0OUPJAzC9nOlkGY,127865
56
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
@@ -202,17 +202,17 @@ h2ogpte/rest_async/models/user_deletion_request.py,sha256=z7gD8XKOGwwg782TRzXJii
202
202
  h2ogpte/rest_async/models/user_info.py,sha256=ef59Eh9k42JUY3X2RnCrwYR7sc_8lXT1vRLGoNz3uTU,4489
203
203
  h2ogpte/rest_async/models/user_job_details.py,sha256=kzu8fLxVsRMgnyt6dLr0VWjlIoE3i1VRpGR9nDxFyk4,4985
204
204
  h2ogpte/rest_async/models/user_permission.py,sha256=1k74E7s2kD2waSZ79KPlgTupVYEacTKWMqcKxv2972A,4856
205
- h2ogpte/rest_sync/__init__.py,sha256=E83QHVj3Q3v4ZBwyA2FLDSUG4WRgq6Bi1-ZL48fn_Zg,15077
206
- h2ogpte/rest_sync/api_client.py,sha256=c_734EvlfD2MfgdPiyRvAGS8RnzwYmY5AbsDITioEK0,29396
205
+ h2ogpte/rest_sync/__init__.py,sha256=PTEu7UzZ-aH9wJCbH4v5Szub_rjJkEUievcWlKqmLro,15077
206
+ h2ogpte/rest_sync/api_client.py,sha256=mKsZ2awgDQeM-5rBeQjqEwbqv_9irba8MrZnounNwb8,29396
207
207
  h2ogpte/rest_sync/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
208
- h2ogpte/rest_sync/configuration.py,sha256=eJsCpNys4isKitF1SDzbdSPLnhMWoIrhl3MQebsPOTk,19849
208
+ h2ogpte/rest_sync/configuration.py,sha256=tLD9pgiP4pctBKEych8q5iRon35gXdh4kT7Bhou-vhI,19849
209
209
  h2ogpte/rest_sync/exceptions.py,sha256=aSDc-0lURtyQjf5HGa7_Ta0nATxKxfHW3huDA2Zdj6o,8370
210
210
  h2ogpte/rest_sync/rest.py,sha256=evRzviTYC_fsrpTtFlGvruXmquH9C0jDn-oQrGrE5A0,11314
211
211
  h2ogpte/rest_sync/api/__init__.py,sha256=ZuLQQtyiXnP5UOwTlIOYLGLQq1BG_0PEkzC9s698vjM,958
212
212
  h2ogpte/rest_sync/api/agents_api.py,sha256=4dEYWDm3Fcq2n6eF3I9Pl8uzXBDFNK6PQBehcSGChf0,185174
213
213
  h2ogpte/rest_sync/api/api_keys_api.py,sha256=MueDC8Z4VUC61IVIBem0kD0Wpgh35MvhoilUtPVLrN0,57997
214
214
  h2ogpte/rest_sync/api/chat_api.py,sha256=G1rvu7dMT3e6MmbNZ2e_Z5FeXw4z0Jziua0TTIWd9ms,336773
215
- h2ogpte/rest_sync/api/collections_api.py,sha256=DsM57mFCtEn7WjMen3-zbZz_fC0TH1-zttlXJGQwwCs,647030
215
+ h2ogpte/rest_sync/api/collections_api.py,sha256=vcJ-cl0mm4qKT53nHHIZTXlRJmFG4O3JbjTXfshXWHQ,660278
216
216
  h2ogpte/rest_sync/api/configurations_api.py,sha256=B39KQB3fRknMZ8PtDNBxWVX2aVGTQSmaE2nq6Ya8VkE,127330
217
217
  h2ogpte/rest_sync/api/document_ingestion_api.py,sha256=i7bLMjtFOvtr9zwgR2F-uXY1AhmW918axnm0T1vxU90,488230
218
218
  h2ogpte/rest_sync/api/documents_api.py,sha256=qRDBXrQaZWp_hGxg-7mqAFUMeeWd1EB2M_xIlzHh6rw,260474
@@ -363,8 +363,8 @@ h2ogpte/rest_sync/models/user_deletion_request.py,sha256=z7gD8XKOGwwg782TRzXJiiP
363
363
  h2ogpte/rest_sync/models/user_info.py,sha256=ef59Eh9k42JUY3X2RnCrwYR7sc_8lXT1vRLGoNz3uTU,4489
364
364
  h2ogpte/rest_sync/models/user_job_details.py,sha256=9cbhpgLMDpar-aTOaY5Ygud-8Kbi23cLNldTGab0Sd8,4984
365
365
  h2ogpte/rest_sync/models/user_permission.py,sha256=1k74E7s2kD2waSZ79KPlgTupVYEacTKWMqcKxv2972A,4856
366
- h2ogpte-1.7.0rc1.dist-info/METADATA,sha256=gv85OpsCpEmOr_YQoVb1LzL5kfLQ9LnTJ6XXIDRe2vs,8614
367
- h2ogpte-1.7.0rc1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
368
- h2ogpte-1.7.0rc1.dist-info/entry_points.txt,sha256=BlaqX2SXJanrOGqNYwnzvCxHGNadM7RBI4pW4rVo5z4,54
369
- h2ogpte-1.7.0rc1.dist-info/top_level.txt,sha256=vXV4JnNwFWFAqTWyHrH-cGIQqbCcEDG9-BbyNn58JpM,8
370
- h2ogpte-1.7.0rc1.dist-info/RECORD,,
366
+ h2ogpte-1.7.0rc2.dist-info/METADATA,sha256=djn-KX7kTvmP4d2bkxKO6Ev6CqwRQE9EAdSsThx2EqM,8614
367
+ h2ogpte-1.7.0rc2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
368
+ h2ogpte-1.7.0rc2.dist-info/entry_points.txt,sha256=BlaqX2SXJanrOGqNYwnzvCxHGNadM7RBI4pW4rVo5z4,54
369
+ h2ogpte-1.7.0rc2.dist-info/top_level.txt,sha256=vXV4JnNwFWFAqTWyHrH-cGIQqbCcEDG9-BbyNn58JpM,8
370
+ h2ogpte-1.7.0rc2.dist-info/RECORD,,