public static interface UserTurnOutputSpecification.Builder extends SdkPojo, CopyableBuilder<UserTurnOutputSpecification.Builder,UserTurnOutputSpecification>
| Modifier and Type | Method and Description |
|---|---|
UserTurnOutputSpecification.Builder |
activeContexts(ActiveContext... activeContexts)
The contexts that are active in the turn.
|
UserTurnOutputSpecification.Builder |
activeContexts(Collection<ActiveContext> activeContexts)
The contexts that are active in the turn.
|
UserTurnOutputSpecification.Builder |
activeContexts(Consumer<ActiveContext.Builder>... activeContexts)
The contexts that are active in the turn.
|
default UserTurnOutputSpecification.Builder |
intent(Consumer<UserTurnIntentOutput.Builder> intent)
Contains information about the intent.
|
UserTurnOutputSpecification.Builder |
intent(UserTurnIntentOutput intent)
Contains information about the intent.
|
UserTurnOutputSpecification.Builder |
transcript(String transcript)
The transcript that is output for the user turn by the test execution.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUserTurnOutputSpecification.Builder intent(UserTurnIntentOutput intent)
Contains information about the intent.
intent - Contains information about the intent.default UserTurnOutputSpecification.Builder intent(Consumer<UserTurnIntentOutput.Builder> intent)
Contains information about the intent.
This is a convenience method that creates an instance of theUserTurnIntentOutput.Builder avoiding
the need to create one manually via UserTurnIntentOutput.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to intent(UserTurnIntentOutput).
intent - a consumer that will call methods on UserTurnIntentOutput.Builderintent(UserTurnIntentOutput)UserTurnOutputSpecification.Builder activeContexts(Collection<ActiveContext> activeContexts)
The contexts that are active in the turn.
activeContexts - The contexts that are active in the turn.UserTurnOutputSpecification.Builder activeContexts(ActiveContext... activeContexts)
The contexts that are active in the turn.
activeContexts - The contexts that are active in the turn.UserTurnOutputSpecification.Builder activeContexts(Consumer<ActiveContext.Builder>... activeContexts)
The contexts that are active in the turn.
This is a convenience method that creates an instance of theActiveContext.Builder avoiding the need to create
one manually via ActiveContext.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #activeContexts(List.
activeContexts - a consumer that will call methods on
ActiveContext.Builder#activeContexts(java.util.Collection) UserTurnOutputSpecification.Builder transcript(String transcript)
The transcript that is output for the user turn by the test execution.
transcript - The transcript that is output for the user turn by the test execution.Copyright © 2023. All rights reserved.