lmnr 0.4.23__py3-none-any.whl → 0.4.24__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.
- lmnr/__init__.py +1 -0
- lmnr/sdk/datasets.py +58 -0
- lmnr/sdk/evaluations.py +22 -38
- lmnr/sdk/laminar.py +51 -2
- lmnr/sdk/log.py +10 -0
- lmnr/sdk/types.py +7 -0
- lmnr/traceloop_sdk/decorators/base.py +4 -6
- lmnr/traceloop_sdk/tracing/attributes.py +12 -0
- {lmnr-0.4.23.dist-info → lmnr-0.4.24.dist-info}/METADATA +2 -1
- {lmnr-0.4.23.dist-info → lmnr-0.4.24.dist-info}/RECORD +13 -12
- {lmnr-0.4.23.dist-info → lmnr-0.4.24.dist-info}/LICENSE +0 -0
- {lmnr-0.4.23.dist-info → lmnr-0.4.24.dist-info}/WHEEL +0 -0
- {lmnr-0.4.23.dist-info → lmnr-0.4.24.dist-info}/entry_points.txt +0 -0
lmnr/__init__.py
CHANGED
lmnr/sdk/datasets.py
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
from abc import ABC, abstractmethod
|
2
|
+
import logging
|
3
|
+
|
4
|
+
from .log import get_default_logger
|
5
|
+
from .laminar import Laminar as L
|
6
|
+
from .types import (
|
7
|
+
Datapoint,
|
8
|
+
)
|
9
|
+
|
10
|
+
DEFAULT_FETCH_SIZE = 25
|
11
|
+
|
12
|
+
|
13
|
+
class EvaluationDataset(ABC):
|
14
|
+
@abstractmethod
|
15
|
+
def __init__(self, *args, **kwargs):
|
16
|
+
pass
|
17
|
+
|
18
|
+
@abstractmethod
|
19
|
+
def __len__(self) -> int:
|
20
|
+
pass
|
21
|
+
|
22
|
+
@abstractmethod
|
23
|
+
def __getitem__(self, idx) -> Datapoint:
|
24
|
+
pass
|
25
|
+
|
26
|
+
def slice(self, start: int, end: int):
|
27
|
+
return [self[i] for i in range(max(start, 0), min(end, len(self)))]
|
28
|
+
|
29
|
+
|
30
|
+
class LaminarDataset(EvaluationDataset):
|
31
|
+
def __init__(self, name: str, fetch_size: int = DEFAULT_FETCH_SIZE):
|
32
|
+
self.name = name
|
33
|
+
self._len = None
|
34
|
+
self._fetched_items = []
|
35
|
+
self._offset = 0
|
36
|
+
self._fetch_size = fetch_size
|
37
|
+
self._logger = get_default_logger(self.__class__.__name__, level=logging.DEBUG)
|
38
|
+
|
39
|
+
def _fetch_batch(self):
|
40
|
+
self._logger.debug(
|
41
|
+
f"dataset {self.name}. Fetching batch from {self._offset} to "
|
42
|
+
+ f"{self._offset + self._fetch_size}"
|
43
|
+
)
|
44
|
+
resp = L.get_datapoints(self.name, self._offset, self._fetch_size)
|
45
|
+
self._fetched_items += resp.items
|
46
|
+
self._offset = len(self._fetched_items)
|
47
|
+
if self._len is None:
|
48
|
+
self._len = resp.totalCount
|
49
|
+
|
50
|
+
def __len__(self) -> int:
|
51
|
+
if self._len is None:
|
52
|
+
self._fetch_batch()
|
53
|
+
return self._len
|
54
|
+
|
55
|
+
def __getitem__(self, idx) -> Datapoint:
|
56
|
+
if idx >= len(self._fetched_items):
|
57
|
+
self._fetch_batch()
|
58
|
+
return self._fetched_items[idx]
|
lmnr/sdk/evaluations.py
CHANGED
@@ -1,17 +1,18 @@
|
|
1
1
|
import asyncio
|
2
2
|
import re
|
3
3
|
import sys
|
4
|
-
from abc import ABC, abstractmethod
|
5
|
-
from contextlib import contextmanager
|
6
|
-
from typing import Any, Awaitable, Optional, Set, Union
|
7
4
|
import uuid
|
8
5
|
|
6
|
+
from contextlib import contextmanager
|
9
7
|
from tqdm import tqdm
|
8
|
+
from typing import Any, Awaitable, Optional, Set, Union
|
10
9
|
|
11
10
|
from ..traceloop_sdk.instruments import Instruments
|
12
11
|
from ..traceloop_sdk.tracing.attributes import SPAN_TYPE
|
13
12
|
|
13
|
+
from .datasets import EvaluationDataset
|
14
14
|
from .laminar import Laminar as L
|
15
|
+
from .log import get_default_logger
|
15
16
|
from .types import (
|
16
17
|
Datapoint,
|
17
18
|
EvaluationResultDatapoint,
|
@@ -84,7 +85,7 @@ class EvaluationReporter:
|
|
84
85
|
):
|
85
86
|
self.cli_progress.close()
|
86
87
|
print(
|
87
|
-
f"\nCheck
|
88
|
+
f"\nCheck the results at {get_evaluation_url(project_id, evaluation_id)}\n"
|
88
89
|
)
|
89
90
|
print("Average scores:")
|
90
91
|
for name, score in average_scores.items():
|
@@ -92,23 +93,6 @@ class EvaluationReporter:
|
|
92
93
|
print("\n")
|
93
94
|
|
94
95
|
|
95
|
-
class EvaluationDataset(ABC):
|
96
|
-
@abstractmethod
|
97
|
-
def __init__(self, *args, **kwargs):
|
98
|
-
pass
|
99
|
-
|
100
|
-
@abstractmethod
|
101
|
-
def __len__(self) -> int:
|
102
|
-
pass
|
103
|
-
|
104
|
-
@abstractmethod
|
105
|
-
def __getitem__(self, idx) -> Datapoint:
|
106
|
-
pass
|
107
|
-
|
108
|
-
def slice(self, start: int, end: int):
|
109
|
-
return [self[i] for i in range(max(start, 0), min(end, len(self)))]
|
110
|
-
|
111
|
-
|
112
96
|
class Evaluation:
|
113
97
|
def __init__(
|
114
98
|
self,
|
@@ -135,14 +119,13 @@ class Evaluation:
|
|
135
119
|
executor (Callable[..., Any]): The executor function.\
|
136
120
|
Takes the data point + any additional arguments\
|
137
121
|
and returns the output to evaluate.
|
138
|
-
evaluators (
|
139
|
-
Each evaluator function takes the output of the executor
|
140
|
-
the target data, and returns a score. The score can be a\
|
141
|
-
single number or a
|
122
|
+
evaluators (dict[str, Callable[..., Any]]): Evaluator functions and\
|
123
|
+
names. Each evaluator function takes the output of the executor\
|
124
|
+
_and_ the target data, and returns a score. The score can be a\
|
125
|
+
single number or a dict of string keys and number values.\
|
142
126
|
If the score is a single number, it will be named after the\
|
143
|
-
evaluator function.
|
144
|
-
|
145
|
-
evaluator function in the list starting from 1.
|
127
|
+
evaluator function. Evaluator function names must contain only\
|
128
|
+
letters, digits, hyphens, underscores, or spaces.
|
146
129
|
group_id (Optional[str], optional): Group id of the evaluation.
|
147
130
|
Defaults to "default".
|
148
131
|
name (Optional[str], optional): The name of the evaluation.\
|
@@ -191,6 +174,7 @@ class Evaluation:
|
|
191
174
|
self.group_id = group_id
|
192
175
|
self.name = name
|
193
176
|
self.batch_size = batch_size
|
177
|
+
self._logger = get_default_logger(self.__class__.__name__)
|
194
178
|
L.initialize(
|
195
179
|
project_api_key=project_api_key,
|
196
180
|
base_url=base_url,
|
@@ -215,7 +199,7 @@ class Evaluation:
|
|
215
199
|
)
|
216
200
|
|
217
201
|
try:
|
218
|
-
result_datapoints = await self.
|
202
|
+
result_datapoints = await self._evaluate_in_batches()
|
219
203
|
except Exception as e:
|
220
204
|
self.reporter.stopWithError(e)
|
221
205
|
self.is_finished = True
|
@@ -228,7 +212,7 @@ class Evaluation:
|
|
228
212
|
self.reporter.stop(average_scores, evaluation.projectId, evaluation.id)
|
229
213
|
self.is_finished = True
|
230
214
|
|
231
|
-
async def
|
215
|
+
async def _evaluate_in_batches(self) -> list[EvaluationResultDatapoint]:
|
232
216
|
result_datapoints = []
|
233
217
|
for i in range(0, len(self.data), self.batch_size):
|
234
218
|
batch = (
|
@@ -326,14 +310,14 @@ def evaluate(
|
|
326
310
|
executor (Callable[..., Any]): The executor function.\
|
327
311
|
Takes the data point + any additional arguments\
|
328
312
|
and returns the output to evaluate.
|
329
|
-
evaluators (List[Callable[..., Any]]):
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
313
|
+
evaluators (List[Callable[..., Any]]):
|
314
|
+
evaluators (dict[str, Callable[..., Any]]): Evaluator functions and\
|
315
|
+
names. Each evaluator function takes the output of the executor\
|
316
|
+
_and_ the target data, and returns a score. The score can be a\
|
317
|
+
single number or a dict of string keys and number values.\
|
318
|
+
If the score is a single number, it will be named after the\
|
319
|
+
evaluator function. Evaluator function names must contain only\
|
320
|
+
letters, digits, hyphens, underscores, or spaces.
|
337
321
|
group_id (Optional[str], optional): an identifier to group evaluations.\
|
338
322
|
It is practical to group evaluations that evaluate\
|
339
323
|
the same feature on the same dataset, to be able to\
|
lmnr/sdk/laminar.py
CHANGED
@@ -24,6 +24,7 @@ import json
|
|
24
24
|
import logging
|
25
25
|
import os
|
26
26
|
import requests
|
27
|
+
import urllib.parse
|
27
28
|
import uuid
|
28
29
|
|
29
30
|
from lmnr.traceloop_sdk.tracing.attributes import (
|
@@ -45,6 +46,7 @@ from .log import VerboseColorfulFormatter
|
|
45
46
|
from .types import (
|
46
47
|
CreateEvaluationResponse,
|
47
48
|
EvaluationResultDatapoint,
|
49
|
+
GetDatapointsResponse,
|
48
50
|
PipelineRunError,
|
49
51
|
PipelineRunResponse,
|
50
52
|
NodeInput,
|
@@ -284,7 +286,9 @@ class Laminar:
|
|
284
286
|
span_type: Union[Literal["DEFAULT"], Literal["LLM"]] = "DEFAULT",
|
285
287
|
):
|
286
288
|
"""Start a new span as the current span. Useful for manual
|
287
|
-
instrumentation.
|
289
|
+
instrumentation. If `span_type` is set to `"LLM"`, you should report
|
290
|
+
usage and response attributes manually. See `Laminar.set_span_attributes`
|
291
|
+
for more information.
|
288
292
|
|
289
293
|
Usage example:
|
290
294
|
```python
|
@@ -297,6 +301,9 @@ class Laminar:
|
|
297
301
|
name (str): name of the span
|
298
302
|
input (Any, optional): input to the span. Will be sent as an\
|
299
303
|
attribute, so must be json serializable. Defaults to None.
|
304
|
+
span_type (Union[Literal["DEFAULT"], Literal["LLM"]], optional):\
|
305
|
+
type of the span. If you use `"LLM"`, you should report usage\
|
306
|
+
and response attributes manually. Defaults to "DEFAULT".
|
300
307
|
"""
|
301
308
|
with get_tracer() as tracer:
|
302
309
|
span_path = get_span_path(name)
|
@@ -341,6 +348,22 @@ class Laminar:
|
|
341
348
|
):
|
342
349
|
"""Set attributes for the current span. Useful for manual
|
343
350
|
instrumentation.
|
351
|
+
Example:
|
352
|
+
```python
|
353
|
+
with L.start_as_current_span(
|
354
|
+
name="my_span_name", input=input["messages"], span_type="LLM"
|
355
|
+
):
|
356
|
+
response = await my_custom_call_to_openai(input)
|
357
|
+
L.set_span_output(response["choices"][0]["message"]["content"])
|
358
|
+
L.set_span_attributes({
|
359
|
+
Attributes.PROVIDER: 'openai',
|
360
|
+
Attributes.REQUEST_MODEL: input["model"],
|
361
|
+
Attributes.RESPONSE_MODEL: response["model"],
|
362
|
+
Attributes.INPUT_TOKEN_COUNT: response["usage"]["prompt_tokens"],
|
363
|
+
Attributes.OUTPUT_TOKEN_COUNT: response["usage"]["completion_tokens"],
|
364
|
+
})
|
365
|
+
# ...
|
366
|
+
```
|
344
367
|
|
345
368
|
Args:
|
346
369
|
attributes (dict[ATTRIBUTES, Any]): attributes to set for the span
|
@@ -433,10 +456,36 @@ class Laminar:
|
|
433
456
|
try:
|
434
457
|
resp_json = response.json()
|
435
458
|
raise ValueError(f"Error creating evaluation {json.dumps(resp_json)}")
|
436
|
-
except
|
459
|
+
except requests.exceptions.RequestException:
|
437
460
|
raise ValueError(f"Error creating evaluation {response.text}")
|
438
461
|
return CreateEvaluationResponse.model_validate(response.json())
|
439
462
|
|
463
|
+
@classmethod
|
464
|
+
def get_datapoints(
|
465
|
+
cls,
|
466
|
+
dataset_name: str,
|
467
|
+
offset: int,
|
468
|
+
limit: int,
|
469
|
+
) -> GetDatapointsResponse:
|
470
|
+
params = {"name": dataset_name, "offset": offset, "limit": limit}
|
471
|
+
url = (
|
472
|
+
cls.__base_http_url
|
473
|
+
+ "/v1/datasets/datapoints?"
|
474
|
+
+ urllib.parse.urlencode(params)
|
475
|
+
)
|
476
|
+
response = requests.get(url, headers=cls._headers())
|
477
|
+
if response.status_code != 200:
|
478
|
+
try:
|
479
|
+
resp_json = response.json()
|
480
|
+
raise ValueError(
|
481
|
+
f"Error fetching datapoints: [{response.status_code}] {json.dumps(resp_json)}"
|
482
|
+
)
|
483
|
+
except requests.exceptions.RequestException:
|
484
|
+
raise ValueError(
|
485
|
+
f"Error fetching datapoints: [{response.status_code}] {response.text}"
|
486
|
+
)
|
487
|
+
return GetDatapointsResponse.model_validate(response.json())
|
488
|
+
|
440
489
|
@classmethod
|
441
490
|
def _headers(cls):
|
442
491
|
assert cls.__project_api_key is not None, "Project API key is not set"
|
lmnr/sdk/log.py
CHANGED
@@ -37,3 +37,13 @@ class VerboseFormatter(CustomFormatter):
|
|
37
37
|
def format(self, record):
|
38
38
|
formatter = logging.Formatter(self.fmt)
|
39
39
|
return formatter.format(record)
|
40
|
+
|
41
|
+
|
42
|
+
def get_default_logger(name: str, level: int = logging.INFO, propagate: bool = False):
|
43
|
+
logger = logging.getLogger(name)
|
44
|
+
logger.setLevel(level)
|
45
|
+
console_log_handler = logging.StreamHandler()
|
46
|
+
console_log_handler.setFormatter(VerboseColorfulFormatter())
|
47
|
+
logger.addHandler(console_log_handler)
|
48
|
+
logger.propagate = propagate
|
49
|
+
return logger
|
lmnr/sdk/types.py
CHANGED
@@ -79,6 +79,7 @@ class PipelineRunError(Exception):
|
|
79
79
|
|
80
80
|
EvaluationDatapointData = dict[str, Any]
|
81
81
|
EvaluationDatapointTarget = dict[str, Any]
|
82
|
+
EvaluationDatapointMetadata = Optional[dict[str, Any]]
|
82
83
|
|
83
84
|
|
84
85
|
# EvaluationDatapoint is a single data point in the evaluation
|
@@ -88,6 +89,7 @@ class Datapoint(pydantic.BaseModel):
|
|
88
89
|
# input to the evaluator function (alongside the executor output).
|
89
90
|
# Must be a dict with string keys
|
90
91
|
target: EvaluationDatapointTarget
|
92
|
+
metadata: EvaluationDatapointMetadata = pydantic.Field(default=None)
|
91
93
|
|
92
94
|
|
93
95
|
ExecutorFunctionReturnType = Any
|
@@ -153,3 +155,8 @@ class TraceType(Enum):
|
|
153
155
|
DEFAULT = "DEFAULT"
|
154
156
|
EVENT = "EVENT" # must not be set manually
|
155
157
|
EVALUATION = "EVALUATION"
|
158
|
+
|
159
|
+
|
160
|
+
class GetDatapointsResponse(pydantic.BaseModel):
|
161
|
+
items: list[Datapoint]
|
162
|
+
totalCount: int
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import json
|
2
2
|
from functools import wraps
|
3
|
+
import logging
|
3
4
|
import os
|
4
5
|
import pydantic
|
5
6
|
import types
|
6
7
|
from typing import Any, Optional
|
7
|
-
import warnings
|
8
8
|
|
9
9
|
from opentelemetry import trace
|
10
10
|
from opentelemetry import context as context_api
|
@@ -28,12 +28,10 @@ class CustomJSONEncoder(JSONEncoder):
|
|
28
28
|
|
29
29
|
def json_dumps(data: dict) -> str:
|
30
30
|
try:
|
31
|
-
|
32
|
-
warnings.simplefilter("ignore", RuntimeWarning)
|
33
|
-
return json.dumps(data, cls=CustomJSONEncoder)
|
31
|
+
return json.dumps(data, cls=CustomJSONEncoder)
|
34
32
|
except Exception:
|
35
33
|
# Log the exception and return a placeholder if serialization completely fails
|
36
|
-
|
34
|
+
logging.warning("Failed to serialize data to JSON, type: %s", type(data))
|
37
35
|
return "{}" # Return an empty JSON object as a fallback
|
38
36
|
|
39
37
|
|
@@ -141,7 +139,7 @@ def aentity_method(
|
|
141
139
|
|
142
140
|
try:
|
143
141
|
if _should_send_prompts():
|
144
|
-
span.set_attribute(SPAN_OUTPUT,
|
142
|
+
span.set_attribute(SPAN_OUTPUT, json_dumps(res))
|
145
143
|
except TypeError:
|
146
144
|
pass
|
147
145
|
|
@@ -14,10 +14,22 @@ TRACE_TYPE = "trace_type"
|
|
14
14
|
|
15
15
|
# exposed to the user, configurable
|
16
16
|
class Attributes(Enum):
|
17
|
+
# == This is the minimum set of attributes for a proper LLM span ==
|
18
|
+
#
|
17
19
|
# not SpanAttributes.LLM_USAGE_PROMPT_TOKENS,
|
18
20
|
INPUT_TOKEN_COUNT = "gen_ai.usage.input_tokens"
|
19
21
|
# not SpanAttributes.LLM_USAGE_COMPLETION_TOKENS,
|
20
22
|
OUTPUT_TOKEN_COUNT = "gen_ai.usage.output_tokens"
|
23
|
+
TOTAL_TOKEN_COUNT = SpanAttributes.LLM_USAGE_TOTAL_TOKENS
|
21
24
|
PROVIDER = SpanAttributes.LLM_SYSTEM
|
22
25
|
REQUEST_MODEL = SpanAttributes.LLM_REQUEST_MODEL
|
23
26
|
RESPONSE_MODEL = SpanAttributes.LLM_RESPONSE_MODEL
|
27
|
+
#
|
28
|
+
## == End of minimum set ==
|
29
|
+
# == Additional attributes ==
|
30
|
+
#
|
31
|
+
INPUT_COST = "gen_ai.usage.input_cost"
|
32
|
+
OUTPUT_COST = "gen_ai.usage.output_cost"
|
33
|
+
TOTAL_COST = "gen_ai.usage.cost"
|
34
|
+
#
|
35
|
+
# == End of additional attributes ==
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: lmnr
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.24
|
4
4
|
Summary: Python SDK for Laminar AI
|
5
5
|
License: Apache-2.0
|
6
6
|
Author: lmnr.ai
|
@@ -16,6 +16,7 @@ Requires-Dist: argparse (>=1.0,<2.0)
|
|
16
16
|
Requires-Dist: backoff (>=2.0,<3.0)
|
17
17
|
Requires-Dist: deprecated (>=1.0,<2.0)
|
18
18
|
Requires-Dist: jinja2 (>=3.0,<4.0)
|
19
|
+
Requires-Dist: openai (>=1.52.0,<2.0.0)
|
19
20
|
Requires-Dist: opentelemetry-api (>=1.27.0,<2.0.0)
|
20
21
|
Requires-Dist: opentelemetry-exporter-otlp-proto-grpc (>=1.27.0,<2.0.0)
|
21
22
|
Requires-Dist: opentelemetry-exporter-otlp-proto-http (>=1.27.0,<2.0.0)
|
@@ -1,18 +1,19 @@
|
|
1
|
-
lmnr/__init__.py,sha256
|
1
|
+
lmnr/__init__.py,sha256=87ZHKNA2xmZvqtXrWjhXUNR7YUrdP8-77fYqe-PEtrE,348
|
2
2
|
lmnr/cli.py,sha256=Ptvm5dsNLKUY5lwnN8XkT5GtCYjzpRNi2WvefknB3OQ,1079
|
3
3
|
lmnr/sdk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
+
lmnr/sdk/datasets.py,sha256=V6q0Zcv7znx5cB1YZd0pBgTEcAKXbb-pEwguScEhBw0,1612
|
4
5
|
lmnr/sdk/decorators.py,sha256=ZSDaEZyjo-RUzRCltsNbe6x0t9SKl2xRQ2q4uaKvXtk,2250
|
5
|
-
lmnr/sdk/evaluations.py,sha256=
|
6
|
-
lmnr/sdk/laminar.py,sha256=
|
7
|
-
lmnr/sdk/log.py,sha256=
|
8
|
-
lmnr/sdk/types.py,sha256=
|
6
|
+
lmnr/sdk/evaluations.py,sha256=XzJDRAXmLWxhX3Px0WKocNQYWRZMkI2bG-_Hb054lvA,14874
|
7
|
+
lmnr/sdk/laminar.py,sha256=HLnXd7rKm8LlLGys-xukwmhdDsSaCYcMyWyeEgD4Dyg,18428
|
8
|
+
lmnr/sdk/log.py,sha256=cZBeUoSK39LMEV-X4-eEhTWOciULRfHaKfRK8YqIM8I,1532
|
9
|
+
lmnr/sdk/types.py,sha256=6_C2LhcbI9PwlntnSuREE0FRsBUxc3WS_yC_Y_trPBI,5052
|
9
10
|
lmnr/sdk/utils.py,sha256=s81p6uJehgJSaLWy3sR5fTpEDH7vzn3i_UujUHChl6M,3346
|
10
11
|
lmnr/traceloop_sdk/.flake8,sha256=bCxuDlGx3YQ55QHKPiGJkncHanh9qGjQJUujcFa3lAU,150
|
11
12
|
lmnr/traceloop_sdk/.python-version,sha256=9OLQBQVbD4zE4cJsPePhnAfV_snrPSoqEQw-PXgPMOs,6
|
12
13
|
lmnr/traceloop_sdk/__init__.py,sha256=hp3q1OsFaGgaQCEanJrL38BJN32hWqCNVCSjYpndEsY,2957
|
13
14
|
lmnr/traceloop_sdk/config/__init__.py,sha256=DliMGp2NjYAqRFLKpWQPUKjGMHRO8QsVfazBA1qENQ8,248
|
14
15
|
lmnr/traceloop_sdk/decorators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
15
|
-
lmnr/traceloop_sdk/decorators/base.py,sha256=
|
16
|
+
lmnr/traceloop_sdk/decorators/base.py,sha256=SeImd8SAeqdC8LV1bvoQUq0d_TLkOLyd5HCe7vXKhNU,5559
|
16
17
|
lmnr/traceloop_sdk/instruments.py,sha256=oMvIASueW3GeChpjIdH-DD9aFBVB8OtHZ0HawppTrlI,942
|
17
18
|
lmnr/traceloop_sdk/tests/__init__.py,sha256=RYnG0-8zbXL0-2Ste1mEBf5sN4d_rQjGTCgPBuaZC74,20
|
18
19
|
lmnr/traceloop_sdk/tests/cassettes/test_association_properties/test_langchain_and_external_association_properties.yaml,sha256=26g0wRA0juicHg_XrhcE8H4vhs1lawDs0o0aLFn-I7w,3103
|
@@ -35,7 +36,7 @@ lmnr/traceloop_sdk/tests/test_sdk_initialization.py,sha256=fRaf6lrxFzJIN94P1Tav_
|
|
35
36
|
lmnr/traceloop_sdk/tests/test_tasks.py,sha256=xlEx8BKp4yG83SCjK5WkPGfyC33JSrx4h8VyjVwGbgw,906
|
36
37
|
lmnr/traceloop_sdk/tests/test_workflows.py,sha256=RVcfY3WAFIDZC15-aSua21aoQyYeWE7KypDyUsm-2EM,9372
|
37
38
|
lmnr/traceloop_sdk/tracing/__init__.py,sha256=Ckq7zCM26VdJVB5tIZv0GTPyMZKyfso_KWD5yPHaqdo,66
|
38
|
-
lmnr/traceloop_sdk/tracing/attributes.py,sha256=
|
39
|
+
lmnr/traceloop_sdk/tracing/attributes.py,sha256=QzfFVhbuYnT-ym4lHocQF_e5zm5Aw8r36FTxV5Qrjlk,1136
|
39
40
|
lmnr/traceloop_sdk/tracing/content_allow_list.py,sha256=3feztm6PBWNelc8pAZUcQyEGyeSpNiVKjOaDk65l2ps,846
|
40
41
|
lmnr/traceloop_sdk/tracing/context_manager.py,sha256=csVlB6kDmbgSPsROHwnddvGGblx55v6lJMRj0wsSMQM,304
|
41
42
|
lmnr/traceloop_sdk/tracing/tracing.py,sha256=_HDLuyy4XgobC1ig4qz5jYbB4tWAZSfD6gbgUqwmYJU,35522
|
@@ -44,8 +45,8 @@ lmnr/traceloop_sdk/utils/in_memory_span_exporter.py,sha256=H_4TRaThMO1H6vUQ0OpQv
|
|
44
45
|
lmnr/traceloop_sdk/utils/json_encoder.py,sha256=dK6b_axr70IYL7Vv-bu4wntvDDuyntoqsHaddqX7P58,463
|
45
46
|
lmnr/traceloop_sdk/utils/package_check.py,sha256=TZSngzJOpFhfUZLXIs38cpMxQiZSmp0D-sCrIyhz7BA,251
|
46
47
|
lmnr/traceloop_sdk/version.py,sha256=OlatFEFA4ttqSSIiV8jdE-sq3KG5zu2hnC4B4mzWF3s,23
|
47
|
-
lmnr-0.4.
|
48
|
-
lmnr-0.4.
|
49
|
-
lmnr-0.4.
|
50
|
-
lmnr-0.4.
|
51
|
-
lmnr-0.4.
|
48
|
+
lmnr-0.4.24.dist-info/LICENSE,sha256=67b_wJHVV1CBaWkrKFWU1wyqTPSdzH77Ls-59631COg,10411
|
49
|
+
lmnr-0.4.24.dist-info/METADATA,sha256=XcxnC9fKw0Hth1WXQcH_LZpT9A4TJDqWwbPre696nQU,10533
|
50
|
+
lmnr-0.4.24.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
51
|
+
lmnr-0.4.24.dist-info/entry_points.txt,sha256=K1jE20ww4jzHNZLnsfWBvU3YKDGBgbOiYG5Y7ivQcq4,37
|
52
|
+
lmnr-0.4.24.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|