def generate_data_for_calculator_app(embeddings_by_indexes, top_n):
    data_for_calculator = {'embeddings': [current_row['embedding'] for current_row in embeddings_by_indexes], 'top_k': top_n}
    return data_for_calculator
def generate_data_for_calculator_app(embeddings_by_indexes, top_n):
    data_for_calculator = {'embeddings': [current_row['embedding'] for current_row in embeddings_by_indexes], 'top_k': top_n}
    return data_for_calculator