Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

导入时报错比较多 #11

Closed
charryshi opened this issue Apr 23, 2023 · 1 comment
Closed

导入时报错比较多 #11

charryshi opened this issue Apr 23, 2023 · 1 comment

Comments

@charryshi
Copy link

反馈一下,build时导入数据报错还是比较多,有些估计是md文件格式问题没处理
第1类:Page '/docs/民法商法/保险法(2015-04-24)' or one/multiple of its page sections failed to store properly. Page has been marked with null checksum to indicate that it needs to be re-generated.
[5:1-5:61: Expected a closing tag for <中华人民共和国保险法> (5:40-5:52) before the end of paragraph] {
reason: 'Expected a closing tag for <中华人民共和国保险法> (5:40-5:52) before the end of paragraph',
line: 5,
column: 1,
position: {
start: { line: 5, column: 1, offset: 51, _index: 0, _bufferIndex: 0 },
end: { line: 5, column: 61, offset: 111, _index: 1, _bufferIndex: -1 }
},
source: 'mdast-util-mdx-jsx',
ruleId: 'end-tag-mismatch'
}

第2类:在OpenAI embedding调用API时报statusCode: 400、statusCode: 429错误

另外出现最多的,就是导入一段后开始大量报错
Page '/docs/刑法/刑法修正案(四)' or one/multiple of its page sections failed to store properly. Page has been marked with null checksum to indicate that it needs to be re-generated.
{
message: 'FetchError: fetch failed',
details: '',
hint: '',
code: ''
}
看起来是在连续出现第1类、第2类报错后出现的,然后就全部报这个错,还没弄清楚原因。

@lvwzhen
Copy link
Owner

lvwzhen commented Apr 23, 2023

第一个应该是把<>看成html tag了,刚刚替换成”“了。
429是O�penAI免费接口的速率限制

@lvwzhen lvwzhen closed this as completed Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants