# Hugging Face Spaces .gitignore # Optimized for Non-QM Glossary Chatbot deployment # ========================================== # Environment and Configuration Files # ========================================== .env .env.local .env.production .env.staging config.json secrets.json # ========================================== # Cline AI Assistant Files # ========================================== .clinerules .cline/ memory-bank/ .claude/ .cursor/ # ========================================== # Development Documentation # ========================================== designDoc.md Basic_Design_Doc.docx Glossary.pdf README_dev.md DEVELOPMENT.md TODO.md NOTES.md # ========================================== # Python # ========================================== __pycache__/ *.py[cod] *$py.class *.so .Python build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ share/python-wheels/ *.egg-info/ .installed.cfg *.egg MANIFEST # ========================================== # Virtual Environments # ========================================== venv/ env/ ENV/ env.bak/ venv.bak/ .venv/ .env/ .conda/ conda-meta/ # ========================================== # IDEs and Editors # ========================================== .vscode/ .idea/ *.swp *.swo *~ .DS_Store Thumbs.db # VS Code .vscode/settings.json .vscode/tasks.json .vscode/launch.json .vscode/extensions.json .vscode/cline_docs.md # PyCharm .idea/ *.iml *.iws # Sublime Text *.sublime-project *.sublime-workspace # Vim .vim/ *.swp *.swo # ========================================== # OS Generated Files # ========================================== .DS_Store .DS_Store? ._* .Spotlight-V100 .Trashes ehthumbs.db Thumbs.db desktop.ini # ========================================== # Logs and Databases # ========================================== *.log logs/ log/ *.sqlite *.sqlite3 *.db # ========================================== # Testing and Coverage # ========================================== .coverage .pytest_cache/ .tox/ .nox/ coverage.xml *.cover *.py,cover .hypothesis/ .cache nosetests.xml # ========================================== # Jupyter Notebook # ========================================== .ipynb_checkpoints *.ipynb # ========================================== # Model and Data Files (Exclude Large Files) # ========================================== # Note: We DO want to include these for our chatbot: # - glossary.txt (source data) # - glossary.index (FAISS index) # - chunks.json (preprocessed data) # But exclude any backup or temporary versions *.bak *.backup *.tmp *_backup.* *_temp.* # ========================================== # Package Managers # ========================================== node_modules/ npm-debug.log* yarn-debug.log* yarn-error.log* package-lock.json yarn.lock # ========================================== # Security and Sensitive Files # ========================================== *.pem *.key *.cert *.crt id_rsa id_dsa .ssh/ .gnupg/ # ========================================== # Temporary Files # ========================================== *.tmp *.temp temp/ tmp/ .cache/ .temp/ # ========================================== # Backup Files # ========================================== *.orig *.bak *.backup *~ #*# # ========================================== # Hugging Face Specific # ========================================== .gradio/ gradio_cached_examples/ .hf_token hf_token.txt # ========================================== # Git # ========================================== .git/ .gitignore_local .gitconfig_local # ========================================== # Local Development Scripts # ========================================== run_local.py test_local.py debug.py local_test.sh dev_setup.sh # ========================================== # Documentation Build Files # ========================================== docs/_build/ docs/build/ site/ .readthedocs.yml # ========================================== # Performance and Profiling # ========================================== .prof *.prof .benchmark profile_output # END: Files above this line will be excluded from Hugging Face Spaces # # INCLUDED FILES (should be committed): # - app.py (main application) # - requirements.txt (dependencies) # - glossary.txt (source data) # - glossary.index (FAISS vector index) # - chunks.json (preprocessed data) # - build_index.py (for maintenance)