Update modules/__init__.py
Browse files- modules/__init__.py +16 -0
modules/__init__.py
CHANGED
@@ -23,6 +23,7 @@ def load_database_functions():
|
|
23 |
store_application_request,
|
24 |
store_student_feedback
|
25 |
)
|
|
|
26 |
from .database.mongo_db import (
|
27 |
get_collection,
|
28 |
insert_document,
|
@@ -30,6 +31,7 @@ def load_database_functions():
|
|
30 |
update_document,
|
31 |
delete_document,
|
32 |
)
|
|
|
33 |
from .database.morphosintax_mongo_db import (
|
34 |
store_student_morphosyntax_result,
|
35 |
get_student_morphosyntax_analysis,
|
@@ -37,6 +39,15 @@ def load_database_functions():
|
|
37 |
delete_student_morphosyntax_analysis,
|
38 |
get_student_morphosyntax_data
|
39 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
from .database.chat_db import store_chat_history, get_chat_history
|
41 |
|
42 |
return {
|
@@ -57,6 +68,11 @@ def load_database_functions():
|
|
57 |
'update_student_morphosyntax_analysis': update_student_morphosyntax_analysis,
|
58 |
'delete_student_morphosyntax_analysis': delete_student_morphosyntax_analysis,
|
59 |
'get_student_morphosyntax_data': get_student_morphosyntax_data,
|
|
|
|
|
|
|
|
|
|
|
60 |
'store_chat_history': store_chat_history,
|
61 |
'get_chat_history': get_chat_history
|
62 |
}
|
|
|
23 |
store_application_request,
|
24 |
store_student_feedback
|
25 |
)
|
26 |
+
|
27 |
from .database.mongo_db import (
|
28 |
get_collection,
|
29 |
insert_document,
|
|
|
31 |
update_document,
|
32 |
delete_document,
|
33 |
)
|
34 |
+
|
35 |
from .database.morphosintax_mongo_db import (
|
36 |
store_student_morphosyntax_result,
|
37 |
get_student_morphosyntax_analysis,
|
|
|
39 |
delete_student_morphosyntax_analysis,
|
40 |
get_student_morphosyntax_data
|
41 |
)
|
42 |
+
|
43 |
+
from .database.semantic_mongo_db import (
|
44 |
+
store_student_semantic_result,
|
45 |
+
get_student_semantic_analysis,
|
46 |
+
update_student_semantic_analysis,
|
47 |
+
delete_student_semantic_analysis,
|
48 |
+
get_student_semantic_data
|
49 |
+
)
|
50 |
+
|
51 |
from .database.chat_db import store_chat_history, get_chat_history
|
52 |
|
53 |
return {
|
|
|
68 |
'update_student_morphosyntax_analysis': update_student_morphosyntax_analysis,
|
69 |
'delete_student_morphosyntax_analysis': delete_student_morphosyntax_analysis,
|
70 |
'get_student_morphosyntax_data': get_student_morphosyntax_data,
|
71 |
+
'store_student_semantic_result': store_student_semantic_result,
|
72 |
+
'get_student_semantic_analysis': get_student_semantic_analysis,
|
73 |
+
'update_student_semantic_analysis': update_student_semantic_analysis,
|
74 |
+
'delete_student_semantic_analysis': delete_student_semantic_analysis,
|
75 |
+
'get_student_semantic_data': get_student_semantic_data,
|
76 |
'store_chat_history': store_chat_history,
|
77 |
'get_chat_history': get_chat_history
|
78 |
}
|