Search Results for

    Show / Hide Table of Contents

    Class LyriaWeightedPrompt

    Lyria websocket payload type for weighted prompt entries. Required wire shape: { "text": "...", "weight": 1.0 }.

    Inheritance
    object
    LyriaWeightedPrompt
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Google.Lyria
    Assembly: Glitch9.AIDevKit.Provider.Google.dll
    Syntax
    public sealed class LyriaWeightedPrompt

    Constructors

    | Edit this page View Source

    LyriaWeightedPrompt()

    Declaration
    public LyriaWeightedPrompt()
    | Edit this page View Source

    LyriaWeightedPrompt(string, float)

    Declaration
    public LyriaWeightedPrompt(string text, float weight = 1)
    Parameters
    Type Name Description
    string text
    float weight

    Properties

    | Edit this page View Source

    Text

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

    Weight

    Declaration
    [JsonProperty("weight")]
    public float Weight { get; set; }
    Property Value
    Type Description
    float

    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