-12

I entered this question. And in writing it out it helped me clarify what I think is the solution. So I asked ChatGPT and it agreed with my approach and provided me complete code for the solution.

This answer from ChatGPT, if entered by a human, I would accept. I am implementing this answer in my code. In addition, I'm guessing this won't be answered in SO because the number of people answering EF questions is relatively small.

So under the present rules do I leave it unanswered? Do I give the ChatGPT answer? Do I tell someone what to ask ChatGPT to get the answer?

I'm not going to post what ChatGPT answered and pretend I figured it out - that is violating the no-ChatGPT rule. Any effort I see to post the answer I have, including the suggestions in the comments, in my opinion, require either I lie or plagiarize (or both). I choose to not answer if those are my options. After all, I don't need the answer.

Update:

I posted the approach I think SO should take over in MSDN (example here). I'll do this in MSDN going forward as it's allowed there. But I think SO is poorer for not allowing entries like this.

29
  • 29
    Can't you describe the solution using your own words? Mar 25 at 20:55
  • 4
    Are you unable to write an answer in your own words and using your own examples? Potentially expanding it with other information and maybe references to other resources?
    – VLAZ
    Mar 25 at 20:55
  • 13
    Note also that ChatGPT doesn't answer a fixed question with the same output consistently. Mar 25 at 20:57
  • 2
    @StoryTeller-UnslanderMonica and VLAZ - Chat-GPT laid it out so perfectly that my "rewording" it would be clear plagiarism. Mar 25 at 21:07
  • 15
    "So under the present rules do I leave it unanswered?" - You had an answer before you used ChatGPT. So you should submit that as your answer. If you have the knowledge required to determine ChatGPT gave you the proper answer you should be able to answer your own question with your own code. Mar 25 at 21:52
  • 2
    @SecurityHound I did not have an answer before Chat-GPT walked me through the plusses and minuses of the approaches and then gave me a full answer on the best approach with code and reasoning. Mar 25 at 23:01
  • 9
    @DavidThielen - "And in writing it out, it helped me clarify what I think is the solution." - Sounds like you had a solution in your head, not answering your question, when you have an answer doesn't help the community. As I said, if your able to verify the ChatGPT, you likely have enough knowelege to answer your own question. Mar 25 at 23:09
  • 10
    How would you have proceeded, step by step, if you had had this question before ChatGPT existed? I recommend doing that. Mar 26 at 3:27
  • 2
    @KarlKnechtel the answer I was considering before ChatGPT was significantly inferior to the answer it gave me. It doesn’t serve anyone well to post that inferior answer. Mar 26 at 13:59
  • 2
    Okay. So take the same steps, and write the better answer that you're now capable of writing, now that you've learned something from reading the ChatGPT output - since it's fed from a model that includes data that would have been helpful for you to know about ahead of time, this can be seen as a form of research. Mar 26 at 18:57
  • 4
    I'm giving up on replying to the comments here because they all, at root, want me to come up with a better solution than ChatGPT gave me. Sorry all, ChatGPT gave me what I think is the optimum solution and it gave it to me in full. If I ask ChatGPT what is 2 + 2 and it replies 4, there's really not much for me to add to that. Mar 26 at 21:01
  • 5
    @DavidThielen okay, but that is not a question that should go on Stack Overflow so no harm done there. And that would be my take on it. If ChatGPT CAN answer the question... I kind of doubt it was a good question for Stack Overflow. It is either off-topic, or already answered.
    – Gimby
    Mar 27 at 8:34
  • 4
    Why exactly are we discussing this based on a question that clearly lacks focus? It shouldn’t be answered, it should be closed. That ChatGPT is good for questions that aren’t a good fit for SO is somewhat meaningless. Mar 27 at 9:06
  • 2
    @FranckDernoncourt Since the OP did give an example and referred to it multiple times – yeah, I think it does matter. After all, that is what "my question" is here. I would hate to see advice that amounts to "yes, answer the question using ban-satisfying-approach-X" but that is absolutely not what should happen for the example. Now if most such questions fall into the latter category, that would also affect the general advice, IMO. After all, that is why the ban exists: Because there was too much bad content to be outweight by the few pearls. Mar 27 at 13:40
  • 4
    @FranckDernoncourt no one's forcing anyone to write an answer. If you don't wish to put in the time, don't do it.
    – Kevin B
    Mar 27 at 22:09

