📱

Read on Your E-Reader

Thousands of readers get articles like this delivered straight to their Kindle or Boox. New articles arrive automatically.

Learn More

This is a preview. The full article is published at news.ycombinator.com.

ChatGPT conversations still lack timestamps after years of requests

ChatGPT conversations still lack timestamps after years of requests

By Lars-LohreHacker News: Front Page

I’ve been working in a single chat for close 9-10 months now, with some separate chats opened once in a while. Now I want to write up a chronological overview of what I’ve been up to and when these past 10 months and I fully expected “ the timestamps in the ChatGPT chat ” to make that task trivial... It’s madness that this information isn’t available. I know this thread has been open for a while (going on a year and a half now), and this might be obvious to some experienced users - but just in case, I wanted to share a workaround I’ve been using until this feature is officially added. In Settings > Customize ChatGPT , under the field that asks “What traits should ChatGPT have?” , I added: “After every response, add the current timestamp.” Now each reply ends with a timestamp, which makes it much easier to track what was said and when, especially in ongoing conversations. Not a perfect solution, but it’s been working pretty well for me. 1 Like DGGLMT 46 Well I see this is still going on. Clearly this feature is in demand, I can only assume there is a technical reason they don’t already have it, because it seems like a given at this point... But now that they’re trying to push GPT as MORE than just an AI, but a journal/life assistant/coach etc etc, and chat histories are adding up...I mean I revisited an old chat to ask a follow up question about a life event, and it didn’t realize 3 months had gone by, so was giving me advice like it had just happened. The...time...has come OpenAI. Chop, chop 2 Likes Yes, it’s totally possible! Every <div> that has a "data-message-id" contains an internal object with some message information, including the timestamp. I created this simple script that you can copy and paste directly into the Chrome DevTools console. Just right-click anywhere on the page and choose “Inspect” , then go to the “Console” tab and paste this code: document.querySelectorAll('div[data-message-id]').forEach(div => { const reactKey = Object.keys(div).find(k => k.startsWith('__reactFiber$')); if (!reactKey) return; const fiber = div[reactKey]; const messages = fiber?.return?.memoizedProps?.messages; const timestamp = messages?.[0]?.create_time; if (!timestamp) return; const date = new Date(timestamp * 1000); const format = n => n.toString().padStart(2, '0'); const formatted = `${format(date.getDate())}/${format(date.getMonth() + 1)}/${date.getFullYear()} - ${format(date.getHours())}:${format(date.getMinutes())}:${format(date.getSeconds())}`; const span = document.createElement('span'); span.textContent = formatted; div.insertBefore(span, div.firstChild); }); If you get an error message saying you’re not allowed to paste code in the console, just type "allow pasting" and press Enter - then paste the script and press Enter again. This is a very simple code I just made to view the timestamp of some chat messages, but it was enough for my needs. 2 Likes I created a chrome extension for the timestamp. Chrome store approval is still pending but you can just download the repo and load the extension in developer mode to use it. Thanks for the inspiration by @rafaelsgoncalvesbh2 . 1 Like That’s awesome!...

Preview: ~500 words

Continue reading at Hacker News

Read Full Article

More from Hacker News: Front Page

Subscribe to get new articles from this feed on your e-reader.

View feed

This preview is provided for discovery purposes. Read the full article at news.ycombinator.com. LibSpace is not affiliated with Hacker News.

ChatGPT conversations still lack timestamps after years of requests | Read on Kindle | LibSpace