LangChain
Core
Community
Experimental
Text splitters
Partner libs
Docs
Toggle Menu
Prev
Up
Next
langchain_core.utils.image
.encode_image
encode_image()
langchain_core.utils.image
.encode_image
¶
langchain_core.utils.image.
encode_image
(
image_path
:
str
)
→
str
[source]
¶
Get base64 string from image URI.
Parameters
image_path
(
str
) –
Return type
str