parent
6697ed3b92
commit
5d2a13f2a3
@ -0,0 +1,3 @@
|
||||
default_app_config = (
|
||||
'chatterbot.ext.django_chatterbot.apps.DjangoChatterBotConfig'
|
||||
)
|
@ -1,5 +1,5 @@
|
||||
from ...conversation import StatementMixin
|
||||
from ... import constants
|
||||
from chatterbot.conversation import StatementMixin
|
||||
from chatterbot import constants
|
||||
from django.db import models
|
||||
from django.apps import apps
|
||||
from django.utils import timezone
|
@ -1,5 +1,5 @@
|
||||
from django.contrib import admin
|
||||
from .models import (
|
||||
from chatterbot.ext.django_chatterbot.models import (
|
||||
Statement, Response, Conversation, Tag
|
||||
)
|
||||
|
@ -1,4 +1,4 @@
|
||||
from .abstract_models import (
|
||||
from chatterbot.ext.django_chatterbot.abstract_models import (
|
||||
AbstractBaseConversation, AbstractBaseResponse,
|
||||
AbstractBaseStatement, AbstractBaseTag
|
||||
)
|
@ -1,7 +1,7 @@
|
||||
from __future__ import unicode_literals
|
||||
from time import sleep
|
||||
from . import InputAdapter
|
||||
from ..conversation import Statement
|
||||
from chatterbot.input import InputAdapter
|
||||
from chatterbot.conversation import Statement
|
||||
|
||||
|
||||
class Gitter(InputAdapter):
|
@ -1,7 +1,7 @@
|
||||
from __future__ import unicode_literals
|
||||
from time import sleep
|
||||
from . import InputAdapter
|
||||
from ..conversation import Statement
|
||||
from chatterbot.input import InputAdapter
|
||||
from chatterbot.conversation import Statement
|
||||
|
||||
|
||||
class HipChat(InputAdapter):
|
@ -1,5 +1,5 @@
|
||||
from __future__ import unicode_literals
|
||||
from ..adapters import Adapter
|
||||
from chatterbot.adapters import Adapter
|
||||
|
||||
|
||||
class InputAdapter(Adapter):
|
@ -1,7 +1,7 @@
|
||||
from __future__ import unicode_literals
|
||||
import datetime
|
||||
from . import InputAdapter
|
||||
from ..conversation import Statement
|
||||
from chatterbot.input import InputAdapter
|
||||
from chatterbot.conversation import Statement
|
||||
|
||||
|
||||
class Mailgun(InputAdapter):
|
@ -1,7 +1,7 @@
|
||||
from __future__ import unicode_literals
|
||||
from time import sleep
|
||||
from . import InputAdapter
|
||||
from ..conversation import Statement
|
||||
from chatterbot.input import InputAdapter
|
||||
from chatterbot.conversation import Statement
|
||||
|
||||
|
||||
class Microsoft(InputAdapter):
|
@ -1,7 +1,7 @@
|
||||
from __future__ import unicode_literals
|
||||
from . import InputAdapter
|
||||
from ..conversation import Statement
|
||||
from ..utils import input_function
|
||||
from chatterbot.input import InputAdapter
|
||||
from chatterbot.conversation import Statement
|
||||
from chatterbot.utils import input_function
|
||||
|
||||
|
||||
class TerminalAdapter(InputAdapter):
|
@ -1,6 +1,6 @@
|
||||
from __future__ import unicode_literals
|
||||
from . import InputAdapter
|
||||
from ..conversation import Statement
|
||||
from chatterbot.input import InputAdapter
|
||||
from chatterbot.conversation import Statement
|
||||
|
||||
|
||||
class VariableInputTypeAdapter(InputAdapter):
|
@ -1,5 +1,5 @@
|
||||
from __future__ import unicode_literals
|
||||
from ..conversation import Statement
|
||||
from chatterbot.conversation import Statement
|
||||
from .best_match import BestMatch
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
from __future__ import unicode_literals
|
||||
from . import LogicAdapter
|
||||
from ..conversation import Statement
|
||||
from chatterbot.logic import LogicAdapter
|
||||
from chatterbot.conversation import Statement
|
||||
|
||||
|
||||
class MathematicalEvaluation(LogicAdapter):
|
@ -1,4 +1,4 @@
|
||||
from ..adapters import Adapter
|
||||
from chatterbot.adapters import Adapter
|
||||
|
||||
|
||||
class OutputAdapter(Adapter):
|
@ -1,5 +1,5 @@
|
||||
from . import StorageAdapter
|
||||
from .. import constants
|
||||
from chatterbot.storage import StorageAdapter
|
||||
from chatterbot import constants
|
||||
|
||||
|
||||
class DjangoStorageAdapter(StorageAdapter):
|
@ -1,3 +0,0 @@
|
||||
default_app_config = (
|
||||
'chatter.source.ext.django_chatterbot.apps.DjangoChatterBotConfig'
|
||||
)
|
Loading…
Reference in new issue