TokenEscaper#
- class langchain_community.utilities.redis.TokenEscaper(escape_chars_re: Pattern | None = None)[source]#
Escape punctuation within an input string.
Attributes
DEFAULT_ESCAPED_CHARS
Methods
- Parameters:
escape_chars_re (Optional[Pattern]) –