180
I created a Lemmy ChatGPT bot that replies to your comments
(lemmings.world)
Unofficial ChatGPT community to discuss anything ChatGPT
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 :)
It does not, I was thinking about it but am not sure how much would it rack up the costs.
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:
That way you can do it all in one and don’t have to incur any additional calls!
You pay per the amount of words, not per api call, that's why I didn't want to include potentially very long post.
I see, that makes sense