DiscoveryModelFactory.InlineFile(String, String) Method

Definition

A file to be included in the input data for a tool run and the path where it will be mounted, relative to the working directory.

public static Azure.AI.Discovery.InlineFile InlineFile(string mountPath = default, string encodedFile = default);
static member InlineFile : string * string -> Azure.AI.Discovery.InlineFile
Public Shared Function InlineFile (Optional mountPath As String = Nothing, Optional encodedFile As String = Nothing) As InlineFile

Parameters

mountPath
String

Absolute path within the container at which to mount this file.

encodedFile
String

File contents: Compressed using .gz then base64-encoded.

Returns

A new InlineFile instance for mocking.

Applies to