law-cn-ai icon indicating copy to clipboard operation
law-cn-ai copied to clipboard

部署完之后,提问老是报错,不知道哪里的问题

Open heySeattleW opened this issue 1 year ago • 4 comments

image

heySeattleW avatar Apr 27 '23 03:04 heySeattleW

遇到同样的问题

cracker999999 avatar May 01 '23 07:05 cracker999999

是的,open ai后台看是已经有token消耗的,但是还是报错了

JessYi228 avatar May 02 '23 14:05 JessYi228

请去supabase查看数据库是否正确创建,另外可以看一下vercel部署时有没有错误日志。

lvwzhen avatar May 02 '23 14:05 lvwzhen

vercel部署时发现有这种 {

code: 'PGRST200', details: "Searched for a foreign key relationship between 'nods_page' and 'parent_page_id' in the schema 'public', but no matches were found.", hint: null, message: "Could not find a relationship between 'nods_page' and 'parent_page_id' in the schema cache" } 另外怎样的数据库算正确创建呢

JessYi228 avatar May 02 '23 14:05 JessYi228

vercel部署时发现有这种

{ code: 'PGRST200', details: "Searched for a foreign key relationship between 'nods_page' and 'parent_page_id' in the schema 'public', but no matches were found.", hint: null, message: "Could not find a relationship between 'nods_page' and 'parent_page_id' in the schema cache" } 另外怎样的数据库算正确创建呢

你刚刚的回复泄露了OpenAI Key,请及时删掉这个Key。

lvwzhen avatar May 04 '23 06:05 lvwzhen

open ai扫到了,当时就自动给我删了😂

JessYi228 avatar May 04 '23 06:05 JessYi228

有同学帮忙写了教程,你自己走一遍,确保OpenAI和supabase账号没问题很好部署的。

https://eibot3u32o.feishu.cn/docx/L46Pdp3fjouPUvxaNzPckKctno3

lvwzhen avatar May 04 '23 06:05 lvwzhen