Enum Behavior
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Defines the function behavior. Defaults to BLOCKING.
[JsonConverter(typeof(JsonStringEnumConverter<Behavior>))]
public enum Behavior
- Extension Methods
Fields
UNSPECIFIED = 0This value is unused.
BLOCKING = 1If set, the system will wait to receive the function response before continuing the conversation.
NON_BLOCKING = 2If set, the system will not wait to receive the function response. Instead, it will attempt to handle function responses as they become available while maintaining the conversation between the user and the model.