I created a Lemmy ChatGPT bot that replies to your comments
I created a Lemmy ChatGPT bot that replies to your comments
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
You're viewing a single thread.
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 :)
1 0 ReplyIt does not, I was thinking about it but am not sure how much would it rack up the costs.
2 0 ReplyAh 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!
0 0 ReplyYou pay per the amount of words, not per api call, that's why I didn't want to include potentially very long post.
3 0 Reply