Search Results for

    Show / Hide Table of Contents

    Class MarengoLegacyEmbedRequest

    For 2.7 legacy model compatibility.

    Inheritance
    object
    MarengoEmbedRequestBase
    MarengoLegacyEmbedRequest
    Inherited Members
    MarengoEmbedRequestBase.InputType
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.AmazonAws
    Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
    Syntax
    public class MarengoLegacyEmbedRequest : MarengoEmbedRequestBase

    Properties

    | Edit this page View Source

    EmbeddingOption

    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>
    | Edit this page View Source

    InputText

    Required if inputType is "text". Text to be embedded.

    Declaration
    [JsonProperty("inputText")]
    public string InputText { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    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?
    | Edit this page View Source

    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
    | Edit this page View Source

    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?
    | Edit this page View Source

    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?
    | Edit this page View Source

    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
    | Edit this page View Source

    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?

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation