Spaces:
Sleeping
Sleeping
Commit History
-
Fix: Sync chunks update when adding/updating/deleting documents
Nguyễn Quốc Vỹ- delete_system_doc(): Now deletes chunks from ChromaDB before removing DB record - update_system_doc(): Fixed to delete old chunks (using old_filename) before adding new chunks - Both functions now call _clear_rag_cache() to ensure RAG cache is updated - User no longer needs to manually run 'Tái lập chỉ mục' after delete/update - Messages now show exact number of chunks deleted/addedf73363c -
Fix: Correct corrupted rag_chain_pg.py with max_tokens optimizations
Nguyễn Quốc Vỹ- Groq max_tokens: 8192 - Gemini max_output_tokens: 8192 - MAX_CONTEXT_CHARS: 8000 Fixes SyntaxError on HF deployment43630da
-
Fix: Clear RAG source cache when admin uploads/updates/reindexes documents
Nguyễn Quốc Vỹ- Add _clear_rag_cache() function to reset ChromaDB source cache - Call cache clear in create_system_doc() after upload - Call cache clear in update_system_doc() after modification - Call cache clear in reindex_all() after reindexing - Ensures new documents are searchable immediately without cache stale issues4f1a142
-
Update README
Nguyễn Quốc Vỹd33e9a6 -
Update README theo tiến trình
Nguyễn Quốc Vỹ8bedd44 -
Sửa lại giao diện
Nguyễn Quốc Vỹ2ffdb62 -
fix lỗi không up được tài liệu
Nguyễn Quốc Vỹe355040 -
Tối ưu đồng bộ chỉ mục: chỉ index tài liệu mới, bỏ reindex toàn bộ
Nguyễn Quốc Vỹ0700453 -
Tối ưu logic index: chỉ index chunk mới, bỏ qua tài liệu/chunk đã tồn tại
Nguyễn Quốc Vỹ47738d8 -
Fix lỗi upload file không được lưu trữ lại lâu dài
Nguyễn Quốc Vỹab66a23
-
Chỉnh lại logic index tài liệu
Nguyễn Quốc Vỹ0bcda63 -
Cập nhật lại RESEND_FROM_EMAIL để có thể gửi mail thật
Nguyễn Quốc Vỹ4082678 -
thay đổi hình thức gửi mail sang Resend để phù hợp với Hugging
Nguyễn Quốc VỹMade-with: Cursor358b37b -
Chuyển từ dữ liệu tạm sang runtime để dữ liệu không bị mất
Nguyễn Quốc Vỹ98f87e1 -
Xoá các file không cần thiết
Nguyễn Quốc Vỹ4b842c3 -
Cập nhật README.md phù hợp với tiến độ dự án
Nguyễn Quốc Vỹ999a3ad -
Fix PDF upload 403: disable XSRF protection, set max upload 200MB
Nguyễn Quốc VỹMade-with: Cursor7a19af6 -
Add Streamlit light theme config
Nguyễn Quốc VỹMade-with: Cursor9a63f87 -
Update auth page CSS: white inputs, black text, purple buttons
Nguyễn Quốc VỹMade-with: Cursorf4ce903 -
update code
Nguyễn Quốc Vỹb507287 -
Fix lỗi trong db.py
Nguyễn Quốc Vỹ4798dd6 -
Fix numpy version for Hugging Face build
Nguyễn Quốc Vỹfad8a97 -
fix README.md
Nguyễn Quốc Vỹcc18eb6 -
Update repo
Nguyễn Quốc Vỹb655c88