Update modules/__init__.py
Browse files- modules/__init__.py +22 -21
modules/__init__.py
CHANGED
|
@@ -2,31 +2,31 @@
|
|
| 2 |
|
| 3 |
from .auth import authenticate_user, register_user, get_user_role
|
| 4 |
from .database import (
|
| 5 |
-
initialize_mongodb_connection,
|
| 6 |
-
get_student_data,
|
| 7 |
-
store_morphosyntax_result,
|
| 8 |
store_semantic_result,
|
| 9 |
-
store_chat_history
|
| 10 |
)
|
| 11 |
from .ui import (
|
| 12 |
-
login_register_page,
|
| 13 |
-
login_form,
|
| 14 |
-
register_form,
|
| 15 |
-
display_chat_interface,
|
| 16 |
-
display_student_progress,
|
| 17 |
-
display_morphosyntax_analysis_interface,
|
| 18 |
display_semantic_analysis_interface,
|
| 19 |
display_discourse_analysis_interface,
|
| 20 |
-
display_chatbot_interface
|
| 21 |
)
|
| 22 |
from .morpho_analysis import (
|
| 23 |
-
get_repeated_words_colors,
|
| 24 |
-
highlight_repeated_words,
|
| 25 |
-
POS_COLORS,
|
| 26 |
POS_TRANSLATIONS
|
| 27 |
)
|
| 28 |
from .semantic_analysis import (
|
| 29 |
-
visualize_semantic_relations,
|
| 30 |
perform_semantic_analysis,
|
| 31 |
create_semantic_graph
|
| 32 |
)
|
|
@@ -35,9 +35,10 @@ from .discourse_analysis import (
|
|
| 35 |
compare_semantic_analysis
|
| 36 |
)
|
| 37 |
from .spacy_utils import load_spacy_models
|
| 38 |
-
from .chatbot import (
|
| 39 |
initialize_chatbot,
|
| 40 |
get_chatbot_response,
|
|
|
|
| 41 |
)
|
| 42 |
|
| 43 |
__all__ = [
|
|
@@ -56,7 +57,7 @@ __all__ = [
|
|
| 56 |
'display_morphosyntax_analysis_interface',
|
| 57 |
'display_semantic_analysis_interface',
|
| 58 |
'display_discourse_analysis_interface',
|
| 59 |
-
'display_chatbot_interface',
|
| 60 |
'display_student_progress',
|
| 61 |
'get_repeated_words_colors',
|
| 62 |
'highlight_repeated_words',
|
|
@@ -68,7 +69,7 @@ __all__ = [
|
|
| 68 |
'perform_discourse_analysis',
|
| 69 |
'compare_semantic_analysis',
|
| 70 |
'load_spacy_models',
|
| 71 |
-
'initialize_chatbot',
|
| 72 |
-
'get_chatbot_response',
|
| 73 |
-
|
| 74 |
-
|
|
|
|
| 2 |
|
| 3 |
from .auth import authenticate_user, register_user, get_user_role
|
| 4 |
from .database import (
|
| 5 |
+
initialize_mongodb_connection,
|
| 6 |
+
get_student_data,
|
| 7 |
+
store_morphosyntax_result,
|
| 8 |
store_semantic_result,
|
| 9 |
+
store_chat_history
|
| 10 |
)
|
| 11 |
from .ui import (
|
| 12 |
+
login_register_page,
|
| 13 |
+
login_form,
|
| 14 |
+
register_form,
|
| 15 |
+
display_chat_interface,
|
| 16 |
+
display_student_progress,
|
| 17 |
+
display_morphosyntax_analysis_interface,
|
| 18 |
display_semantic_analysis_interface,
|
| 19 |
display_discourse_analysis_interface,
|
| 20 |
+
display_chatbot_interface
|
| 21 |
)
|
| 22 |
from .morpho_analysis import (
|
| 23 |
+
get_repeated_words_colors,
|
| 24 |
+
highlight_repeated_words,
|
| 25 |
+
POS_COLORS,
|
| 26 |
POS_TRANSLATIONS
|
| 27 |
)
|
| 28 |
from .semantic_analysis import (
|
| 29 |
+
visualize_semantic_relations,
|
| 30 |
perform_semantic_analysis,
|
| 31 |
create_semantic_graph
|
| 32 |
)
|
|
|
|
| 35 |
compare_semantic_analysis
|
| 36 |
)
|
| 37 |
from .spacy_utils import load_spacy_models
|
| 38 |
+
from .chatbot import (
|
| 39 |
initialize_chatbot,
|
| 40 |
get_chatbot_response,
|
| 41 |
+
ClaudeAPIChat # Nueva clase
|
| 42 |
)
|
| 43 |
|
| 44 |
__all__ = [
|
|
|
|
| 57 |
'display_morphosyntax_analysis_interface',
|
| 58 |
'display_semantic_analysis_interface',
|
| 59 |
'display_discourse_analysis_interface',
|
| 60 |
+
'display_chatbot_interface',
|
| 61 |
'display_student_progress',
|
| 62 |
'get_repeated_words_colors',
|
| 63 |
'highlight_repeated_words',
|
|
|
|
| 69 |
'perform_discourse_analysis',
|
| 70 |
'compare_semantic_analysis',
|
| 71 |
'load_spacy_models',
|
| 72 |
+
'initialize_chatbot',
|
| 73 |
+
'get_chatbot_response',
|
| 74 |
+
'ClaudeAPIChat' # Nueva clase
|
| 75 |
+
]
|