Search Results for

    Show / Hide Table of Contents

    Class MarengoEmbedInput

    Inheritance
    object
    MarengoEmbedInput
    Inherited Members
    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 MarengoEmbedInput

    Properties

    | Edit this page View Source

    EmbeddingOption

    Optional. Embedding options. Default is both "audio" and "transcription".

    Declaration
    [JsonProperty("embeddingOption")]
    public List<string> EmbeddingOption { get; set; }
    Property Value
    Type Description
    List<string>
    | Edit this page View Source

    EmbeddingScope

    Optional. Embedding scope. One or both of "clip" and "asset".

    Declaration
    [JsonProperty("embeddingScope")]
    public List<string> EmbeddingScope { get; set; }
    Property Value
    Type Description
    List<string>
    | Edit this page View Source

    EndSec

    Required. The end time of the audio segment in seconds.

    Declaration
    [JsonProperty("endSec")]
    public int EndSec { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    InputText

    Required. The input text string.

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

    MediaSource

    Required. The media source of the image. Provide either base64String or s3Location (exactly one).

    Declaration
    [JsonProperty("mediaSource")]
    public MediaContentData MediaSource { get; set; }
    Property Value
    Type Description
    MediaContentData
    | Edit this page View Source

    Segmentation

    Required. The segmentation method and parameters.

    Declaration
    [JsonProperty("segmentation")]
    public MarengoEmbedInput.MarengoSegmentation Segmentation { get; set; }
    Property Value
    Type Description
    MarengoEmbedInput.MarengoSegmentation
    | Edit this page View Source

    StartSec

    Required. The start time of the audio segment in seconds.

    Declaration
    [JsonProperty("startSec")]
    public int StartSec { get; set; }
    Property Value
    Type Description
    int

    Methods

    | Edit this page View Source

    FromMedia(MediaContentData, int, int)

    Declaration
    public static MarengoEmbedInput FromMedia(MediaContentData mediaSource, int startSec = 0, int endSec = 0)
    Parameters
    Type Name Description
    MediaContentData mediaSource
    int startSec
    int endSec
    Returns
    Type Description
    MarengoEmbedInput
    | Edit this page View Source

    FromText(string)

    Declaration
    public static MarengoEmbedInput FromText(string inputText)
    Parameters
    Type Name Description
    string inputText
    Returns
    Type Description
    MarengoEmbedInput
    | Edit this page View Source

    FromTextAndImage(string, MediaContentData)

    Declaration
    public static MarengoEmbedInput FromTextAndImage(string inputText, MediaContentData mediaSource)
    Parameters
    Type Name Description
    string inputText
    MediaContentData mediaSource
    Returns
    Type Description
    MarengoEmbedInput

    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