haive.core.schema.prebuilt.messages.examplesΒΆ
from typing import Any. Examples demonstrating the use of the enhanced MessagesState system.
This file contains complete examples of common usage patterns, demonstrating both the classic API and the enhanced features.
FunctionsΒΆ
Demonstrates agent-to-agent handoff with message transformation. |
|
Demonstrates basic usage of MessagesState. |
|
Demonstrates enhanced features of MessagesState. |
|
Demonstrates using the enhanced implementation directly. |
|
Demonstrates tool usage with MessagesState. |
Module ContentsΒΆ
- haive.core.schema.prebuilt.messages.examples.agent_handoff_example()ΒΆ
Demonstrates agent-to-agent handoff with message transformation.
- Return type:
Any
- haive.core.schema.prebuilt.messages.examples.basic_usage_example()ΒΆ
Demonstrates basic usage of MessagesState.
- Return type:
Any
- haive.core.schema.prebuilt.messages.examples.enhanced_features_example()ΒΆ
Demonstrates enhanced features of MessagesState.
- Return type:
Any
- haive.core.schema.prebuilt.messages.examples.enhanced_implementation_example()ΒΆ
Demonstrates using the enhanced implementation directly.
- Return type:
Any
- haive.core.schema.prebuilt.messages.examples.tool_usage_example()ΒΆ
Demonstrates tool usage with MessagesState.
- Return type:
Any