def split_large_property_value(num_parts: int, bytes_val: str, key: str) -> dict:
    """Split a large property value into multiple parts."""
    parts = {}
    for i in range(num_parts):
        start_index = i * STORAGE_MAX_ITEM_PROPERTY_VALUE_SIZE
        end_index = start_index + STORAGE_MAX_ITEM_PROPERTY_VALUE_SIZE
        # Convert back from UTF-16 bytes to str after slicing safely on character boundaries
        serialized_part = bytes_val[start_index:end_index].decode(
            "utf-16", errors="ignore"
        )
        parts[f"{key}{STORAGE_PART_KEY_DELIMITER}{i + 1}"] = serialized_part
    return parts
Split a large property value into multiple parts.
llama-index-utils/llama-index-utils-azure/llama_index/utils/azure/table.py