Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Add Socratic Dialogue Workflow template to Chat workflows #498

Open
rmusser01 opened this issue Jan 26, 2025 · 0 comments
Open
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@rmusser01
Copy link
Owner

Title.

Creation of a workflow for chat workflows that allows for socratic dialogue between a user and an LLM with a moderator LLM.
Creation of a workflow that allows for socratic dialogue between two LLMs and a human moderator.
Creation of a workflow that allows for socratic dialogue between two LLMs and an LLM moderator.

Original discussion: #496

<sup>Originally posted by **TomLucidor** January 22, 2025</sup>
Some criteria for Socratic Dialogue:
- Having chatbots of opposite sides read media with their own bias/preference using document RAGs and web-crawling tools
- Making a third moderator agent that prevents self-contradiction or incoherence by either side
- Converging conversation such that compromise can be reached, or all arguments have been exhausted
- Recording major arguments into PKM tools such that they can be recapped
- Goalpost-moving and concession-making should be an optional feature

Possible reference:
- https://github.com/RunzheYang/SocraticAI
- https://github.com/GiovanniGatti/socratic-llm</div>

My response:

I think the best way to implement it would be through the chat workflows functionality, as it allows for a structured dialogue, turn-by-turn, and with a little tweaking could be extended to support answering by an LLM, so that a user may select a customized workflow, user enters a topic/question, and then the question/topic is discussed by the LLM with the user or with another LLM. It should also be possible to specify in the workflow configuration file that a third party LLM is used after every discussion round for moderation.

The question of 'enough' is a little harder though.

Moving chats into a PKM would line up with aforementioned syncing with Obsidian.

Goalposts and concessions could be handled through the moderator's instructions in the workflow configuration.
@rmusser01 rmusser01 added the enhancement New feature or request label Jan 26, 2025
@rmusser01 rmusser01 self-assigned this Jan 26, 2025
@rmusser01 rmusser01 added this to the Beta v11 milestone Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant