agentx-python 0.8.2__tar.gz → 0.8.3__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 (84) hide show
  1. {agentx_python-0.8.2/agentx_python.egg-info → agentx_python-0.8.3}/PKG-INFO +1 -1
  2. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/evaluations/models.py +11 -3
  3. agentx_python-0.8.3/agentx/version.py +1 -0
  4. {agentx_python-0.8.2 → agentx_python-0.8.3/agentx_python.egg-info}/PKG-INFO +1 -1
  5. agentx_python-0.8.2/agentx/version.py +0 -1
  6. {agentx_python-0.8.2 → agentx_python-0.8.3}/LICENSE +0 -0
  7. {agentx_python-0.8.2 → agentx_python-0.8.3}/README.md +0 -0
  8. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/__init__.py +0 -0
  9. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/agentx.py +0 -0
  10. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/cli.py +0 -0
  11. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/evaluations/__init__.py +0 -0
  12. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/evaluations/_term.py +0 -0
  13. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/evaluations/adapters/__init__.py +0 -0
  14. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/evaluations/adapters/http_endpoint.py +0 -0
  15. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/evaluations/adapters/precomputed.py +0 -0
  16. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/evaluations/adapters/raw.py +0 -0
  17. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/evaluations/client.py +0 -0
  18. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/evaluations/datasets.py +0 -0
  19. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/evaluations/evaluation_settings.py +0 -0
  20. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/evaluations/prompts.py +0 -0
  21. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/evaluations/reporting.py +0 -0
  22. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/evaluations/results.py +0 -0
  23. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/evaluations/runner.py +0 -0
  24. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/evaluations/tool_schemas.py +0 -0
  25. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/evaluations/tracing.py +0 -0
  26. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/exceptions.py +0 -0
  27. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/export.py +0 -0
  28. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/feedback.py +0 -0
  29. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/integrations/__init__.py +0 -0
  30. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/integrations/_traced_call.py +0 -0
  31. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/integrations/anthropic.py +0 -0
  32. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/integrations/autogen.py +0 -0
  33. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/integrations/crewai.py +0 -0
  34. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/integrations/databricks.py +0 -0
  35. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/integrations/google_adk.py +0 -0
  36. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/integrations/google_genai.py +0 -0
  37. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/integrations/langchain.py +0 -0
  38. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/integrations/litellm.py +0 -0
  39. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/integrations/llamaindex.py +0 -0
  40. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/integrations/moveworks.py +0 -0
  41. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/integrations/openai.py +0 -0
  42. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/integrations/openai_agents.py +0 -0
  43. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/monitor/__init__.py +0 -0
  44. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/monitor/agents.py +0 -0
  45. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/monitor/client.py +0 -0
  46. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/monitor/judge_scorers.py +0 -0
  47. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/monitor/models.py +0 -0
  48. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/monitor/online_evaluators.py +0 -0
  49. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/monitor/patterns.py +0 -0
  50. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/monitor/profile.py +0 -0
  51. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/monitor/scorers.py +0 -0
  52. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/monitor/sessions.py +0 -0
  53. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/monitor/signals.py +0 -0
  54. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/outcomes.py +0 -0
  55. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/projects.py +0 -0
  56. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/py.typed +0 -0
  57. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/resources/__init__.py +0 -0
  58. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/resources/agent.py +0 -0
  59. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/resources/conversation.py +0 -0
  60. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/resources/workforce.py +0 -0
  61. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/testing.py +0 -0
  62. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/traces.py +0 -0
  63. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/tracing/__init__.py +0 -0
  64. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/tracing/ci_types.py +0 -0
  65. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/tracing/ingest_client.py +0 -0
  66. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/tracing/tracer.py +0 -0
  67. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx/util.py +0 -0
  68. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx_python.egg-info/SOURCES.txt +0 -0
  69. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx_python.egg-info/dependency_links.txt +0 -0
  70. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx_python.egg-info/entry_points.txt +0 -0
  71. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx_python.egg-info/not-zip-safe +0 -0
  72. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx_python.egg-info/requires.txt +0 -0
  73. {agentx_python-0.8.2 → agentx_python-0.8.3}/agentx_python.egg-info/top_level.txt +0 -0
  74. {agentx_python-0.8.2 → agentx_python-0.8.3}/setup.cfg +0 -0
  75. {agentx_python-0.8.2 → agentx_python-0.8.3}/setup.py +0 -0
  76. {agentx_python-0.8.2 → agentx_python-0.8.3}/tests/test_deep_dive_fixes.py +0 -0
  77. {agentx_python-0.8.2 → agentx_python-0.8.3}/tests/test_docs_match_sdk.py +0 -0
  78. {agentx_python-0.8.2 → agentx_python-0.8.3}/tests/test_integration.py +0 -0
  79. {agentx_python-0.8.2 → agentx_python-0.8.3}/tests/test_integrations.py +0 -0
  80. {agentx_python-0.8.2 → agentx_python-0.8.3}/tests/test_judge_scorers.py +0 -0
  81. {agentx_python-0.8.2 → agentx_python-0.8.3}/tests/test_pairwise.py +0 -0
  82. {agentx_python-0.8.2 → agentx_python-0.8.3}/tests/test_selfhost_analysis_fallback.py +0 -0
  83. {agentx_python-0.8.2 → agentx_python-0.8.3}/tests/test_span_tree.py +0 -0
  84. {agentx_python-0.8.2 → agentx_python-0.8.3}/tests/test_testing.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentx-python
