Spaces:
Sleeping
Sleeping
Commit History
-
style: Format code and fix linter warnings
Applied `ruff format` to the entire codebase for consistency. Also fixed all outstanding Pyright and Ruff linter warnings: - Ignored warnings for correct but "private" imports (gradio, genai). - Added a check for the API key to fix a potential `None` type error. - Suppressed E402 import errors in the build script where required.280d562 -
test: Add initial test suite for core application logic
Adds unit and integration tests for the project's most critical components, ensuring their correctness and stability. - A pure unit test was created for the `semantic_chunker` to validate its data grouping logic. - Mocked tests were implemented for the `rag_pipeline` to test the search filtering and prompt generation logic in isolation from the FAISS index and the external Gemini API. - Tests have been separated into `test_chunking.py` (fast) and `test_pipeline.py` (slower, mocked) to improve the development testing cycle.b0ef2dc
-
Initial project structure
0031f83