4 ms·
Oh, I see. That must be frustrating to folks at OpenAI. Their product rests on the quality of their models, and making users unable to see which results came fr
by AaronFriel 3y ago
Oh, I see. That must be frustrating to folks at OpenAI. Their product rests on the quality of their models, and making users unable to see which results came from their best doesn't help.
FWIW, GPT-4 and GPT-4 Turbo via developer API call both seem to produce the result you expect.
- paradite 3y agoFYI, the correct method is created_at: timestamp('created_at').defaultNow(), // Add created_at column definition Which Claude 3 Sonnet correctly produces. ChatGPT Classic (GPT-4) gives: created_at: timestamp('created_at').default(sql`NOW()`), // Add this line Which is okay, but not ideal. And it also misses the need to import `sql` template tag. Your share link gives: created_at: timestamp('created_at').default('NOW()'), Which would throw a TypeScript error for the wrong type used in arguments for `default`.