mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
Improvement[Community] Improve api doc of BeautifulSoupTransformer
(#26423)
- Add missing args Co-authored-by: Erick Friis <erick@langchain.dev>
This commit is contained in:
parent
e2245fac82
commit
c3b3f46cb8
@ -132,6 +132,7 @@ class BeautifulSoupTransformer(BaseDocumentTransformer):
|
||||
Args:
|
||||
html_content: The original HTML content string.
|
||||
tags: A list of tags to be extracted from the HTML.
|
||||
remove_comments: If set to True, the comments will be removed.
|
||||
|
||||
Returns:
|
||||
A string combining the content of the extracted tags.
|
||||
@ -184,6 +185,7 @@ def get_navigable_strings(
|
||||
|
||||
Args:
|
||||
element: A BeautifulSoup element.
|
||||
remove_comments: If set to True, the comments will be removed.
|
||||
|
||||
Returns:
|
||||
A generator of strings.
|
||||
|
Loading…
Reference in New Issue
Block a user