Class SessionsREPLTool.DefaultFileDownloader
java.lang.Object
dev.langchain4j.code.azure.acads.SessionsREPLTool.DefaultFileDownloader
- All Implemented Interfaces:
SessionsREPLTool.FileDownloader
- Enclosing class:
SessionsREPLTool
public class SessionsREPLTool.DefaultFileDownloader
extends Object
implements SessionsREPLTool.FileDownloader
Default implementation of the FileDownloader interface that downloads files from Azure Container Apps.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondownloadFile
(String remoteFilePath) Downloads a file from Azure Container Apps.
-
Constructor Details
-
DefaultFileDownloader
public DefaultFileDownloader()Constructs a new DefaultFileDownloader. Uses the parent SessionsREPLTool's configuration for authentication and endpoint access.
-
-
Method Details
-
downloadFile
Description copied from interface:SessionsREPLTool.FileDownloader
Downloads a file from Azure Container Apps.- Specified by:
downloadFile
in interfaceSessionsREPLTool.FileDownloader
- Parameters:
remoteFilePath
- the path of the file to download- Returns:
- the content of the downloaded file
-