Deep Refine
An iterative, multi-model response enhancement pipeline.
Deep Refine is a Python tool that improves large language model responses through iterative refinement across several models, aiming for answers more accurate and better contextualized than any single-shot inference.
Process
- Initial generation: a base model drafts a response to the raw prompt.
- Critical analysis: a second model acts as an adversary, finding logical flaws, omissions, and style deviations.
- Refinement: a synthesis model integrates the critique and rewrites the output into its final form.