chore: replace all cn comments of fe to en version by volc api (#320)
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
export const filterUnnecessaryContentFromSlice = (slice: string): string => {
|
||||
let res = slice;
|
||||
// 过滤img 标签
|
||||
// Filter img tags
|
||||
res = res.replaceAll(/<(\n)*img((?!(<(\n)*img))(.|\n))*>/g, '');
|
||||
return res;
|
||||
};
|
||||
|
||||
@@ -104,7 +104,7 @@ function RecallSlice(props: { llmOutput: LLMOutput; index: number }) {
|
||||
[meta.document],
|
||||
);
|
||||
|
||||
// 后面改成 staring
|
||||
// Change the back to staring.
|
||||
const sliceTag = `Recall slice ${index + 1}`;
|
||||
|
||||
const filteredSlice = filterUnnecessaryContentFromSlice(slice);
|
||||
|
||||
Reference in New Issue
Block a user