latitude-sdk 1.1.1__py3-none-any.whl → 2.0.0__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.
latitude_sdk/sdk/latitude.py
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
from typing import Optional
|
2
2
|
|
3
|
-
from latitude_telemetry import Telemetry, TelemetryOptions
|
4
3
|
from promptl_ai import Promptl, PromptlOptions
|
5
4
|
|
6
5
|
from latitude_sdk.client import Client, ClientOptions, RouterOptions
|
@@ -22,7 +21,6 @@ class InternalOptions(Model):
|
|
22
21
|
|
23
22
|
class LatitudeOptions(SdkOptions, Model):
|
24
23
|
promptl: Optional[PromptlOptions] = None
|
25
|
-
telemetry: Optional[TelemetryOptions] = None
|
26
24
|
internal: Optional[InternalOptions] = None
|
27
25
|
|
28
26
|
|
@@ -41,7 +39,6 @@ DEFAULT_INTERNAL_OPTIONS = InternalOptions(
|
|
41
39
|
|
42
40
|
|
43
41
|
DEFAULT_LATITUDE_OPTIONS = LatitudeOptions(
|
44
|
-
telemetry=None, # NOTE: Telemetry is opt-in
|
45
42
|
internal=DEFAULT_INTERNAL_OPTIONS,
|
46
43
|
)
|
47
44
|
|
@@ -51,7 +48,6 @@ class Latitude:
|
|
51
48
|
_client: Client
|
52
49
|
|
53
50
|
promptl: Promptl
|
54
|
-
telemetry: Optional[Telemetry]
|
55
51
|
|
56
52
|
prompts: Prompts
|
57
53
|
logs: Logs
|
@@ -81,9 +77,6 @@ class Latitude:
|
|
81
77
|
)
|
82
78
|
|
83
79
|
self.promptl = Promptl(self._options.promptl)
|
84
|
-
if self._options.telemetry:
|
85
|
-
self.telemetry = Telemetry(api_key, self._options.telemetry)
|
86
|
-
|
87
80
|
self.prompts = Prompts(self._client, self.promptl, self._options)
|
88
81
|
self.logs = Logs(self._client, self._options)
|
89
82
|
self.evaluations = Evaluations(self._client, self._options)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: latitude-sdk
|
3
|
-
Version:
|
3
|
+
Version: 2.0.0
|
4
4
|
Summary: Latitude SDK for Python
|
5
5
|
Project-URL: repository, https://github.com/latitude-dev/latitude-llm/tree/main/packages/sdks/python
|
6
6
|
Project-URL: homepage, https://github.com/latitude-dev/latitude-llm/tree/main/packages/sdks/python#readme
|
@@ -11,7 +11,6 @@ License-Expression: LGPL-3.0
|
|
11
11
|
Requires-Python: <3.13,>=3.9
|
12
12
|
Requires-Dist: httpx-sse>=0.4.0
|
13
13
|
Requires-Dist: httpx>=0.28.1
|
14
|
-
Requires-Dist: latitude-telemetry>=1.0.0
|
15
14
|
Requires-Dist: promptl-ai>=1.0.3
|
16
15
|
Requires-Dist: pydantic>=2.10.3
|
17
16
|
Requires-Dist: typing-extensions>=4.12.2
|
@@ -9,12 +9,12 @@ latitude_sdk/env/env.py,sha256=MnXexPOHE6aXcAszrDCbW7hzACUv4YtU1bfxpYwvHNw,455
|
|
9
9
|
latitude_sdk/sdk/__init__.py,sha256=C9LlIjfnrS7KOK3-ruXKmbT77nSQMm23nZ6-t8sO8ME,137
|
10
10
|
latitude_sdk/sdk/errors.py,sha256=9GlGdDE8LGy3dE2Ry_BipBg-tDbQx7LWXJfSnTJSSBE,1747
|
11
11
|
latitude_sdk/sdk/evaluations.py,sha256=fDGtAWjdPG9OuKLit6u-jufVleC1EnshRplK6RN8iyg,2277
|
12
|
-
latitude_sdk/sdk/latitude.py,sha256=
|
12
|
+
latitude_sdk/sdk/latitude.py,sha256=UpWHxZlaa7vYIiy35Lv12FpjeYqj5EtO8LWO_upxF9c,2626
|
13
13
|
latitude_sdk/sdk/logs.py,sha256=CyHkRJvPl_p7wTSvR9bgxEI5akS0Tjc9FeQRb2C2vMg,1997
|
14
14
|
latitude_sdk/sdk/prompts.py,sha256=VaBZr58aQtREWFlpZnKD8tWRFgGwy8Q7TP0fLUElC48,16853
|
15
15
|
latitude_sdk/sdk/types.py,sha256=_VMTl2BEpdIfKLZexKGALzd6ml4ayYQf6_yly088BXo,8371
|
16
16
|
latitude_sdk/util/__init__.py,sha256=alIDGBnxWH4JvP-UW-7N99seBBi0r1GV1h8f1ERFBec,21
|
17
17
|
latitude_sdk/util/utils.py,sha256=hMOmF-u1QaDgOwXN6ME6n4TaQ70yZKLvijDUqNCMwXI,2844
|
18
|
-
latitude_sdk-
|
19
|
-
latitude_sdk-
|
20
|
-
latitude_sdk-
|
18
|
+
latitude_sdk-2.0.0.dist-info/METADATA,sha256=-9Wbm-7svlI-4QLIGr9t5s0XnXHDF1vnifIzlayPb8s,2327
|
19
|
+
latitude_sdk-2.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
20
|
+
latitude_sdk-2.0.0.dist-info/RECORD,,
|
File without changes
|