openinference-instrumentation-beeai 0.1.10__tar.gz → 0.1.12__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 (22) hide show
  1. {openinference_instrumentation_beeai-0.1.10 → openinference_instrumentation_beeai-0.1.12}/PKG-INFO +4 -4
  2. {openinference_instrumentation_beeai-0.1.10 → openinference_instrumentation_beeai-0.1.12}/pyproject.toml +3 -3
  3. {openinference_instrumentation_beeai-0.1.10 → openinference_instrumentation_beeai-0.1.12}/src/openinference/instrumentation/beeai/__init__.py +1 -1
  4. {openinference_instrumentation_beeai-0.1.10 → openinference_instrumentation_beeai-0.1.12}/src/openinference/instrumentation/beeai/processors/agents/requirement_agent.py +2 -2
  5. {openinference_instrumentation_beeai-0.1.10 → openinference_instrumentation_beeai-0.1.12}/src/openinference/instrumentation/beeai/processors/chat.py +2 -2
  6. {openinference_instrumentation_beeai-0.1.10 → openinference_instrumentation_beeai-0.1.12}/src/openinference/instrumentation/beeai/processors/locator.py +2 -2
  7. {openinference_instrumentation_beeai-0.1.10 → openinference_instrumentation_beeai-0.1.12}/src/openinference/instrumentation/beeai/processors/requirement.py +4 -4
  8. openinference_instrumentation_beeai-0.1.12/src/openinference/instrumentation/beeai/version.py +1 -0
  9. openinference_instrumentation_beeai-0.1.10/src/openinference/instrumentation/beeai/version.py +0 -1
  10. {openinference_instrumentation_beeai-0.1.10 → openinference_instrumentation_beeai-0.1.12}/.gitignore +0 -0
  11. {openinference_instrumentation_beeai-0.1.10 → openinference_instrumentation_beeai-0.1.12}/README.md +0 -0
  12. {openinference_instrumentation_beeai-0.1.10 → openinference_instrumentation_beeai-0.1.12}/src/openinference/instrumentation/beeai/_span.py +0 -0
  13. {openinference_instrumentation_beeai-0.1.10 → openinference_instrumentation_beeai-0.1.12}/src/openinference/instrumentation/beeai/_utils.py +0 -0
  14. {openinference_instrumentation_beeai-0.1.10 → openinference_instrumentation_beeai-0.1.12}/src/openinference/instrumentation/beeai/processors/__init__.py +0 -0
  15. {openinference_instrumentation_beeai-0.1.10 → openinference_instrumentation_beeai-0.1.12}/src/openinference/instrumentation/beeai/processors/agents/__init__.py +0 -0
  16. {openinference_instrumentation_beeai-0.1.10 → openinference_instrumentation_beeai-0.1.12}/src/openinference/instrumentation/beeai/processors/agents/base.py +0 -0
  17. {openinference_instrumentation_beeai-0.1.10 → openinference_instrumentation_beeai-0.1.12}/src/openinference/instrumentation/beeai/processors/agents/react.py +0 -0
  18. {openinference_instrumentation_beeai-0.1.10 → openinference_instrumentation_beeai-0.1.12}/src/openinference/instrumentation/beeai/processors/agents/tool_calling.py +0 -0
  19. {openinference_instrumentation_beeai-0.1.10 → openinference_instrumentation_beeai-0.1.12}/src/openinference/instrumentation/beeai/processors/base.py +0 -0
  20. {openinference_instrumentation_beeai-0.1.10 → openinference_instrumentation_beeai-0.1.12}/src/openinference/instrumentation/beeai/processors/embedding.py +0 -0
  21. {openinference_instrumentation_beeai-0.1.10 → openinference_instrumentation_beeai-0.1.12}/src/openinference/instrumentation/beeai/processors/tool.py +0 -0
  22. {openinference_instrumentation_beeai-0.1.10 → openinference_instrumentation_beeai-0.1.12}/src/openinference/instrumentation/beeai/processors/workflow.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: openinference-instrumentation-beeai
3
- Version: 0.1.10
3
+ Version: 0.1.12
4
4
  Summary: OpenInference BeeAI Instrumentation
5
5
  Project-URL: Homepage, https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-beeai
6
6
  Author: IBM Corp.
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 3.11
15
15
  Classifier: Programming Language :: Python :: 3.12
16
16
  Classifier: Programming Language :: Python :: 3.13
17
17
  Requires-Python: <3.14,>=3.11
18
- Requires-Dist: beeai-framework<0.2.0,>=0.1.36
18
+ Requires-Dist: beeai-framework<0.2.0,>=0.1.51
19
19
  Requires-Dist: openinference-instrumentation>=0.1.37
20
20
  Requires-Dist: openinference-semantic-conventions>=0.1.21
21
21
  Requires-Dist: opentelemetry-api>=1.36.0
@@ -23,9 +23,9 @@ Requires-Dist: opentelemetry-instrumentation>=0.57b0
23
23
  Requires-Dist: opentelemetry-semantic-conventions>=0.57b0
24
24
  Requires-Dist: wrapt>=1.17.2
25
25
  Provides-Extra: instruments
26
- Requires-Dist: beeai-framework>=0.1.36; extra == 'instruments'
26
+ Requires-Dist: beeai-framework>=0.1.51; extra == 'instruments'
27
27
  Provides-Extra: test
