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.
- Parameters
path (str) –
- Return type
str