@cstross @jwc Even if it doesn't, it has no idea of what's real or not. Contradictory sentences separated by similar text will have it jumping from one to the other.
I did a test asking it questions about something that there's probably only one text on in the entire web... an open source package I maintain on github. It was just as likely to recommend deprecated interfaces as preferred, and claim the new preferred interface is deprecated, as the opposite.
@cstross @jwc To put it more simple: ChatGPT doesn't understand what it's saying and so, despite all the marketing talk, is *not* at all intelligent.
Any parrot can (more or less) correctly repeat stuff in a (more or less) correct context without any understanding of what it's saying, just repeating noises it had heard in similar contexts.
And that's my answer when I'm asked what I think about this new AI stuff: it's all just sophisticated parrots.
@cstross When I tried it came up with a whole script for this XD
```
#!/bin/bash
file_path="path/to/your/file.txt"
if [ -e "$file_path" ]; then
read -p "Are you sure you want to delete '$file_path'? (yes/no): " confirm
if [ "$confirm" == "yes" ]; then
rm "$file_path"
echo "'$file_path' has been deleted."
else
echo "Deletion canceled."
fi
else
echo "'$file_path' does not exist."
fi
```
@cstross that doesn't look like ChatGPT (the one from OpenAI) 🤔
I tried with my account and I get a correct result: