pocketflow 0.1.0

A minimalist LLM framework. Let Agents build Agents!
Documentation
1
2
3
4
5
6
7
8
9
use std::collections::HashMap;

/// Shared state that can be passed between nodes
pub type SharedState = serde_json::Value;
/// Parameters that can be configured for nodes
pub type Params = HashMap<String, serde_json::Value>;
/// Action string used for determining the next node in a flow
pub type ActionKey = String;
pub const DEFAULT_ACTION: &str = "default";