Skip to main content

DIALECTOR - building a dialectic assistant from scratch

Arthur Schopenhauer, the renowned 19th-century German philosopher, is often cited for his contributions to metaphysics and ethics. However, one of his lesser-known but equally fascinating works involves the art of controversy and debate. In his essay "The Art of Being Right," Schopenhauer outlines 38 strategic tactics designed to help one prevail in arguments and discussions, regardless of whether the truth is on their side. These strategies range from subtle techniques of distraction and misdirection to more overt methods of dispute and contradiction. An explanation of this background can be found here

Source : generated with Midjourney

At the inception of this experiment, my goal was to develop an assistant for discussions on contentious topics. I was curious to explore the integration of Schopenhauer's argumentative strategies with ChatGPT's capabilities to enhance responses in complex debates. Consider a scenario where I am countering a claim made by a software vendor about their product's ability to distinguish AI-generated text. 

The question I posed was whether ChatGPT, equipped with classical rhetorical strategies, could augment my ability to effectively articulate and defend my stance against such claims. This experiment seeks to blend traditional debate tactics with modern AI technology to refine argumentation skills in professional discussions.

And here is the result: Introducing DIALECTOR, my new assistant for controversial discussions.


I was astounded! In my assistant, I can input my arguments as well as those of my counterpart and then select one or more strategies from a list of 20 inspired by Schopenhauer. This information is then sent to ChatGPT, and as a result, I receive a new set of arguments.

Now, how did I manage to achieve this? You might think it required a lot of programming, right? Not at all! I got ChatGPT to program a Streamlit/Python application for me that includes all these features and communicates with ChatGPT via the OpenAI API. Don't believe me? This was my prompt:

Write a Streamlit Python application that takes "My arguments" as an input in a text area and "My opponent's arguments" in another text area. Between the two text areas, there must be a dropdown list from which I can multi-select Schopenhauers 37 strategies to win with an argument. There must be a "REPLY" button which takes my opponent's argument from the text area, transmits it to ChatGPT with the instruction to reply to this argument along with the selected instructions from the strategy multi-select and displays the answer of ChatGPT in a new "New arguments" text area.


Finally, with only a few iterations, where I told ChatGPT to change and extend a few things and inserted the strategies, we arrived together at this code


AI-coprogrammed Streamlit / Python application

This is in the same time a very nice example of AI-assisted eXtreme Programming, isn't it?

AI in communication brings exciting new dimensions to handling complex conversations, especially when opinions clash. AI assistants offer innovative ways to engage in and analyze contentious topics across various fields, from politics and marketing to executive boardrooms and personal reflection. This experiment revealed some opportunities and challenges of integrating AI into these discussions.

In politics, AI could transform how debates are prepared for and conducted. AI assistants, equipped with strategic argumentation techniques, could offer politicians instant suggestions for counterpoints, verify facts in real-time, and anticipate opponents' arguments. However, this convenience might lead to concerns about the authenticity of the debate, where the reliance on AI could overshadow genuine argumentative skills, potentially leading to a focus on style over substance.

In the marketing realm, AI can be a powerful tool for crafting persuasive messages and anticipating consumer objections. By analyzing consumer behavior and market trends, AI can help create more effective marketing campaigns and pre-emptively address potential concerns. The challenge here is to use these insights ethically, avoiding manipulative tactics that exploit consumer psychology.

At the executive level, decision-making involves navigating complex discussions with significant implications. AI assistants can offer valuable insights by analyzing data to highlight the strengths and weaknesses of various strategies. This can lead to more informed discussions among leaders, potentially reducing the risk of costly errors. However, there's a risk of becoming too dependent on AI, which could limit creative and intuitive decision-making.

For individuals, AI can act as a tool for self-reflection, challenging one's views and exposing them to different perspectives. This can help break down echo chambers and reduce confirmation bias, promoting personal growth. Ensuring that AI encourages critical thinking without reinforcing existing biases is crucial.

Integrating AI into debates and discussions offers significant benefits, such as enhanced argumentation and deeper insights. However, it's important to approach this integration with ethical considerations in mind, such as avoiding manipulation, maintaining genuine debate skills, and not becoming overly reliant on technology. As we move forward, finding a balance that leverages AI's strengths while upholding the values of human discourse is key. The goal isn't just to win arguments but to enrich discussions for societal advancement.

This post has been cowritten with ChatGPT. Please beware that AI is fascinating and can catch your full attention for hours. Get the balance right! > more?







Popular posts from this blog

An Ethical Framework for Exams and Continuous Assessment with AI

Throughout the history of education, a multitude of diverse and even contentious methodologies have been employed to assess knowledge and aptitude. Several assessment methods have been employed, ranging from oral examinations to written tests, all with the overarching objective of discerning the extent to which students comprehend the subject matter in a manner that is equitable, comprehensive, and optimal. In the present context, amidst the cusp of a forthcoming epoch, the ongoing discourse persists, albeit with a futuristic inclination. The emergence of Artificial Intelligence (AI) has brought about transformative changes in the field of education, revolutionizing the tools and methodologies employed for assessment and evaluation. As we transition into this emerging era, it is crucial to discuss the implications for the fundamental principles and ideals of education. The conventional methods of assessment, commonly characterized by high-stakes examinations and standardized tests, ha...

Rethinking Exams in the Age of Chatbots

Today's experiment explores the potential of ChatGPT to assist me in the realm of exams, particularly within my field of teaching, Business Analysis. Can ChatGPT create a question for an exam? Indeed, it can do even more! In the experiment below, ChatGPT showcases (to varying extents) its ability to not only generate an exam question but also to engage in several related tasks: Generate a difficult critical question Solve the question Critically evaluate the solution (its own solution!) Attribute a mark between 1 and 6 Attribute a severe mark between 1 and 6 Defend a mark Refute a mark Generate a variation of the question which is difficult to solve Generate a variation of the question which is even more difficult to solve Give a correction scale with marks from 1 to 6  The impact of AI and chatbots like ChatGPT impact on university exams is becoming increasingly evident. Students and teachers alike are beginning to discover these tools, questioning their potential to generate, cor...

How to augment a Course with AI and Student Personas

As an educator in the field of business analysis, I've always sought innovative ways to enhance the learning experience for my students. My latest experiment (see below) into this endeavor involved leveraging ChatGPT to not only understand the learning process better but also to tailor it to individual student needs. Here's a glimpse into this fascinating journey. It began with identifying eight phases of a learning process with ChatGPT. These phases ranged from orientation to reflection and evaluation, encompassing the entire spectrum of a student's learning journey. The goal was to understand how students navigate through these phases and how they could be supported in each step. Building on these phases, I adapted them into a model for student personas . This involved considering various aspects of a student's academic life, personal characteristics, and learning styles. From this model, I created ten distinct student personas. Each persona represented a unique c...