Example in comments, it doesn’t reply to posts directly.

Basically, you mention it like this: @ChatGPT@lemmings.world and it replies.

Edit: Added details on how to use

  • @adj16@lemmy.world
    link
    fedilink
    English
    31 year ago

    Hey, cool idea and nice work! Does the bot receive the context of the post? If not, that could be a cool feature for v2 :)

    • Rikudou_SageOPA
      link
      English
      41 year ago

      It does not, I was thinking about it but am not sure how much would it rack up the costs.

      • @adj16@lemmy.world
        link
        fedilink
        English
        11 year ago

        Ah ok, gotcha. Forgive my ignorance of the API here - this might be a stupid thing to ask. But couldn’t you just make the prompt something like:

        This request is about a Lemmy post. For context, the post contains the following content: <post_body>. Now here is my request: <user_message>

        That way you can do it all in one and don’t have to incur any additional calls!

        • Rikudou_SageOPA
          link
          English
          61 year ago

          You pay per the amount of words, not per api call, that’s why I didn’t want to include potentially very long post.