2024-02-25 09:22:14 +08:00
2023-11-26 15:52:11 -05:00
2024-02-25 09:22:14 +08:00
2023-06-20 05:38:19 -04:00

DebateTree

A langchain app to visualise debates. Inspired by Tree-of-Thought reasoning.

graph TB
    A["Question"] --> B1["Stance"]
    A["Question"] --> B2["Stance"]
    A["Question"] --> B3["Stance"]
    B1 --> C1[Criticism]
    B2 --> C2[Criticism]
    B3 --> C3[Criticism]
    C1 --> D1[Push-Back Against Criticism]
    C2 --> D2[Push-Back Against Criticism]
    C3 --> D3[Push-Back Against Criticism]
    

Things to add:

  1. Add agents and parallelisation to reduce computation time.
  2. Make arguments more readable and concise.
  3. Make criticisms clearer and first principle based
  4. Make push-backs clearer such that the push-back nodes can only be of 3 types:
    • Green nodes that disgaree with the criticism and validate the argument
    • Red nodes that agree with the criticism and invalidate the argument
    • Orange nodes that reduce the debate on the argument to a fundamental question that can be further debated.
  5. Functionality to explore a new question.
S
Description
A langchain app to visualise a debate using Tree-of-Thought reasoning
Readme 203 KiB
Languages
Python 100%