Ask HN: Does ChatGPT use Next.js as it's framework?

2 points by santy-gegen ↗ HN
I'm learning more and more about programming doing deliberate practice. Today, I found myself curious about what chatGPT is using as it's framework.

React developers tools confirms it's built with React. Curious to know more, I went into the console and did:

console.log({ NextJSVersion: window.next?.version, })

to which i got as an output: {NextJSVersion: '13.3.4'}

Does this confirm chatGPT is built using Next.js or am I commiting a mistake?

Thanks for the community knowledge in advance, Santy

6 comments

[ 0.69 ms ] story [ 381 ms ] thread
Why not just take it for its word?

I don't see, for instance, why they might use Svelte instead, and some evil genius decided to just hardcode that into the window object.

And ChatGPT itself is NOT built using JS or React if that's your question... It's a model built using PyTorch, I believe, using some very expensive hardware.

Just the user interface is [theoretically] coded in React.

i know i know, the model is itself built with python, and the frontend calls the api endpoint that runs the model on the gpu'¡s they've bought i guess
haha true, it's just that i'm trying to learn and sometimes am insecure about my methods. but thanks for the confirmation!
No problem.

My apologies for my tone in this thread, as well. Good luck with your learning adventure!

Yes, the ChatGPT web app is built using Next. You can see this when you open the source of the app and look at the JS chucks which contain _next in the links also by the first div of html contain id="__next"