There is a well-known CLI tool for JSON processing called jq.
I have just asked GLM-4.7 for the name of jq's built function to convert a string to lowercase. It is called ascii_downcase() according to the manual:
https://jqlang.org/manual/#ascii_downcase-ascii_upcase
However GLM-4.7 insists that is called ascii_down().
I tried to correct it and gave the exact version number, but still, after a long internal monologue, This is its final world:
"In standard jq version 1.7, the function is named ascii_down, not ascii_downcase.
If you are receiving an error that ascii_down is not defined, please verify your version with jq --version. It is possible you are using a different binary (like gojq) or a version older than 1."
GLM-5 gives me the correct answer, ascii_downcase, but I can get this in the Chat Window. Via the API I get HTTP Status 429 - too many requests.
https://jqlang.org/manual/#ascii_downcase-ascii_upcase
However GLM-4.7 insists that is called ascii_down().
I tried to correct it and gave the exact version number, but still, after a long internal monologue, This is its final world:
"In standard jq version 1.7, the function is named ascii_down, not ascii_downcase.
If you are receiving an error that ascii_down is not defined, please verify your version with jq --version. It is possible you are using a different binary (like gojq) or a version older than 1."
GLM-5 gives me the correct answer, ascii_downcase, but I can get this in the Chat Window. Via the API I get HTTP Status 429 - too many requests.