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
{{ message }}
Repository navigation
docs: add highlighted walkthrough for instruct-validate-repair examples #671
IVR (instruct-validate-repair) is the core Mellea pattern, but it doesn't have a highlighted walkthrough page in docs/docs/examples/ like the other four examples do (data extraction, mify, RAG, telemetry).
The instruct_validate_repair/ directory already has 7 runnable examples covering the full progression from basic generation through requirements, validation, custom validators, and the multi-turn strategy. These would translate well into a step-by-step walkthrough page following the same format as the existing highlighted examples.
What to do:
Create docs/docs/examples/instruct-validate-repair.md following the same structure as the existing walkthrough pages (frontmatter, concepts covered, prerequisites, section-by-section code walkthrough, key observations, what to try next)
Pick one or two of the IVR examples as the primary walkthrough (probably 101_email.py progressing to 101_email_with_requirements.py and 101_email_with_validate.py)
Add a row to the highlighted examples table at the top of docs/docs/examples/index.md
Why it matters:
The four current highlighted examples show generative slots, mify, RAG, and telemetry — all important but secondary to IVR. A new user reading the examples section should see the fundamental pattern front and centre.
I see blogs as a 'point in time' opinion/guide, whilst the tutorials are a living part of the source tree?
I know there's some overlap, but I think getting a tutorial, if it makes sense as part of core mellea, is the best primary option. We can then add a blog post either referring to it, or adding a variation after.
That's not to say our current structure is ideal - but if we can improve it let's do it in the core docs, then use the blog for that reminder, prompt, or broader context
Makes sense. I was more wondering if we had a blog on IVR we could pull in to / adapt for the docs... I thought we did, but I think I was thinking of the "get started with Mellea in 5 minutes" one
Closing as superseded — IVR docs moved to the concepts layer in the restructure.
Verified against main (2026-10-05, e99267edc). The deliverable as specified — an examples/instruct-validate-repair.md page in the old highlighted-walkthrough format with a row in that index table — no longer fits: the examples section was rebuilt around new walkthrough themes (data-extraction-pipeline, legacy-code-integration, resilient-rag-fallback, traced-generation-loop), and IVR now has a dedicated 275-line concepts page, docs/docs/concepts/instruct-validate-repair.md ("The Instruction Model — how instruct(), requirements, and the IVR loop work"), added with the restructure (ed01c8775). The underlying ask — IVR front and centre rather than secondary to RAG/telemetry — is met there.
Parked for whoever next touches the examples section, in case an executable walkthrough (as opposed to the concepts page) is wanted: the format would now be one of the current examples pages, and the source-material pointer from the May discussion still stands — the mellea-cookbook IVR notebook (ibm-granite-community/mellea-cookbook, recipes/InstructValidateRepair/InstructValidateRepair.ipynb).
Activity
psschwei commentedon May 19, 2026
Do you think we could use one of the blog posts for this?
planetf1 commentedon May 20, 2026
I see blogs as a 'point in time' opinion/guide, whilst the tutorials are a living part of the source tree?
I know there's some overlap, but I think getting a tutorial, if it makes sense as part of core mellea, is the best primary option. We can then add a blog post either referring to it, or adding a variation after.
That's not to say our current structure is ideal - but if we can improve it let's do it in the core docs, then use the blog for that reminder, prompt, or broader context
psschwei commentedon May 20, 2026
Makes sense. I was more wondering if we had a blog on IVR we could pull in to / adapt for the docs... I thought we did, but I think I was thinking of the "get started with Mellea in 5 minutes" one
psschwei commentedon May 20, 2026
possibly we could pull in this: https://github.com/ibm-granite-community/mellea-cookbook/blob/main/recipes/InstructValidateRepair/InstructValidateRepair.ipynb
planetf1 commentedon Oct 5, 2026
Closing as superseded — IVR docs moved to the concepts layer in the restructure.
Verified against
main(2026-10-05,e99267edc). The deliverable as specified — anexamples/instruct-validate-repair.mdpage in the old highlighted-walkthrough format with a row in that index table — no longer fits: the examples section was rebuilt around new walkthrough themes (data-extraction-pipeline,legacy-code-integration,resilient-rag-fallback,traced-generation-loop), and IVR now has a dedicated 275-line concepts page,docs/docs/concepts/instruct-validate-repair.md("The Instruction Model — howinstruct(), requirements, and the IVR loop work"), added with the restructure (ed01c8775). The underlying ask — IVR front and centre rather than secondary to RAG/telemetry — is met there.Parked for whoever next touches the examples section, in case an executable walkthrough (as opposed to the concepts page) is wanted: the format would now be one of the current examples pages, and the source-material pointer from the May discussion still stands — the mellea-cookbook IVR notebook (
ibm-granite-community/mellea-cookbook,recipes/InstructValidateRepair/InstructValidateRepair.ipynb).