groundx 2.0.20__py3-none-any.whl → 2.0.29__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.
groundx/__init__.py CHANGED
@@ -12,6 +12,7 @@ from .types import (
12
12
  Document,
13
13
  DocumentDetail,
14
14
  DocumentListResponse,
15
+ DocumentLocalIngestRequest,
15
16
  DocumentLookupResponse,
16
17
  DocumentResponse,
17
18
  DocumentType,
@@ -23,6 +24,7 @@ from .types import (
23
24
  HealthService,
24
25
  HealthServiceStatus,
25
26
  IngestLocalDocument,
27
+ IngestLocalDocumentMetadata,
26
28
  IngestRemoteDocument,
27
29
  IngestResponse,
28
30
  IngestResponseIngest,
@@ -47,8 +49,8 @@ from .types import (
47
49
  )
48
50
  from .errors import BadRequestError, UnauthorizedError
49
51
  from . import buckets, customer, documents, groups, health, search
50
- from .client import AsyncGroundX, GroundX
51
52
  from .environment import GroundXEnvironment
53
+ from .ingest import AsyncGroundX, GroundX
52
54
  from .search import SearchContentRequestId
53
55
  from .version import __version__
54
56
 
@@ -66,6 +68,7 @@ __all__ = [
66
68
  "Document",
67
69
  "DocumentDetail",
68
70
  "DocumentListResponse",
71
+ "DocumentLocalIngestRequest",
69
72
  "DocumentLookupResponse",
70
73
  "DocumentResponse",
71
74
  "DocumentType",
@@ -79,6 +82,7 @@ __all__ = [
79
82
  "HealthService",
80
83
  "HealthServiceStatus",
81
84
  "IngestLocalDocument",
85
+ "IngestLocalDocumentMetadata",
82
86
  "IngestRemoteDocument",
83
87
  "IngestResponse",
84
88
  "IngestResponseIngest",
groundx/client.py CHANGED
@@ -19,7 +19,7 @@ from .customer.client import AsyncCustomerClient
19
19
  from .health.client import AsyncHealthClient
20
20
 
21
21
 
22
- class GroundX:
22
+ class GroundXBase:
23
23
  """
24
24
  Use this class to access the different functions within the SDK. You can instantiate any number of clients with different configuration that will propagate to these functions.
25
25
 
@@ -85,7 +85,7 @@ class GroundX:
85
85
  self.health = HealthClient(client_wrapper=self._client_wrapper)
86
86
 
87
87
 
88
- class AsyncGroundX:
88
+ class AsyncGroundXBase:
89
89
  """
90
90
  Use this class to access the different functions within the SDK. You can instantiate any number of clients with different configuration that will propagate to these functions.
91
91
 
@@ -16,7 +16,7 @@ class BaseClientWrapper:
16
16
  headers: typing.Dict[str, str] = {
17
17
  "X-Fern-Language": "Python",
18
18
  "X-Fern-SDK-Name": "groundx",
19
- "X-Fern-SDK-Version": "2.0.20",
19
+ "X-Fern-SDK-Version": "2.0.29",
20
20
  }
21
21
  headers["X-API-Key"] = self.api_key
22
22
  return headers