Versions in this module Expand all Collapse all v1 v1.0.2 Jun 1, 2026 v1.0.1 May 29, 2026 Changes in this version + type ADCChannel struct + Id string + Label string + Type ADCChannelType + type ADCChannelType string + const ADC + func (e ADCChannelType) Valid() bool + type AgentNode struct + Arguments struct{ ... } + Id string + Label *string + Position NodePosition + Type AgentNodeType + type AgentNodeType string + const Agent + func (e AgentNodeType) Valid() bool + type AlarmNode struct + Arguments struct{ ... } + Id string + Label *string + Position NodePosition + Type AlarmNodeType + type AlarmNodeType string + const Alarm + func (e AlarmNodeType) Valid() bool + type Channel struct + func (t *Channel) FromADCChannel(v ADCChannel) error + func (t *Channel) FromDACChannel(v DACChannel) error + func (t *Channel) FromGPIOINChannel(v GPIOINChannel) error + func (t *Channel) FromGPIOOUTChannel(v GPIOOUTChannel) error + func (t *Channel) FromMQTTChannel(v MQTTChannel) error + func (t *Channel) FromPWMChannel(v PWMChannel) error + func (t *Channel) FromUARTChannel(v UARTChannel) error + func (t *Channel) MergeADCChannel(v ADCChannel) error + func (t *Channel) MergeDACChannel(v DACChannel) error + func (t *Channel) MergeGPIOINChannel(v GPIOINChannel) error + func (t *Channel) MergeGPIOOUTChannel(v GPIOOUTChannel) error + func (t *Channel) MergeMQTTChannel(v MQTTChannel) error + func (t *Channel) MergePWMChannel(v PWMChannel) error + func (t *Channel) MergeUARTChannel(v UARTChannel) error + func (t *Channel) UnmarshalJSON(b []byte) error + func (t Channel) AsADCChannel() (ADCChannel, error) + func (t Channel) AsDACChannel() (DACChannel, error) + func (t Channel) AsGPIOINChannel() (GPIOINChannel, error) + func (t Channel) AsGPIOOUTChannel() (GPIOOUTChannel, error) + func (t Channel) AsMQTTChannel() (MQTTChannel, error) + func (t Channel) AsPWMChannel() (PWMChannel, error) + func (t Channel) AsUARTChannel() (UARTChannel, error) + func (t Channel) Discriminator() (string, error) + func (t Channel) MarshalJSON() ([]byte, error) + func (t Channel) ValueByDiscriminator() (interface{}, error) + type DACChannel struct + Id string + Label string + Type DACChannelType + type DACChannelType string + const DAC + func (e DACChannelType) Valid() bool + type DataType string + const Bool + const Float + const Int + const String + func (e DataType) Valid() bool + type DelayNode struct + Arguments struct{ ... } + Id string + Label *string + Position NodePosition + Type DelayNodeType + type DelayNodeType string + const Delay + func (e DelayNodeType) Valid() bool + type Edge struct + Description *string + From Vertex + Id string + Prompt *Expression + To Vertex + Type EdgeType + type EdgeType string + const AgentChoice + const AgentDelegate + const AgentTask + const Control + const Tool + func (e EdgeType) Valid() bool + type Expression struct + DataType DataType + Expression string + References []Reference + type Function struct + DeclaredVariables []Variable + Edges []Edge + FunctionInfo FunctionInfo + Nodes []Node + OutputAssignments map[string]Expression + type FunctionCallNode struct + Arguments struct{ ... } + FunctionId string + Id string + Label *string + Position NodePosition + Type FunctionCallNodeType + type FunctionCallNodeType string + const FunctionCallNodeTypeFunctionCall + func (e FunctionCallNodeType) Valid() bool + type FunctionInfo struct + Arguments []Variable + Id string + Name string + Returns []Variable + Version int32 + type GPIOINChannel struct + Bias GPIOINChannelBias + DebounceMs int + Id string + Label string + Type GPIOINChannelType + type GPIOINChannelBias string + const None + const Pulldown + const Pullup + func (e GPIOINChannelBias) Valid() bool + type GPIOINChannelType string + const GPIOIN + func (e GPIOINChannelType) Valid() bool + type GPIOOUTChannel struct + Id string + Label string + Type GPIOOUTChannelType + type GPIOOUTChannelType string + const GPIOOUT + func (e GPIOOUTChannelType) Valid() bool + type IfNode struct + Arguments struct{ ... } + Id string + Label *string + Position NodePosition + Type IfNodeType + type IfNodeType string + const If + func (e IfNodeType) Valid() bool + type LLMModel struct + Capabilities []ModelCapability + Id string + Label string + Type LLMModelType + type LLMModelType string + const LLMModelTypeLLMModel + func (e LLMModelType) Valid() bool + type MQTTChannel struct + Id string + Label string + Topic string + Type MQTTChannelType + type MQTTChannelType string + const MQTT + func (e MQTTChannelType) Valid() bool + type Memory struct + func (t *Memory) FromMemoryFile(v MemoryFile) error + func (t *Memory) FromVectorDatabase(v VectorDatabase) error + func (t *Memory) MergeMemoryFile(v MemoryFile) error + func (t *Memory) MergeVectorDatabase(v VectorDatabase) error + func (t *Memory) UnmarshalJSON(b []byte) error + func (t Memory) AsMemoryFile() (MemoryFile, error) + func (t Memory) AsVectorDatabase() (VectorDatabase, error) + func (t Memory) Discriminator() (string, error) + func (t Memory) MarshalJSON() ([]byte, error) + func (t Memory) ValueByDiscriminator() (interface{}, error) + type MemoryFile struct + Content string + Description string + Id string + Label string + MaxSizeBytes *int + Type MemoryFileType + type MemoryFileType string + const MemoryFileTypeMemoryFile + func (e MemoryFileType) Valid() bool + type MemoryRef struct + Id string + Mode MemoryRefMode + type MemoryRefMode string + const R + const Rw + func (e MemoryRefMode) Valid() bool + type Model struct + func (t *Model) FromLLMModel(v LLMModel) error + func (t *Model) MergeLLMModel(v LLMModel) error + func (t *Model) UnmarshalJSON(b []byte) error + func (t Model) AsLLMModel() (LLMModel, error) + func (t Model) Discriminator() (string, error) + func (t Model) MarshalJSON() ([]byte, error) + func (t Model) ValueByDiscriminator() (interface{}, error) + type ModelCapability string + const ModelCapabilityChat + const ModelCapabilityClassification + const ModelCapabilityCode + const ModelCapabilityEmbedding + const ModelCapabilityFineTuning + const ModelCapabilityFunctionCall + const ModelCapabilityReasoning + const ModelCapabilityVision + func (e ModelCapability) Valid() bool + type MqttPublishNode struct + Arguments struct{ ... } + Id string + Label *string + Position NodePosition + Type MqttPublishNodeType + type MqttPublishNodeArgumentsQos int + const N0 + const N1 + const N2 + func (e MqttPublishNodeArgumentsQos) Valid() bool + type MqttPublishNodeType string + const MqttPublish + func (e MqttPublishNodeType) Valid() bool + type Node struct + func (t *Node) FromAgentNode(v AgentNode) error + func (t *Node) FromAlarmNode(v AlarmNode) error + func (t *Node) FromDelayNode(v DelayNode) error + func (t *Node) FromFunctionCallNode(v FunctionCallNode) error + func (t *Node) FromIfNode(v IfNode) error + func (t *Node) FromMqttPublishNode(v MqttPublishNode) error + func (t *Node) FromOnFunctionCallNode(v OnFunctionCallNode) error + func (t *Node) FromOnMqttMessageNode(v OnMqttMessageNode) error + func (t *Node) FromOnPinEdgeNode(v OnPinEdgeNode) error + func (t *Node) FromOnSerialReceiveNode(v OnSerialReceiveNode) error + func (t *Node) FromOnStartupNode(v OnStartupNode) error + func (t *Node) FromOnThresholdNode(v OnThresholdNode) error + func (t *Node) FromReadPinNode(v ReadPinNode) error + func (t *Node) FromRetrieverNode(v RetrieverNode) error + func (t *Node) FromSerialReadNode(v SerialReadNode) error + func (t *Node) FromSerialWriteNode(v SerialWriteNode) error + func (t *Node) FromSetVariableNode(v SetVariableNode) error + func (t *Node) FromTickerNode(v TickerNode) error + func (t *Node) FromWebFetchNode(v WebFetchNode) error + func (t *Node) FromWebSearchToolNode(v WebSearchToolNode) error + func (t *Node) FromWritePinNode(v WritePinNode) error + func (t *Node) MergeAgentNode(v AgentNode) error + func (t *Node) MergeAlarmNode(v AlarmNode) error + func (t *Node) MergeDelayNode(v DelayNode) error + func (t *Node) MergeFunctionCallNode(v FunctionCallNode) error + func (t *Node) MergeIfNode(v IfNode) error + func (t *Node) MergeMqttPublishNode(v MqttPublishNode) error + func (t *Node) MergeOnFunctionCallNode(v OnFunctionCallNode) error + func (t *Node) MergeOnMqttMessageNode(v OnMqttMessageNode) error + func (t *Node) MergeOnPinEdgeNode(v OnPinEdgeNode) error + func (t *Node) MergeOnSerialReceiveNode(v OnSerialReceiveNode) error + func (t *Node) MergeOnStartupNode(v OnStartupNode) error + func (t *Node) MergeOnThresholdNode(v OnThresholdNode) error + func (t *Node) MergeReadPinNode(v ReadPinNode) error + func (t *Node) MergeRetrieverNode(v RetrieverNode) error + func (t *Node) MergeSerialReadNode(v SerialReadNode) error + func (t *Node) MergeSerialWriteNode(v SerialWriteNode) error + func (t *Node) MergeSetVariableNode(v SetVariableNode) error + func (t *Node) MergeTickerNode(v TickerNode) error + func (t *Node) MergeWebFetchNode(v WebFetchNode) error + func (t *Node) MergeWebSearchToolNode(v WebSearchToolNode) error + func (t *Node) MergeWritePinNode(v WritePinNode) error + func (t *Node) UnmarshalJSON(b []byte) error + func (t Node) AsAgentNode() (AgentNode, error) + func (t Node) AsAlarmNode() (AlarmNode, error) + func (t Node) AsDelayNode() (DelayNode, error) + func (t Node) AsFunctionCallNode() (FunctionCallNode, error) + func (t Node) AsIfNode() (IfNode, error) + func (t Node) AsMqttPublishNode() (MqttPublishNode, error) + func (t Node) AsOnFunctionCallNode() (OnFunctionCallNode, error) + func (t Node) AsOnMqttMessageNode() (OnMqttMessageNode, error) + func (t Node) AsOnPinEdgeNode() (OnPinEdgeNode, error) + func (t Node) AsOnSerialReceiveNode() (OnSerialReceiveNode, error) + func (t Node) AsOnStartupNode() (OnStartupNode, error) + func (t Node) AsOnThresholdNode() (OnThresholdNode, error) + func (t Node) AsReadPinNode() (ReadPinNode, error) + func (t Node) AsRetrieverNode() (RetrieverNode, error) + func (t Node) AsSerialReadNode() (SerialReadNode, error) + func (t Node) AsSerialWriteNode() (SerialWriteNode, error) + func (t Node) AsSetVariableNode() (SetVariableNode, error) + func (t Node) AsTickerNode() (TickerNode, error) + func (t Node) AsWebFetchNode() (WebFetchNode, error) + func (t Node) AsWebSearchToolNode() (WebSearchToolNode, error) + func (t Node) AsWritePinNode() (WritePinNode, error) + func (t Node) Discriminator() (string, error) + func (t Node) MarshalJSON() ([]byte, error) + func (t Node) ValueByDiscriminator() (interface{}, error) + type NodePosition struct + X float32 + Y float32 + type OnFunctionCallNode struct + Id string + Label *string + Position NodePosition + Type OnFunctionCallNodeType + type OnFunctionCallNodeType string + const OnFunctionCall + func (e OnFunctionCallNodeType) Valid() bool + type OnMqttMessageNode struct + Arguments struct{ ... } + Id string + Label *string + Position NodePosition + Type OnMqttMessageNodeType + type OnMqttMessageNodeType string + const OnMqttMessage + func (e OnMqttMessageNodeType) Valid() bool + type OnPinEdgeNode struct + Arguments struct{ ... } + Id string + Label *string + Position NodePosition + Type OnPinEdgeNodeType + type OnPinEdgeNodeArgumentsEdge string + const OnPinEdgeNodeArgumentsEdgeBoth + const OnPinEdgeNodeArgumentsEdgeFalling + const OnPinEdgeNodeArgumentsEdgeRising + func (e OnPinEdgeNodeArgumentsEdge) Valid() bool + type OnPinEdgeNodeType string + const OnPinEdge + func (e OnPinEdgeNodeType) Valid() bool + type OnSerialReceiveNode struct + Arguments struct{ ... } + Id string + Label *string + Position NodePosition + Type OnSerialReceiveNodeType + type OnSerialReceiveNodeType string + const OnSerialReceive + func (e OnSerialReceiveNodeType) Valid() bool + type OnStartupNode struct + Id string + Label *string + Position NodePosition + Type OnStartupNodeType + type OnStartupNodeType string + const OnStartup + func (e OnStartupNodeType) Valid() bool + type OnThresholdNode struct + Arguments struct{ ... } + Id string + Label *string + Position NodePosition + Type OnThresholdNodeType + type OnThresholdNodeArgumentsDirection string + const OnThresholdNodeArgumentsDirectionBoth + const OnThresholdNodeArgumentsDirectionFalling + const OnThresholdNodeArgumentsDirectionRising + func (e OnThresholdNodeArgumentsDirection) Valid() bool + type OnThresholdNodeType string + const OnThreshold + func (e OnThresholdNodeType) Valid() bool + type OutputBinding struct + Active bool + Mode OutputBindingMode + Name *string + Target *Reference + type OutputBindingMode string + const OutputBindingModeAssign + const OutputBindingModeEmit + func (e OutputBindingMode) Valid() bool + type OutputDeclaration struct + DataType DataType + Mode OutputDeclarationMode + Name string + Target *Reference + Uid *string + type OutputDeclarationMode string + const OutputDeclarationModeAssign + const OutputDeclarationModeEmit + func (e OutputDeclarationMode) Valid() bool + type PWMChannel struct + Frequency int + Id string + Label string + Type PWMChannelType + type PWMChannelType string + const PWM + func (e PWMChannelType) Valid() bool + type ReadPinNode struct + Arguments struct{ ... } + Id string + Label *string + Position NodePosition + Type ReadPinNodeType + type ReadPinNodeType string + const ReadPin + func (e ReadPinNodeType) Valid() bool + type Reference struct + SrcId string + VarId string + type RetrieverNode struct + Arguments struct{ ... } + Id string + Label *string + Position NodePosition + Type RetrieverNodeType + type RetrieverNodeType string + const Retriever + func (e RetrieverNodeType) Valid() bool + type SerialReadNode struct + Arguments struct{ ... } + Id string + Label *string + Position NodePosition + Type SerialReadNodeType + type SerialReadNodeType string + const SerialRead + func (e SerialReadNodeType) Valid() bool + type SerialWriteNode struct + Arguments struct{ ... } + Id string + Label *string + Position NodePosition + Type SerialWriteNodeType + type SerialWriteNodeType string + const SerialWrite + func (e SerialWriteNodeType) Valid() bool + type SetVariableNode struct + Arguments struct{ ... } + Id string + Label *string + Position NodePosition + Type SetVariableNodeType + type SetVariableNodeType string + const SetVariable + func (e SetVariableNodeType) Valid() bool + type SignalType string + const Analog + const Digital + func (e SignalType) Valid() bool + type TickerNode struct + Arguments struct{ ... } + Id string + Label *string + Position NodePosition + Type TickerNodeType + type TickerNodeArgumentsIntervalUnit string + const Hours + const Milliseconds + const Minutes + const Seconds + func (e TickerNodeArgumentsIntervalUnit) Valid() bool + type TickerNodeType string + const Ticker + func (e TickerNodeType) Valid() bool + type UARTChannel struct + Id string + Label string + Type UARTChannelType + type UARTChannelType string + const UART + func (e UARTChannelType) Valid() bool + type Variable struct + DataType DataType + InitialValue interface{} + Name string + Uid string + type VectorDatabase struct + Description *string + Id string + Label string + Type VectorDatabaseType + type VectorDatabaseType string + const VectorDatabaseTypeVectorDatabase + func (e VectorDatabaseType) Valid() bool + type Vertex struct + NodeId string + Port string + type WebFetchNode struct + Arguments struct{ ... } + Id string + Label *string + Position NodePosition + Type WebFetchNodeType + type WebFetchNodeType string + const WebFetch + func (e WebFetchNodeType) Valid() bool + type WebSearchToolNode struct + Arguments struct{ ... } + Id string + Label *string + Position NodePosition + Type WebSearchToolNodeType + type WebSearchToolNodeType string + const WebSearchTool + func (e WebSearchToolNodeType) Valid() bool + type Workflow struct + Channels []Channel + DeclaredVariables []Variable + Edges []Edge + Functions []Function + Memory *[]Memory + Models *[]Model + Nodes []Node + SchemaVersion int32 + type WritePinNode struct + Arguments struct{ ... } + Id string + Label *string + Position NodePosition + Type WritePinNodeType + type WritePinNodeType string + const WritePin + func (e WritePinNodeType) Valid() bool