2 Answers 2

-2

I humbly suggest that you and others in a similar situation:

  • Provide an answer containing any code that chatgpt generated in your answer. Provided you first verified the correctness of the code

  • Cite or otherwise attribute ChatGPT

AND

  • Provide a concise explanation of what the code does and how/why it solves the problem presented in your question.

Unless you feel you cannot provide the explanation of the code without plagiarizing the chatgpt answer.

  • In which case I would suggest also copy/pasting the chatgpt explanation/context (correctly attributed) ALONG WITH a concise explanation of why it is correct in this case.

Basically

I think you should create a derivative work/answer of ChatGPT's answer by providing an explanation of the generated answer OR some amount of your thoughts as to why the generated answer is valid.

why?

You can't simply post a ChatGPT answer because of the rule AND you don't want to plagiarize ChatGPT. An answer that includes an explanation and/or justification for the cited ChatGPT answer would, in my opinion, provide an answer that both:

  • Provides a non 100% ChatGPT answer (a human wrote the explanation and/or assurance that the answer is correct)
  • Is a cited, derivative (enough IMO) work that wouldn't constitute plagiarism by some definition given the context of SO
3
  • I agree, including all the steps you list. Unfortunately those running Stack Overflow don't allow this at present. Apr 12 at 1:22
  • I agree with this, but unfortunately the users & moderators that manage this plaform do not agree. A working answer of mine to my own question that featured some ChatGPT code was deleted 3 times by moderators, quite insane really: stackoverflow.com/questions/48119360/…. And here also some further experiences of mine in relation to ChatGPT: meta.stackexchange.com/questions/387575/…. Jul 24 at 9:49
  • 1
    ChatGPT is banned on SO. What you suggest here is simply not allowed.
    – Cerbrus
    Jul 26 at 12:14
-25

If ChatGPT gives me an answer, should I leave my question unanswered?

That's one of the reasons why the ban on AI-generated content is not a good idea imho. Personally, I'd post the question on Reddit or some other public place accepting AI-generated content, along with the AI-generated answer, and link to it in a comment on SO, in case someone on SO feels like paraphrasing/decorating it into an "original" answer (which will help train future AI systems).

10
  • 4
    note that "paraphrasing/decorating" is likely not going to be enough to consider the answer original
    – blackgreen Mod
    Mar 27 at 7:50
  • 2
    "paraphrasing/decorating it into an "original" answer (which will help train future AI systems)." that is already how to deal with potential plagiarism. And OP's concern is essentially that: "What if I found an answer - how can I post in on SO". 2. "help train future AI systems" is a complex topic. You would be producing a positive feedback loop in this way by feeding output back as input to train the model. Which can skew the results. This can be a problem even if the output is right by losing variance and alternatives.
    – VLAZ
    Mar 27 at 14:10
  • 2
    "link to it in a comment on SO" - I have no qualms flagging such a useless comment. Mar 27 at 17:50
  • @SecurityHound why useless? Mar 27 at 17:55
  • 3
    @FranckDernoncourt - ChatGPT generated trash or a comment that links to an external site with the failed attempt to answer the question instead of submitting an actual answer? Mar 27 at 18:40
  • 1
    @SecurityHound a comment that links to an external site with the successful AI-generated answer the question. Mar 27 at 21:05
  • 2
    @FranckDernoncourt - Comments that answer a question should be submitted as an answer, allowing for the original comment to be deleted, since comments shouldn't be consider to be permanent. I find neither ChatGPT generated content or comments that really should be answers to a question to be helpful to the community. Mar 27 at 21:18
  • 1
    @SecurityHound If ChatGPT gives a good answer, should I post the answer by ChatGPT (with attribution to ChatGPT)? Mar 27 at 21:19
  • 2
    @FranckDernoncourt - ChatGPT generated content is banned, my entire point, is that comments when flagged, can be deleted. So answering a question, with a comment, has never been the greatest idea. Mar 27 at 21:21
  • 1
    @SecurityHound that doesn't make the comment useless. Mar 27 at 21:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .