Search Results for

    Show / Hide Table of Contents

    Class TitanEmbeddingRequest

    Inheritance
    object
    TitanEmbeddingRequestBase
    TitanEmbeddingRequest
    Inherited Members
    TitanEmbeddingRequestBase.InputText
    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 TitanEmbeddingRequest : TitanEmbeddingRequestBase

    Properties

    | Edit this page View Source

    Dimensions

    Optional. The number of dimensions the output embedding should have. The following values are accepted: 1024 (default), 512, 256.

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

    EmbeddingTypes

    Optional. Accepts a list containing "float", "binary", or both. Defaults to float.

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

    Normalize

    Optional. Flag indicating whether or not to normalize the output embedding. Defaults to true.

    Declaration
    [JsonProperty("normalize")]
    public bool? Normalize { get; set; }
    Property Value
    Type Description
    bool?

    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