   const searchTerm = this.value

                    const response = await fetch(QUERY_URL, {
                        method: 'POST',
                        headers: {
                            'Content-Type': 'application/json'
                        },
                        body: JSON.stringify({"text": searchTerm, "top_k": maxK })
                    })
                    let result = await response.json()
                    console.log(result)
                    const resultArray = result.mat