fasteval-langfuse 2.1.2__tar.gz → 2.1.4__tar.gz
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.
- {fasteval_langfuse-2.1.2 → fasteval_langfuse-2.1.4}/PKG-INFO +2 -2
- {fasteval_langfuse-2.1.2 → fasteval_langfuse-2.1.4}/fasteval_langfuse/utils.py +5 -3
- {fasteval_langfuse-2.1.2 → fasteval_langfuse-2.1.4}/pyproject.toml +2 -2
- {fasteval_langfuse-2.1.2 → fasteval_langfuse-2.1.4}/README.md +0 -0
- {fasteval_langfuse-2.1.2 → fasteval_langfuse-2.1.4}/fasteval_langfuse/__init__.py +0 -0
- {fasteval_langfuse-2.1.2 → fasteval_langfuse-2.1.4}/fasteval_langfuse/client.py +0 -0
- {fasteval_langfuse-2.1.2 → fasteval_langfuse-2.1.4}/fasteval_langfuse/config.py +0 -0
- {fasteval_langfuse-2.1.2 → fasteval_langfuse-2.1.4}/fasteval_langfuse/decorators.py +0 -0
- {fasteval_langfuse-2.1.2 → fasteval_langfuse-2.1.4}/fasteval_langfuse/py.typed +0 -0
- {fasteval_langfuse-2.1.2 → fasteval_langfuse-2.1.4}/fasteval_langfuse/sampling/__init__.py +0 -0
- {fasteval_langfuse-2.1.2 → fasteval_langfuse-2.1.4}/fasteval_langfuse/sampling/base.py +0 -0
- {fasteval_langfuse-2.1.2 → fasteval_langfuse-2.1.4}/fasteval_langfuse/sampling/strategies.py +0 -0
- {fasteval_langfuse-2.1.2 → fasteval_langfuse-2.1.4}/fasteval_langfuse/score_reporter.py +0 -0
- {fasteval_langfuse-2.1.2 → fasteval_langfuse-2.1.4}/fasteval_langfuse/trace_fetcher.py +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: fasteval-langfuse
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.4
|
|
4
4
|
Summary: Langfuse integration for fasteval - evaluate production traces with fasteval metrics
|
|
5
5
|
Author: Intuit
|
|
6
6
|
License: Apache-2.0
|
|
7
|
-
Requires-Dist: fasteval-core>=1.0
|
|
7
|
+
Requires-Dist: fasteval-core>=1.2.0
|
|
8
8
|
Requires-Dist: langfuse>=2.0.0
|
|
9
9
|
Requires-Dist: pydantic>=2.0.0
|
|
10
10
|
Requires-Python: >=3.10, <4.0
|
|
@@ -57,7 +57,7 @@ def parse_time_range(time_range: str) -> tuple[Optional[str], Optional[str]]:
|
|
|
57
57
|
Returns:
|
|
58
58
|
Tuple of (from_timestamp, to_timestamp) in ISO 8601 format
|
|
59
59
|
"""
|
|
60
|
-
from datetime import datetime, timedelta
|
|
60
|
+
from datetime import datetime, timedelta, timezone
|
|
61
61
|
|
|
62
62
|
if not time_range:
|
|
63
63
|
return None, None
|
|
@@ -78,8 +78,10 @@ def parse_time_range(time_range: str) -> tuple[Optional[str], Optional[str]]:
|
|
|
78
78
|
else:
|
|
79
79
|
raise ValueError(f"Invalid time range format: {time_range}")
|
|
80
80
|
|
|
81
|
-
to_timestamp = datetime.
|
|
82
|
-
from_timestamp = (
|
|
81
|
+
to_timestamp = datetime.now(timezone.utc).isoformat().replace("+00:00", "Z")
|
|
82
|
+
from_timestamp = (
|
|
83
|
+
(datetime.now(timezone.utc) - delta).isoformat().replace("+00:00", "Z")
|
|
84
|
+
)
|
|
83
85
|
return from_timestamp, to_timestamp
|
|
84
86
|
|
|
85
87
|
# Handle "YYYY-MM-DD to YYYY-MM-DD" format
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "fasteval-langfuse"
|
|
3
|
-
version = "2.1.
|
|
3
|
+
version = "2.1.4"
|
|
4
4
|
description = "Langfuse integration for fasteval - evaluate production traces with fasteval metrics"
|
|
5
5
|
authors = [{name = "Intuit"}]
|
|
6
6
|
license = {text = "Apache-2.0"}
|
|
@@ -8,7 +8,7 @@ readme = "README.md"
|
|
|
8
8
|
requires-python = ">=3.10,<4.0"
|
|
9
9
|
|
|
10
10
|
dependencies = [
|
|
11
|
-
"fasteval-core>=1.0
|
|
11
|
+
"fasteval-core>=1.2.0",
|
|
12
12
|
"langfuse>=2.0.0",
|
|
13
13
|
"pydantic>=2.0.0",
|
|
14
14
|
]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fasteval_langfuse-2.1.2 → fasteval_langfuse-2.1.4}/fasteval_langfuse/sampling/strategies.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|