|
|
|
@ -1,11 +1,12 @@
|
|
|
|
|
from chatter.chatterbot.constants import TAG_NAME_MAX_LENGTH, STATEMENT_TEXT_MAX_LENGTH
|
|
|
|
|
from chatter.chatterbot.conversation import StatementMixin
|
|
|
|
|
from chatter.chatterbot.ext.sqlalchemy_app.types import UnicodeString
|
|
|
|
|
from sqlalchemy import Table, Column, Integer, DateTime, ForeignKey, PickleType
|
|
|
|
|
from sqlalchemy.ext.declarative import declared_attr, declarative_base
|
|
|
|
|
from sqlalchemy.orm import relationship
|
|
|
|
|
from sqlalchemy.sql import func
|
|
|
|
|
|
|
|
|
|
from chatter.chatterbot.constants import TAG_NAME_MAX_LENGTH, STATEMENT_TEXT_MAX_LENGTH
|
|
|
|
|
from chatter.chatterbot.conversation import StatementMixin
|
|
|
|
|
from chatter.chatterbot.ext.sqlalchemy_app.types import UnicodeString
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class ModelBase(object):
|
|
|
|
|
"""
|
|
|
|
|