28
- Requires-Dist: beeai-framework>=0.1.36; extra == 'test'
28
+ Requires-Dist: beeai-framework>=0.1.51; extra == 'test'
29
29
  Requires-Dist: opentelemetry-exporter-otlp; extra == 'test'
30
30
  Requires-Dist: opentelemetry-sdk; extra == 'test'
31
31
  Description-Content-Type: text/markdown
@@ -22,7 +22,7 @@ classifiers = [
22
22
  "Programming Language :: Python :: 3.13",
23
23
  ]
24
24
  dependencies = [
25
- "beeai-framework (>=0.1.36,<0.2.0)",
25
+ "beeai-framework (>=0.1.51,<0.2.0)",
26
26
  "openinference-instrumentation>=0.1.37",
27
27
  "openinference-semantic-conventions>=0.1.21",
28
28
  "opentelemetry-api>=1.36.0",
@@ -33,10 +33,10 @@ dependencies = [
33
33
 
34
34
  [project.optional-dependencies]
35
35
  instruments = [
36
- "beeai-framework >= 0.1.36",
36
+ "beeai-framework >= 0.1.51",
37
37
  ]
38
38
  test = [
39
- "beeai-framework >= 0.1.36",
39
+ "beeai-framework >= 0.1.51",
40
40
  "opentelemetry-sdk",
41
41
  "opentelemetry-exporter-otlp"
42
42
  ]
@@ -24,7 +24,7 @@ from openinference.instrumentation.beeai.processors.locator import ProcessorLoca
24
24
 
25
25
  logger = logging.getLogger(__name__)
26
26
 
27
- _instruments = ("beeai-framework >= 0.1.32",)
27
+ _instruments = ("beeai-framework >= 0.1.51",)
28
28
  try:
29
29
  __version__ = version("beeai-framework")
30
30
  except PackageNotFoundError:
@@ -1,10 +1,10 @@
1
1
  from typing import Any
2
2
 
3
- from beeai_framework.agents.experimental.events import (
3
+ from beeai_framework.agents.requirement.events import (
4
4
  RequirementAgentStartEvent,
5
5
  RequirementAgentSuccessEvent,
6
6
  )
7
- from beeai_framework.agents.experimental.types import RequirementAgentRunStateStep
7
+ from beeai_framework.agents.requirement.types import RequirementAgentRunStateStep
8
8
  from beeai_framework.context import RunContextStartEvent
9
9
  from beeai_framework.emitter import EventMeta
10
10
  from typing_extensions import override
@@ -99,7 +99,7 @@ class ChatModelProcessor(Processor):
99
99
 
100
100
  case ChatModelSuccessEvent():
101
101
  if not self._messages: # only when no streaming
102
- self._add_new_messages(event.value.messages)
102
+ self._add_new_messages(event.value.output)
103
103
 
104
104
  usage = event.value.usage
105
105
  if usage:
@@ -126,7 +126,7 @@ class ChatModelProcessor(Processor):
126
126
  SpanAttributes.OPENINFERENCE_SPAN_KIND: type(self).kind,
127
127
  SpanAttributes.OUTPUT_VALUE: event.value.get_text_content(),
128
128
  SpanAttributes.OUTPUT_MIME_TYPE: OpenInferenceMimeTypeValues.TEXT.value,
129
- f"{SpanAttributes.METADATA}.chunks_count": len(event.value.messages),
129
+ f"{SpanAttributes.METADATA}.chunks_count": len(event.value.output),
130
130
  **_unpack_object(
131
131
  usage.model_dump(exclude_none=True) if usage else {},
132
132
  prefix=f"{SpanAttributes.METADATA}.usage",
@@ -47,14 +47,14 @@ class ProcessorLocator:
47
47
  ProcessorLocator.entries[ToolCallingAgent] = ToolCallingAgentProcessor
48
48
 
49
49
  with contextlib.suppress(ImportError):
50
- from beeai_framework.agents.experimental.agent import RequirementAgent
50
+ from beeai_framework.agents.requirement import RequirementAgent
51
51
 
52
52
  from .agents.requirement_agent import RequirementAgentProcessor
53
53
 
54
54
  ProcessorLocator.entries[RequirementAgent] = RequirementAgentProcessor
55
55
 
56
56
  with contextlib.suppress(ImportError):
57
- from beeai_framework.agents.experimental.requirements.requirement import Requirement
57
+ from beeai_framework.agents.requirement.requirements.requirement import Requirement
58
58
 
59
59
  from openinference.instrumentation.beeai.processors.requirement import (
60
60
  RequirementProcessor,
@@ -1,9 +1,9 @@
1
1
  from typing import Any, ClassVar
2
2
 
3
- from beeai_framework.agents.experimental.requirements.ask_permission import AskPermissionRequirement
4
- from beeai_framework.agents.experimental.requirements.conditional import ConditionalRequirement
5
- from beeai_framework.agents.experimental.requirements.events import RequirementInitEvent
6
- from beeai_framework.agents.experimental.requirements.requirement import Requirement
3
+ from beeai_framework.agents.requirement.requirements.ask_permission import AskPermissionRequirement
4
+ from beeai_framework.agents.requirement.requirements.conditional import ConditionalRequirement
5
+ from beeai_framework.agents.requirement.requirements.events import RequirementInitEvent
6
+ from beeai_framework.agents.requirement.requirements.requirement import Requirement
7
7
  from beeai_framework.context import RunContext, RunContextStartEvent
8
8
  from beeai_framework.emitter import EventMeta
9
9
  from typing_extensions import override