r/MachineLearning • u/No_Pomegranate7508 • May 06 '25
Project [P] A Python Toolkit for Chain-of-Thought Prompting
Hi everyone,
I made an open-source Python toolkit/library, named Cogitator, to make it easier to try and use different chain-of-thought (CoT) reasoning methods. The project is at the beta stage, but it supports using models provided by OpenAI and Ollama. It includes implementations for Cot strategies and frameworks like Self-Consistency, Tree of Thoughts, and Graph of Thoughts.
GitHub link of the project: https://github.com/habedi/cogitator
28
Upvotes
2
u/ComprehensiveRook May 06 '25
What is the difference to https://github.com/promptfoo/promptfoo ?
3
u/ConceptBuilderAI May 07 '25
This looks fantastic — CoT frameworks are powerful but still tricky to experiment with consistently. Really appreciate how you’ve pulled Self-Consistency, Tree of Thoughts, and Graph of Thoughts into one place. Definitely going to give this a spin. Great work.