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ΒΆ

agent_handoff_example()

Demonstrates agent-to-agent handoff with message transformation.

basic_usage_example()

Demonstrates basic usage of MessagesState.

enhanced_features_example()

Demonstrates enhanced features of MessagesState.

enhanced_implementation_example()

Demonstrates using the enhanced implementation directly.

tool_usage_example()

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