Home / Function/ custom_iframe_extractor() — langchain Function Reference

custom_iframe_extractor() — langchain Function Reference

Architecture documentation for the custom_iframe_extractor() function in test_text_splitters.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  79167950_4c33_be69_475d_4b899a899295["custom_iframe_extractor()"]
  6d6b8ad4_1cfe_fbb0_e58e_76a50487c135["test_text_splitters.py"]
  79167950_4c33_be69_475d_4b899a899295 -->|defined in| 6d6b8ad4_1cfe_fbb0_e58e_76a50487c135
  style 79167950_4c33_be69_475d_4b899a899295 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/text-splitters/tests/unit_tests/test_text_splitters.py lines 3357–3359

def custom_iframe_extractor(iframe_tag: Tag) -> str:
    iframe_src = iframe_tag.get("src", "")
    return f"[iframe:{iframe_src}]({iframe_src})"

Domain

Subdomains

Frequently Asked Questions

What does custom_iframe_extractor() do?
custom_iframe_extractor() is a function in the langchain codebase, defined in libs/text-splitters/tests/unit_tests/test_text_splitters.py.
Where is custom_iframe_extractor() defined?
custom_iframe_extractor() is defined in libs/text-splitters/tests/unit_tests/test_text_splitters.py at line 3357.

Analyze Your Own Codebase

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

Try Supermodel Free