Incorrect response by chatgpt

Chat gpt cant seggerate prime and non prime number from a list of numbers.
I tried giving chatgpt a bunch of space seperated numbers to sort and it returned to me 100 as a prime number

Welcome to this forum @gojerjeremy !!

Could you please share the prompt that you used in ChatGPT?

Are you using the assistant framework? If so are you giving it access to code interpreter or giving it a function it can call that can script out python. Without this, I wouldn’t put much faith in the AI’s ability to correctly identify a prime number. I tested your request using my own process where I give it access to write python on my machine and it wrote a routine to work out primes and then fed it the list of numbers from my prompt and then used those results to produce the two lists. Happy to share more details if it would help.

1 Like