groundx 2.0.15__py3-none-any.whl → 2.7.7__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 +73 -21
- groundx/buckets/__init__.py +2 -0
- groundx/buckets/client.py +55 -388
- groundx/buckets/raw_client.py +628 -0
- groundx/client.py +22 -21
- groundx/core/__init__.py +5 -0
- groundx/core/api_error.py +13 -5
- groundx/core/client_wrapper.py +4 -3
- groundx/core/force_multipart.py +16 -0
- groundx/core/http_client.py +76 -32
- groundx/core/http_response.py +55 -0
- groundx/core/jsonable_encoder.py +0 -1
- groundx/core/pydantic_utilities.py +71 -112
- groundx/core/serialization.py +7 -3
- groundx/csv_splitter.py +64 -0
- groundx/customer/__init__.py +2 -0
- groundx/customer/client.py +31 -43
- groundx/customer/raw_client.py +91 -0
- groundx/documents/__init__.py +1 -2
- groundx/documents/client.py +455 -953
- groundx/documents/raw_client.py +1450 -0
- groundx/errors/__init__.py +2 -0
- groundx/errors/bad_request_error.py +4 -3
- groundx/errors/unauthorized_error.py +4 -3
- groundx/extract/__init__.py +48 -0
- groundx/extract/agents/__init__.py +7 -0
- groundx/extract/agents/agent.py +202 -0
- groundx/extract/classes/__init__.py +24 -0
- groundx/extract/classes/agent.py +23 -0
- groundx/extract/classes/api.py +15 -0
- groundx/extract/classes/document.py +338 -0
- groundx/extract/classes/field.py +88 -0
- groundx/extract/classes/groundx.py +147 -0
- groundx/extract/classes/prompt.py +36 -0
- groundx/extract/classes/test_document.py +109 -0
- groundx/extract/classes/test_field.py +43 -0
- groundx/extract/classes/test_groundx.py +223 -0
- groundx/extract/classes/test_prompt.py +68 -0
- groundx/extract/post_process/__init__.py +7 -0
- groundx/extract/post_process/post_process.py +33 -0
- groundx/extract/services/.DS_Store +0 -0
- groundx/extract/services/__init__.py +14 -0
- groundx/extract/services/csv.py +76 -0
- groundx/extract/services/logger.py +126 -0
- groundx/extract/services/logging_cfg.py +53 -0
- groundx/extract/services/ratelimit.py +104 -0
- groundx/extract/services/sheets_client.py +160 -0
- groundx/extract/services/status.py +197 -0
- groundx/extract/services/upload.py +68 -0
- groundx/extract/services/upload_minio.py +122 -0
- groundx/extract/services/upload_s3.py +91 -0
- groundx/extract/services/utility.py +52 -0
- groundx/extract/settings/__init__.py +15 -0
- groundx/extract/settings/settings.py +212 -0
- groundx/extract/settings/test_settings.py +512 -0
- groundx/extract/tasks/__init__.py +6 -0
- groundx/extract/tasks/utility.py +27 -0
- groundx/extract/utility/__init__.py +15 -0
- groundx/extract/utility/classes.py +193 -0
- groundx/extract/utility/test_utility.py +81 -0
- groundx/groups/__init__.py +2 -0
- groundx/groups/client.py +63 -550
- groundx/groups/raw_client.py +901 -0
- groundx/health/__init__.py +2 -0
- groundx/health/client.py +35 -101
- groundx/health/raw_client.py +193 -0
- groundx/ingest.py +771 -0
- groundx/search/__init__.py +2 -0
- groundx/search/client.py +94 -227
- groundx/search/raw_client.py +442 -0
- groundx/search/types/__init__.py +2 -0
- groundx/types/__init__.py +68 -16
- groundx/types/bounding_box_detail.py +4 -4
- groundx/types/bucket_detail.py +5 -5
- groundx/types/bucket_list_response.py +17 -3
- groundx/types/bucket_response.py +3 -3
- groundx/types/bucket_update_detail.py +4 -4
- groundx/types/bucket_update_response.py +3 -3
- groundx/types/customer_detail.py +2 -2
- groundx/types/customer_response.py +3 -3
- groundx/types/document.py +54 -0
- groundx/types/document_detail.py +16 -4
- groundx/types/document_list_response.py +4 -4
- groundx/types/document_local_ingest_request.py +7 -0
- groundx/types/document_lookup_response.py +8 -3
- groundx/types/document_response.py +3 -3
- groundx/types/document_type.py +21 -1
- groundx/types/group_detail.py +4 -4
- groundx/types/group_list_response.py +17 -3
- groundx/types/group_response.py +3 -3
- groundx/types/health_response.py +3 -3
- groundx/types/health_response_health.py +3 -3
- groundx/types/health_service.py +5 -5
- groundx/types/ingest_local_document.py +25 -0
- groundx/types/ingest_local_document_metadata.py +51 -0
- groundx/types/ingest_remote_document.py +15 -6
- groundx/types/ingest_response.py +4 -4
- groundx/types/{process_status_response_ingest.py → ingest_status.py} +8 -7
- groundx/types/{ingest_response_ingest.py → ingest_status_light.py} +7 -5
- groundx/types/ingest_status_progress.py +26 -0
- groundx/types/{process_status_response_ingest_progress_errors.py → ingest_status_progress_cancelled.py} +4 -4
- groundx/types/{process_status_response_ingest_progress_complete.py → ingest_status_progress_complete.py} +4 -4
- groundx/types/{process_status_response_ingest_progress_cancelled.py → ingest_status_progress_errors.py} +4 -4
- groundx/types/{process_status_response_ingest_progress_processing.py → ingest_status_progress_processing.py} +4 -4
- groundx/types/message_response.py +2 -2
- groundx/types/meter_detail.py +2 -2
- groundx/types/process_level.py +5 -0
- groundx/types/{process_status_response.py → processes_status_response.py} +8 -5
- groundx/types/processing_status.py +3 -1
- groundx/types/search_response.py +3 -3
- groundx/types/search_response_search.py +3 -3
- groundx/types/search_result_item.py +7 -5
- groundx/types/search_result_item_pages_item.py +41 -0
- groundx/types/subscription_detail.py +3 -3
- groundx/types/subscription_detail_meters.py +5 -5
- groundx/{documents/types/website_crawl_request_websites_item.py → types/website_source.py} +7 -7
- groundx/types/workflow_apply_request.py +24 -0
- groundx/types/workflow_detail.py +59 -0
- groundx/types/workflow_detail_chunk_strategy.py +5 -0
- groundx/types/workflow_detail_relationships.py +36 -0
- groundx/types/workflow_engine.py +58 -0
- groundx/types/workflow_engine_reasoning_effort.py +5 -0
- groundx/types/workflow_engine_service.py +7 -0
- groundx/types/workflow_prompt.py +37 -0
- groundx/types/workflow_prompt_group.py +25 -0
- groundx/types/workflow_prompt_role.py +5 -0
- groundx/types/workflow_request.py +31 -0
- groundx/types/workflow_request_chunk_strategy.py +5 -0
- groundx/types/workflow_response.py +20 -0
- groundx/types/workflow_step.py +33 -0
- groundx/types/workflow_step_config.py +33 -0
- groundx/types/workflow_step_config_field.py +8 -0
- groundx/types/workflow_steps.py +38 -0
- groundx/types/workflows_response.py +20 -0
- groundx/workflows/__init__.py +7 -0
- groundx/workflows/client.py +736 -0
- groundx/workflows/raw_client.py +841 -0
- groundx/workflows/types/__init__.py +7 -0
- groundx/workflows/types/workflows_get_request_id.py +5 -0
- {groundx-2.0.15.dist-info → groundx-2.7.7.dist-info}/LICENSE +1 -1
- {groundx-2.0.15.dist-info → groundx-2.7.7.dist-info}/METADATA +39 -22
- groundx-2.7.7.dist-info/RECORD +155 -0
- groundx/documents/types/__init__.py +0 -6
- groundx/documents/types/documents_ingest_local_request_files_item.py +0 -43
- groundx/types/process_status_response_ingest_progress.py +0 -26
- groundx-2.0.15.dist-info/RECORD +0 -82
- {groundx-2.0.15.dist-info → groundx-2.7.7.dist-info}/WHEEL +0 -0
groundx/__init__.py
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
|
+
# isort: skip_file
|
|
4
|
+
|
|
3
5
|
from .types import (
|
|
4
6
|
BoundingBoxDetail,
|
|
5
7
|
BucketDetail,
|
|
@@ -9,8 +11,10 @@ from .types import (
|
|
|
9
11
|
BucketUpdateResponse,
|
|
10
12
|
CustomerDetail,
|
|
11
13
|
CustomerResponse,
|
|
14
|
+
Document,
|
|
12
15
|
DocumentDetail,
|
|
13
16
|
DocumentListResponse,
|
|
17
|
+
DocumentLocalIngestRequest,
|
|
14
18
|
DocumentLookupResponse,
|
|
15
19
|
DocumentResponse,
|
|
16
20
|
DocumentType,
|
|
@@ -21,34 +25,57 @@ from .types import (
|
|
|
21
25
|
HealthResponseHealth,
|
|
22
26
|
HealthService,
|
|
23
27
|
HealthServiceStatus,
|
|
28
|
+
IngestLocalDocument,
|
|
29
|
+
IngestLocalDocumentMetadata,
|
|
24
30
|
IngestRemoteDocument,
|
|
25
31
|
IngestResponse,
|
|
26
|
-
|
|
32
|
+
IngestStatus,
|
|
33
|
+
IngestStatusLight,
|
|
34
|
+
IngestStatusProgress,
|
|
35
|
+
IngestStatusProgressCancelled,
|
|
36
|
+
IngestStatusProgressComplete,
|
|
37
|
+
IngestStatusProgressErrors,
|
|
38
|
+
IngestStatusProgressProcessing,
|
|
27
39
|
MessageResponse,
|
|
28
40
|
MeterDetail,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
ProcessStatusResponseIngestProgress,
|
|
32
|
-
ProcessStatusResponseIngestProgressCancelled,
|
|
33
|
-
ProcessStatusResponseIngestProgressComplete,
|
|
34
|
-
ProcessStatusResponseIngestProgressErrors,
|
|
35
|
-
ProcessStatusResponseIngestProgressProcessing,
|
|
41
|
+
ProcessLevel,
|
|
42
|
+
ProcessesStatusResponse,
|
|
36
43
|
ProcessingStatus,
|
|
37
44
|
SearchResponse,
|
|
38
45
|
SearchResponseSearch,
|
|
39
46
|
SearchResultItem,
|
|
47
|
+
SearchResultItemPagesItem,
|
|
40
48
|
Sort,
|
|
41
49
|
SortOrder,
|
|
42
50
|
SubscriptionDetail,
|
|
43
51
|
SubscriptionDetailMeters,
|
|
52
|
+
WebsiteSource,
|
|
53
|
+
WorkflowApplyRequest,
|
|
54
|
+
WorkflowDetail,
|
|
55
|
+
WorkflowDetailChunkStrategy,
|
|
56
|
+
WorkflowDetailRelationships,
|
|
57
|
+
WorkflowEngine,
|
|
58
|
+
WorkflowEngineReasoningEffort,
|
|
59
|
+
WorkflowEngineService,
|
|
60
|
+
WorkflowPrompt,
|
|
61
|
+
WorkflowPromptGroup,
|
|
62
|
+
WorkflowPromptRole,
|
|
63
|
+
WorkflowRequest,
|
|
64
|
+
WorkflowRequestChunkStrategy,
|
|
65
|
+
WorkflowResponse,
|
|
66
|
+
WorkflowStep,
|
|
67
|
+
WorkflowStepConfig,
|
|
68
|
+
WorkflowStepConfigField,
|
|
69
|
+
WorkflowSteps,
|
|
70
|
+
WorkflowsResponse,
|
|
44
71
|
)
|
|
45
72
|
from .errors import BadRequestError, UnauthorizedError
|
|
46
|
-
from . import buckets, customer, documents, groups, health, search
|
|
47
|
-
from .client import AsyncGroundX, GroundX
|
|
48
|
-
from .documents import DocumentsIngestLocalRequestFilesItem, WebsiteCrawlRequestWebsitesItem
|
|
73
|
+
from . import buckets, customer, documents, groups, health, search, workflows
|
|
49
74
|
from .environment import GroundXEnvironment
|
|
75
|
+
from .ingest import AsyncGroundX, GroundX
|
|
50
76
|
from .search import SearchContentRequestId
|
|
51
77
|
from .version import __version__
|
|
78
|
+
from .workflows import WorkflowsGetRequestId
|
|
52
79
|
|
|
53
80
|
__all__ = [
|
|
54
81
|
"AsyncGroundX",
|
|
@@ -61,12 +88,13 @@ __all__ = [
|
|
|
61
88
|
"BucketUpdateResponse",
|
|
62
89
|
"CustomerDetail",
|
|
63
90
|
"CustomerResponse",
|
|
91
|
+
"Document",
|
|
64
92
|
"DocumentDetail",
|
|
65
93
|
"DocumentListResponse",
|
|
94
|
+
"DocumentLocalIngestRequest",
|
|
66
95
|
"DocumentLookupResponse",
|
|
67
96
|
"DocumentResponse",
|
|
68
97
|
"DocumentType",
|
|
69
|
-
"DocumentsIngestLocalRequestFilesItem",
|
|
70
98
|
"GroundX",
|
|
71
99
|
"GroundXEnvironment",
|
|
72
100
|
"GroupDetail",
|
|
@@ -76,29 +104,52 @@ __all__ = [
|
|
|
76
104
|
"HealthResponseHealth",
|
|
77
105
|
"HealthService",
|
|
78
106
|
"HealthServiceStatus",
|
|
107
|
+
"IngestLocalDocument",
|
|
108
|
+
"IngestLocalDocumentMetadata",
|
|
79
109
|
"IngestRemoteDocument",
|
|
80
110
|
"IngestResponse",
|
|
81
|
-
"
|
|
111
|
+
"IngestStatus",
|
|
112
|
+
"IngestStatusLight",
|
|
113
|
+
"IngestStatusProgress",
|
|
114
|
+
"IngestStatusProgressCancelled",
|
|
115
|
+
"IngestStatusProgressComplete",
|
|
116
|
+
"IngestStatusProgressErrors",
|
|
117
|
+
"IngestStatusProgressProcessing",
|
|
82
118
|
"MessageResponse",
|
|
83
119
|
"MeterDetail",
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"ProcessStatusResponseIngestProgress",
|
|
87
|
-
"ProcessStatusResponseIngestProgressCancelled",
|
|
88
|
-
"ProcessStatusResponseIngestProgressComplete",
|
|
89
|
-
"ProcessStatusResponseIngestProgressErrors",
|
|
90
|
-
"ProcessStatusResponseIngestProgressProcessing",
|
|
120
|
+
"ProcessLevel",
|
|
121
|
+
"ProcessesStatusResponse",
|
|
91
122
|
"ProcessingStatus",
|
|
92
123
|
"SearchContentRequestId",
|
|
93
124
|
"SearchResponse",
|
|
94
125
|
"SearchResponseSearch",
|
|
95
126
|
"SearchResultItem",
|
|
127
|
+
"SearchResultItemPagesItem",
|
|
96
128
|
"Sort",
|
|
97
129
|
"SortOrder",
|
|
98
130
|
"SubscriptionDetail",
|
|
99
131
|
"SubscriptionDetailMeters",
|
|
100
132
|
"UnauthorizedError",
|
|
101
|
-
"
|
|
133
|
+
"WebsiteSource",
|
|
134
|
+
"WorkflowApplyRequest",
|
|
135
|
+
"WorkflowDetail",
|
|
136
|
+
"WorkflowDetailChunkStrategy",
|
|
137
|
+
"WorkflowDetailRelationships",
|
|
138
|
+
"WorkflowEngine",
|
|
139
|
+
"WorkflowEngineReasoningEffort",
|
|
140
|
+
"WorkflowEngineService",
|
|
141
|
+
"WorkflowPrompt",
|
|
142
|
+
"WorkflowPromptGroup",
|
|
143
|
+
"WorkflowPromptRole",
|
|
144
|
+
"WorkflowRequest",
|
|
145
|
+
"WorkflowRequestChunkStrategy",
|
|
146
|
+
"WorkflowResponse",
|
|
147
|
+
"WorkflowStep",
|
|
148
|
+
"WorkflowStepConfig",
|
|
149
|
+
"WorkflowStepConfigField",
|
|
150
|
+
"WorkflowSteps",
|
|
151
|
+
"WorkflowsGetRequestId",
|
|
152
|
+
"WorkflowsResponse",
|
|
102
153
|
"__version__",
|
|
103
154
|
"buckets",
|
|
104
155
|
"customer",
|
|
@@ -106,4 +157,5 @@ __all__ = [
|
|
|
106
157
|
"groups",
|
|
107
158
|
"health",
|
|
108
159
|
"search",
|
|
160
|
+
"workflows",
|
|
109
161
|
]
|
groundx/buckets/__init__.py
CHANGED