AIInferenceModelFactory.ImageEmbeddingInput(String, String) 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.
Initializes a new instance of ImageEmbeddingInput.
public static Azure.AI.Inference.ImageEmbeddingInput ImageEmbeddingInput(string image = default, string text = default);
static member ImageEmbeddingInput : string * string -> Azure.AI.Inference.ImageEmbeddingInput
Public Shared Function ImageEmbeddingInput (Optional image As String = Nothing, Optional text As String = Nothing) As ImageEmbeddingInput
Parameters
- image
- String
The input image encoded in base64 string as a data URL. Example: data:image/{format};base64,{data}
.
- text
- String
Optional. The text input to feed into the model (like DINO, CLIP). Returns a 422 error if the model doesn't support the value or parameter.
Returns
A new ImageEmbeddingInput instance for mocking.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET