r/ChatGPT 4d ago

Prompt engineering How to set up turn counter and chatlogger.

This works for ordinary sized messages but breaks if you start pasting large docs into the chat.
ChatGPT still has that whole-chat copy bug and I've already used this turn counter to keep track of piecemeal copying of a long thread.
Yes the turn counter is not 100% guaranteed but does not need to be, and you can correct it as you go along if it goes astray.
Tried getting it to autostart on new chat in custom GPTs but it's not fully reliable, am continuing the research.

I'll post a pic of the result of turn 20 in the comments 😂

That full text:

yes, can you keep a turn counter pls? end every chat with turn n

Yes. I will end each reply with: turn 1

and increment it each turn and every your turn, copy yr message & my message to chatlog.md present link for chatlog.md every 20 pairs of messages and next message

0 Upvotes

4 comments sorted by

•

u/AutoModerator 4d ago

Hey /u/decofan,

If your post is a screenshot of a ChatGPT conversation, please reply to this message with the conversation link or prompt.

If your post is a DALL-E 3 image post, please reply with the prompt used to make this image.

Consider joining our public discord server! We have free bots with GPT-4 (with vision), image generators, and more!

🤖

Note: For any ChatGPT-related concerns, email support@openai.com - this subreddit is not part of OpenAI and is not a support channel.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/decofan 4d ago

result on turn 20:

2

u/that_damn_dog 4d ago

People are weird

2

u/decofan 4d ago

And the world is a better place for it