eduardmtz commited on
Commit
757b7d8
·
verified ·
1 Parent(s): c38f64c

Update test3.html

Browse files
Files changed (1) hide show
  1. test3.html +3 -5
test3.html CHANGED
@@ -93,11 +93,8 @@
93
  return;
94
  }
95
 
96
- // Realizar la consulta utilizando el modelo de QA
97
- const answers = await model.answer({
98
- question: query,
99
- context: contextText,
100
- });
101
 
102
  // Mostrar la respuesta
103
  if (answers.length > 0) {
@@ -124,3 +121,4 @@
124
 
125
 
126
 
 
 
93
  return;
94
  }
95
 
96
+ // Realizar la consulta utilizando el modelo de QA con el método correcto
97
+ const answers = await model.findAnswers(query, contextText);
 
 
 
98
 
99
  // Mostrar la respuesta
100
  if (answers.length > 0) {
 
121
 
122
 
123
 
124
+