lmnr 0.4.45__tar.gz → 0.4.47__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.
- {lmnr-0.4.45 → lmnr-0.4.47}/PKG-INFO +2 -1
- {lmnr-0.4.45 → lmnr-0.4.47}/pyproject.toml +3 -2
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/openllmetry_sdk/decorators/base.py +2 -12
- {lmnr-0.4.45 → lmnr-0.4.47}/LICENSE +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/README.md +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/__init__.py +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/cli.py +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/openllmetry_sdk/.flake8 +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/openllmetry_sdk/.python-version +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/openllmetry_sdk/__init__.py +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/openllmetry_sdk/config/__init__.py +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/openllmetry_sdk/decorators/__init__.py +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/openllmetry_sdk/instruments.py +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/openllmetry_sdk/tracing/__init__.py +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/openllmetry_sdk/tracing/attributes.py +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/openllmetry_sdk/tracing/content_allow_list.py +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/openllmetry_sdk/tracing/context_manager.py +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/openllmetry_sdk/tracing/tracing.py +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/openllmetry_sdk/utils/__init__.py +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/openllmetry_sdk/utils/in_memory_span_exporter.py +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/openllmetry_sdk/utils/json_encoder.py +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/openllmetry_sdk/utils/package_check.py +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/openllmetry_sdk/version.py +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/sdk/__init__.py +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/sdk/datasets.py +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/sdk/decorators.py +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/sdk/eval_control.py +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/sdk/evaluations.py +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/sdk/laminar.py +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/sdk/log.py +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/sdk/types.py +0 -0
- {lmnr-0.4.45 → lmnr-0.4.47}/src/lmnr/sdk/utils.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: lmnr
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.47
|
4
4
|
Summary: Python SDK for Laminar AI
|
5
5
|
License: Apache-2.0
|
6
6
|
Author: lmnr.ai
|
@@ -78,6 +78,7 @@ Requires-Dist: opentelemetry-semantic-conventions-ai (==0.4.2)
|
|
78
78
|
Requires-Dist: pydantic (>=2.7)
|
79
79
|
Requires-Dist: python-dotenv (>=1.0)
|
80
80
|
Requires-Dist: requests (>=2.0)
|
81
|
+
Requires-Dist: tenacity (>=8.0)
|
81
82
|
Requires-Dist: tqdm (>=4.0)
|
82
83
|
Description-Content-Type: text/markdown
|
83
84
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
[project]
|
8
8
|
name = "lmnr"
|
9
|
-
version = "0.4.
|
9
|
+
version = "0.4.47"
|
10
10
|
description = "Python SDK for Laminar AI"
|
11
11
|
authors = [
|
12
12
|
{ name = "lmnr.ai", email = "founders@lmnr.ai" }
|
@@ -17,7 +17,7 @@ license = "Apache-2.0"
|
|
17
17
|
|
18
18
|
[tool.poetry]
|
19
19
|
name = "lmnr"
|
20
|
-
version = "0.4.
|
20
|
+
version = "0.4.47"
|
21
21
|
description = "Python SDK for Laminar AI"
|
22
22
|
authors = ["lmnr.ai"]
|
23
23
|
readme = "README.md"
|
@@ -41,6 +41,7 @@ deprecated = ">=1.0"
|
|
41
41
|
tqdm = ">=4.0"
|
42
42
|
argparse = ">=1.0"
|
43
43
|
aiohttp = ">=3.0"
|
44
|
+
tenacity = ">=8.0"
|
44
45
|
opentelemetry-instrumentation-alephalpha = {version = ">=0.33.12", optional = true}
|
45
46
|
opentelemetry-instrumentation-anthropic = {version = ">=0.33.12", optional = true}
|
46
47
|
opentelemetry-instrumentation-bedrock = {version = ">=0.33.12", optional = true}
|
@@ -3,7 +3,6 @@ from functools import wraps
|
|
3
3
|
import logging
|
4
4
|
import os
|
5
5
|
import pydantic
|
6
|
-
import traceback
|
7
6
|
import types
|
8
7
|
from typing import Any, Optional
|
9
8
|
|
@@ -192,14 +191,5 @@ def _should_send_prompts():
|
|
192
191
|
|
193
192
|
|
194
193
|
def _process_exception(span: Span, e: Exception):
|
195
|
-
|
196
|
-
|
197
|
-
span.add_event(
|
198
|
-
"exception",
|
199
|
-
{
|
200
|
-
"exception.message": str(e),
|
201
|
-
"exception.type": ".".join(exception_path),
|
202
|
-
"exception.stacktrace": traceback.format_exc(),
|
203
|
-
"exception.escaped": True,
|
204
|
-
},
|
205
|
-
)
|
194
|
+
# Note that this `escaped` is sent as a StringValue("True"), not a boolean.
|
195
|
+
span.record_exception(e, escaped=True)
|
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
|