Class Callback
A callback defines the custom logic to be executed at various stages of agent interaction.
Implements
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1.Data
Assembly: Google.Apis.CustomerEngagementSuite.v1.dll
Syntax
public class Callback : IDirectResponseSchema
Properties
Description
Optional. Human-readable description of the callback.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Disabled
Optional. Whether the callback is disabled. Disabled callbacks are ignored by the agent.
Declaration
[JsonProperty("disabled")]
public virtual bool? Disabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ProactiveExecutionEnabled
Optional. If enabled, the callback will also be executed on intermediate model outputs. This setting only affects after model callback. ENABLE WITH CAUTION. Typically after model callback only needs to be executed after receiving all model responses. Enabling proactive execution may have negative implication on the execution cost and latency, and should only be enabled in rare situations.
Declaration
[JsonProperty("proactiveExecutionEnabled")]
public virtual bool? ProactiveExecutionEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
PythonCode
Required. The python code to execute for the callback.
Declaration
[JsonProperty("pythonCode")]
public virtual string PythonCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |