The normal remote autocomplete is done via a program that queries a database(loaded with that GitHub file) and returns a JSON response with just the information that is applicable for the search.
So, Yes.
Unless this is not for users, just you, and you don’t care about efficiency. You could just copy that file to your own server. You could do local autocomplete, not remote autocomplete.