you are putting autocomplete properties in ajax properties, change it like this:
$("#Technology2_Tag").autocomplete({
minLength: 3,
delay: 1000,
source: function (request, response) {
$.ajax({
url: "/Switch/AutoComplete2",
dataType: "json",
data: {
term: request.term,
SearchBy: $("#ChoiceTag").prop("checked") ? $("#ChoiceTag").val() : $("#ChoiceName").val(),
},
success: function (data) {
response(data);
}
});
}
});