personality.go 715 B

1234567891011
  1. package eliza
  2. type Personality struct {
  3. Name string `json:"name" yaml:"name"`
  4. Introductions []string `json:"introductions,omitempty" yaml:"introductions,omitempty"`
  5. Goodbyes []string `json:"goodbyes,omitempty" yaml:"goodbyes,omitempty"`
  6. Psychobabble map[string][]string `json:"psychobabble,omitempty" yaml:"psychobabble,omitempty"`
  7. DefaultResponses []string `json:"defaultresponses,omitempty" yaml:"defaultresponses,omitempty"`
  8. QuitResponses []string `json:"quitresponses,omitempty" yaml:"quitresponses,omitempty"`
  9. ReflectedWords map[string]string `json:"reflectedwords,omitempty" yaml:"reflectedwords,omitempty"`
  10. }