MCPcopy Create free account
hub / github.com/cloudwego/eino-examples / Compilable

Interface Compilable

compose/batch/batch/types.go:53–55  ·  view source on GitHub ↗

Compilable represents a Graph or Workflow that can be compiled into a Runnable. Both compose.Graph and compose.Workflow implement this interface.

Source from the content-addressed store, hash-verified

51// Compilable represents a Graph or Workflow that can be compiled into a Runnable.
52// Both compose.Graph and compose.Workflow implement this interface.
53type Compilable[I, O any] interface {
54 Compile(ctx context.Context, opts ...compose.GraphCompileOption) (compose.Runnable[I, O], error)
55}
56
57// NodeConfig contains configuration for creating a BatchNode.
58type NodeConfig[I, O any] struct {

Callers 8

mainFunction · 0.65
NewAgentFunction · 0.65
mainFunction · 0.65
composeAgentFunction · 0.65
BuilderFunction · 0.65
mainFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected