lmnr 0.4.30__py3-none-any.whl → 0.4.32__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/sdk/laminar.py CHANGED
@@ -17,7 +17,6 @@ from opentelemetry.exporter.otlp.proto.grpc.trace_exporter import OTLPSpanExport
17
17
  from pydantic.alias_generators import to_snake
18
18
  from typing import Any, Literal, Optional, Set, Union
19
19
 
20
- import aiohttp
21
20
  import copy
22
21
  import datetime
23
22
  import dotenv
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lmnr
3
- Version: 0.4.30
3
+ Version: 0.4.32
4
4
  Summary: Python SDK for Laminar AI
5
5
  License: Apache-2.0
6
6
  Author: lmnr.ai
@@ -16,39 +16,39 @@ 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: opentelemetry-api (>=1.27.0,<2.0.0)
20
- Requires-Dist: opentelemetry-exporter-otlp-proto-grpc (>=1.27.0,<2.0.0)
21
- Requires-Dist: opentelemetry-exporter-otlp-proto-http (>=1.27.0,<2.0.0)
22
- Requires-Dist: opentelemetry-instrumentation-alephalpha (>=0.33.5)
23
- Requires-Dist: opentelemetry-instrumentation-anthropic (>=0.33.5)
24
- Requires-Dist: opentelemetry-instrumentation-bedrock (>=0.33.5)
25
- Requires-Dist: opentelemetry-instrumentation-chromadb (>=0.33.5)
26
- Requires-Dist: opentelemetry-instrumentation-cohere (>=0.33.5)
27
- Requires-Dist: opentelemetry-instrumentation-google-generativeai (>=0.33.5)
28
- Requires-Dist: opentelemetry-instrumentation-groq (>=0.33.5)
29
- Requires-Dist: opentelemetry-instrumentation-haystack (>=0.33.5)
30
- Requires-Dist: opentelemetry-instrumentation-lancedb (>=0.33.5)
31
- Requires-Dist: opentelemetry-instrumentation-langchain (>=0.33.5)
32
- Requires-Dist: opentelemetry-instrumentation-llamaindex (>=0.33.5)
33
- Requires-Dist: opentelemetry-instrumentation-marqo (>=0.33.5)
34
- Requires-Dist: opentelemetry-instrumentation-milvus (>=0.33.5)
35
- Requires-Dist: opentelemetry-instrumentation-mistralai (>=0.33.5)
36
- Requires-Dist: opentelemetry-instrumentation-ollama (>=0.33.5)
37
- Requires-Dist: opentelemetry-instrumentation-openai (>=0.33.5)
38
- Requires-Dist: opentelemetry-instrumentation-pinecone (>=0.33.5)
39
- Requires-Dist: opentelemetry-instrumentation-qdrant (>=0.33.5)
40
- Requires-Dist: opentelemetry-instrumentation-replicate (>=0.33.5)
19
+ Requires-Dist: opentelemetry-api (>=1.27.0)
20
+ Requires-Dist: opentelemetry-exporter-otlp-proto-grpc (>=1.27.0)
21
+ Requires-Dist: opentelemetry-exporter-otlp-proto-http (>=1.27.0)
22
+ Requires-Dist: opentelemetry-instrumentation-alephalpha (>=0.33.9)
23
+ Requires-Dist: opentelemetry-instrumentation-anthropic (>=0.33.9)
24
+ Requires-Dist: opentelemetry-instrumentation-bedrock (>=0.33.9)
25
+ Requires-Dist: opentelemetry-instrumentation-chromadb (>=0.33.9)
26
+ Requires-Dist: opentelemetry-instrumentation-cohere (>=0.33.9)
27
+ Requires-Dist: opentelemetry-instrumentation-google-generativeai (>=0.33.9)
28
+ Requires-Dist: opentelemetry-instrumentation-groq (>=0.33.9)
29
+ Requires-Dist: opentelemetry-instrumentation-haystack (>=0.33.9)
30
+ Requires-Dist: opentelemetry-instrumentation-lancedb (>=0.33.9)
31
+ Requires-Dist: opentelemetry-instrumentation-langchain (>=0.33.9)
32
+ Requires-Dist: opentelemetry-instrumentation-llamaindex (>=0.33.9)
33
+ Requires-Dist: opentelemetry-instrumentation-marqo (>=0.33.9)
34
+ Requires-Dist: opentelemetry-instrumentation-milvus (>=0.33.9)
35
+ Requires-Dist: opentelemetry-instrumentation-mistralai (>=0.33.9)
36
+ Requires-Dist: opentelemetry-instrumentation-ollama (>=0.33.9)
37
+ Requires-Dist: opentelemetry-instrumentation-openai (>=0.33.9)
38
+ Requires-Dist: opentelemetry-instrumentation-pinecone (>=0.33.9)
39
+ Requires-Dist: opentelemetry-instrumentation-qdrant (>=0.33.9)
40
+ Requires-Dist: opentelemetry-instrumentation-replicate (>=0.33.9)
41
41
  Requires-Dist: opentelemetry-instrumentation-requests (>=0.48b0,<0.49)
42
- Requires-Dist: opentelemetry-instrumentation-sagemaker (>=0.33.5)
42
+ Requires-Dist: opentelemetry-instrumentation-sagemaker (>=0.33.9)
43
43
  Requires-Dist: opentelemetry-instrumentation-sqlalchemy (>=0.48b0,<0.49)
44
44
  Requires-Dist: opentelemetry-instrumentation-threading (>=0.48b0,<0.49)
