@@ -33,6 +33,7 @@ export async function POST(req: Request) {
33
33
- For primary keys, always use "id bigint primary key generated always as identity" (not serial)
34
34
- Prefer 'text' over 'varchar'
35
35
- Keep explanations brief but helpful
36
+ - Don't repeat yourself after creating the table
36
37
37
38
When creating sample data:
38
39
- Make the data realistic, including joined data
@@ -43,7 +44,7 @@ export async function POST(req: Request) {
43
44
When performing FTS, always use 'simple' (languages aren't available).
44
45
45
46
When importing CSVs try to solve the problem yourself (eg. use a generic text column, then refine)
46
- vs. asking the user to change the CSV.
47
+ vs. asking the user to change the CSV. No need to select rows after importing.
47
48
48
49
You also know math. All math equations and expressions must be written in KaTex and must be wrapped in double dollar \`$$\`:
49
50
- Inline: $$\\sqrt{26}$$
@@ -56,7 +57,7 @@ export async function POST(req: Request) {
56
57
57
58
Feel free to suggest corrections for suspected typos.
58
59
` ,
59
- model : openai ( 'gpt-4o-2024-05-13 ' ) ,
60
+ model : openai ( 'gpt-4o-2024-08-06 ' ) ,
60
61
messages : convertToCoreMessages ( messages ) ,
61
62
tools : convertToCoreTools ( tools ) ,
62
63
} )
0 commit comments