├── .env.example ├── .gitignore ├── .python-version ├── CLAUDE.md ├── README.md ├── backend ├── ai_generator.py ├── app.py ├── config.py ├── document_processor.py ├── models.py ├── rag_system.py ├── search_tools.py ├── session_manager.py ├── tests │ ├── __init__.py │ ├── conftest.py │ ├── test_ai_generator.py │ ├── test_api_endpoints.py │ ├── test_config.py │ ├── test_course_search_tool.py │ ├── test_rag_system.py │ └── test_vector_store.py └── vector_store.py ├── docs ├── course1_script.txt ├── course2_script.txt ├── course3_script.txt └── course4_script.txt ├── frontend-changes.md ├── frontend ├── index.html ├── script.js └── style.css ├── main.py ├── pyproject.toml ├── query_flow_diagram.txt ├── run.sh ├── scripts ├── format.sh └── lint.sh └── uv.lock /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/.gitignore -------------------------------------------------------------------------------- /.python-version: -------------------------------------------------------------------------------- 1 | 3.13 2 | -------------------------------------------------------------------------------- /CLAUDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/CLAUDE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/README.md -------------------------------------------------------------------------------- /backend/ai_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/backend/ai_generator.py -------------------------------------------------------------------------------- /backend/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/backend/app.py -------------------------------------------------------------------------------- /backend/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/backend/config.py -------------------------------------------------------------------------------- /backend/document_processor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/backend/document_processor.py -------------------------------------------------------------------------------- /backend/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/backend/models.py -------------------------------------------------------------------------------- /backend/rag_system.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/backend/rag_system.py -------------------------------------------------------------------------------- /backend/search_tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/backend/search_tools.py -------------------------------------------------------------------------------- /backend/session_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/backend/session_manager.py -------------------------------------------------------------------------------- /backend/tests/__init__.py: -------------------------------------------------------------------------------- 1 | # Test package for RAG system 2 | -------------------------------------------------------------------------------- /backend/tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/backend/tests/conftest.py -------------------------------------------------------------------------------- /backend/tests/test_ai_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/backend/tests/test_ai_generator.py -------------------------------------------------------------------------------- /backend/tests/test_api_endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/backend/tests/test_api_endpoints.py -------------------------------------------------------------------------------- /backend/tests/test_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/backend/tests/test_config.py -------------------------------------------------------------------------------- /backend/tests/test_course_search_tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/backend/tests/test_course_search_tool.py -------------------------------------------------------------------------------- /backend/tests/test_rag_system.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/backend/tests/test_rag_system.py -------------------------------------------------------------------------------- /backend/tests/test_vector_store.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/backend/tests/test_vector_store.py -------------------------------------------------------------------------------- /backend/vector_store.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/backend/vector_store.py -------------------------------------------------------------------------------- /docs/course1_script.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/docs/course1_script.txt -------------------------------------------------------------------------------- /docs/course2_script.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/docs/course2_script.txt -------------------------------------------------------------------------------- /docs/course3_script.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/docs/course3_script.txt -------------------------------------------------------------------------------- /docs/course4_script.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/docs/course4_script.txt -------------------------------------------------------------------------------- /frontend-changes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/frontend-changes.md -------------------------------------------------------------------------------- /frontend/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/frontend/index.html -------------------------------------------------------------------------------- /frontend/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/frontend/script.js -------------------------------------------------------------------------------- /frontend/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/frontend/style.css -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/main.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/pyproject.toml -------------------------------------------------------------------------------- /query_flow_diagram.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/query_flow_diagram.txt -------------------------------------------------------------------------------- /run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/run.sh -------------------------------------------------------------------------------- /scripts/format.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/scripts/format.sh -------------------------------------------------------------------------------- /scripts/lint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/scripts/lint.sh -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/https-deeplearning-ai/ragchatbot-codebase/HEAD/uv.lock --------------------------------------------------------------------------------