clean_string_values#

langchain_community.graphs.neo4j_graph.clean_string_values(text: str) str[source]#

Deprecated since version 0.3.8: Use :meth:`~langchain_neo4j.graphs.neo4j_graph.clean_string_values` instead. It will be removed in None==1.0.

Clean string values for schema.

Cleans the input text by replacing newline and carriage return characters.

Parameters:

text (str) – The input text to clean.

Returns:

The cleaned text.

Return type:

str