math

package
v0.0.0-...-8c49f18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Code generated by go generate; DO NOT EDIT. This file was generated at 2023-09-21 13:57:46.184908 -0300 -03 m=+0.011291793

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMathAction

func NewMathAction() action_structs.Action

NewMathAction creates a new MathAction with Params initialized

Types

type MathAction

type MathAction struct {
	Name        string
	Description string
	Params      *action_structs.ActionParameterSet
	Extra       map[string]interface{}
}

func (*MathAction) CheckRequiredParams

func (a *MathAction) CheckRequiredParams() error

CheckRequiredParams checks if all required params are set

func (*MathAction) Execute

func (*MathAction) GetDescription

func (a *MathAction) GetDescription() string

func (*MathAction) GetName

func (a *MathAction) GetName() string

func (*MathAction) GetNotification

func (a *MathAction) GetNotification() string

func (*MathAction) GetParam

func (a *MathAction) GetParam(key string) (string, error)

func (*MathAction) GetParams

func (a *MathAction) GetParams() []*action_structs.ActionParameter

func (*MathAction) GetSchema

func (a *MathAction) GetSchema() *functions.FunctionDefinition

func (*MathAction) MustGetParam

func (a *MathAction) MustGetParam(key string) string

func (*MathAction) RunPostActions

func (a *MathAction) RunPostActions(request *action_structs.ActionRequest) error

func (*MathAction) RunPreActions

func (a *MathAction) RunPreActions(request *action_structs.ActionRequest) error

func (*MathAction) SetMessage

func (a *MathAction) SetMessage(msg *memory.Message)

func (*MathAction) SetParam

func (a *MathAction) SetParam(key, value string)

func (*MathAction) SkipFunctionCall

func (a *MathAction) SkipFunctionCall() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址