langtrace-python-sdk 2.0.2__py3-none-any.whl → 2.0.4__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.
@@ -715,13 +715,11 @@ def embeddings_create(original_method, version, tracer):
715
715
  }
716
716
 
717
717
  if kwargs.get("encoding_format") is not None:
718
- span_attributes["llm.encoding_format"] = json.dumps([kwargs.get("encoding_format")])
718
+ span_attributes["llm.encoding.formats"] = json.dumps([kwargs.get("encoding_format")])
719
719
 
720
720
  attributes = LLMSpanAttributes(**span_attributes)
721
721
  kwargs.get("encoding_format")
722
722
 
723
- if kwargs.get("encoding_format") is not None:
724
- attributes.llm_encoding_format = kwargs.get("encoding_format")
725
723
  if kwargs.get("dimensions") is not None:
726
724
  attributes["llm.dimensions"] = kwargs.get("dimensions")
727
725
  if kwargs.get("user") is not None:
@@ -1 +1 @@
1
- __version__ = "2.0.2"
1
+ __version__ = "2.0.4"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: langtrace-python-sdk
3
- Version: 2.0.2
3
+ Version: 2.0.4
4
4
  Summary: Python SDK for LangTrace
5
5
  Project-URL: Homepage, https://github.com/Scale3-Labs/langtrace-python-sdk
6
6
  Author-email: Scale3 Labs <engineering@scale3labs.com>
@@ -15,7 +15,7 @@ Requires-Dist: opentelemetry-instrumentation
15
15
  Requires-Dist: opentelemetry-sdk
16
16
  Requires-Dist: pinecone-client
17
17
  Requires-Dist: tiktoken
18
- Requires-Dist: trace-attributes==3.0.5
18
+ Requires-Dist: trace-attributes>=3.0.5
19
19
  Provides-Extra: dev
20
20
  Requires-Dist: anthropic; extra == 'dev'
21
21
  Requires-Dist: chromadb; extra == 'dev'
@@ -37,7 +37,7 @@ examples/qdrant_example/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG
37
37
  examples/qdrant_example/basic.py,sha256=2JDMsBllnRvVDuuZ91FkAkpXgnavUP4mqXa51CtfHP8,1421
38
38
  langtrace_python_sdk/__init__.py,sha256=q2TAsxGIv4wFIQA7G-HGxlnzO89bhPU5TgI42sPHLj0,740
39
39
  langtrace_python_sdk/langtrace.py,sha256=HuGbzXM_oqIzpfFDyV2nxuEe4C3SCxDlS1qFzswXzY4,4762
40
- langtrace_python_sdk/version.py,sha256=tATvJM5shAzfspHYjdVwpV2w3-gDA119NlEYi5X2lFY,22
40
+ langtrace_python_sdk/version.py,sha256=ZOg41aCgKEuObK5WhegikXektFWPJaeZ-TMDh0Ke95M,22
41
41
  langtrace_python_sdk/constants/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
42
42
  langtrace_python_sdk/constants/exporter/langtrace_exporter.py,sha256=5MNjnAOg-4am78J3gVMH6FSwq5N8TOj72ugkhsw4vi0,46
43
43
  langtrace_python_sdk/constants/instrumentation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -81,7 +81,7 @@ langtrace_python_sdk/instrumentation/llamaindex/instrumentation.py,sha256=8iAg-O
81
81
  langtrace_python_sdk/instrumentation/llamaindex/patch.py,sha256=oytT6EujmCd1Zf5ccde5juiucnDpYiIHjz-jan284Zk,4183
82
82
  langtrace_python_sdk/instrumentation/openai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
83
83
  langtrace_python_sdk/instrumentation/openai/instrumentation.py,sha256=kXu8zmppMepYvXRoVG9ERx__0xfSQ8uyPPWTihmrlAk,2712
84
- langtrace_python_sdk/instrumentation/openai/patch.py,sha256=0FNQZ5oFAuji7Ja-yf93rzbaaYmNlLLDoEz5DiWCddM,36773
84
+ langtrace_python_sdk/instrumentation/openai/patch.py,sha256=UYEA23SO3XDJbhIXAkZ5xAiBuItwSjebGL45RsKNJdo,36645
85
85
  langtrace_python_sdk/instrumentation/pinecone/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
86
86
  langtrace_python_sdk/instrumentation/pinecone/instrumentation.py,sha256=52GbkfRK-sxXBXhHmHRRO2BGNd6zZVHDp8njLS1CQX0,2314
87
87
  langtrace_python_sdk/instrumentation/pinecone/patch.py,sha256=WweBK2-9PbnmwNVN4EnxbriM9CDL079RonN5ZbpBRIE,2698
@@ -121,7 +121,7 @@ tests/openai/cassettes/test_chat_completion.yaml,sha256=YkNFgK9VHAzNqGWuxFcTiE19
121
121
  tests/openai/cassettes/test_chat_completion_streaming.yaml,sha256=nkx_TemQMYSZxUF_b-LCEFwCRDm0AkQHLf4sdJVuZBw,2592394
122
122
  tests/openai/cassettes/test_image_generation.yaml,sha256=gn5aSVp6V6_hb_rt2NnkAWd_idzDxo-7VzhZII0Wslw,3562
123
123
  tests/pinecone/test_pinecone.py,sha256=_wlJbSKnY7gyzVcwxIWKft1P_t8dWwcIKNfGCrRLiHs,2633
124
- langtrace_python_sdk-2.0.2.dist-info/METADATA,sha256=na35ZlWWnYIFmlXHc02p5Ifk6-2CJ6ZrGDbIM7YYhQ8,9585
125
- langtrace_python_sdk-2.0.2.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
126
- langtrace_python_sdk-2.0.2.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
127
- langtrace_python_sdk-2.0.2.dist-info/RECORD,,
124
+ langtrace_python_sdk-2.0.4.dist-info/METADATA,sha256=XjCobjWDtvEejEkuyfq_aQebtTgd04WPx-H5BajSDQA,9585
125
+ langtrace_python_sdk-2.0.4.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
126
+ langtrace_python_sdk-2.0.4.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
127
+ langtrace_python_sdk-2.0.4.dist-info/RECORD,,