public static interface UserTurnSpecification.Builder extends SdkPojo, CopyableBuilder<UserTurnSpecification.Builder,UserTurnSpecification>
| Modifier and Type | Method and Description |
|---|---|
default UserTurnSpecification.Builder |
expected(Consumer<UserTurnOutputSpecification.Builder> expected)
Contains results about the expected output for the user turn.
|
UserTurnSpecification.Builder |
expected(UserTurnOutputSpecification expected)
Contains results about the expected output for the user turn.
|
default UserTurnSpecification.Builder |
input(Consumer<UserTurnInputSpecification.Builder> input)
Contains information about the user messages in the turn in the input.
|
UserTurnSpecification.Builder |
input(UserTurnInputSpecification input)
Contains information about the user messages in the turn in the input.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUserTurnSpecification.Builder input(UserTurnInputSpecification input)
Contains information about the user messages in the turn in the input.
input - Contains information about the user messages in the turn in the input.default UserTurnSpecification.Builder input(Consumer<UserTurnInputSpecification.Builder> input)
Contains information about the user messages in the turn in the input.
This is a convenience method that creates an instance of theUserTurnInputSpecification.Builder
avoiding the need to create one manually via UserTurnInputSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to input(UserTurnInputSpecification).
input - a consumer that will call methods on UserTurnInputSpecification.Builderinput(UserTurnInputSpecification)UserTurnSpecification.Builder expected(UserTurnOutputSpecification expected)
Contains results about the expected output for the user turn.
expected - Contains results about the expected output for the user turn.default UserTurnSpecification.Builder expected(Consumer<UserTurnOutputSpecification.Builder> expected)
Contains results about the expected output for the user turn.
This is a convenience method that creates an instance of theUserTurnOutputSpecification.Builder
avoiding the need to create one manually via UserTurnOutputSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to expected(UserTurnOutputSpecification).
expected - a consumer that will call methods on UserTurnOutputSpecification.Builderexpected(UserTurnOutputSpecification)Copyright © 2023. All rights reserved.