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 +5 -1
- groundx/client.py +2 -2
- groundx/core/client_wrapper.py +1 -1
- groundx/documents/client.py +270 -443
- groundx/ingest.py +334 -0
- groundx/types/__init__.py +4 -0
- groundx/types/document.py +2 -2
- groundx/types/document_local_ingest_request.py +6 -0
- groundx/types/ingest_local_document.py +5 -23
- groundx/types/ingest_local_document_metadata.py +42 -0
- groundx/types/ingest_remote_document.py +1 -1
- groundx/types/website_source.py +1 -1
- {groundx-2.0.20.dist-info → groundx-2.0.29.dist-info}/METADATA +15 -28
- {groundx-2.0.20.dist-info → groundx-2.0.29.dist-info}/RECORD +16 -13
- {groundx-2.0.20.dist-info → groundx-2.0.29.dist-info}/LICENSE +0 -0
- {groundx-2.0.20.dist-info → groundx-2.0.29.dist-info}/WHEEL +0 -0
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
|
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
|
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
|
|
groundx/core/client_wrapper.py
CHANGED