langchain_community.vectorstores.neo4j_vector.dict_to_yaml_str¶

langchain_community.vectorstores.neo4j_vector.dict_to_yaml_str(input_dict: Dict, indent: int = 0) str[source]¶

Convert a dictionary to a YAML-like string without using external libraries.

Parameters: - input_dict (dict): The dictionary to convert. - indent (int): The current indentation level.

Returns: - str: The YAML-like string representation of the input dictionary.

Parameters
  • input_dict (Dict) –

  • indent (int) –

Return type

str