Class MarengoLegacyEmbedRequest
For 2.7 legacy model compatibility.
Inherited Members
Namespace: Glitch9.AIDevKit.AmazonAws
Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
Syntax
public class MarengoLegacyEmbedRequest : MarengoEmbedRequestBase
Properties
| Edit this page View SourceEmbeddingOption
Optional. Specifies which types of embeddings to retrieve. Valid values: "visual-text", "visual-image", "audio" Default: ["visual-text", "visual-image", "audio"] Compatible input types: Video, Audio
Declaration
[JsonProperty("embeddingOption")]
public List<string> EmbeddingOption { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
InputText
Required if inputType is "text". Text to be embedded.
Declaration
[JsonProperty("inputText")]
public string InputText { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LengthSec
Optional. The time in seconds, counting from the startSec time point, after which processing should stop. Valid values: 0 - Duration of media Default value: Duration of media Compatible input types: Video, Audio
Declaration
[JsonProperty("lengthSec")]
public double? LengthSec { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
MediaSource
Required if inputType is "image", "video", or "audio". Contains information about the media source.
Declaration
[JsonProperty("mediaSource")]
public MediaContentData MediaSource { get; set; }
Property Value
| Type | Description |
|---|---|
| MediaContentData |
MinClipSec
Optional. Sets a minimum value for each clip in seconds. Range: 1- Default value: 4 Must be less than or equal to useFixedLengthSec Compatible input types: Video
Declaration
[JsonProperty("minClipSec")]
public int? MinClipSec { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
StartSec
Optional. The time point in seconds of the clip where processing should begin. Minimum value: 0 Default value: 0 Compatible input types: Video, Audio
Declaration
[JsonProperty("startSec")]
public double? StartSec { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
TextTruncate
Optional. Specifies how the platform truncates text. Valid values: "end", "none" Default value: "end" Compatible input types: Text
Declaration
[JsonProperty("textTruncate")]
public string TextTruncate { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UseFixedLengthSec
Optional. The duration of each clip for which the model should generate an embedding. Must be greater than or equal to minClipSec. Compatible input types: Video, Audio
Declaration
[JsonProperty("useFixedLengthSec")]
public double? UseFixedLengthSec { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |