package
0.2.1
Repository: https://github.com/firebase/genkit.git
Documentation: pkg.go.dev

# Packages

Package logger provides a context-scoped slog.Logger.
The tracing package provides support for execution traces.

# Functions

DefineAction creates a new non-streaming Action and registers it.
DefineActionInRegistry creates an action and registers it with the given Registry.
DefineActionWithInputSchema creates a new Action and registers it.
DefineCustomAction defines a streaming action with type Custom.
DefineStreamingAction creates a new streaming action and registers it.
LookupActionFor returns the action for the given key in the global registry, or nil if there is none.
NewFileFlowStateStore creates a FileFlowStateStore that writes traces to the given directory.
RegisterSpanProcessor registers an OpenTelemetry SpanProcessor for tracing.

# Structs

An Action is a named, observable operation.
A FileFlowStateStore is a FlowStateStore that writes flowStates to files.

# Interfaces

A FlowStateStore stores flow states.

# Type aliases

Func is the type of function that Actions and Flows execute.