langchain_community.tools.bearly.tool.file_to_base64

langchain_community.tools.bearly.tool.file_to_base64(path: str) str[source]

将文件转换为base64。

Parameters

path (str) –

Return type

str