opentelemetry-instrumentation-replicate 0.16.8__py3-none-any.whl → 0.17.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.

Potentially problematic release.


This version of opentelemetry-instrumentation-replicate might be problematic. Click here for more details.

@@ -63,8 +63,8 @@ def _set_span_attribute(span, name, value):
63
63
 
64
64
  input_attribute_map = {
65
65
  "prompt": f"{SpanAttributes.LLM_PROMPTS}.0.user",
66
- "temperature": SpanAttributes.LLM_TEMPERATURE,
67
- "top_p": SpanAttributes.LLM_TOP_P,
66
+ "temperature": SpanAttributes.LLM_REQUEST_TEMPERATURE,
67
+ "top_p": SpanAttributes.LLM_REQUEST_TOP_P,
68
68
  }
69
69
 
70
70
 
@@ -156,7 +156,7 @@ def _wrap(tracer, to_wrap, wrapped, instance, args, kwargs):
156
156
  name,
157
157
  kind=SpanKind.CLIENT,
158
158
  attributes={
159
- SpanAttributes.LLM_VENDOR: "Replicate",
159
+ SpanAttributes.LLM_SYSTEM: "Replicate",
160
160
  SpanAttributes.LLM_REQUEST_TYPE: LLMRequestTypeValues.COMPLETION.value,
161
161
  },
162
162
  )
@@ -1 +1 @@
1
- __version__ = "0.16.8"
1
+ __version__ = "0.17.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: opentelemetry-instrumentation-replicate
3
- Version: 0.16.8
3
+ Version: 0.17.0
4
4
  Summary: OpenTelemetry Replicate instrumentation
5
5
  Home-page: https://github.com/traceloop/openllmetry/tree/main/packages/opentelemetry-instrumentation-replicate
6
6
  License: Apache-2.0
@@ -17,7 +17,7 @@ Provides-Extra: instruments
17
17
  Requires-Dist: opentelemetry-api (>=1.24.0,<2.0.0)
18
18
  Requires-Dist: opentelemetry-instrumentation (>=0.45b0,<0.46)
19
19
  Requires-Dist: opentelemetry-semantic-conventions (>=0.45b0,<0.46)
20
- Requires-Dist: opentelemetry-semantic-conventions-ai (==0.1.1)
20
+ Requires-Dist: opentelemetry-semantic-conventions-ai (==0.2.0)
21
21
  Project-URL: Repository, https://github.com/traceloop/openllmetry/tree/main/packages/opentelemetry-instrumentation-replicate
22
22
  Description-Content-Type: text/markdown
23
23
 
@@ -0,0 +1,8 @@
1
+ opentelemetry/instrumentation/replicate/__init__.py,sha256=-vhmIbOGLYt05nbdbJN4zhuqPLsvMMKSIpMeQXVSmJo,5808
2
+ opentelemetry/instrumentation/replicate/config.py,sha256=CtypZov_ytI9nSrfN9lWnjcufbAR9sfkXRA0OstDEUw,42
3
+ opentelemetry/instrumentation/replicate/utils.py,sha256=QP5rSiyIcsInaCIE7YJypMmwzGnOp8kvf2lhQdNZ-SE,702
4
+ opentelemetry/instrumentation/replicate/version.py,sha256=XpM3lncCzPBIwMSvDN7i10pke_c6KdJtVLZYbCiaTRw,23
5
+ opentelemetry_instrumentation_replicate-0.17.0.dist-info/METADATA,sha256=mMRlCpsh40sjybpPTkEVRuir0xWpc6EWcj26YYEFOmM,2272
6
+ opentelemetry_instrumentation_replicate-0.17.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
7
+ opentelemetry_instrumentation_replicate-0.17.0.dist-info/entry_points.txt,sha256=YDOSAhxrkimcGYNOJLwqT1VoPS9YM-mXd1DT4hBk0Oc,102
8
+ opentelemetry_instrumentation_replicate-0.17.0.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- opentelemetry/instrumentation/replicate/__init__.py,sha256=hFkpj3cH35JpGcFQ3JGzl9yEvMdsqpJ8kDneqVXnl9o,5792
2
- opentelemetry/instrumentation/replicate/config.py,sha256=CtypZov_ytI9nSrfN9lWnjcufbAR9sfkXRA0OstDEUw,42
3
- opentelemetry/instrumentation/replicate/utils.py,sha256=QP5rSiyIcsInaCIE7YJypMmwzGnOp8kvf2lhQdNZ-SE,702
4
- opentelemetry/instrumentation/replicate/version.py,sha256=gTaD1zTddtl6pHFsMfOrT2s2L-el8KyB3KZmgEpwcwo,23
5
- opentelemetry_instrumentation_replicate-0.16.8.dist-info/METADATA,sha256=5pBlNxqWoSu97N2kO5H8ZOgolBZwwKLKP5H3QlRELOA,2272
6
- opentelemetry_instrumentation_replicate-0.16.8.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
7
- opentelemetry_instrumentation_replicate-0.16.8.dist-info/entry_points.txt,sha256=YDOSAhxrkimcGYNOJLwqT1VoPS9YM-mXd1DT4hBk0Oc,102
8
- opentelemetry_instrumentation_replicate-0.16.8.dist-info/RECORD,,