cwevals 0.0.1b1__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.
- coreweave_evaluations/__init__.py +90 -0
- coreweave_evaluations/_base_client.py +2131 -0
- coreweave_evaluations/_client.py +918 -0
- coreweave_evaluations/_compat.py +226 -0
- coreweave_evaluations/_constants.py +14 -0
- coreweave_evaluations/_exceptions.py +108 -0
- coreweave_evaluations/_files.py +173 -0
- coreweave_evaluations/_models.py +952 -0
- coreweave_evaluations/_qs.py +149 -0
- coreweave_evaluations/_resource.py +43 -0
- coreweave_evaluations/_response.py +835 -0
- coreweave_evaluations/_streaming.py +338 -0
- coreweave_evaluations/_types.py +273 -0
- coreweave_evaluations/_utils/__init__.py +64 -0
- coreweave_evaluations/_utils/_compat.py +45 -0
- coreweave_evaluations/_utils/_datetime_parse.py +136 -0
- coreweave_evaluations/_utils/_json.py +35 -0
- coreweave_evaluations/_utils/_logs.py +25 -0
- coreweave_evaluations/_utils/_path.py +127 -0
- coreweave_evaluations/_utils/_proxy.py +65 -0
- coreweave_evaluations/_utils/_reflection.py +42 -0
- coreweave_evaluations/_utils/_resources_proxy.py +24 -0
- coreweave_evaluations/_utils/_streams.py +12 -0
- coreweave_evaluations/_utils/_sync.py +58 -0
- coreweave_evaluations/_utils/_transform.py +457 -0
- coreweave_evaluations/_utils/_typing.py +156 -0
- coreweave_evaluations/_utils/_utils.py +433 -0
- coreweave_evaluations/_version.py +4 -0
- coreweave_evaluations/lib/.keep +4 -0
- coreweave_evaluations/py.typed +0 -0
- coreweave_evaluations/resources/__init__.py +131 -0
- coreweave_evaluations/resources/comparisons.py +344 -0
- coreweave_evaluations/resources/datasets/__init__.py +47 -0
- coreweave_evaluations/resources/datasets/cases.py +237 -0
- coreweave_evaluations/resources/datasets/datasets.py +297 -0
- coreweave_evaluations/resources/datasets/versions/__init__.py +47 -0
- coreweave_evaluations/resources/datasets/versions/cases.py +233 -0
- coreweave_evaluations/resources/datasets/versions/fields.py +208 -0
- coreweave_evaluations/resources/datasets/versions/versions.py +409 -0
- coreweave_evaluations/resources/eval_tables/__init__.py +61 -0
- coreweave_evaluations/resources/eval_tables/columns.py +245 -0
- coreweave_evaluations/resources/eval_tables/eval_tables.py +329 -0
- coreweave_evaluations/resources/eval_tables/rows.py +231 -0
- coreweave_evaluations/resources/eval_tables/versions/__init__.py +47 -0
- coreweave_evaluations/resources/eval_tables/versions/columns.py +212 -0
- coreweave_evaluations/resources/eval_tables/versions/rows.py +476 -0
- coreweave_evaluations/resources/eval_tables/versions/versions.py +286 -0
- coreweave_evaluations/resources/evaluations/__init__.py +33 -0
- coreweave_evaluations/resources/evaluations/evaluations.py +284 -0
- coreweave_evaluations/resources/evaluations/versions/__init__.py +61 -0
- coreweave_evaluations/resources/evaluations/versions/queries/__init__.py +33 -0
- coreweave_evaluations/resources/evaluations/versions/queries/queries.py +579 -0
- coreweave_evaluations/resources/evaluations/versions/queries/results.py +269 -0
- coreweave_evaluations/resources/evaluations/versions/results.py +251 -0
- coreweave_evaluations/resources/evaluations/versions/rows.py +484 -0
- coreweave_evaluations/resources/evaluations/versions/versions.py +468 -0
- coreweave_evaluations/resources/scorers/__init__.py +33 -0
- coreweave_evaluations/resources/scorers/scorers.py +274 -0
- coreweave_evaluations/resources/scorers/versions.py +385 -0
- coreweave_evaluations/resources/scores.py +358 -0
- coreweave_evaluations/resources/service.py +135 -0
- coreweave_evaluations/resources/trajectories.py +207 -0
- coreweave_evaluations/resources/verification.py +135 -0
- coreweave_evaluations/types/__init__.py +25 -0
- coreweave_evaluations/types/case_field_value_param.py +24 -0
- coreweave_evaluations/types/case_value_param.py +12 -0
- coreweave_evaluations/types/comparison_create_params.py +35 -0
- coreweave_evaluations/types/comparison_create_response.py +15 -0
- coreweave_evaluations/types/comparison_get_response.py +29 -0
- coreweave_evaluations/types/dataset_create_params.py +25 -0
- coreweave_evaluations/types/dataset_create_response.py +26 -0
- coreweave_evaluations/types/datasets/__init__.py +8 -0
- coreweave_evaluations/types/datasets/case_add_params.py +48 -0
- coreweave_evaluations/types/datasets/case_add_response.py +15 -0
- coreweave_evaluations/types/datasets/version_create_response.py +34 -0
- coreweave_evaluations/types/datasets/version_get_response.py +34 -0
- coreweave_evaluations/types/datasets/versions/__init__.py +7 -0
- coreweave_evaluations/types/datasets/versions/case_list_params.py +24 -0
- coreweave_evaluations/types/datasets/versions/case_list_response.py +27 -0
- coreweave_evaluations/types/datasets/versions/field_list_response.py +22 -0
- coreweave_evaluations/types/eval_table_create_params.py +25 -0
- coreweave_evaluations/types/eval_table_create_response.py +23 -0
- coreweave_evaluations/types/eval_tables/__init__.py +9 -0
- coreweave_evaluations/types/eval_tables/column_create_params.py +52 -0
- coreweave_evaluations/types/eval_tables/column_create_response.py +39 -0
- coreweave_evaluations/types/eval_tables/row_add_params.py +47 -0
- coreweave_evaluations/types/eval_tables/row_add_response.py +13 -0
- coreweave_evaluations/types/eval_tables/version_create_response.py +11 -0
- coreweave_evaluations/types/eval_tables/versions/__init__.py +9 -0
- coreweave_evaluations/types/eval_tables/versions/column_get_response.py +43 -0
- coreweave_evaluations/types/eval_tables/versions/row_list_params.py +40 -0
- coreweave_evaluations/types/eval_tables/versions/row_list_response.py +35 -0
- coreweave_evaluations/types/eval_tables/versions/row_search_params.py +31 -0
- coreweave_evaluations/types/eval_tables/versions/row_search_response.py +35 -0
- coreweave_evaluations/types/evaluation_create_params.py +44 -0
- coreweave_evaluations/types/evaluation_create_response.py +43 -0
- coreweave_evaluations/types/evaluations/__init__.py +7 -0
- coreweave_evaluations/types/evaluations/version_create_params.py +27 -0
- coreweave_evaluations/types/evaluations/version_create_response.py +37 -0
- coreweave_evaluations/types/evaluations/version_get_response.py +37 -0
- coreweave_evaluations/types/evaluations/versions/__init__.py +15 -0
- coreweave_evaluations/types/evaluations/versions/queries/__init__.py +6 -0
- coreweave_evaluations/types/evaluations/versions/queries/result_list_params.py +27 -0
- coreweave_evaluations/types/evaluations/versions/queries/result_list_response.py +85 -0
- coreweave_evaluations/types/evaluations/versions/query_create_params.py +94 -0
- coreweave_evaluations/types/evaluations/versions/query_create_response.py +89 -0
- coreweave_evaluations/types/evaluations/versions/query_get_response.py +89 -0
- coreweave_evaluations/types/evaluations/versions/query_list_params.py +24 -0
- coreweave_evaluations/types/evaluations/versions/query_list_response.py +96 -0
- coreweave_evaluations/types/evaluations/versions/result_list_params.py +24 -0
- coreweave_evaluations/types/evaluations/versions/result_list_response.py +42 -0
- coreweave_evaluations/types/evaluations/versions/row_list_params.py +40 -0
- coreweave_evaluations/types/evaluations/versions/row_list_response.py +37 -0
- coreweave_evaluations/types/evaluations/versions/row_search_params.py +31 -0
- coreweave_evaluations/types/evaluations/versions/row_search_response.py +37 -0
- coreweave_evaluations/types/score_create_params.py +41 -0
- coreweave_evaluations/types/score_create_response.py +15 -0
- coreweave_evaluations/types/score_get_response.py +37 -0
- coreweave_evaluations/types/scorer_create_params.py +29 -0
- coreweave_evaluations/types/scorer_create_response.py +27 -0
- coreweave_evaluations/types/scorers/__init__.py +7 -0
- coreweave_evaluations/types/scorers/version_create_params.py +29 -0
- coreweave_evaluations/types/scorers/version_create_response.py +27 -0
- coreweave_evaluations/types/scorers/version_get_response.py +27 -0
- coreweave_evaluations/types/service_get_response.py +9 -0
- coreweave_evaluations/types/verification_get_response.py +9 -0
- coreweave_evaluations/types/wandb_audio_v1_param.py +25 -0
- coreweave_evaluations/types/wandb_image_v1_param.py +36 -0
- coreweave_evaluations/types/wandb_video_v1_param.py +29 -0
- cwevals-0.0.1b1.dist-info/METADATA +418 -0
- cwevals-0.0.1b1.dist-info/RECORD +133 -0
- cwevals-0.0.1b1.dist-info/WHEEL +4 -0
- cwevals-0.0.1b1.dist-info/licenses/LICENSE +201 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import typing as _t
|
|
4
|
+
|
|
5
|
+
from . import types
|
|
6
|
+
from ._types import NOT_GIVEN, Omit, NoneType, NotGiven, Transport, ProxiesTypes, omit, not_given
|
|
7
|
+
from ._utils import file_from_path
|
|
8
|
+
from ._client import Client, Stream, Timeout, Transport, AsyncClient, AsyncStream, RequestOptions
|
|
9
|
+
from ._models import BaseModel
|
|
10
|
+
from ._version import __title__, __version__
|
|
11
|
+
from ._response import APIResponse as APIResponse, AsyncAPIResponse as AsyncAPIResponse
|
|
12
|
+
from ._constants import DEFAULT_TIMEOUT, DEFAULT_MAX_RETRIES, DEFAULT_CONNECTION_LIMITS
|
|
13
|
+
from ._exceptions import (
|
|
14
|
+
APIError,
|
|
15
|
+
ClientError,
|
|
16
|
+
ConflictError,
|
|
17
|
+
NotFoundError,
|
|
18
|
+
APIStatusError,
|
|
19
|
+
RateLimitError,
|
|
20
|
+
APITimeoutError,
|
|
21
|
+
BadRequestError,
|
|
22
|
+
APIConnectionError,
|
|
23
|
+
AuthenticationError,
|
|
24
|
+
InternalServerError,
|
|
25
|
+
PermissionDeniedError,
|
|
26
|
+
UnprocessableEntityError,
|
|
27
|
+
APIResponseValidationError,
|
|
28
|
+
)
|
|
29
|
+
from ._base_client import DefaultHttpxClient, DefaultAioHttpClient, DefaultAsyncHttpxClient
|
|
30
|
+
from ._utils._logs import setup_logging as _setup_logging
|
|
31
|
+
|
|
32
|
+
__all__ = [
|
|
33
|
+
"types",
|
|
34
|
+
"__version__",
|
|
35
|
+
"__title__",
|
|
36
|
+
"NoneType",
|
|
37
|
+
"Transport",
|
|
38
|
+
"ProxiesTypes",
|
|
39
|
+
"NotGiven",
|
|
40
|
+
"NOT_GIVEN",
|
|
41
|
+
"not_given",
|
|
42
|
+
"Omit",
|
|
43
|
+
"omit",
|
|
44
|
+
"ClientError",
|
|
45
|
+
"APIError",
|
|
46
|
+
"APIStatusError",
|
|
47
|
+
"APITimeoutError",
|
|
48
|
+
"APIConnectionError",
|
|
49
|
+
"APIResponseValidationError",
|
|
50
|
+
"BadRequestError",
|
|
51
|
+
"AuthenticationError",
|
|
52
|
+
"PermissionDeniedError",
|
|
53
|
+
"NotFoundError",
|
|
54
|
+
"ConflictError",
|
|
55
|
+
"UnprocessableEntityError",
|
|
56
|
+
"RateLimitError",
|
|
57
|
+
"InternalServerError",
|
|
58
|
+
"Timeout",
|
|
59
|
+
"RequestOptions",
|
|
60
|
+
"Client",
|
|
61
|
+
"AsyncClient",
|
|
62
|
+
"Stream",
|
|
63
|
+
"AsyncStream",
|
|
64
|
+
"file_from_path",
|
|
65
|
+
"BaseModel",
|
|
66
|
+
"DEFAULT_TIMEOUT",
|
|
67
|
+
"DEFAULT_MAX_RETRIES",
|
|
68
|
+
"DEFAULT_CONNECTION_LIMITS",
|
|
69
|
+
"DefaultHttpxClient",
|
|
70
|
+
"DefaultAsyncHttpxClient",
|
|
71
|
+
"DefaultAioHttpClient",
|
|
72
|
+
]
|
|
73
|
+
|
|
74
|
+
if not _t.TYPE_CHECKING:
|
|
75
|
+
from ._utils._resources_proxy import resources as resources
|
|
76
|
+
|
|
77
|
+
_setup_logging()
|
|
78
|
+
|
|
79
|
+
# Update the __module__ attribute for exported symbols so that
|
|
80
|
+
# error messages point to this module instead of the module
|
|
81
|
+
# it was originally defined in, e.g.
|
|
82
|
+
# coreweave_evaluations._exceptions.NotFoundError -> coreweave_evaluations.NotFoundError
|
|
83
|
+
__locals = locals()
|
|
84
|
+
for __name in __all__:
|
|
85
|
+
if not __name.startswith("__"):
|
|
86
|
+
try:
|
|
87
|
+
__locals[__name].__module__ = "coreweave_evaluations"
|
|
88
|
+
except (TypeError, AttributeError):
|
|
89
|
+
# Some of our exported symbols are builtins which we can't set attributes for.
|
|
90
|
+
pass
|