LangChain
Core
Community
Experimental
openai
mistralai
robocorp
google-vertexai
nvidia-trt
anthropic
together
nvidia-ai-endpoints
exa
google-genai
Partner libs
openai
mistralai
robocorp
google-vertexai
nvidia-trt
anthropic
together
nvidia-ai-endpoints
exa
google-genai
Docs
Toggle Menu
Prev
Up
Next
langchain_community.tools.bearly.tool
.file_to_base64
file_to_base64()
langchain_community.tools.bearly.tool
.file_to_base64
¶
langchain_community.tools.bearly.tool.
file_to_base64
(
path
:
str
)
→
str
[source]
¶
Convert a file to base64.