Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatBot ¶
type ChatBot struct { PrintMemStats bool InputAdapter input.InputAdapter LogicAdapter logic.LogicAdapter OutputAdapter output.OutputAdapter StorageAdapter storage.StorageAdapter Trainer Trainer }
type ConversationTrainer ¶
type ConversationTrainer struct {
// contains filtered or unexported fields
}
func NewConversationTrainer ¶
func NewConversationTrainer(storage storage.StorageAdapter) *ConversationTrainer
func (*ConversationTrainer) Train ¶
func (trainer *ConversationTrainer) Train(data interface{}) error
type CorpusTrainer ¶
type CorpusTrainer struct {
// contains filtered or unexported fields
}
func NewCorpusTrainer ¶
func NewCorpusTrainer(storage storage.StorageAdapter) *CorpusTrainer
func (*CorpusTrainer) Train ¶
func (trainer *CorpusTrainer) Train(data interface{}) error
Click to show internal directories.
Click to hide internal directories.