Documentation
¶
Index ¶
- type ChatBot
- type ChatBotInstance
- type Davinci
- func (d *Davinci) ActivateEmojiSupport()
- func (d *Davinci) NewClient() ChatBot
- func (d *Davinci) Query(message string) models.ResponseMessage
- func (d *Davinci) SetRetryLimit(limit uint8)
- func (d *Davinci) SetTimeout(timeout time.Duration)
- func (d *Davinci) Setup(token string) error
- func (d *Davinci) TestConnection() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatBotInstance ¶
type ChatBotInstance struct {
ChatBot
}
func NewChatBot ¶
func NewChatBot(bot ChatBot) ChatBotInstance
type Davinci ¶
func (*Davinci) ActivateEmojiSupport ¶ added in v1.0.1
func (d *Davinci) ActivateEmojiSupport()
func (*Davinci) NewClient ¶ added in v1.0.6
NewClient resets the prompt and messages and returns a new client
func (*Davinci) SetRetryLimit ¶ added in v1.1.1
func (*Davinci) SetTimeout ¶ added in v1.1.1
func (*Davinci) TestConnection ¶
Click to show internal directories.
Click to hide internal directories.