Home / Function/ _find_all_strings() — langchain Function Reference

_find_all_strings() — langchain Function Reference

Architecture documentation for the _find_all_strings() function in html.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  c152abff_8100_9c7d_3485_bc87dc010c4f["_find_all_strings()"]
  e3efe57c_5b49_c26c_6ca5_45acccb8037f["html.py"]
  c152abff_8100_9c7d_3485_bc87dc010c4f -->|defined in| e3efe57c_5b49_c26c_6ca5_45acccb8037f
  f984e4e0_af18_0fc8_0a3e_18771966d43d["_generate_documents()"]
  f984e4e0_af18_0fc8_0a3e_18771966d43d -->|calls| c152abff_8100_9c7d_3485_bc87dc010c4f
  252723d0_ba69_6fd1_f520_2ee9bc89cc3e["_process_html()"]
  252723d0_ba69_6fd1_f520_2ee9bc89cc3e -->|calls| c152abff_8100_9c7d_3485_bc87dc010c4f
  style c152abff_8100_9c7d_3485_bc87dc010c4f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/text-splitters/langchain_text_splitters/html.py lines 66–71

def _find_all_strings(
    tag: Tag,
    *,
    recursive: bool = True,
) -> ResultSet[NavigableString]:
    return tag.find_all(string=True, recursive=recursive)

Subdomains

Frequently Asked Questions

What does _find_all_strings() do?
_find_all_strings() is a function in the langchain codebase, defined in libs/text-splitters/langchain_text_splitters/html.py.
Where is _find_all_strings() defined?
_find_all_strings() is defined in libs/text-splitters/langchain_text_splitters/html.py at line 66.
What calls _find_all_strings()?
_find_all_strings() is called by 2 function(s): _generate_documents, _process_html.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free