Class MarengoEmbedInput
Inheritance
MarengoEmbedInput
Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
public class MarengoEmbedInput
Properties
|
Edit this page
View Source
Optional. Embedding options. Default is both "audio" and "transcription".
Declaration
[JsonProperty("embeddingOption")]
public List<string> EmbeddingOption { get; set; }
Property Value
|
Edit this page
View Source
Optional. Embedding scope. One or both of "clip" and "asset".
Declaration
[JsonProperty("embeddingScope")]
public List<string> EmbeddingScope { get; set; }
Property Value
|
Edit this page
View Source
Required. The end time of the audio segment in seconds.
Declaration
[JsonProperty("endSec")]
public int EndSec { get; set; }
Property Value
|
Edit this page
View Source
InputText
Required. The input text string.
Declaration
[JsonProperty("inputText")]
public string InputText { get; set; }
Property Value
|
Edit this page
View Source
Required. The media source of the image. Provide either base64String or s3Location (exactly one).
Declaration
[JsonProperty("mediaSource")]
public MediaContentData MediaSource { get; set; }
Property Value
|
Edit this page
View Source
Required. The segmentation method and parameters.
Declaration
[JsonProperty("segmentation")]
public MarengoEmbedInput.MarengoSegmentation Segmentation { get; set; }
Property Value
|
Edit this page
View Source
Required. The start time of the audio segment in seconds.
Declaration
[JsonProperty("startSec")]
public int StartSec { get; set; }
Property Value
Methods
|
Edit this page
View Source
FromMedia(MediaContentData, int, int)
Declaration
public static MarengoEmbedInput FromMedia(MediaContentData mediaSource, int startSec = 0, int endSec = 0)
Parameters
Returns
|
Edit this page
View Source
FromText(string)
Declaration
public static MarengoEmbedInput FromText(string inputText)
Parameters
| Type |
Name |
Description |
| string |
inputText |
|
Returns
|
Edit this page
View Source
FromTextAndImage(string, MediaContentData)
Declaration
public static MarengoEmbedInput FromTextAndImage(string inputText, MediaContentData mediaSource)
Parameters
Returns
Extension Methods