Almaatla commited on
Commit
fa7b924
·
verified ·
1 Parent(s): 2b6d798

Update index.html

Browse files
Files changed (1) hide show
  1. 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 => {