DEV Community

Discussion on: Implementing vector search with OpenAI, Next.js, and Supabase

Collapse
 
serverlesskiy profile image
Server Serverlesskiy

The demo site is not working. And following the tutorial gives an error.
{
code: '42804',
details: 'Returned type integer does not match expected type smallint in column 7.',
hint: null,
message: 'structure of query does not match function result type'

TypeError: Cannot read properties of undefined (reading 'map')
at i (page-ba979d37467ce462.js:1:1962)
at rb (fd9d1056-516b58327fb05db5.js:1:40329)
at lA (fd9d1056-516b58327fb05db5.js:1:59077)
at iU (fd9d1056-516b58327fb05db5.js:1:117013)
at o2 (fd9d1056-516b58327fb05db5.js:1:94369)
at fd9d1056-516b58327fb05db5.js:1:94191
at o1 (fd9d1056-516b58327fb05db5.js:1:94198)
at oV (fd9d1056-516b58327fb05db5.js:1:91685)
at oB (fd9d1056-516b58327fb05db5.js:1:91110)
at MessagePort.w (938-f464a3b2301c5ba9.js:1:99165)
window.console.error @ 938-f464a3b2301c5ba9.js:1