futureagi 0.3.4__tar.gz → 0.3.5__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.
Files changed (33) hide show
  1. {futureagi-0.3.4 → futureagi-0.3.5}/PKG-INFO +1 -1
  2. {futureagi-0.3.4 → futureagi-0.3.5}/fi/api/auth.py +2 -2
  3. {futureagi-0.3.4 → futureagi-0.3.5}/fi/client.py +1 -1
  4. {futureagi-0.3.4 → futureagi-0.3.5}/fi/evals/evaluator.py +1 -1
  5. {futureagi-0.3.4 → futureagi-0.3.5}/pyproject.toml +2 -1
  6. {futureagi-0.3.4 → futureagi-0.3.5}/LICENSE.md +0 -0
  7. {futureagi-0.3.4 → futureagi-0.3.5}/README.md +0 -0
  8. {futureagi-0.3.4 → futureagi-0.3.5}/fi/__init__.py +0 -0
  9. {futureagi-0.3.4 → futureagi-0.3.5}/fi/api/__init__.py +0 -0
  10. {futureagi-0.3.4 → futureagi-0.3.5}/fi/api/types.py +0 -0
  11. {futureagi-0.3.4 → futureagi-0.3.5}/fi/datasets/__init__.py +0 -0
  12. {futureagi-0.3.4 → futureagi-0.3.5}/fi/datasets/client.py +0 -0
  13. {futureagi-0.3.4 → futureagi-0.3.5}/fi/datasets/types.py +0 -0
  14. {futureagi-0.3.4 → futureagi-0.3.5}/fi/evals/__init__.py +0 -0
  15. {futureagi-0.3.4 → futureagi-0.3.5}/fi/evals/templates.py +0 -0
  16. {futureagi-0.3.4 → futureagi-0.3.5}/fi/evals/types.py +0 -0
  17. {futureagi-0.3.4 → futureagi-0.3.5}/fi/integrations/__init__.py +0 -0
  18. {futureagi-0.3.4 → futureagi-0.3.5}/fi/integrations/providers/__init__.py +0 -0
  19. {futureagi-0.3.4 → futureagi-0.3.5}/fi/integrations/providers/types.py +0 -0
  20. {futureagi-0.3.4 → futureagi-0.3.5}/fi/testcases/__init__.py +0 -0
  21. {futureagi-0.3.4 → futureagi-0.3.5}/fi/testcases/conversational_test_case.py +0 -0
  22. {futureagi-0.3.4 → futureagi-0.3.5}/fi/testcases/general.py +0 -0
  23. {futureagi-0.3.4 → futureagi-0.3.5}/fi/testcases/llm_test_case.py +0 -0
  24. {futureagi-0.3.4 → futureagi-0.3.5}/fi/testcases/mllm_test_case.py +0 -0
  25. {futureagi-0.3.4 → futureagi-0.3.5}/fi/testcases/utils.py +0 -0
  26. {futureagi-0.3.4 → futureagi-0.3.5}/fi/utils/__init__.py +0 -0
  27. {futureagi-0.3.4 → futureagi-0.3.5}/fi/utils/constants.py +0 -0
  28. {futureagi-0.3.4 → futureagi-0.3.5}/fi/utils/errors.py +0 -0
  29. {futureagi-0.3.4 → futureagi-0.3.5}/fi/utils/executor.py +0 -0
  30. {futureagi-0.3.4 → futureagi-0.3.5}/fi/utils/logging.py +0 -0
  31. {futureagi-0.3.4 → futureagi-0.3.5}/fi/utils/routes.py +0 -0
  32. {futureagi-0.3.4 → futureagi-0.3.5}/fi/utils/types.py +0 -0
  33. {futureagi-0.3.4 → futureagi-0.3.5}/fi/utils/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: futureagi
3
- Version: 0.3.4
3
+ Version: 0.3.5
4
4
  Summary: We help GenAI teams maintain high-accuracy for their Models in production.
5
5
  Author: Future AGI
6
6
  Author-email: no-reply@futureagi.com
@@ -20,7 +20,7 @@ from fi.utils.errors import MissingAuthError
20
20
  from fi.utils.executor import BoundedExecutor
21
21
 
22
22
  T = TypeVar("T")
23
- U = TypeVar("U", default=None)
23
+ U = TypeVar("U")
24
24
 
25
25
 
26
26
  class ResponseHandler(Generic[T, U], ABC):
@@ -69,7 +69,7 @@ class HttpClient:
69
69
  def request(
70
70
  self,
71
71
  config: RequestConfig,
72
- response_handler: Optional[ResponseHandler[T]] = None,
72
+ response_handler: Optional[ResponseHandler[T, U]] = None,
73
73
  ) -> Union[Response, T]:
74
74
  """Make an HTTP request with retries and response handling"""
75
75
 
@@ -16,7 +16,7 @@ from fi.utils.types import Environments, ModelTypes
16
16
  from fi.utils.utils import is_timestamp_in_range
17
17
 
18
18
 
19
- class ClientResponseHandler(ResponseHandler[Dict]):
19
+ class ClientResponseHandler(ResponseHandler[Dict, None]):
20
20
  """Handles responses for client requests"""
21
21
 
22
22
  @classmethod
@@ -12,7 +12,7 @@ from fi.utils.errors import InvalidAuthError
12
12
  from fi.utils.routes import Routes
13
13
 
14
14
 
15
- class EvalResponseHandler(ResponseHandler[BatchRunResult]):
15
+ class EvalResponseHandler(ResponseHandler[BatchRunResult, None]):
16
16
  """Handles responses for evaluation requests"""
17
17
 
18
18
  @classmethod
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "futureagi"
3
- version = "0.3.4"
3
+ version = "0.3.5"
4
4
  description = "We help GenAI teams maintain high-accuracy for their Models in production."
5
5
  authors = ["Future AGI <no-reply@futureagi.com>"]
6
6
  readme = "README.md"
@@ -29,6 +29,7 @@ pydantic = "^2.9.2"
29
29
  pre-commit = "^4.0.1"
30
30
  pytest = "^8.3.3"
31
31
  pytest-cov = "^6.0.0"
32
+ tox = "^4.23.2"
32
33
 
33
34
  [build-system]
34
35
  requires = ["poetry-core"]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes