Module runnables

Source
Expand description

Runnable trait and related abstractions for FerricLink Core

This module provides the core Runnable trait that powers the FerricLink ecosystem, similar to LangChain’s Runnable interface.

Structs§

ConsoleCallbackHandler
A simple console callback handler for debugging
RunnableAsync
A runnable that wraps an async function
RunnableConfig
Configuration for running a Runnable
RunnableLambda
A runnable that wraps a simple function
RunnableParallel
A runnable that runs multiple runnables in parallel
RunnableSequence
A runnable sequence that chains multiple runnables together

Traits§

CallbackHandler
Trait for callback handlers that can be used during runnable execution
Runnable
The core Runnable trait that all FerricLink components implement

Functions§

runnable
Helper function to create a runnable from a simple function
runnable_async
Helper function to create an async runnable from a function