in text-semantic-search/semantic_search/utils/search.py [0:0]
def download_artefacts(index_file, bucket_name, gcs_index_location):
http = Http()
credentials = GoogleCredentials.get_application_default()
credentials.authorize(http)
gcs_services = googleapiclient.discovery.build('storage', 'v1', http=http)
_download_from_gcs(gcs_services, bucket_name, gcs_index_location, index_file)
_download_from_gcs(gcs_services, bucket_name,
gcs_index_location + '.mapping', index_file + '.mapping')