this post was submitted on 06 Jul 2023
177 points (94.9% liked)

ChatGPT

8940 readers
1 users here now

Unofficial ChatGPT community to discuss anything ChatGPT

founded 1 year 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
[–] [email protected] 3 points 1 year 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 1 year ago (1 children)

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

[–] [email protected] 2 points 1 year 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 1 year 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.

[–] [email protected] 1 points 1 year ago

I see, that makes sense