Class LyriaWeightedPrompt
Lyria websocket payload type for weighted prompt entries.
Required wire shape: { "text": "...", "weight": 1.0 }.
Inheritance
LyriaWeightedPrompt
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
Properties
|
Edit this page
View Source
Text
Declaration
[JsonProperty("text")]
public string Text { get; set; }
Property Value
|
Edit this page
View Source
Weight
Declaration
[JsonProperty("weight")]
public float Weight { get; set; }
Property Value
Extension Methods