TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Everything ChatGPT – under the hood of the ChatGPT web app

180 点作者 aargh_aargh大约 2 年前

9 条评论

chatmasta大约 2 年前
This doesn&#x27;t actually cover the most important part, which is where the response to a chat shows up. Has anyone figured this out? I only looked briefly, but AFAICT, it doesn&#x27;t show up in the response data in Chrome or Firefox DevTools. I figured it was maybe using WebSockets or Server Sent Events, which apparently don&#x27;t show up in DevTools in some cases (?). I think this is a Chrome bug [0] [1] and also a Firefox bug [2].<p>EDIT: It&#x27;s using EventSource. If you open the debugger and Cmd+Shift+F for `onmessage`, you&#x27;ll find where it receives the message, and you can add a breakpoint, which you can then right click and change to a logpoint, to log the contents of the message. There is probably a one-liner you could paste into devtools to do some prototype hacking of window.EventSource, but I don&#x27;t have time to figure that out atm, and can&#x27;t find anything in a few quick searches of GitHub code.<p>EDIT EDIT: Just tried Safari, it does indeed show up as a spinner, but I still can&#x27;t see the actual messages in DevTools.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;Yaffle&#x2F;EventSource&#x2F;issues&#x2F;79">https:&#x2F;&#x2F;github.com&#x2F;Yaffle&#x2F;EventSource&#x2F;issues&#x2F;79</a><p>[1] <a href="https:&#x2F;&#x2F;bugs.chromium.org&#x2F;p&#x2F;chromium&#x2F;issues&#x2F;detail?id=1025893" rel="nofollow">https:&#x2F;&#x2F;bugs.chromium.org&#x2F;p&#x2F;chromium&#x2F;issues&#x2F;detail?id=102589...</a><p>[2] <a href="https:&#x2F;&#x2F;bugzilla.mozilla.org&#x2F;show_bug.cgi?id=1405706" rel="nofollow">https:&#x2F;&#x2F;bugzilla.mozilla.org&#x2F;show_bug.cgi?id=1405706</a>
评论 #35269535 未加载
评论 #35272636 未加载
评论 #35271792 未加载
评论 #35276176 未加载
tylerekahn大约 2 年前
The web app also has built in support for LaTeX rendering (it uses KaTeX). See this forum post: <a href="https:&#x2F;&#x2F;community.openai.com&#x2F;t&#x2F;new-feature-properly-shown-mathematical-equations&#x2F;73833&#x2F;29" rel="nofollow">https:&#x2F;&#x2F;community.openai.com&#x2F;t&#x2F;new-feature-properly-shown-ma...</a><p>You can get ChatGPT to output conforming LaTeX expressions using the following prompt:<p>Could you please use the specific LaTeX math mode delimiters for your response?<p>LaTex math mode specific delimiters as following<p>1. inline math mode : `\(` and `\)`<p>2. display math mode: insert linebreak after opening `$$`, `\[` and before closing `$$`, `\]`
评论 #35276204 未加载
评论 #35271511 未加载
101008大约 2 年前
Is anyone else hit by the Cloudflare &quot;Confirm you are a human&quot; captcha everytime they try to access ChatGPT? It&#x27;s the only website where it happens to me: and I have to try several times before I get access.
评论 #35270017 未加载
评论 #35270828 未加载
quenix大约 2 年前
Interesting—so it seems there is an &#x27;exploit&#x27; which lets non-Plus subscribers hit an internal API endpoint to send themselves a special Plus login URL (for times of peak demand): <a href="https:&#x2F;&#x2F;github.com&#x2F;terminalcommandnewsletter&#x2F;everything-chatgpt#access-chatgpt-when-its-down">https:&#x2F;&#x2F;github.com&#x2F;terminalcommandnewsletter&#x2F;everything-chat...</a>
评论 #35276284 未加载
KennyBlanken大约 2 年前
&gt; When you click Delete on a conversation, a PATCH request is made to &#x2F;backend-api&#x2F;conversation&#x2F;05[redacted]2d with the body is_visible: false and gets a response of success: true back. This implies that a conversation is being soft-deleted, not deleted on their systems.<p>Ah yes, lying to the users by showing them a &quot;trash&quot; icon and actually just hiding the conversation from them.<p>What a superb way to build trust from your ivory tower of moral self-righteousness about how you&#x27;ve decided an language model can and cannot be used (which includes such hilarious bullshit as the model declaring it cannot make jokes about any particular group when asked to make a joke about women, but happily making jokes about men all day long.)
评论 #35271883 未加载
评论 #35270957 未加载
bestcoder69大约 2 年前
I found some interesting stuff in the first minified bundle for ChatGPT - dead code for unreleased(?) features: <a href="https:&#x2F;&#x2F;twitter.com&#x2F;brain_exe_ai&#x2F;status&#x2F;1607569864331493376" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;brain_exe_ai&#x2F;status&#x2F;1607569864331493376</a><p>Including screenshots of the splash screen I made to display with some tedious editing of the min&#x27;d js <a href="https:&#x2F;&#x2F;twitter.com&#x2F;brain_exe_ai&#x2F;status&#x2F;1607573641264234496" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;brain_exe_ai&#x2F;status&#x2F;1607573641264234496</a>
评论 #35289525 未加载
tercmd大约 2 年前
(Creator of the repo here) Likely ONLY due to HN, the stats for the repo have BLOWN UP in the last day. It went from ~200 unique visitors and visits in one day to 8,689 unique visitors with 10,000+ total visits!
1xdevloper大约 2 年前
The website also calls the moderation API from the client side with the response returned from its conversation API. So if you simply block the request to the moderation endpoint in dev tools, do they still have additional built-in monitoring?
评论 #35286738 未加载
iamsanteri大约 2 年前
Interesting that the website is in Nuxt and the chat app is in Next. You see this tech everywhere on the web these days.