Struct FunctionResponseScheduling
Specifies how the response should be scheduled in the conversation. Only applicable to NON_BLOCKING function calls, is ignored otherwise. Defaults to WHEN_IDLE.
[JsonConverter(typeof(FunctionResponseSchedulingConverter))]
public readonly record struct FunctionResponseScheduling : IEquatable<FunctionResponseScheduling>
- Implements
- Inherited Members
Properties
AllValues
public static IReadOnlyList<FunctionResponseScheduling> AllValues { get; }
Property Value
Interrupt
Add the result to the conversation context, interrupt ongoing generation and prompt to generate output.
public static FunctionResponseScheduling Interrupt { get; }
Property Value
SchedulingUnspecified
This value is unused.
public static FunctionResponseScheduling SchedulingUnspecified { get; }
Property Value
Silent
Only add the result to the conversation context, do not interrupt or trigger generation.
public static FunctionResponseScheduling Silent { get; }
Property Value
Value
public string Value { get; }
Property Value
WhenIdle
Add the result to the conversation context, and prompt to generate output without interrupting ongoing generation.
public static FunctionResponseScheduling WhenIdle { get; }
Property Value
Methods
Equals(FunctionResponseScheduling)
public bool Equals(FunctionResponseScheduling other)
Parameters
Returns
FromString(string)
public static FunctionResponseScheduling FromString(string value)
Parameters
valuestring
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
implicit operator FunctionResponseScheduling(string)
public static implicit operator FunctionResponseScheduling(string value)
Parameters
valuestring