human
yaml load multiple documents.
assistant
Here is a Python function to load multiple documents

import yaml

def load_yaml_multiple_documents(filename):
    """Load multiple documents from a yaml file."""
    with open(filename, 'r') as stream:
        return yaml.load(stream, Loader=yaml.FullLoader)

# Enter the filename
filename = "test.yaml"

# Calling the function
documents = load_yaml_multiple_documents(filename)

# Printing the result
for document in documents:
    print(document)

#Example Output

# H
# e
# l
# l
# o

#Remember to inspect code for bugs.