Skip to content

Added project setup, Config, HealthCheck, and Chainlit app#1

Merged
markgewhite merged 3 commits intomainfrom
feature/2-project-setup-config-healthcheck
Mar 29, 2026
Merged

Added project setup, Config, HealthCheck, and Chainlit app#1
markgewhite merged 3 commits intomainfrom
feature/2-project-setup-config-healthcheck

Conversation

@markgewhite
Copy link
Copy Markdown
Owner

Summary

  • Initialised uv project with all Phase 1 dependencies (Chainlit, ChromaDB, LangChain loaders, sentence-transformers, Ollama, etc.)
  • Created project structure with src/ingestion, src/retrieval, src/generation packages
  • Added config.yaml with all PRD defaults and Pydantic-based Config module with validation and error handling
  • Added async HealthCheck module that verifies Ollama connectivity and required model availability
  • Added Chainlit app entry point with startup health checks and welcome message
  • Includes 13 tests covering Config (7) and HealthCheck (6) modules

Closes

Closes #2

Test plan

  • uv sync --dev resolves without errors
  • uv run python -m pytest -v — all 13 tests pass
  • uv run chainlit run app.py — app launches, shows welcome message or clear health check error

🤖 Generated with Claude Code

markgewhite and others added 3 commits March 29, 2026 17:46
Established the foundational vertical slice for issue #2: uv project with
all Phase 1 dependencies, config.yaml with PRD defaults, Pydantic-based
Config module with validation and error handling, async HealthCheck module
for Ollama connectivity and model verification, and Chainlit app entry
point with startup health checks and welcome message. Includes 13 tests
covering both modules.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Avoids confusion with the older single-document doc_query training
project. Updated package name, ChromaDB persist path, and config defaults.
GitHub repo already renamed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@markgewhite markgewhite merged commit 9bd75eb into main Mar 29, 2026
1 check passed
@markgewhite markgewhite deleted the feature/2-project-setup-config-healthcheck branch March 29, 2026 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant