public static interface OutputContext.Builder extends SdkPojo, CopyableBuilder<OutputContext.Builder,OutputContext>
| Modifier and Type | Method and Description |
|---|---|
OutputContext.Builder |
name(String name)
The name of the output context.
|
OutputContext.Builder |
timeToLiveInSeconds(Integer timeToLiveInSeconds)
The amount of time, in seconds, that the output context should remain active.
|
OutputContext.Builder |
turnsToLive(Integer turnsToLive)
The number of conversation turns that the output context should remain active.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildOutputContext.Builder name(String name)
The name of the output context.
name - The name of the output context.OutputContext.Builder timeToLiveInSeconds(Integer timeToLiveInSeconds)
The amount of time, in seconds, that the output context should remain active. The time is figured from the first time the context is sent to the user.
timeToLiveInSeconds - The amount of time, in seconds, that the output context should remain active. The time is figured from
the first time the context is sent to the user.OutputContext.Builder turnsToLive(Integer turnsToLive)
The number of conversation turns that the output context should remain active. The number of turns is counted from the first time that the context is sent to the user.
turnsToLive - The number of conversation turns that the output context should remain active. The number of turns is
counted from the first time that the context is sent to the user.Copyright © 2023. All rights reserved.