Le vendredi 31 mars 2023 à 15:19:51 UTC+2, William Stein a écrit :

[ Snip… ]

Meta comment -- I added this "Help me fix this..." feature to cocalc 
jupyter notebooks a week ago, and it's been extremely
popular with 1000+ uses a day.  It's exactly the sort of thing that ChatGPT 
can be very helpful with, given that Sage typical
outputs a massive scary stacktrace when anything goes wrong, and it's just 
a lot of mental effort to untangle it, especially given
the preparser.  ChatGPT is far from perfect, but it doesn't mind 
expending a lot of effort.     People also often get stuck and
very frustrated with Sage due to silly little things, e.g., accidentally 
capitalizing a function name, and chatgpt instantly points
out such things.     

You can reproduce the above exactly also at https://chat.openai.com/chat by 
using the prompt:

"I ran the following SageMath 9.8 code:

(put the code)

and it produced the following error message:

(put the error)

Help me fix my code."

However, I think people find seeing and error and just clicking once then 
seeing the result right in their notebook to be easier and less
disruptive of flow than a bunch of copy/paste.

Very nice ! With the usual reservation to take chatGPT’s answers with a 
grain of salt (sometomes iceberg-sized) : chatGPT conjured out of …err.., 
thin air, a matrix log function in Sage, and a matrix log function in Sympy 
; the latter is only partially false, since Sympy’s Matrixes *do* have 
*methods* exp and log, the former is just plain wrong.

Do you think such a feature could be added to the Jupyter/Jupyterlab 
versions included in Sage ?

Or possibly to Jupyter/Juyterlab (i. e. upstream) ?
​

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/54ebf451-4b23-4f53-a29c-6b3ab1e2a790n%40googlegroups.com.

Reply via email to