def METHOD_NAME():
    '''Add DB chunks to index.'''
    args = get_retro_args()
    # Get index.
    index = IndexFactory.get_index(args.retro_index_type)
    # Get text dataset.
    gpt_dataset = get_merged_train_dataset()
    text_dataset = GPTToTextDataset(gpt_dataset)
    # Add to index.
    output_index_path = index.add(text_dataset)
    return output_index_path