gerson
2024-09-07 c74f151511e754dedcfab011f06078d654d17eaf
src/views/project/yw/dataManage/knowledge/Knowledge.vue
@@ -171,16 +171,21 @@
const { x, y, style } = useDraggable(draggableChatRef, {
   handle: chatDragHandlerRef,
   initialValue: {
      x: 210 + 400,
      y: 56 + 110,
      x: document.body.clientWidth / 2 - 350,
      y: document.body.clientHeight / 2 - 400,
   },
});
const questionAi = async (text) => {
   const res = await check_docvector_validate({
      knowlg_id: chatTestMapRow.value.id,
      question: text,
   });
   const res = await check_docvector_validate(
      {
         knowlg_id: chatTestMapRow.value.id,
         question: text,
      },
      {
         loading: false,
      }
   );
   return res;
};
onMounted(() => {