Why
Follow-up to #11: grow the set of libraries DocChat can answer for. Same registry pattern, different source repo.
What to do
- Add a
_LibraryConfig entry for Django (django/django, docs under docs/) in sidecar/src/docchat_sidecar/indexer.py.
- Note: Django's docs are reStructuredText (
.rst), not Markdown - so this one likely needs a small .rst noise-stripping tweak vs. the current Markdown path. Call that out in the PR.
Acceptance criteria
- Django resolves through
_urls_for and indexes without error against a mocked fetch (extend sidecar/tests/test_indexer.py).
- Ideally add 2-4 Django Q/A pairs to
evals/corpus.json.
Pointers
indexer.py: _LibraryConfig, _LIBRARY_CONFIG, the chunking/noise-stripping helpers.
Why
Follow-up to #11: grow the set of libraries DocChat can answer for. Same registry pattern, different source repo.
What to do
_LibraryConfigentry for Django (django/django, docs underdocs/) insidecar/src/docchat_sidecar/indexer.py..rst), not Markdown - so this one likely needs a small.rstnoise-stripping tweak vs. the current Markdown path. Call that out in the PR.Acceptance criteria
_urls_forand indexes without error against a mocked fetch (extendsidecar/tests/test_indexer.py).evals/corpus.json.Pointers
indexer.py:_LibraryConfig,_LIBRARY_CONFIG, the chunking/noise-stripping helpers.