Sprog

SearchModelFactory.ServedImage(String, String, Int64) Method

Definition

Describes a single image that the model selected to be served during a retrieval activity.

public static Azure.Search.Documents.KnowledgeBases.Models.ServedImage ServedImage(string imageId = default, string imagePath = default, long sizeBytes = 0);
static member ServedImage : string * string * int64 -> Azure.Search.Documents.KnowledgeBases.Models.ServedImage
Public Shared Function ServedImage (Optional imageId As String = Nothing, Optional imagePath As String = Nothing, Optional sizeBytes As Long = 0) As ServedImage

Parameters

imageId
String

The image label extracted from the source document by Content Understanding enrichment. Corresponds to the figure numbering in the original document.

imagePath
String

The relative path to the image within the asset store.

sizeBytes
Int64

The size in bytes of this image as sent to the model.

Returns

A new ServedImage instance for mocking.

Applies to