Add a "HOWITWORKS.md" to explain how ProofOfThought works#1
Open
ttulttul wants to merge 8 commits intoDebarghaG:mainfrom
Open
Add a "HOWITWORKS.md" to explain how ProofOfThought works#1ttulttul wants to merge 8 commits intoDebarghaG:mainfrom
ttulttul wants to merge 8 commits intoDebarghaG:mainfrom
Conversation
… format to 'javascript' which formats propertly (it's not valid JSON so parts were rendering in red color in Github)
naveensd101
reviewed
Oct 5, 2025
| Instead of answering the question directly, the system uses an LLM (e.g. `GPT-5`) to act as a programmer. | ||
|
|
||
| * **Prompting**: The user's question is embedded into a highly detailed prompt template. This prompt instructs the LLM on how to decompose the question and convert it into a JSON-based Domain-Specific Language (DSL) that represents the problem's logic. | ||
| * **Logical Decomposition**: The LLM breaks down the question. For "Would Nancy Pelosi publicly denounce abortion?", it reasons that: |
There was a problem hiding this comment.
curious: In a large system how can we make sure that the LLM doesn't add biases or fallacies into this logical decomposition? For smaller examples we can indeed read and see all the decompositions.
This question is more toward the repo owner than the PR author.
Author
There was a problem hiding this comment.
I've added a section in an attempt to answer your question thoughtfully.
|
Really nice write-up. |
Author
|
I have also added the use of structured responses when these are available in the LLM's API (see https://platform.openai.com/docs/guides/structured-outputs, for example). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is such a great project, but the
README.mddoesn't adequately address (in my opinion) how this library actually works. I think the world needs to know! So I hereby contribute aHOWITWORKS.mdthat I graciously submit for your consideration.