_is_b64() — langchain Function Reference
Architecture documentation for the _is_b64() function in base.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 2df17538_98c7_e9cb_e0a2_dfc6a6ac2c41["_is_b64()"] 2b046911_ea21_8e2e_ba0d_9d03da8d7bda["base.py"] 2df17538_98c7_e9cb_e0a2_dfc6a6ac2c41 -->|defined in| 2b046911_ea21_8e2e_ba0d_9d03da8d7bda 749c696d_69d8_c3f0_ae59_34c44e681f49["_url_to_size()"] 749c696d_69d8_c3f0_ae59_34c44e681f49 -->|calls| 2df17538_98c7_e9cb_e0a2_dfc6a6ac2c41 style 2df17538_98c7_e9cb_e0a2_dfc6a6ac2c41 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/openai/langchain_openai/chat_models/base.py lines 3617–3618
def _is_b64(s: str) -> bool:
return s.startswith("data:image")
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does _is_b64() do?
_is_b64() is a function in the langchain codebase, defined in libs/partners/openai/langchain_openai/chat_models/base.py.
Where is _is_b64() defined?
_is_b64() is defined in libs/partners/openai/langchain_openai/chat_models/base.py at line 3617.
What calls _is_b64()?
_is_b64() is called by 1 function(s): _url_to_size.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free