src/app/__init__.py |
(no function) |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/__init__.py |
(no function) |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/conversation_postgres_adapter.py |
ConversationPostgresAdapter.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/conversation_postgres_adapter.py |
ConversationPostgresAdapter.get_conversation |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/conversation_postgres_adapter.py |
ConversationPostgresAdapter.get_conversations |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/conversation_postgres_adapter.py |
ConversationPostgresAdapter.save_conversation_title |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/conversation_postgres_adapter.py |
ConversationPostgresAdapter.delete_conversation_title |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/conversation_postgres_adapter.py |
(no function) |
13 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/faiss_adapter.py |
FaissAdapter.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/faiss_adapter.py |
FaissAdapter.similarity_search |
11 |
0 |
0 |
4 |
0 |
100% |
src/app/adapters/faiss_adapter.py |
FaissAdapter.load_chunks |
11 |
0 |
0 |
4 |
0 |
100% |
src/app/adapters/faiss_adapter.py |
(no function) |
12 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/langChain_adapter.py |
LangChainAdapter.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/langChain_adapter.py |
LangChainAdapter.generate_answer |
9 |
0 |
0 |
2 |
0 |
100% |
src/app/adapters/langChain_adapter.py |
LangChainAdapter.split_file |
9 |
0 |
0 |
2 |
0 |
100% |
src/app/adapters/langChain_adapter.py |
(no function) |
16 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/message_postgres_adapter.py |
MessagePostgresAdapter.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/message_postgres_adapter.py |
MessagePostgresAdapter.get_message |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/message_postgres_adapter.py |
MessagePostgresAdapter.get_messages_by_conversation |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/message_postgres_adapter.py |
MessagePostgresAdapter.save_message |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/message_postgres_adapter.py |
MessagePostgresAdapter.update_message_rating |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/message_postgres_adapter.py |
MessagePostgresAdapter.fetch_messages |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/message_postgres_adapter.py |
(no function) |
14 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/support_message_postgres_adapter.py |
SupportMessagePostgresAdapter.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/support_message_postgres_adapter.py |
SupportMessagePostgresAdapter.get_support_message |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/support_message_postgres_adapter.py |
SupportMessagePostgresAdapter.get_support_messages |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/support_message_postgres_adapter.py |
SupportMessagePostgresAdapter.save_support_message |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/support_message_postgres_adapter.py |
SupportMessagePostgresAdapter.mark_done_support_messages |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/support_message_postgres_adapter.py |
(no function) |
13 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/template_postgres_adapter.py |
TemplatePostgresAdapter.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/template_postgres_adapter.py |
TemplatePostgresAdapter.get_template |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/template_postgres_adapter.py |
TemplatePostgresAdapter.get_template_list |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/template_postgres_adapter.py |
TemplatePostgresAdapter.save_template |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/template_postgres_adapter.py |
TemplatePostgresAdapter.delete_template |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/template_postgres_adapter.py |
(no function) |
13 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/user_postgres_adapter.py |
UserPostgresAdapter.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/user_postgres_adapter.py |
UserPostgresAdapter.register |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/user_postgres_adapter.py |
UserPostgresAdapter.get_user_by_email |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/user_postgres_adapter.py |
UserPostgresAdapter.get_user_by_username |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/adapters/user_postgres_adapter.py |
UserPostgresAdapter.get_user_for_authentication |
8 |
0 |
0 |
2 |
0 |
100% |
src/app/adapters/user_postgres_adapter.py |
(no function) |
12 |
0 |
0 |
0 |
0 |
100% |
src/app/config/db_config.py |
(no function) |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/__init__.py |
(no function) |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/add_file_controller.py |
AddFileController.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/add_file_controller.py |
AddFileController.load_file |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/add_file_controller.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/authentication_controller.py |
AuthenticationController.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/authentication_controller.py |
AuthenticationController.login |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/authentication_controller.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/chat_controller.py |
ChatController.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/chat_controller.py |
ChatController.get_answer |
7 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/chat_controller.py |
(no function) |
8 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/delete_conversation_controller.py |
DeleteConversationController.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/delete_conversation_controller.py |
DeleteConversationController.delete_conversation |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/delete_conversation_controller.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/delete_template_controller.py |
DeleteTemplateController.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/delete_template_controller.py |
DeleteTemplateController.delete_template |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/delete_template_controller.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/get_conversation_controller.py |
GetConversationController.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/get_conversation_controller.py |
GetConversationController.get_conversation |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/get_conversation_controller.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/get_conversations_controller.py |
GetConversationsController.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/get_conversations_controller.py |
GetConversationsController.get_conversations |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/get_conversations_controller.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/get_dashboard_metrics_controller.py |
GetDashboardMetricsController.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/get_dashboard_metrics_controller.py |
GetDashboardMetricsController.get_dashboard_metrics |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/get_dashboard_metrics_controller.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/get_message_controller.py |
GetMessageController.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/get_message_controller.py |
GetMessageController.get_message |
8 |
0 |
0 |
2 |
0 |
100% |
src/app/controllers/get_message_controller.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/get_messages_by_conversation_controller.py |
GetMessagesByConversationController.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/get_messages_by_conversation_controller.py |
GetMessagesByConversationController.get_messages_by_conversation |
8 |
0 |
0 |
2 |
0 |
100% |
src/app/controllers/get_messages_by_conversation_controller.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/get_support_message_controller.py |
GetSupportMessageController.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/get_support_message_controller.py |
GetSupportMessageController.get_support_message |
8 |
0 |
0 |
2 |
0 |
100% |
src/app/controllers/get_support_message_controller.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/get_support_messages_controller.py |
GetSupportMessagesController.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/get_support_messages_controller.py |
GetSupportMessagesController.get_support_messages |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/get_support_messages_controller.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/get_template_controller.py |
GetTemplateController.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/get_template_controller.py |
GetTemplateController.get_template |
8 |
0 |
0 |
2 |
0 |
100% |
src/app/controllers/get_template_controller.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/get_template_list_controller.py |
GetTemplateListController.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/get_template_list_controller.py |
GetTemplateListController.get_template_list |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/get_template_list_controller.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/mark_done_support_message_contoller.py |
MarkDoneSupportMessagesController.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/mark_done_support_message_contoller.py |
MarkDoneSupportMessagesController.mark_done_support_messages |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/mark_done_support_message_contoller.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/registration_controller.py |
RegistrationController.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/registration_controller.py |
RegistrationController.register |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/registration_controller.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/save_conversation_title_controller.py |
SaveConversationTitleController.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/save_conversation_title_controller.py |
SaveConversationTitleController.save_conversation_title |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/save_conversation_title_controller.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/save_message_controller.py |
SaveMessageController.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/save_message_controller.py |
SaveMessageController.save_message |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/save_message_controller.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/save_support_message_controller.py |
SaveSupportMessageController.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/save_support_message_controller.py |
SaveSupportMessageController.save_support_message |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/save_support_message_controller.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/save_template_controller.py |
SaveTemplateController.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/save_template_controller.py |
SaveTemplateController.save_template |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/save_template_controller.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/update_message_rating_controller.py |
UpdateMessageRatingController.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/update_message_rating_controller.py |
UpdateMessageRatingController.update_message_rating |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/controllers/update_message_rating_controller.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/dependencies/__init__.py |
(no function) |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/dependencies/dependency_inj.py |
initialize_postgres |
11 |
1 |
0 |
0 |
0 |
91% |
src/app/dependencies/dependency_inj.py |
initialize_langchain |
10 |
1 |
0 |
2 |
1 |
83% |
src/app/dependencies/dependency_inj.py |
initialize_faiss |
13 |
2 |
0 |
4 |
2 |
76% |
src/app/dependencies/dependency_inj.py |
initialize_prompt_template |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/dependencies/dependency_inj.py |
initialize_conversation_postgres |
5 |
2 |
0 |
0 |
0 |
60% |
src/app/dependencies/dependency_inj.py |
initialize_message_postgres |
5 |
2 |
0 |
0 |
0 |
60% |
src/app/dependencies/dependency_inj.py |
initialize_support_message_postgres |
5 |
2 |
0 |
0 |
0 |
60% |
src/app/dependencies/dependency_inj.py |
initialize_template_postgres |
5 |
2 |
0 |
0 |
0 |
60% |
src/app/dependencies/dependency_inj.py |
initialize_user_postgres |
5 |
2 |
0 |
0 |
0 |
60% |
src/app/dependencies/dependency_inj.py |
dependency_injection |
65 |
2 |
0 |
0 |
0 |
97% |
src/app/dependencies/dependency_inj.py |
(no function) |
85 |
0 |
0 |
0 |
0 |
100% |
src/app/dependencies/encoding.py |
detect_encoding |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/dependencies/encoding.py |
(no function) |
2 |
0 |
0 |
0 |
0 |
100% |
src/app/dependencies/init_vector_store.py |
store_vector_store |
2 |
0 |
0 |
0 |
0 |
100% |
src/app/dependencies/init_vector_store.py |
load_vector_store |
8 |
0 |
0 |
0 |
0 |
100% |
src/app/dependencies/init_vector_store.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/__init__.py |
(no function) |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/answer_dto.py |
AnswerDTO.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/answer_dto.py |
AnswerDTO.get_answer |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/answer_dto.py |
(no function) |
3 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/conversation_dto.py |
ConversationDTO.__init__ |
3 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/conversation_dto.py |
ConversationDTO.get_title |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/conversation_dto.py |
ConversationDTO.get_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/conversation_dto.py |
ConversationDTO.get_user_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/conversation_dto.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/file_dto.py |
FileDTO.__init__ |
2 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/file_dto.py |
FileDTO.get_file_name |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/file_dto.py |
FileDTO.get_file_content |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/file_dto.py |
(no function) |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/message_dto.py |
MessageDTO.__init__ |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/message_dto.py |
MessageDTO.get_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/message_dto.py |
MessageDTO.get_text |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/message_dto.py |
MessageDTO.get_is_bot |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/message_dto.py |
MessageDTO.get_conversation_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/message_dto.py |
MessageDTO.get_rating |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/message_dto.py |
MessageDTO.get_created_at |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/message_dto.py |
(no function) |
9 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/metrics_dto.py |
MetricsDTO.__init__ |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/metrics_dto.py |
MetricsDTO.get_total_likes |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/metrics_dto.py |
MetricsDTO.get_total_dislikes |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/metrics_dto.py |
MetricsDTO.get_total_messages |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/metrics_dto.py |
MetricsDTO.get_positive_rating |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/metrics_dto.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/question_dto.py |
QuestionDTO.__init__ |
2 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/question_dto.py |
QuestionDTO.get_user |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/question_dto.py |
QuestionDTO.get_question |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/question_dto.py |
(no function) |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/support_message_dto.py |
SupportMessageDTO.__init__ |
7 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/support_message_dto.py |
SupportMessageDTO.get_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/support_message_dto.py |
SupportMessageDTO.get_user_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/support_message_dto.py |
SupportMessageDTO.get_user_email |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/support_message_dto.py |
SupportMessageDTO.get_description |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/support_message_dto.py |
SupportMessageDTO.get_status |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/support_message_dto.py |
SupportMessageDTO.get_subject |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/support_message_dto.py |
SupportMessageDTO.get_created_at |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/support_message_dto.py |
(no function) |
10 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/template_dto.py |
TemplateDTO.__init__ |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/template_dto.py |
TemplateDTO.get_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/template_dto.py |
TemplateDTO.get_question |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/template_dto.py |
TemplateDTO.get_answer |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/template_dto.py |
TemplateDTO.get_author_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/template_dto.py |
TemplateDTO.get_last_modified |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/template_dto.py |
(no function) |
8 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/user_dto.py |
UserDTO.__init__ |
8 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/user_dto.py |
UserDTO.get_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/user_dto.py |
UserDTO.get_username |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/user_dto.py |
UserDTO.get_password |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/user_dto.py |
UserDTO.set_password |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/user_dto.py |
UserDTO.get_email |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/user_dto.py |
UserDTO.get_phone |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/user_dto.py |
UserDTO.get_first_name |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/user_dto.py |
UserDTO.get_last_name |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/user_dto.py |
UserDTO.get_is_admin |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/dto/user_dto.py |
(no function) |
11 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/__init__.py |
(no function) |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/answer_entity.py |
AnswerEntity.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/answer_entity.py |
AnswerEntity.get_answer |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/answer_entity.py |
(no function) |
3 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/conversation_entity.py |
ConversationEntity.__init__ |
3 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/conversation_entity.py |
ConversationEntity.get_title |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/conversation_entity.py |
ConversationEntity.get_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/conversation_entity.py |
ConversationEntity.get_user_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/conversation_entity.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/document_context_entity.py |
DocumentContextEntity.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/document_context_entity.py |
DocumentContextEntity.get_content |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/document_context_entity.py |
(no function) |
3 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/file_chunk_entity.py |
FileChunkEntity.__init__ |
2 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/file_chunk_entity.py |
FileChunkEntity.get_chunk_content |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/file_chunk_entity.py |
FileChunkEntity.get_metadata |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/file_chunk_entity.py |
(no function) |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/file_entity.py |
FileEntity.__init__ |
2 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/file_entity.py |
FileEntity.get_metadata |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/file_entity.py |
FileEntity.get_file_content |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/file_entity.py |
(no function) |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/message_entity.py |
MessageEntity.__init__ |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/message_entity.py |
MessageEntity.get_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/message_entity.py |
MessageEntity.get_text |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/message_entity.py |
MessageEntity.get_is_bot |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/message_entity.py |
MessageEntity.get_conversation_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/message_entity.py |
MessageEntity.get_rating |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/message_entity.py |
MessageEntity.get_created_at |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/message_entity.py |
(no function) |
9 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/query_entity.py |
QueryEntity.__init__ |
2 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/query_entity.py |
QueryEntity.get_user_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/query_entity.py |
QueryEntity.get_query |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/query_entity.py |
(no function) |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/support_message_entity.py |
SupportMessageEntity.__init__ |
7 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/support_message_entity.py |
SupportMessageEntity.get_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/support_message_entity.py |
SupportMessageEntity.get_user_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/support_message_entity.py |
SupportMessageEntity.get_user_email |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/support_message_entity.py |
SupportMessageEntity.get_description |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/support_message_entity.py |
SupportMessageEntity.get_status |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/support_message_entity.py |
SupportMessageEntity.get_subject |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/support_message_entity.py |
SupportMessageEntity.get_created_at |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/support_message_entity.py |
(no function) |
10 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/template_entity.py |
TemplateEntity.__init__ |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/template_entity.py |
TemplateEntity.get_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/template_entity.py |
TemplateEntity.get_question |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/template_entity.py |
TemplateEntity.get_answer |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/template_entity.py |
TemplateEntity.get_author_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/template_entity.py |
TemplateEntity.get_last_modified |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/template_entity.py |
(no function) |
8 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/user_entity.py |
UserEntity.__init__ |
8 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/user_entity.py |
UserEntity.get_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/user_entity.py |
UserEntity.get_username |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/user_entity.py |
UserEntity.get_password |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/user_entity.py |
UserEntity.get_email |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/user_entity.py |
UserEntity.get_phone |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/user_entity.py |
UserEntity.get_first_name |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/user_entity.py |
UserEntity.get_last_name |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/user_entity.py |
UserEntity.get_is_admin |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/entities/user_entity.py |
(no function) |
10 |
0 |
0 |
0 |
0 |
100% |
src/app/main.py |
register |
13 |
1 |
0 |
0 |
0 |
92% |
src/app/main.py |
login |
10 |
2 |
0 |
0 |
0 |
80% |
src/app/main.py |
is_admin |
6 |
2 |
0 |
0 |
0 |
67% |
src/app/main.py |
get_conversation |
6 |
2 |
0 |
0 |
0 |
67% |
src/app/main.py |
get_conversations |
7 |
2 |
0 |
0 |
0 |
71% |
src/app/main.py |
save_conversation_title |
8 |
8 |
0 |
0 |
0 |
0% |
src/app/main.py |
delete_conversation |
7 |
7 |
0 |
0 |
0 |
0% |
src/app/main.py |
get_message |
6 |
6 |
0 |
0 |
0 |
0% |
src/app/main.py |
get_messages_by_conversation |
6 |
6 |
0 |
0 |
0 |
0% |
src/app/main.py |
save_message |
7 |
7 |
0 |
0 |
0 |
0% |
src/app/main.py |
update_message_rating |
7 |
7 |
0 |
0 |
0 |
0% |
src/app/main.py |
get_dashboard_metrics |
5 |
2 |
0 |
0 |
0 |
60% |
src/app/main.py |
get_support_message |
6 |
6 |
0 |
0 |
0 |
0% |
src/app/main.py |
get_support_messages |
5 |
5 |
0 |
0 |
0 |
0% |
src/app/main.py |
save_support_message |
8 |
8 |
0 |
0 |
0 |
0% |
src/app/main.py |
mark_support_message_done |
8 |
8 |
0 |
2 |
0 |
0% |
src/app/main.py |
delete_template |
8 |
8 |
0 |
2 |
0 |
0% |
src/app/main.py |
get_template |
6 |
6 |
0 |
0 |
0 |
0% |
src/app/main.py |
get_template_list |
5 |
5 |
0 |
0 |
0 |
0% |
src/app/main.py |
save_template |
8 |
8 |
0 |
0 |
0 |
0% |
src/app/main.py |
add_file |
25 |
25 |
0 |
10 |
0 |
0% |
src/app/main.py |
chat |
11 |
11 |
0 |
2 |
0 |
0% |
src/app/main.py |
bad_request |
3 |
3 |
0 |
0 |
0 |
0% |
src/app/main.py |
(no function) |
115 |
1 |
0 |
2 |
1 |
98% |
src/app/models/__init__.py |
(no function) |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/models/answer_model.py |
AnswerModel.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/answer_model.py |
AnswerModel.get_answer |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/answer_model.py |
(no function) |
3 |
0 |
0 |
0 |
0 |
100% |
src/app/models/context_model.py |
ContextModel.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/context_model.py |
ContextModel.get_content |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/context_model.py |
(no function) |
3 |
0 |
0 |
0 |
0 |
100% |
src/app/models/conversation_model.py |
ConversationModel.__init__ |
3 |
0 |
0 |
0 |
0 |
100% |
src/app/models/conversation_model.py |
ConversationModel.get_title |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/conversation_model.py |
ConversationModel.get_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/conversation_model.py |
ConversationModel.get_user_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/conversation_model.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/models/file_chunk_model.py |
FileChunkModel.__init__ |
2 |
0 |
0 |
0 |
0 |
100% |
src/app/models/file_chunk_model.py |
FileChunkModel.get_chunk_content |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/file_chunk_model.py |
FileChunkModel.get_metadata |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/file_chunk_model.py |
(no function) |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/models/file_model.py |
FileModel.__init__ |
2 |
0 |
0 |
0 |
0 |
100% |
src/app/models/file_model.py |
FileModel.get_filename |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/file_model.py |
FileModel.get_file_content |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/file_model.py |
(no function) |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/models/message_model.py |
MessageModel.__init__ |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/models/message_model.py |
MessageModel.get_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/message_model.py |
MessageModel.get_text |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/message_model.py |
MessageModel.get_is_bot |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/message_model.py |
MessageModel.get_conversation_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/message_model.py |
MessageModel.get_rating |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/message_model.py |
MessageModel.get_created_at |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/message_model.py |
(no function) |
9 |
0 |
0 |
0 |
0 |
100% |
src/app/models/metrics_model.py |
MetricsModel.__init__ |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/models/metrics_model.py |
MetricsModel.get_total_likes |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/metrics_model.py |
MetricsModel.get_total_dislikes |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/metrics_model.py |
MetricsModel.get_total_messages |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/metrics_model.py |
MetricsModel.get_positive_rating |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/metrics_model.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/models/prompt_template_model.py |
PromptTemplateModel.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/prompt_template_model.py |
PromptTemplateModel.get_prompt_template_content |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/prompt_template_model.py |
(no function) |
3 |
0 |
0 |
0 |
0 |
100% |
src/app/models/question_model.py |
QuestionModel.__init__ |
2 |
0 |
0 |
0 |
0 |
100% |
src/app/models/question_model.py |
QuestionModel.get_user_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/question_model.py |
QuestionModel.get_question |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/question_model.py |
(no function) |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/models/support_message_model.py |
SupportMessageModel.__init__ |
7 |
0 |
0 |
0 |
0 |
100% |
src/app/models/support_message_model.py |
SupportMessageModel.get_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/support_message_model.py |
SupportMessageModel.get_user_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/support_message_model.py |
SupportMessageModel.get_user_email |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/support_message_model.py |
SupportMessageModel.get_description |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/support_message_model.py |
SupportMessageModel.get_status |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/support_message_model.py |
SupportMessageModel.get_subject |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/support_message_model.py |
SupportMessageModel.get_created_at |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/support_message_model.py |
(no function) |
10 |
0 |
0 |
0 |
0 |
100% |
src/app/models/template_model.py |
TemplateModel.__init__ |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/models/template_model.py |
TemplateModel.get_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/template_model.py |
TemplateModel.get_question |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/template_model.py |
TemplateModel.get_answer |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/template_model.py |
TemplateModel.get_author_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/template_model.py |
TemplateModel.get_last_modified |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/template_model.py |
(no function) |
8 |
0 |
0 |
0 |
0 |
100% |
src/app/models/user_model.py |
UserModel.__init__ |
8 |
0 |
0 |
0 |
0 |
100% |
src/app/models/user_model.py |
UserModel.get_id |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/user_model.py |
UserModel.get_username |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/user_model.py |
UserModel.get_password |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/user_model.py |
UserModel.set_password |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/user_model.py |
UserModel.get_email |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/user_model.py |
UserModel.get_phone |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/user_model.py |
UserModel.get_first_name |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/user_model.py |
UserModel.get_last_name |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/user_model.py |
UserModel.get_is_admin |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/models/user_model.py |
(no function) |
11 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/__init__.py |
(no function) |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/add_chunks_port.py |
AddChunksPort.load_chunks |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/add_chunks_port.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/authentication_port.py |
AuthenticationPort.get_user_for_authentication |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/authentication_port.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/delete_conversation_port.py |
DeleteConversationPort.delete_conversation_title |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/delete_conversation_port.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/delete_template_port.py |
DeleteTemplatePort.delete_template |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/delete_template_port.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/generate_answer_port.py |
GenerateAnswerPort.generate_answer |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/generate_answer_port.py |
(no function) |
8 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/get_all_messages_port.py |
GetAllMessagesPort.fetch_messages |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/get_all_messages_port.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/get_conversation_port.py |
GetConversationPort.get_conversation |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/get_conversation_port.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/get_conversations_port.py |
GetConversationsPort.get_conversations |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/get_conversations_port.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/get_message_port.py |
GetMessagePort.get_message |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/get_message_port.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/get_messages_by_conversation_port.py |
GetMessagesByConversationPort.get_messages_by_conversation |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/get_messages_by_conversation_port.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/get_support_message_port.py |
GetSupportMessagePort.get_support_message |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/get_support_message_port.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/get_support_messages_port.py |
GetSupportMessagesPort.get_support_messages |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/get_support_messages_port.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/get_template_list_port.py |
GetTemplateListPort.get_template_list |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/get_template_list_port.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/get_template_port.py |
GetTemplatePort.get_template |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/get_template_port.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/mark_done_support_messages_port.py |
MarkDoneSupportMessagesPort.mark_done_support_messages |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/mark_done_support_messages_port.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/registration_port.py |
RegistrationPort.register |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/registration_port.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/save_conversation_title_port.py |
SaveConversationTitlePort.save_conversation_title |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/save_conversation_title_port.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/save_message_port.py |
SaveMessagePort.save_message |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/save_message_port.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/save_support_message_port.py |
SaveSupportMessagePort.save_support_message |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/save_support_message_port.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/save_template_port.py |
SaveTemplatePort.save_template |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/save_template_port.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/similarity_search_port.py |
SimilaritySearchPort.similarity_search |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/similarity_search_port.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/split_file_port.py |
SplitFilePort.split_file |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/split_file_port.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/update_message_rating_port.py |
UpdateMessageRatingPort.update_message_rating |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/update_message_rating_port.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/validation_port.py |
ValidationPort.get_user_by_email |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/validation_port.py |
ValidationPort.get_user_by_username |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/ports/validation_port.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/__init__.py |
(no function) |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/conversation_postgres_repository.py |
ConversationPostgresRepository.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/conversation_postgres_repository.py |
ConversationPostgresRepository.__connect |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/conversation_postgres_repository.py |
ConversationPostgresRepository.get_conversation |
9 |
0 |
0 |
2 |
0 |
100% |
src/app/repositories/conversation_postgres_repository.py |
ConversationPostgresRepository.get_conversations |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/conversation_postgres_repository.py |
ConversationPostgresRepository.save_conversation_title |
7 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/conversation_postgres_repository.py |
ConversationPostgresRepository.delete_conversation |
7 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/conversation_postgres_repository.py |
(no function) |
9 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/faiss_repository.py |
FaissRepository.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/faiss_repository.py |
FaissRepository.similarity_search |
10 |
0 |
0 |
4 |
0 |
100% |
src/app/repositories/faiss_repository.py |
FaissRepository.load_chunks |
11 |
0 |
0 |
4 |
0 |
100% |
src/app/repositories/faiss_repository.py |
(no function) |
10 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/langChain_repository.py |
LangChainRepository.__init__ |
3 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/langChain_repository.py |
LangChainRepository.get_user_memory |
3 |
0 |
0 |
2 |
0 |
100% |
src/app/repositories/langChain_repository.py |
LangChainRepository.generate_answer |
16 |
0 |
0 |
2 |
0 |
100% |
src/app/repositories/langChain_repository.py |
LangChainRepository.split_file |
9 |
0 |
0 |
2 |
0 |
100% |
src/app/repositories/langChain_repository.py |
(no function) |
17 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/message_postgres_repository.py |
MessagePostgresRepository.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/message_postgres_repository.py |
MessagePostgresRepository.__connect |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/message_postgres_repository.py |
MessagePostgresRepository.get_message |
9 |
0 |
0 |
2 |
0 |
100% |
src/app/repositories/message_postgres_repository.py |
MessagePostgresRepository.get_messages_by_conversation |
8 |
0 |
0 |
2 |
0 |
100% |
src/app/repositories/message_postgres_repository.py |
MessagePostgresRepository.save_message |
8 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/message_postgres_repository.py |
MessagePostgresRepository.delete_message |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/message_postgres_repository.py |
MessagePostgresRepository.update_message_rating |
7 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/message_postgres_repository.py |
MessagePostgresRepository.fetch_messages |
8 |
0 |
0 |
2 |
0 |
100% |
src/app/repositories/message_postgres_repository.py |
(no function) |
12 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/support_message_postgres_repository.py |
SupportMessagePostgresRepository.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/support_message_postgres_repository.py |
SupportMessagePostgresRepository.__connect |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/support_message_postgres_repository.py |
SupportMessagePostgresRepository.get_support_message |
8 |
0 |
0 |
2 |
0 |
100% |
src/app/repositories/support_message_postgres_repository.py |
SupportMessagePostgresRepository.get_support_messages |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/support_message_postgres_repository.py |
SupportMessagePostgresRepository.save_support_message |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/support_message_postgres_repository.py |
SupportMessagePostgresRepository.delete_support_message |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/support_message_postgres_repository.py |
SupportMessagePostgresRepository.mark_done_support_messages |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/support_message_postgres_repository.py |
(no function) |
10 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/template_postgres_repository.py |
TemplatePostgresRepository.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/template_postgres_repository.py |
TemplatePostgresRepository.__connect |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/template_postgres_repository.py |
TemplatePostgresRepository.get_template |
8 |
0 |
0 |
2 |
0 |
100% |
src/app/repositories/template_postgres_repository.py |
TemplatePostgresRepository.get_template_list |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/template_postgres_repository.py |
TemplatePostgresRepository.save_template |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/template_postgres_repository.py |
TemplatePostgresRepository.delete_template |
8 |
0 |
0 |
2 |
0 |
100% |
src/app/repositories/template_postgres_repository.py |
(no function) |
9 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/user_postgres_repository.py |
UserPostgresRepository.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/user_postgres_repository.py |
UserPostgresRepository.__connect |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/repositories/user_postgres_repository.py |
UserPostgresRepository.register |
6 |
6 |
0 |
0 |
0 |
0% |
src/app/repositories/user_postgres_repository.py |
UserPostgresRepository.get_user_by_email |
8 |
8 |
0 |
2 |
0 |
0% |
src/app/repositories/user_postgres_repository.py |
UserPostgresRepository.get_user_by_username |
8 |
1 |
0 |
2 |
1 |
80% |
src/app/repositories/user_postgres_repository.py |
UserPostgresRepository.get_user_for_authentication |
8 |
1 |
0 |
2 |
1 |
80% |
src/app/repositories/user_postgres_repository.py |
(no function) |
9 |
0 |
0 |
0 |
0 |
100% |
src/app/services/__init__.py |
(no function) |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/services/add_chunks_service.py |
AddChunksService.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/services/add_chunks_service.py |
AddChunksService.load_chunks |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/services/add_chunks_service.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/services/add_file_service.py |
AddFileService.__init__ |
2 |
0 |
0 |
0 |
0 |
100% |
src/app/services/add_file_service.py |
AddFileService.load_file |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/services/add_file_service.py |
AddFileService.split_file |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/services/add_file_service.py |
AddFileService.load_chunks |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/services/add_file_service.py |
(no function) |
9 |
0 |
0 |
0 |
0 |
100% |
src/app/services/authentication_service.py |
AuthenticationService.__init__ |
2 |
0 |
0 |
0 |
0 |
100% |
src/app/services/authentication_service.py |
AuthenticationService.login |
9 |
0 |
0 |
4 |
0 |
100% |
src/app/services/authentication_service.py |
(no function) |
7 |
0 |
0 |
0 |
0 |
100% |
src/app/services/chat_service.py |
ChatService.__init__ |
2 |
0 |
0 |
0 |
0 |
100% |
src/app/services/chat_service.py |
ChatService.get_answer |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/services/chat_service.py |
(no function) |
8 |
0 |
0 |
0 |
0 |
100% |
src/app/services/delete_conversation_service.py |
DeleteConversationService.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/services/delete_conversation_service.py |
DeleteConversationService.delete_conversation |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/services/delete_conversation_service.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/services/delete_template_service.py |
DeleteTemplateService.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/services/delete_template_service.py |
DeleteTemplateService.delete_template |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/services/delete_template_service.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/services/generate_answer_service.py |
GenerateAnswerService.__init__ |
2 |
0 |
0 |
0 |
0 |
100% |
src/app/services/generate_answer_service.py |
GenerateAnswerService.generate_answer |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/services/generate_answer_service.py |
(no function) |
8 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_conversation_service.py |
GetConversationService.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_conversation_service.py |
GetConversationService.get_conversation |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_conversation_service.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_conversations_service.py |
GetConversationsService.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_conversations_service.py |
GetConversationsService.get_conversations |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_conversations_service.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_dashboard_metrics_services.py |
GetDashboardMetricsService.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_dashboard_metrics_services.py |
GetDashboardMetricsService.get_dashboard_metrics |
20 |
0 |
0 |
10 |
1 |
97% |
src/app/services/get_dashboard_metrics_services.py |
(no function) |
7 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_message_service.py |
GetMessageService.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_message_service.py |
GetMessageService.get_message |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_message_service.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_messages_by_conversation_service.py |
GetMessagesByConversationService.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_messages_by_conversation_service.py |
GetMessagesByConversationService.get_messages_by_conversation |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_messages_by_conversation_service.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_support_message_service.py |
GetSupportMessageService.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_support_message_service.py |
GetSupportMessageService.get_support_message |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_support_message_service.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_support_messages_service.py |
GetSupportMessagesService.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_support_messages_service.py |
GetSupportMessagesService.get_support_messages |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_support_messages_service.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_template_list_service.py |
GetTemplateListService.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_template_list_service.py |
GetTemplateListService.get_template_list |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_template_list_service.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_template_service.py |
GetTemplateService.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_template_service.py |
GetTemplateService.get_template |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/services/get_template_service.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/services/mark_done_support_message_services.py |
MarkDoneSupportMessagesService.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/services/mark_done_support_message_services.py |
MarkDoneSupportMessagesService.mark_done_support_messages |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/services/mark_done_support_message_services.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/services/registration_service.py |
RegistrationService.__init__ |
3 |
0 |
0 |
0 |
0 |
100% |
src/app/services/registration_service.py |
RegistrationService.register |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/services/registration_service.py |
(no function) |
8 |
0 |
0 |
0 |
0 |
100% |
src/app/services/save_conversation_title_service.py |
SaveConversationTitleService.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/services/save_conversation_title_service.py |
SaveConversationTitleService.save_conversation_title |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/services/save_conversation_title_service.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/services/save_message_service.py |
SaveMessageService.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/services/save_message_service.py |
SaveMessageService.save_message |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/services/save_message_service.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/services/save_support_message_service.py |
SaveSupportMessageService.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/services/save_support_message_service.py |
SaveSupportMessageService.save_support_message |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/services/save_support_message_service.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/services/save_template_service.py |
SaveTemplateService.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/services/save_template_service.py |
SaveTemplateService.save_template |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/services/save_template_service.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/services/similarity_search_service.py |
SimilaritySearchService.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/services/similarity_search_service.py |
SimilaritySearchService.similarity_search |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/services/similarity_search_service.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/services/split_file_service.py |
SplitFileService.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/services/split_file_service.py |
SplitFileService.split_file |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/services/split_file_service.py |
(no function) |
7 |
0 |
0 |
0 |
0 |
100% |
src/app/services/update_message_rating_service.py |
UpdateMessageRatingService.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/services/update_message_rating_service.py |
UpdateMessageRatingService.update_message_rating |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/services/update_message_rating_service.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/services/validation_service.py |
ValidationService.__init__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/app/services/validation_service.py |
ValidationService.validate_registration |
4 |
0 |
0 |
4 |
0 |
100% |
src/app/services/validation_service.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/__init__.py |
(no function) |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/add_file_useCase.py |
AddFileUseCase.load_file |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/add_file_useCase.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/authentication_useCase.py |
AuthenticationUseCase.login |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/authentication_useCase.py |
(no function) |
4 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/chat_useCase.py |
ChatUseCase.get_answer |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/chat_useCase.py |
(no function) |
6 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/delete_conversation_useCase.py |
DeleteConversationUseCase.delete_conversation |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/delete_conversation_useCase.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/delete_template_useCase.py |
DeleteTemplateUseCase.delete_template |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/delete_template_useCase.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/get_conversation_useCase.py |
GetConversationUseCase.get_conversation |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/get_conversation_useCase.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/get_conversations_useCase.py |
GetConversationsUseCase.get_conversations |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/get_conversations_useCase.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/get_dashboard_metrics_useCase.py |
GetDashboardMetricsUseCase.get_dashboard_metrics |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/get_dashboard_metrics_useCase.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/get_message_useCase.py |
GetMessageUseCase.get_message |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/get_message_useCase.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/get_messages_by_conversation_useCase.py |
GetMessagesByConversationUseCase.get_messages_by_conversation |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/get_messages_by_conversation_useCase.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/get_support_message_useCase.py |
GetSupportMessageUseCase.get_support_message |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/get_support_message_useCase.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/get_support_messages_useCase.py |
GetSupportMessagesUseCase.get_support_messages |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/get_support_messages_useCase.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/get_template_list_useCase.py |
GetTemplateListUseCase.get_template_list |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/get_template_list_useCase.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/get_template_useCase.py |
GetTemplateUseCase.get_template |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/get_template_useCase.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/mark_done_support_messages_useCase.py |
MarkDoneSupportMessagesUseCase.mark_done_support_messages |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/mark_done_support_messages_useCase.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/registration_useCase.py |
RegistrationUseCase.register |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/registration_useCase.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/save_conversation_title_useCase.py |
SaveConversationTitleUseCase.save_conversation_title |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/save_conversation_title_useCase.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/save_message_useCase.py |
SaveMessageUseCase.save_message |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/save_message_useCase.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/save_support_message_useCase.py |
SaveSupportMessageUseCase.save_support_message |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/save_support_message_useCase.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/save_template_useCase.py |
SaveTemplateUseCase.save_template |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/save_template_useCase.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/update_message_rating_useCase.py |
UpdateMessageRatingUseCase.update_message_rating |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/usecases/update_message_rating_useCase.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/utils/__init__.py |
(no function) |
0 |
0 |
0 |
0 |
0 |
100% |
src/app/utils/midleware_admin.py |
admin_required |
5 |
0 |
0 |
0 |
0 |
100% |
src/app/utils/midleware_admin.py |
admin_required.wrapper |
4 |
1 |
0 |
2 |
1 |
67% |
src/app/utils/midleware_admin.py |
(no function) |
3 |
0 |
0 |
0 |
0 |
100% |