mirror of
https://github.com/hwchase17/langchain.git
synced 2026-02-21 06:33:41 +00:00
docs(perplexity): Fix docstring of output_parsers.strip_think_tags() (#35264)
This commit is contained in:
committed by
GitHub
parent
82ae4fb6fa
commit
b004103721
@@ -10,7 +10,7 @@ def strip_think_tags(text: str) -> str:
|
||||
"""Removes all <think>...</think> tags and their content from text.
|
||||
|
||||
This function removes all occurrences of think tags, preserving text
|
||||
before, between, and after the tags. It also handles markdown code fences.
|
||||
before and after the tags. It also handles markdown code fences.
|
||||
|
||||
Args:
|
||||
text: The input text that may contain think tags.
|
||||
|
||||
Reference in New Issue
Block a user