3
- Version: 0.8.2
3
+ Version: 0.8.3
4
4
  Summary: Official Python SDK for AgentX (https://www.agentx.so/)
5
5
  Home-page: https://github.com/AgentX-ai/AgentX-python
6
6
  Author: Robin Wang and AgentX Team
@@ -1,7 +1,7 @@
1
1
  from __future__ import annotations
2
2
 
3
3
  from typing import Any, Dict, List, Literal, Optional, Union
4
- from pydantic import BaseModel, Field, model_validator
4
+ from pydantic import AliasChoices, BaseModel, Field, model_validator
5
5
 
6
6
  # ---------------------------------------------------------------------------
7
7
  # Observable trace
@@ -418,7 +418,11 @@ class RunResultRow(BaseModel):
418
418
  latency_ms: Optional[float] = Field(default=None, alias="latencyMs")
419
419
  input_tokens: Optional[int] = Field(default=None, alias="inputTokens")
420
420
  output_tokens: Optional[int] = Field(default=None, alias="outputTokens")
421
- cosine_similarity: Optional[float] = Field(default=None, alias="cosineSimilarity")
421
+ # Self-host sends vectorSimilarity, the hosted platform cosineSimilarity - accept both
422
+ # (row.cosine_similarity was silently None forever on self-host before this).
423
+ cosine_similarity: Optional[float] = Field(
424
+ default=None, validation_alias=AliasChoices("cosineSimilarity", "vectorSimilarity")
425
+ )
422
426
  jaccard_similarity: Optional[float] = Field(default=None, alias="jaccardSimilarity")
423
427
  bleu_score: Optional[float] = Field(default=None, alias="bleuScore")
424
428
  rouge_score: Optional[float] = Field(default=None, alias="rougeScore")
@@ -468,7 +472,11 @@ class ReportStatistics(BaseModel):
468
472
  average_rating: float = Field(default=0.0, alias="averageRating")
469
473
  min_rating: float = Field(default=0.0, alias="minRating")
470
474
  max_rating: float = Field(default=0.0, alias="maxRating")
471
- cosine_similarity: Optional[float] = Field(default=None, alias="cosineSimilarity")
475
+ # Self-host sends vectorSimilarity, the hosted platform cosineSimilarity - accept both
476
+ # (row.cosine_similarity was silently None forever on self-host before this).
477
+ cosine_similarity: Optional[float] = Field(
478
+ default=None, validation_alias=AliasChoices("cosineSimilarity", "vectorSimilarity")
479
+ )
472
480
  jaccard_similarity: Optional[float] = Field(default=None, alias="jaccardSimilarity")
473
481
  bleu_score: Optional[float] = Field(default=None, alias="bleuScore")
474
482
  rouge_score: Optional[float] = Field(default=None, alias="rougeScore")
@@ -0,0 +1 @@
1
+ VERSION = "0.8.3"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentx-python
3
- Version: 0.8.2
3
+ Version: 0.8.3
4
4
  Summary: Official Python SDK for AgentX (https://www.agentx.so/)
5
5
  Home-page: https://github.com/AgentX-ai/AgentX-python
6
6
  Author: Robin Wang and AgentX Team
@@ -1 +0,0 @@
1
- VERSION = "0.8.2"
File without changes
File without changes
File without changes
File without changes