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