File size: 1,427 Bytes
4e06012
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2026-02-19 21:53:16,697 - __main__ - INFO - No persistent storage '/data' found. Using local 'data' folder and '/tmp/cache'.
/home/yaduug/Desktop/Dev/NPS-AI/app.py:136: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.12/migration/
  class ScikitLearnTfidfRetriever(BaseRetriever):
INFO:     Started server process [1629794]
INFO:     Waiting for application startup.
2026-02-19 21:53:16,719 - __main__ - INFO - ๐Ÿš€ Initializing RAG system...
2026-02-19 21:53:16,719 - sentence_transformers.SentenceTransformer - INFO - Load pretrained SentenceTransformer: BAAI/bge-base-en-v1.5
2026-02-19 21:53:22,747 - __main__ - INFO - โœ… Loading vector store from cache: /tmp/cache/vectorstore_91a2d81fdd09516b836d2bb886c10c28.faiss
2026-02-19 21:53:22,754 - faiss.loader - INFO - Loading faiss with AVX2 support.
2026-02-19 21:53:22,770 - faiss.loader - INFO - Successfully loaded faiss with AVX2 support.
2026-02-19 21:53:22,811 - __main__ - INFO - โœ… RAG system initialized successfully.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:7860 (Press CTRL+C to quit)
2026-02-19 21:53:45,327 - __main__ - INFO - Translated 'GNDU kahan hai?' (Hindi) -> 'Where is GNDU?' (English)
INFO:     127.0.0.1:33394 - "POST /ask HTTP/1.1" 200 OK