calibrate-python-sdk 0.0.2__py3-none-any.whl → 0.0.3__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.
- artpark/client.py +4 -4
- artpark/core/client_wrapper.py +2 -2
- artpark/environment.py +1 -1
- {calibrate_python_sdk-0.0.2.dist-info → calibrate_python_sdk-0.0.3.dist-info}/METADATA +3 -5
- {calibrate_python_sdk-0.0.2.dist-info → calibrate_python_sdk-0.0.3.dist-info}/RECORD +7 -7
- {calibrate_python_sdk-0.0.2.dist-info → calibrate_python_sdk-0.0.3.dist-info}/LICENSE +0 -0
- {calibrate_python_sdk-0.0.2.dist-info → calibrate_python_sdk-0.0.3.dist-info}/WHEEL +0 -0
artpark/client.py
CHANGED
|
@@ -28,7 +28,7 @@ class Calibrate:
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
Defaults to CalibrateEnvironment.
|
|
31
|
+
Defaults to CalibrateEnvironment.DEFAULT
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
@@ -72,7 +72,7 @@ class Calibrate:
|
|
|
72
72
|
self,
|
|
73
73
|
*,
|
|
74
74
|
base_url: typing.Optional[str] = None,
|
|
75
|
-
environment: CalibrateEnvironment = CalibrateEnvironment.
|
|
75
|
+
environment: CalibrateEnvironment = CalibrateEnvironment.DEFAULT,
|
|
76
76
|
org_uuid: typing.Optional[str] = None,
|
|
77
77
|
api_key: str,
|
|
78
78
|
headers: typing.Optional[typing.Dict[str, str]] = None,
|
|
@@ -154,7 +154,7 @@ class AsyncCalibrate:
|
|
|
154
154
|
|
|
155
155
|
|
|
156
156
|
|
|
157
|
-
Defaults to CalibrateEnvironment.
|
|
157
|
+
Defaults to CalibrateEnvironment.DEFAULT
|
|
158
158
|
|
|
159
159
|
|
|
160
160
|
|
|
@@ -198,7 +198,7 @@ class AsyncCalibrate:
|
|
|
198
198
|
self,
|
|
199
199
|
*,
|
|
200
200
|
base_url: typing.Optional[str] = None,
|
|
201
|
-
environment: CalibrateEnvironment = CalibrateEnvironment.
|
|
201
|
+
environment: CalibrateEnvironment = CalibrateEnvironment.DEFAULT,
|
|
202
202
|
org_uuid: typing.Optional[str] = None,
|
|
203
203
|
api_key: str,
|
|
204
204
|
headers: typing.Optional[typing.Dict[str, str]] = None,
|
artpark/core/client_wrapper.py
CHANGED
|
@@ -35,12 +35,12 @@ class BaseClientWrapper:
|
|
|
35
35
|
import platform
|
|
36
36
|
|
|
37
37
|
headers: typing.Dict[str, str] = {
|
|
38
|
-
"User-Agent": "calibrate-python-sdk/0.0.
|
|
38
|
+
"User-Agent": "calibrate-python-sdk/0.0.3",
|
|
39
39
|
"X-Fern-Language": "Python",
|
|
40
40
|
"X-Fern-Runtime": f"python/{platform.python_version()}",
|
|
41
41
|
"X-Fern-Platform": f"{platform.system().lower()}/{platform.release()}",
|
|
42
42
|
"X-Fern-SDK-Name": "calibrate-python-sdk",
|
|
43
|
-
"X-Fern-SDK-Version": "0.0.
|
|
43
|
+
"X-Fern-SDK-Version": "0.0.3",
|
|
44
44
|
**(self.get_custom_headers() or {}),
|
|
45
45
|
}
|
|
46
46
|
if self._org_uuid is not None:
|
artpark/environment.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: calibrate-python-sdk
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.3
|
|
4
4
|
Summary:
|
|
5
5
|
License: MIT
|
|
6
6
|
Requires-Python: >=3.10,<4.0
|
|
@@ -33,7 +33,7 @@ Description-Content-Type: text/markdown
|
|
|
33
33
|
|
|
34
34
|
# Calibrate Python SDK
|
|
35
35
|
|
|
36
|
-
Python client for
|
|
36
|
+
Python client for [Calibrate](https://calibrate.artpark.ai), a framework for evaluating AI agents which let you move from slow, manual testing to a fast, automated, and repeatable testing process for your entire agent stack.
|
|
37
37
|
|
|
38
38
|
## Installation
|
|
39
39
|
|
|
@@ -46,10 +46,8 @@ pip install calibrate-python-sdk
|
|
|
46
46
|
```python
|
|
47
47
|
from calibrate_python_sdk import Calibrate
|
|
48
48
|
|
|
49
|
-
client = Calibrate(
|
|
49
|
+
client = Calibrate(api_key="sk_your_api_key") # get the API key from the UI
|
|
50
50
|
|
|
51
51
|
agents = client.agents.list()
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
This SDK is generated from Calibrate's public API with [Fern](https://buildwithfern.com).
|
|
55
|
-
|
|
@@ -6,10 +6,10 @@ artpark/agent_tests/raw_client.py,sha256=OsC-vnsmVXv799aYvnlXbeulw1ppEM624KqrwWl
|
|
|
6
6
|
artpark/agents/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
7
7
|
artpark/agents/client.py,sha256=y0RjfpTl6vYrjTyL-D9V-ybhPMBwEMZthG0BzWXf4Yw,6451
|
|
8
8
|
artpark/agents/raw_client.py,sha256=YU5-zi3b0mXmD-PpJp_H-l_xHZ0uByIZ0UbMGOFNLaE,11353
|
|
9
|
-
artpark/client.py,sha256=
|
|
9
|
+
artpark/client.py,sha256=WsmNJsUXqvHJckuIEzhCi41i7YVyJlk22gU9K6gDCtQ,11109
|
|
10
10
|
artpark/core/__init__.py,sha256=103ZnffsdqGZ7Y9uxirEu3sEhBGZxFdRy2HBjH15R2Y,4369
|
|
11
11
|
artpark/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
|
|
12
|
-
artpark/core/client_wrapper.py,sha256=
|
|
12
|
+
artpark/core/client_wrapper.py,sha256=7xZqbnTfADBWVNU9BTRfgBfafwCd0Ql3XNiETmQrpEk,5443
|
|
13
13
|
artpark/core/datetime_utils.py,sha256=ubW9ID5Is8Mz-4y_VXUpaExmvmknYFP3nSI1fCo6e6s,2498
|
|
14
14
|
artpark/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
15
15
|
artpark/core/force_multipart.py,sha256=cH981xLy0kZVKiZZkFoeUjgJ2Zuq7KXB2aRAnmHzRDc,477
|
|
@@ -28,7 +28,7 @@ artpark/core/query_encoder.py,sha256=ekulqNd0j8TgD7ox-Qbz7liqX8-KP9blvT9DsRCenYM
|
|
|
28
28
|
artpark/core/remove_none_from_dict.py,sha256=EU9SGgYidWq7SexuJbNs4-PZ-5Bl3Vppd864mS6vQZw,342
|
|
29
29
|
artpark/core/request_options.py,sha256=f0KEXCv_QfDEIYiFR3waz1QlXfK3ixwE3gJkGvcAA0s,1787
|
|
30
30
|
artpark/core/serialization.py,sha256=KbN6cX6jd0RlHgGOgcmpV04WnUqcVyJ7wZiodYkIkTE,12962
|
|
31
|
-
artpark/environment.py,sha256=
|
|
31
|
+
artpark/environment.py,sha256=rfc-6Bqqy5hcTzLM4pn2SO2H6zqfgdWK7xVQgxGEXiI,135
|
|
32
32
|
artpark/errors/__init__.py,sha256=4g1JPPnrPS-pG-WGU1S8HrYE5RoctStcA35abyL_tmI,1134
|
|
33
33
|
artpark/errors/unprocessable_entity_error.py,sha256=aDgvUf-6k1fSUL-OxI3MgOIFQNssTUNpv5vW9M4vfRc,401
|
|
34
34
|
artpark/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -50,7 +50,7 @@ artpark/types/tool_call_output.py,sha256=YQaaLOcFAMWFjg-2b4J7Bw_UOMRtRWg8mS15KVL
|
|
|
50
50
|
artpark/types/validation_error.py,sha256=Ou-GSQTdmDFWIFlP_y9ka_EUAavqFEFLonU9srAkJdc,642
|
|
51
51
|
artpark/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdtN9EB7HrLVo6EP0,128
|
|
52
52
|
artpark/version.py,sha256=xLtIwsQnrzzuUw8IsrB9OdYyl_RHkGHakTQQKKrm1Hw,87
|
|
53
|
-
calibrate_python_sdk-0.0.
|
|
54
|
-
calibrate_python_sdk-0.0.
|
|
55
|
-
calibrate_python_sdk-0.0.
|
|
56
|
-
calibrate_python_sdk-0.0.
|
|
53
|
+
calibrate_python_sdk-0.0.3.dist-info/LICENSE,sha256=aayjgC6W8OwmOm1vZz5jQa90CXP4IH5437sbh47TS7w,1064
|
|
54
|
+
calibrate_python_sdk-0.0.3.dist-info/METADATA,sha256=Gc9oE89Lby9uPSKFyM5bOSpLcDlqkFfC5C_X-xMHA2M,1896
|
|
55
|
+
calibrate_python_sdk-0.0.3.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
56
|
+
calibrate_python_sdk-0.0.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|