/const useRag = document.querySelector('input[name="useRag"]').checked;

            // Create a URL-encoced string from the form data
            const formData = new URLSearchParams();
            formData.append('model', model);
            formData.append('dataset', dataset);
            formData.append('top-k-slider', topK);
            //formData.append('useRag', useRag);

            // Send a POST request to the server with the form data
            const response = await fetch('/', {
              