Documentation ¶
Overview ¶
Code generated by go generate; DO NOT EDIT. This file was generated at 2023-09-21 13:57:46.187199 -0300 -03 m=+0.013583501
Index ¶
- func NewTranscribeAction() action_structs.Action
- type TranscribeAction
- func (a *TranscribeAction) CheckRequiredParams() error
- func (a *TranscribeAction) Execute(request *action_structs.ActionRequest) ([]*response_object_structs.ResponseObject, error)
- func (a *TranscribeAction) GetDescription() string
- func (a *TranscribeAction) GetName() string
- func (a *TranscribeAction) GetNotification() string
- func (a *TranscribeAction) GetParam(key string) (string, error)
- func (a *TranscribeAction) GetParams() []*action_structs.ActionParameter
- func (a *TranscribeAction) GetSchema() *functions.FunctionDefinition
- func (a *TranscribeAction) MustGetParam(key string) string
- func (a *TranscribeAction) RunPostActions(request *action_structs.ActionRequest) error
- func (a *TranscribeAction) RunPreActions(request *action_structs.ActionRequest) error
- func (a *TranscribeAction) SetMessage(message *memory.Message)
- func (a *TranscribeAction) SetParam(key, value string)
- func (a *TranscribeAction) SkipFunctionCall() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTranscribeAction ¶
func NewTranscribeAction() action_structs.Action
NewTranscribeAction creates a new TranscribeAction with Params initialized
Types ¶
type TranscribeAction ¶
type TranscribeAction struct { Name string Description string Params *action_structs.ActionParameterSet Extra map[string]interface{} }
func (*TranscribeAction) CheckRequiredParams ¶
func (a *TranscribeAction) CheckRequiredParams() error
CheckRequiredParams checks if all required params are set
func (*TranscribeAction) Execute ¶
func (a *TranscribeAction) Execute(request *action_structs.ActionRequest) ([]*response_object_structs.ResponseObject, error)
func (*TranscribeAction) GetDescription ¶
func (a *TranscribeAction) GetDescription() string
func (*TranscribeAction) GetName ¶
func (a *TranscribeAction) GetName() string
func (*TranscribeAction) GetNotification ¶
func (a *TranscribeAction) GetNotification() string
func (*TranscribeAction) GetParams ¶
func (a *TranscribeAction) GetParams() []*action_structs.ActionParameter
func (*TranscribeAction) GetSchema ¶
func (a *TranscribeAction) GetSchema() *functions.FunctionDefinition
func (*TranscribeAction) MustGetParam ¶
func (a *TranscribeAction) MustGetParam(key string) string
func (*TranscribeAction) RunPostActions ¶
func (a *TranscribeAction) RunPostActions(request *action_structs.ActionRequest) error
func (*TranscribeAction) RunPreActions ¶
func (a *TranscribeAction) RunPreActions(request *action_structs.ActionRequest) error
func (*TranscribeAction) SetMessage ¶
func (a *TranscribeAction) SetMessage(message *memory.Message)
func (*TranscribeAction) SetParam ¶
func (a *TranscribeAction) SetParam(key, value string)
func (*TranscribeAction) SkipFunctionCall ¶
func (a *TranscribeAction) SkipFunctionCall() bool
Click to show internal directories.
Click to hide internal directories.