langtrace-python-sdk 3.3.28__py3-none-any.whl → 3.3.29__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.
- langtrace_python_sdk/instrumentation/dspy/patch.py +5 -13
- langtrace_python_sdk/version.py +1 -1
- {langtrace_python_sdk-3.3.28.dist-info → langtrace_python_sdk-3.3.29.dist-info}/METADATA +1 -1
- {langtrace_python_sdk-3.3.28.dist-info → langtrace_python_sdk-3.3.29.dist-info}/RECORD +7 -7
- {langtrace_python_sdk-3.3.28.dist-info → langtrace_python_sdk-3.3.29.dist-info}/WHEEL +0 -0
- {langtrace_python_sdk-3.3.28.dist-info → langtrace_python_sdk-3.3.29.dist-info}/entry_points.txt +0 -0
- {langtrace_python_sdk-3.3.28.dist-info → langtrace_python_sdk-3.3.29.dist-info}/licenses/LICENSE +0 -0
@@ -1,8 +1,5 @@
|
|
1
1
|
import json
|
2
|
-
import os
|
3
2
|
|
4
|
-
import ujson
|
5
|
-
from colorama import Fore
|
6
3
|
from importlib_metadata import version as v
|
7
4
|
from langtrace.trace_attributes import FrameworkSpanAttributes
|
8
5
|
from opentelemetry import baggage
|
@@ -11,16 +8,11 @@ from opentelemetry.trace.status import Status, StatusCode
|
|
11
8
|
|
12
9
|
from langtrace_python_sdk.constants import LANGTRACE_SDK_NAME
|
13
10
|
from langtrace_python_sdk.constants.instrumentation.common import (
|
14
|
-
LANGTRACE_ADDITIONAL_SPAN_ATTRIBUTES_KEY,
|
15
|
-
SERVICE_PROVIDERS,
|
16
|
-
)
|
11
|
+
LANGTRACE_ADDITIONAL_SPAN_ATTRIBUTES_KEY, SERVICE_PROVIDERS)
|
17
12
|
from langtrace_python_sdk.utils import set_span_attribute
|
18
|
-
from langtrace_python_sdk.utils.llm import (
|
19
|
-
|
20
|
-
|
21
|
-
get_span_name,
|
22
|
-
set_span_attributes,
|
23
|
-
)
|
13
|
+
from langtrace_python_sdk.utils.llm import (get_extra_attributes,
|
14
|
+
get_langtrace_attributes,
|
15
|
+
get_span_name, set_span_attributes)
|
24
16
|
from langtrace_python_sdk.utils.silently_fail import silently_fail
|
25
17
|
|
26
18
|
|
@@ -139,7 +131,7 @@ def patch_signature(operation_name, version, tracer):
|
|
139
131
|
set_span_attribute(
|
140
132
|
span,
|
141
133
|
"dspy.signature.result",
|
142
|
-
json.dumps(result.toDict()),
|
134
|
+
json.dumps(result.toDict(), default=lambda x: list(x) if isinstance(x, set) else x),
|
143
135
|
)
|
144
136
|
span.set_status(Status(StatusCode.OK))
|
145
137
|
|
langtrace_python_sdk/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "3.3.
|
1
|
+
__version__ = "3.3.29"
|
@@ -111,7 +111,7 @@ examples/weaviate_example/__init__.py,sha256=8JMDBsRSEV10HfTd-YC7xb4txBjD3la56sn
|
|
111
111
|
examples/weaviate_example/query_text.py,sha256=wPHQTc_58kPoKTZMygVjTj-2ZcdrIuaausJfMxNQnQc,127162
|
112
112
|
langtrace_python_sdk/__init__.py,sha256=VZM6i71NR7pBQK6XvJWRelknuTYUhqwqE7PlicKa5Wg,1166
|
113
113
|
langtrace_python_sdk/langtrace.py,sha256=jvfrnkAxc41dmIvwNuVcXwCWyV2vqhGV5qAr5KiMHBA,13239
|
114
|
-
langtrace_python_sdk/version.py,sha256=
|
114
|
+
langtrace_python_sdk/version.py,sha256=OpXMWyGnnhuyq-DxZlA3s1kTkyMuhULWzMDlWhA53fQ,23
|
115
115
|
langtrace_python_sdk/constants/__init__.py,sha256=3CNYkWMdd1DrkGqzLUgNZXjdAlM6UFMlf_F-odAToyc,146
|
116
116
|
langtrace_python_sdk/constants/exporter/langtrace_exporter.py,sha256=EVCrouYCpY98f0KSaKr4PzNxPULTZZO6dSA_crEOyJU,106
|
117
117
|
langtrace_python_sdk/constants/instrumentation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -163,7 +163,7 @@ langtrace_python_sdk/instrumentation/crewai/instrumentation.py,sha256=5Umzq8zjEn
|
|
163
163
|
langtrace_python_sdk/instrumentation/crewai/patch.py,sha256=VoyOtGKYzaOIu7UnVNTemZeB3LrCIodrrYwmXLdxRw8,9133
|
164
164
|
langtrace_python_sdk/instrumentation/dspy/__init__.py,sha256=tM1srfi_QgyCzrde4izojMrRq2Wm7Dj5QUvVQXIJzkk,84
|
165
165
|
langtrace_python_sdk/instrumentation/dspy/instrumentation.py,sha256=qx2vBeuODI7rubf-0bkuNzDWu4bLI-E5uabrWTEuH6k,2923
|
166
|
-
langtrace_python_sdk/instrumentation/dspy/patch.py,sha256=
|
166
|
+
langtrace_python_sdk/instrumentation/dspy/patch.py,sha256=yuiSNupsrDLW6PGfFNX707rDqresvX8WYKS2IUg0Z-g,10143
|
167
167
|
langtrace_python_sdk/instrumentation/embedchain/__init__.py,sha256=5L6n8-brMnRWZ0CMmHEuN1mrhIxrYLNtxRy0Ujc-hOY,103
|
168
168
|
langtrace_python_sdk/instrumentation/embedchain/instrumentation.py,sha256=dShwm0duy25IvL7g9I_v-2oYuyh2fadeiJqXtXBay-8,1987
|
169
169
|
langtrace_python_sdk/instrumentation/embedchain/patch.py,sha256=ovvBrtqUDwGSmSgK_S3pOOrDa4gkPSFG-HvmsxqmJE8,3627
|
@@ -277,8 +277,8 @@ tests/pinecone/cassettes/test_query.yaml,sha256=b5v9G3ssUy00oG63PlFUR3JErF2Js-5A
|
|
277
277
|
tests/pinecone/cassettes/test_upsert.yaml,sha256=neWmQ1v3d03V8WoLl8FoFeeCYImb8pxlJBWnFd_lITU,38607
|
278
278
|
tests/qdrant/conftest.py,sha256=9n0uHxxIjWk9fbYc4bx-uP8lSAgLBVx-cV9UjnsyCHM,381
|
279
279
|
tests/qdrant/test_qdrant.py,sha256=pzjAjVY2kmsmGfrI2Gs2xrolfuaNHz7l1fqGQCjp5_o,3353
|
280
|
-
langtrace_python_sdk-3.3.
|
281
|
-
langtrace_python_sdk-3.3.
|
282
|
-
langtrace_python_sdk-3.3.
|
283
|
-
langtrace_python_sdk-3.3.
|
284
|
-
langtrace_python_sdk-3.3.
|
280
|
+
langtrace_python_sdk-3.3.29.dist-info/METADATA,sha256=bQpZDUnvpBlY8G9Dlo_TQ0ogkfXA1zvfxsVNVOBM2PM,15644
|
281
|
+
langtrace_python_sdk-3.3.29.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
282
|
+
langtrace_python_sdk-3.3.29.dist-info/entry_points.txt,sha256=1_b9-qvf2fE7uQNZcbUei9vLpFZBbbh9LrtGw95ssAo,70
|
283
|
+
langtrace_python_sdk-3.3.29.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
284
|
+
langtrace_python_sdk-3.3.29.dist-info/RECORD,,
|
File without changes
|
{langtrace_python_sdk-3.3.28.dist-info → langtrace_python_sdk-3.3.29.dist-info}/entry_points.txt
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.28.dist-info → langtrace_python_sdk-3.3.29.dist-info}/licenses/LICENSE
RENAMED
File without changes
|