def generate_annotations(self, number: MuseumNumber, threshold: float=0.3) -> Annotations:
    fragment_image = self._photo_repository.query_by_file_name(f'{number}.jpg')
    return self._ebl_ai_client.generate_annotations(number, fragment_image, threshold)
def generate_annotations(self, number: MuseumNumber, threshold: float=0.3) -> Annotations:
    fragment_image = self._photo_repository.query_by_file_name(f'{number}.jpg')
    return self._ebl_ai_client.generate_annotations(number, fragment_image, threshold)