InferenceModelFactory.EmbeddingOutput Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A delivery: link result: a JSON file with the complete response (the same body as an inline response, including
data), readable with sasToken until expiresAt.
public static Azure.Data.AI.EmbeddingOutput EmbeddingOutput(string id = default, Uri uri = default, string sasToken = default, DateTimeOffset expiresOn = default, int recordCount = 0, long sizeInBytes = 0, string sha256 = default, string contentType = default);
static member EmbeddingOutput : string * Uri * string * DateTimeOffset * int * int64 * string * string -> Azure.Data.AI.EmbeddingOutput
Public Shared Function EmbeddingOutput (Optional id As String = Nothing, Optional uri As Uri = Nothing, Optional sasToken As String = Nothing, Optional expiresOn As DateTimeOffset = Nothing, Optional recordCount As Integer = 0, Optional sizeInBytes As Long = 0, Optional sha256 As String = Nothing, Optional contentType As String = Nothing) As EmbeddingOutput
Parameters
- id
- String
The result's identifier, for support requests.
- uri
- Uri
The result file's URL, without a query string. Read it with sasToken.
- sasToken
- String
A read-only SAS for the result file only, valid until expiresAt (at most 15 minutes). Read the file with
GET {url}?{sasToken}.
- expiresOn
- DateTimeOffset
When sasToken stops working. After that, send the request again, or use delivery: inline.
- recordCount
- Int32
The number of data items in the file.
- sizeInBytes
- Int64
The size of the file in bytes.
- sha256
- String
The lowercase hexadecimal SHA-256 hash of the file.
- contentType
- String
The media type of the file: application/json.
Returns
A new EmbeddingOutput instance for mocking.