this post was submitted on 06 Jul 2023
180 points (95.0% liked)

ChatGPT

8984 readers
1 users here now

Unofficial ChatGPT community to discuss anything ChatGPT

founded 2 years ago
MODERATORS
 

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

Basically, you mention it like this: @[email protected] and it replies.

Edit: Added details on how to use

you are viewing a single comment's thread
view the rest of the comments
[–] adj16 3 points 2 years ago (1 children)

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 :)

[–] [email protected] 5 points 2 years ago (1 children)

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

[–] adj16 2 points 2 years ago (1 children)

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!

[–] [email protected] 6 points 2 years ago (1 children)

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

[–] adj16 1 points 2 years ago

I see, that makes sense