You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related to #48
Integrate a RAG-based chatbot for querying ingested GitHub repository data.
* **Backend Changes**:
- Add `src/gitingest/embedding.py` to handle vectorization of repository content.
- Add `src/gitingest/rag_chatbot.py` to manage retrieval and generation logic.
- Add new API endpoints in `src/routers/chatbot.py` for chatbot communication.
* **Frontend Updates**:
- Update `src/templates/index.jinja` and `src/templates/github.jinja` to include a chatbot UI with input and response display elements.
* **Dependencies**:
- Update `requirements.txt` to include `sentence-transformers`, `openai`, `langchain`, and `faiss-cpu`.
* **Testing**:
- Add test cases in `src/gitingest/tests/test_embedding.py` to validate embedding generation and storage.
- Add test cases in `src/gitingest/tests/test_rag_chatbot.py` to validate retrieval accuracy and response quality.
- Add test cases in `src/gitingest/tests/test_chatbot_endpoints.py` to validate API endpoint functionality.
0 commit comments