Class SessionsREPLTool.DefaultFileUploader
java.lang.Object
dev.langchain4j.code.azure.acads.SessionsREPLTool.DefaultFileUploader
- All Implemented Interfaces:
SessionsREPLTool.FileUploader
- Enclosing class:
SessionsREPLTool
public class SessionsREPLTool.DefaultFileUploader
extends Object
implements SessionsREPLTool.FileUploader
Default implementation of the FileUploader interface that uploads files to Azure Container Apps.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionuploadFileToAca
(Path localFilePath) Uploads a local file to Azure Container Apps.
-
Constructor Details
-
DefaultFileUploader
public DefaultFileUploader()Constructs a new DefaultFileUploader. Uses the parent SessionsREPLTool's configuration for authentication and endpoint access.
-
-
Method Details
-
uploadFileToAca
Description copied from interface:SessionsREPLTool.FileUploader
Uploads a local file to Azure Container Apps.- Specified by:
uploadFileToAca
in interfaceSessionsREPLTool.FileUploader
- Parameters:
localFilePath
- the path to the local file to upload- Returns:
- metadata about the uploaded file
-