Skip to content

Commit de1b704

Browse files
committed
Remove constant for max length
1 parent 57a951f commit de1b704

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

chatterbot/constants.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,6 @@
33
"""
44
from chatterbot import languages
55

6-
'''
7-
The maximum length of characters that the text of a statement can contain.
8-
The number 255 is used because that is the maximum length of a char field
9-
in most databases. This value should be enforced on a per-model basis by
10-
the data model for each storage adapter.
11-
12-
DEPRECATED: This value is no longer as of ChatterBot 1.2.7. Statement tables
13-
are now created with a text field.
14-
'''
15-
STATEMENT_TEXT_MAX_LENGTH = 255
16-
176
'''
187
The maximum length of characters that the text label of a conversation can contain.
198
The number 32 was chosen because that is the length of the string representation

0 commit comments

Comments
 (0)