~/talk

Building an AI-powered SQL playground using Next.js, OpenAI, and Neon

Talkat Next.js Conf 2023 · on Thursday, 2023-10-26· [ai-assisted-development, databases]
slides:none on file

A working AI-powered SQL playground built with Next.js, OpenAI and Neon that connects via a Neon connection string, lists tables and columns, generates SQL from conversational prompts, can replace code or append it into the editor, runs the query and shows execution time. The chat runs on a Vercel AI SDK hook and an Edge Function that streams responses, using a system instruction to return only SQL; schema is assembled from tables views functions triggers and indexes and passed to the model.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.