45
- Requires-Dist: opentelemetry-instrumentation-together (>=0.33.5)
46
- Requires-Dist: opentelemetry-instrumentation-transformers (>=0.33.5)
45
+ Requires-Dist: opentelemetry-instrumentation-together (>=0.33.9)
46
+ Requires-Dist: opentelemetry-instrumentation-transformers (>=0.33.9)
47
47
  Requires-Dist: opentelemetry-instrumentation-urllib3 (>=0.48b0,<0.49)
48
- Requires-Dist: opentelemetry-instrumentation-vertexai (>=0.33.5)
49
- Requires-Dist: opentelemetry-instrumentation-watsonx (>=0.33.5)
50
- Requires-Dist: opentelemetry-instrumentation-weaviate (>=0.33.5)
51
- Requires-Dist: opentelemetry-sdk (>=1.27.0,<2.0.0)
48
+ Requires-Dist: opentelemetry-instrumentation-vertexai (>=0.33.9)
49
+ Requires-Dist: opentelemetry-instrumentation-watsonx (>=0.33.9)
50
+ Requires-Dist: opentelemetry-instrumentation-weaviate (>=0.33.9)
51
+ Requires-Dist: opentelemetry-sdk (>=1.27.0)
52
52
  Requires-Dist: opentelemetry-semantic-conventions-ai (==0.4.2)
53
53
  Requires-Dist: pydantic (>=2.7,<3.0)
54
54
  Requires-Dist: python-dotenv (>=1.0,<2.0)
@@ -172,24 +172,6 @@ If you want to fully disable any kind of autoinstrumentation, pass an empty set
172
172
 
173
173
  Autoinstrumentations are provided by Traceloop's [OpenLLMetry](https://github.com/traceloop/openllmetry).
174
174
 
175
- ## Sending events
176
-
177
- You can send laminar events using `L.event(name, value)`.
178
-
179
- Read our [docs](https://docs.lmnr.ai) to learn more about events and examples.
180
-
181
- ### Example
182
-
183
- ```python
184
- from lmnr import Laminar as L
185
- # ...
186
- poem = response.choices[0].message.content
187
-
188
- # this will register True or False value with Laminar
189
- L.event("topic alignment", topic in poem)
190
-
191
- ```
192
-
193
175
  ## Evaluations
194
176
 
195
177
  ### Quickstart
@@ -4,7 +4,7 @@ lmnr/sdk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  lmnr/sdk/datasets.py,sha256=w8U9E6fvetAo65Cb2CbYzlfhY8CfXAR-VysrakG6-4I,1591
5
5
  lmnr/sdk/decorators.py,sha256=ZSDaEZyjo-RUzRCltsNbe6x0t9SKl2xRQ2q4uaKvXtk,2250
6
6
  lmnr/sdk/evaluations.py,sha256=5Vfyp0aIjuGpqfuM3cqsaaLpcoO7z6lcOOKxnyHCNHk,16264
7
- lmnr/sdk/laminar.py,sha256=e5N3CuPN8MjdAxKr4YNaGQP9sWiumKMTvCzmw8kY_e0,23477
7
+ lmnr/sdk/laminar.py,sha256=2EMMeppaR8GuB29YGS3WqGssMQvneUxXeOV7w5Ahv4Q,23462
8
8
  lmnr/sdk/log.py,sha256=cZBeUoSK39LMEV-X4-eEhTWOciULRfHaKfRK8YqIM8I,1532
9
9
  lmnr/sdk/types.py,sha256=qGD1tkGszd-_sZJaZ_Zx9U_CdUYzoDkUeN2g-o48Gls,5588
10
10
  lmnr/sdk/utils.py,sha256=Uk8y15x-sd5tP2ERONahElLDJVEy_3dA_1_5g9A6auY,3358
@@ -45,8 +45,8 @@ lmnr/traceloop_sdk/utils/in_memory_span_exporter.py,sha256=H_4TRaThMO1H6vUQ0OpQv
45
45
  lmnr/traceloop_sdk/utils/json_encoder.py,sha256=dK6b_axr70IYL7Vv-bu4wntvDDuyntoqsHaddqX7P58,463
46
46
  lmnr/traceloop_sdk/utils/package_check.py,sha256=TZSngzJOpFhfUZLXIs38cpMxQiZSmp0D-sCrIyhz7BA,251
47
47
  lmnr/traceloop_sdk/version.py,sha256=OlatFEFA4ttqSSIiV8jdE-sq3KG5zu2hnC4B4mzWF3s,23
48
- lmnr-0.4.30.dist-info/LICENSE,sha256=67b_wJHVV1CBaWkrKFWU1wyqTPSdzH77Ls-59631COg,10411
49
- lmnr-0.4.30.dist-info/METADATA,sha256=2IrMNi89yZnA1F4534jSQXD-YSOdHUUsJVeS3C_fRSY,10688
50
- lmnr-0.4.30.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
51
- lmnr-0.4.30.dist-info/entry_points.txt,sha256=K1jE20ww4jzHNZLnsfWBvU3YKDGBgbOiYG5Y7ivQcq4,37
52
- lmnr-0.4.30.dist-info/RECORD,,
48
+ lmnr-0.4.32.dist-info/LICENSE,sha256=67b_wJHVV1CBaWkrKFWU1wyqTPSdzH77Ls-59631COg,10411
49
+ lmnr-0.4.32.dist-info/METADATA,sha256=2wSk5WtRY2Oyd6YIr_TmJml26LpSh_Og3pYhCBn8bN0,10297
50
+ lmnr-0.4.32.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
51
+ lmnr-0.4.32.dist-info/entry_points.txt,sha256=K1jE20ww4jzHNZLnsfWBvU3YKDGBgbOiYG5Y7ivQcq4,37
52
+ lmnr-0.4.32.dist-info/RECORD,,
File without changes
File without changes