4 ms·
It’s most likely using chatgpt in the backend
by nwoli 3y ago
It’s most likely using chatgpt in the backend
- OJFord 3y agoNo need to guess, there's a thing at the bottom asking for an OpenAI API key at the bottom, and it can't function without that. (So actually technically I think that means no, it's not using ChatGPT, but I don't think that was the point.)
- ilaksh 3y agoI think it's accurate enough to call the OpenAI API the ChatGPT API since it's using the same models. But yeah, technically not the same thing.
- OJFord 3y agoYeah I didn't mean to be pedantic about that, because actually I don't think there is a ChatGPT API, there's no reasonable way something like this even could use it I think? And the only reason to really would be to use the free one (not have to ask for a key) which would surely be against the terms, and doesn't do any computer vision or anything as presumably needed by this demo. In other contexts though I think it can be ambiguous and I can understand why people get irritated/pedantic about it - AIUI it's the same model but different training/parameters? And ChatGPT only gives you the 'user' prompt essentially, with the 'system' one already being 'you are a chatbot called ChatGPT [...]' or whatever.
- rob137 3y agoYep: https://github.com/tldraw/draw-a-ui/blob/2ac633bbbd5fda39e59935872fba00d849fa4dbf/app/api/toHtml/route.ts https://github.com/tldraw/draw-a-ui/blob/2ac633bbbd5fda39e59...