Spaces:
Sleeping
Sleeping
File size: 284 Bytes
47e4aa2 |
1 2 3 4 5 6 7 8 9 10 11 12 |
import logging
from dotenv import load_dotenv
# Carica variabili d'ambiente dal file .env
load_dotenv()
def configure_logging():
logging.basicConfig(
filename="rag_chatbot.log",
level=logging.INFO,
format="%(asctime)s - %(levelname)s - %(message)s"
) |