Update app.py
Browse files
app.py
CHANGED
|
@@ -22,11 +22,23 @@ from utils.database import (
|
|
| 22 |
update_collection,
|
| 23 |
get_collection_documents,
|
| 24 |
handle_document_upload,
|
| 25 |
-
|
|
|
|
|
|
|
| 26 |
# Search functionality
|
| 27 |
search_documents
|
| 28 |
)
|
| 29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
from components.chat import display_chat_interface
|
| 31 |
from components.document_store import display_documents_tab
|
| 32 |
|
|
|
|
| 22 |
update_collection,
|
| 23 |
get_collection_documents,
|
| 24 |
handle_document_upload,
|
| 25 |
+
verify_database_tables,
|
| 26 |
+
initialize_qa_system,
|
| 27 |
+
get_embeddings_model,
|
| 28 |
# Search functionality
|
| 29 |
search_documents
|
| 30 |
)
|
| 31 |
|
| 32 |
+
# Component imports
|
| 33 |
+
from components.chat import display_chat_interface
|
| 34 |
+
from components.collection_manager import (
|
| 35 |
+
display_enhanced_collections,
|
| 36 |
+
show_collection_creation_dialog
|
| 37 |
+
)
|
| 38 |
+
|
| 39 |
+
# Optional analytics import if you're using it
|
| 40 |
+
from utils.analytics import display_analytics_dashboard
|
| 41 |
+
|
| 42 |
from components.chat import display_chat_interface
|
| 43 |
from components.document_store import display_documents_tab
|
| 44 |
|