rhettlunn / is-odd-ai

Why check if something is odd simply, when you can do it with ✨AI✨
Apache License 2.0
365 stars 9 forks source link

Add chain of thought prompt #19

Open nkapila6 opened 1 month ago

nkapila6 commented 1 month ago

In order to enhance the accuracy of odd number detection, I suggest implementing chain of thought reasoning when interacting with GPT-3.5.

Rationale: GPT-3.5 performs better when it can break down tasks and reason through multiple steps, rather than providing a direct answer without detailed context. By integrating a chain of thought reasoning process, the model can better assess the characteristics of numbers and ensure more consistent odd number identification, especially in cases where the input might not be straightforward (e.g., larger numbers, numbers expressed in non-standard formats, etc.).

This would strengthen the package's overall functionality and allow it to handle a wider range of inputs with greater precision.

samolukadjo commented 1 month ago

Yes, this is a great idea