# Copyright (c) Meta Platforms, Inc. and affiliates. # This software may be used and distributed according to the terms of the Llama 2 Community License Agreement. import json def read_dialogs_from_file(file_path): with open(file_path, 'r') as file: dialogs = json.load(file) return dialogs