groundx 2.5.7__tar.gz → 2.5.9__tar.gz
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.
Potentially problematic release.
This version of groundx might be problematic. Click here for more details.
- {groundx-2.5.7 → groundx-2.5.9}/PKG-INFO +1 -1
- {groundx-2.5.7 → groundx-2.5.9}/pyproject.toml +1 -1
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/core/client_wrapper.py +2 -2
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/classes/agent.py +2 -1
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/settings/settings.py +1 -0
- {groundx-2.5.7 → groundx-2.5.9}/LICENSE +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/README.md +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/__init__.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/buckets/__init__.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/buckets/client.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/buckets/raw_client.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/client.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/core/__init__.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/core/api_error.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/core/datetime_utils.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/core/file.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/core/force_multipart.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/core/http_client.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/core/http_response.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/core/jsonable_encoder.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/core/pydantic_utilities.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/core/query_encoder.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/core/remove_none_from_dict.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/core/request_options.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/core/serialization.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/csv_splitter.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/customer/__init__.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/customer/client.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/customer/raw_client.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/documents/__init__.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/documents/client.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/documents/raw_client.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/environment.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/errors/__init__.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/errors/bad_request_error.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/errors/unauthorized_error.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/__init__.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/agents/__init__.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/agents/agent.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/classes/__init__.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/classes/api.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/classes/document.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/classes/field.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/classes/groundx.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/classes/prompt.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/classes/test_document.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/classes/test_field.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/classes/test_groundx.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/classes/test_prompt.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/post_process/__init__.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/post_process/post_process.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/services/.DS_Store +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/services/__init__.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/services/csv.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/services/logger.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/services/logging_cfg.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/services/ratelimit.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/services/sheets_client.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/services/status.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/services/upload.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/services/upload_minio.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/services/upload_s3.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/services/utility.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/settings/__init__.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/settings/test_settings.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/tasks/__init__.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/tasks/utility.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/utility/__init__.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/utility/classes.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/extract/utility/test_utility.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/groups/__init__.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/groups/client.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/groups/raw_client.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/health/__init__.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/health/client.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/health/raw_client.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/ingest.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/py.typed +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/search/__init__.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/search/client.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/search/raw_client.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/search/types/__init__.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/search/types/search_content_request_id.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/__init__.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/bounding_box_detail.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/bucket_detail.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/bucket_list_response.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/bucket_response.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/bucket_update_detail.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/bucket_update_response.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/customer_detail.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/customer_response.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/document.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/document_detail.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/document_list_response.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/document_local_ingest_request.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/document_lookup_response.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/document_response.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/document_type.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/group_detail.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/group_list_response.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/group_response.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/health_response.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/health_response_health.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/health_service.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/health_service_status.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/ingest_local_document.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/ingest_local_document_metadata.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/ingest_remote_document.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/ingest_response.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/ingest_status.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/ingest_status_light.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/ingest_status_progress.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/ingest_status_progress_cancelled.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/ingest_status_progress_complete.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/ingest_status_progress_errors.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/ingest_status_progress_processing.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/message_response.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/meter_detail.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/process_level.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/processes_status_response.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/processing_status.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/search_response.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/search_response_search.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/search_result_item.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/search_result_item_pages_item.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/sort.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/sort_order.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/subscription_detail.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/subscription_detail_meters.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/types/website_source.py +0 -0
- {groundx-2.5.7 → groundx-2.5.9}/src/groundx/version.py +0 -0
|
@@ -14,10 +14,10 @@ class BaseClientWrapper:
|
|
|
14
14
|
|
|
15
15
|
def get_headers(self) -> typing.Dict[str, str]:
|
|
16
16
|
headers: typing.Dict[str, str] = {
|
|
17
|
-
"User-Agent": "groundx/2.5.
|
|
17
|
+
"User-Agent": "groundx/2.5.9",
|
|
18
18
|
"X-Fern-Language": "Python",
|
|
19
19
|
"X-Fern-SDK-Name": "groundx",
|
|
20
|
-
"X-Fern-SDK-Version": "2.5.
|
|
20
|
+
"X-Fern-SDK-Version": "2.5.9",
|
|
21
21
|
}
|
|
22
22
|
headers["X-API-Key"] = self.api_key
|
|
23
23
|
return headers
|
|
@@ -8,12 +8,13 @@ DocT = typing.TypeVar("DocT", bound=Document)
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class AgentRequest(BaseModel, typing.Generic[ReqT, DocT]):
|
|
11
|
-
allowed_request_types: typing.List[str] = []
|
|
11
|
+
allowed_request_types: typing.ClassVar[typing.List[str]] = []
|
|
12
12
|
request: ReqT
|
|
13
13
|
request_type: str
|
|
14
14
|
statement: DocT
|
|
15
15
|
|
|
16
16
|
@field_validator("request_type")
|
|
17
|
+
@classmethod
|
|
17
18
|
def validate_request_type(cls, value: str):
|
|
18
19
|
if value not in cls.allowed_request_types:
|
|
19
20
|
raise ValueError(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|