Update index.html
Browse files- index.html +2 -2
index.html
CHANGED
@@ -99,7 +99,7 @@
|
|
99 |
headers: {
|
100 |
"Content-Type": "application/json"
|
101 |
},
|
102 |
-
body: JSON.stringify({query: text})
|
103 |
})
|
104 |
.then(response => response.json())
|
105 |
.then(data => {
|
@@ -116,7 +116,7 @@
|
|
116 |
headers: {
|
117 |
"Content-Type": "application/json"
|
118 |
},
|
119 |
-
body: JSON.stringify({query: text, n: n})
|
120 |
})
|
121 |
.then(response => response.json())
|
122 |
.then(data => {
|
|
|
99 |
headers: {
|
100 |
"Content-Type": "application/json"
|
101 |
},
|
102 |
+
body: JSON.stringify({query: 'embed', text: text})
|
103 |
})
|
104 |
.then(response => response.json())
|
105 |
.then(data => {
|
|
|
116 |
headers: {
|
117 |
"Content-Type": "application/json"
|
118 |
},
|
119 |
+
body: JSON.stringify({query: 'search', text: text, n: n})
|
120 |
})
|
121 |
.then(response => response.json())
|
122 |
.then(data => {
|