JsonInstructionText
Namespace: Vercel.AI.GenerateText
public readonly struct JsonInstructionTextAn optional string that can be omitted, null, or set. Distinguishes a missing argument from null.
Properties
Section titled “Properties”public bool IsSet { get; }True when the caller passed a value, including null.
Value: bool
public static JsonInstructionText Null { get; }The argument was passed as null.
Value: JsonInstructionText
public static JsonInstructionText Unset { get; }The argument was omitted.
Value: JsonInstructionText
public string? Value { get; }The text, when IsSet is true.
Value: string
Methods
Section titled “Methods”From(string?)
Section titled “From(string?)”public static JsonInstructionText From(string? value)The argument was passed as <code class=“paramref”>value</code>.
Parameters
| Name | Type | Description |
|---|---|---|
value |
string |
Returns: JsonInstructionText
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product