Documentation ¶
Index ¶
- type ActiveContext
- type Attributes
- type Button
- type ContextAttributes
- type DialogAction
- type ImageResponseCard
- type Intent
- type LexV2Event
- type LexV2Response
- type Message
- type RuntimeHintValue
- type RuntimeHints
- type SessionState
- type SlotHints
- type SlotHintsString
- type Slots
- type StringString
- type TimeToLive
- type ValueElement
- type ValueValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveContext ¶
type ActiveContext struct { Name string `json:"name"` ContextAttributes ContextAttributes `json:"contextAttributes"` TimeToLive TimeToLive `json:"timeToLive"` }
type Attributes ¶
type Attributes struct {
String string `json:"string"`
}
type ContextAttributes ¶
type ContextAttributes struct {
Key string `json:"key"`
}
type DialogAction ¶
type ImageResponseCard ¶
type LexV2Event ¶
type LexV2Event struct { events.LexEvent Interpretations []map[string]interface{} `json:"interpretations"` SessionState SessionState `json:"sessionState"` InputMode string `json:"inputMode"` }
type LexV2Response ¶
type LexV2Response struct { SessionState SessionState `json:"sessionState"` Messages []Message `json:"messages"` RequestAttributes Attributes `json:"requestAttributes"` }
type RuntimeHintValue ¶
type RuntimeHintValue struct {
Phrase string `json:"phrase"`
}
type RuntimeHints ¶
type RuntimeHints struct {
SlotHints SlotHints `json:"slotHints"`
}
type SessionState ¶
type SessionState struct { ActiveContexts []ActiveContext `json:"activeContexts"` SessionAttributes Attributes `json:"sessionAttributes"` // TODO: Configure more detailed runtime hints. //RuntimeHints RuntimeHints `json:"runtimeHints,omitempty"` DialogAction DialogAction `json:"dialogAction"` Intent Intent `json:"intent"` }
type SlotHints ¶
type SlotHints struct {
String SlotHintsString `json:"string"`
}
type SlotHintsString ¶
type SlotHintsString struct {
String StringString `json:"string"`
}
type StringString ¶
type StringString struct {
RuntimeHintValues []RuntimeHintValue `json:"runtimeHintValues"`
}
type TimeToLive ¶
type ValueElement ¶
type ValueElement struct { Shape string `json:"shape"` Value ValueValue `json:"value"` }
type ValueValue ¶
Click to show internal directories.
Click to hide internal directories.