std1.0.0-beta-7 SafeC docs

std :: ml::llm

Struct std::Chain

#include <std/ml/llm.h> source

struct Chain {
    struct Vec<ChainStepFn> steps;
}

Fields

§struct Vec<ChainStepFn> stepssource

Methods

§void add_step(ChainStepFn step)source · definition
§struct Value run(const &Value input)source · definition
§void drop()source · definition
§void free() consumesource · definition

= drop()

§static struct Chain new()source · definition