fix: 修复文档设置相似度问题
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled

This commit is contained in:
王丹 2024-08-24 06:38:39 +08:00
parent 2a2c3c9af3
commit 5bacb75faf

View File

@ -177,9 +177,7 @@ const submit = async (formEl: FormInstance | undefined) => {
if (documentId.value) {
const obj = {
hit_handling_method: form.value.hit_handling_method,
directly_return_similarity: Number(form.value.directly_return_similarity)
? form.value.directly_return_similarity
: 0.9,
directly_return_similarity: form.value.directly_return_similarity,
meta: {
source_url: form.value.source_url,
selector: form.value.selector