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
* chore(examples): scrub, standardize, reframe 04
Examples scrub-and-reframe phase, first wave.
- Delete examples/01-linear-pipeline/ (covered by 00-hello-world).
- Renumber 02-05 down by one to fill the gap.
- Standardize 01-03 (LLM-using) on openarmature.llm.OpenAIProvider +
SystemMessage + UserMessage, lifting hardcoded vLLM endpoints to
LLM_BASE_URL / LLM_MODEL / LLM_API_KEY env vars (same shape as
00-hello-world).
- Reframe 03-observer-hooks to register OTelObserver alongside the
plain console_tracer, showing observability backends as pluggable
behind one uniform hook.
- Reframe 04-nested-subgraphs around a real use case (question
answering against a tiny baked-in document corpus: outer
coordinator, doc-QA subgraph, section-extract subgraph). LLM-using
throughout; the depth-aware observer is a side observation rather
than the headline.
- Strip spec/proposal references from comments and docstrings across
examples/ and examples/README.md. Internal src/ scope is unchanged.
- Update tests/test_examples_smoke.py parametrize list to the five
surviving demos.
* chore(examples): tighten 04 docstring + pick_doc match
PR-review cleanups for #50:
- Top-level docstring no longer says the outer "takes the user's
question and the corpus". The corpus is module-level CORPUS, not
threaded through state; rewording matches the implementation and
the DocQAState docstring that already calls it out.
- pick_doc() relaxes its title match to case-insensitive containment
in either direction and raises on no match instead of silently
falling back to CORPUS[0]. The previous fallback could yield
confidently wrong answers (espresso question routed to Apollo 11)
on minor paraphrasing. The error message points readers at
response_schema (00-hello-world) as the production-grade fix.
0 commit comments