Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RasaMessage ¶
type RasaResponse ¶
type RasaResponse struct {
Messages []RasaMessage
}
func NewRasaResponseFromRaw ¶
func NewRasaResponseFromRaw(rawRasaResponse RawRasaResponse) RasaResponse
func NewRasaResponseSingleMessage ¶
func NewRasaResponseSingleMessage(text string) RasaResponse
func (*RasaResponse) GetCustom ¶
func (response *RasaResponse) GetCustom() map[string]interface{}
func (*RasaResponse) GetText ¶
func (response *RasaResponse) GetText() string
func (*RasaResponse) HasCustom ¶
func (response *RasaResponse) HasCustom() bool
func (*RasaResponse) IsEmpty ¶
func (response *RasaResponse) IsEmpty() bool
type RawRasaResponse ¶
Click to show internal directories.
Click to hide internal directories.