It is tested with the more famous and leading models of Ali Tongyi Qianwen and iFLYTEK Xunfei Spark, plus chatGPT3.5.
A simple code question: how to add a trailing character | in the middle of a string, such as 99999 processing after becoming 9|9|9|9|9, please use Java language to implement!
First, the first appearance is "chatGPT":
Copy the code into the IDE for execution:
The output is correct. But the code is a bit verbose, ask if it is better implemented.
Copy to IDE execution, the result is correct.
But the code can also be simplified, give it a hint.
Very good, executed correctly.
It can be seen that chatGPT is still comfortable with simple code problems.
Second, the next is the Ali family's "Tongyi Thousand Questions"
Obviously, at a glance, the output should be: |9|9|9|9|9|9|, but it says that the output is 9|9|9|9|9, well...
Let it correct it:
Obviously, the code is outrageously wrong. Give it one last chance.
Gave me the error code as it is. I was also completely speechless. Abandon!
Third, finally, please take out the "iFLYTEK Spark" of iFLYTEK, which is at the forefront of domestic artificial intelligence
A lot of verbosity, it's clear that the code is wrong! If you don't believe it, let's run it in the IDE:
The output is: 9. Eh, this is more embarrassing, you have a lot of code, is it used to bluff people? Count you awesome. See if you can change it yourself, continue:
It's so stubborn, I was output the old code as it was, and not a single character was changed! Please forgive me for being speechless again...
Forget it, I'm irritable, let's go here today, I don't want to waste any more time testing.
The leading AI models in China are like bears, let alone other families. Even compared to GPT3.5, it's far from it! Not to mention GPT4. Please stop blowing all day!!
In a word: please be less routine and more honest. Don't roll in the nest anymore, if you want a roll, please roll with a large foreign company.