Module messages

Source
Expand description

Message types for FerricLink Core

This module provides the core message abstractions used throughout the FerricLink ecosystem, similar to LangChain’s message system.

Structs§

AIMessage
AI message
HumanMessage
Human message
SystemMessage
System message
ToolMessage
Tool message

Enums§

AnyMessage
Union type for all message types
ContentBlock
A content block within a message
MessageContent
Content of a message, which can be either text or a list of content blocks

Traits§

BaseMessage
Base message trait that all message types implement

Functions§

get_buffer_string
Helper function to convert messages to a string representation