Skip to content

Why chat with only one ai model when you can make multiple models reason to answer your question, Two heads are better than one 👽

Notifications You must be signed in to change notification settings

iBz-04/Two-Heads

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Making multiple Ai models debate and think step by step to solve a problem / answer a question in one conversation

Table of Contents

Features

  • Multi-Model Collaboration - GPT-4 (analyst), GPT-3.5 (creative), GPT-4o (synthesizer)
  • Confidence Scoring - Each response includes self-assessed confidence percentage
  • Structured Rounds - 2 debate rounds with progressive refinement
  • Follow-up Support - Continuous dialogue for extended problem solving
  • Transparent Process - Full conversation history tracking

Working principles

  • A[User Input] --> B(Alpha Analysis)
  • B --> C(Beta Critique)
  • C --> D{2 Rounds}
  • D --> E[Gamma Synthesis]
  • E --> F[Final Answer]

Demo Video

two.heads.mp4

Architecture

The system workflow is designed as follows:

  1. User Input: The process begins with the user’s query.
  2. Alpha Analysis: Initial responses are generated by designated AI models.
  3. Beta Critique: A critique phase identifies possible improvements.
  4. Debate Rounds: Two structured rounds refine the analysis.
  5. Gamma Synthesis: A synthesis model compiles the final answer.
  6. Final Answer: The refined solution is delivered to the user.

Installation

  1. Clone the repository.
  2. Install the required dependencies.
  3. Add your open ai api key
  4. Run the application. python main.py

Usage

Interact with the system via a command line interface. Simply provide your query and follow the on-screen instructions for a guided problem-solving experience.

Contributing

Contributions are welcome! Fork the repository, create a feature branch, and submit a pull request. For significant changes, please open an issue first to discuss your ideas.

About

Why chat with only one ai model when you can make multiple models reason to answer your question, Two heads are better than one 👽

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published