Update main.py
Browse files
main.py
CHANGED
|
@@ -15,7 +15,7 @@ def initialize_system():
|
|
| 15 |
logger.info("Initializing the system...")
|
| 16 |
|
| 17 |
# Load and process documents
|
| 18 |
-
documents =
|
| 19 |
logger.info(f"Loaded {len(documents)} documents")
|
| 20 |
|
| 21 |
# Generate embeddings
|
|
|
|
| 15 |
logger.info("Initializing the system...")
|
| 16 |
|
| 17 |
# Load and process documents
|
| 18 |
+
documents = load_single_document(Config.DOCUMENT_FILE)
|
| 19 |
logger.info(f"Loaded {len(documents)} documents")
|
| 20 |
|
| 21 |
# Generate embeddings
|