Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,6 @@ from utils.database import (
|
|
| 23 |
get_all_documents,
|
| 24 |
get_collections,
|
| 25 |
get_collection_documents,
|
| 26 |
-
initialize_qa_system,
|
| 27 |
get_embeddings_model,
|
| 28 |
verify_database_tables,
|
| 29 |
create_collection,
|
|
@@ -34,9 +33,8 @@ from utils.database import (
|
|
| 34 |
get_chat_messages,
|
| 35 |
get_document_tags,
|
| 36 |
add_document_tags,
|
| 37 |
-
delete_collection
|
| 38 |
-
|
| 39 |
-
|
| 40 |
|
| 41 |
@dataclass
|
| 42 |
class SessionState:
|
|
|
|
| 23 |
get_all_documents,
|
| 24 |
get_collections,
|
| 25 |
get_collection_documents,
|
|
|
|
| 26 |
get_embeddings_model,
|
| 27 |
verify_database_tables,
|
| 28 |
create_collection,
|
|
|
|
| 33 |
get_chat_messages,
|
| 34 |
get_document_tags,
|
| 35 |
add_document_tags,
|
| 36 |
+
delete_collection)
|
| 37 |
+
from utils.ai_utils import generate_document_tags, initialize_chat_system
|
|
|
|
| 38 |
|
| 39 |
@dataclass
|
| 40 |
class SessionState:
|