def to_camel(string: str) -> str:
    """Converts a given string to camel casing."""
    string_split = string.split("_")
    return string_split[0] + "".join(word.capitalize() for word in string_split[1:])
Converts a given string to camel casing.
llama-index-packs/llama-index-packs-llama-dataset-metadata/llama_index/packs/llama_dataset_metadata/base.py