Interface FulfillmentInstanceOrBuilder (3.47.0)

public interface FulfillmentInstanceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstruction()

public abstract String getInstruction()

Required. Inference instruction prompt to compare prediction with.

optional string instruction = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The instruction.

getInstructionBytes()

public abstract ByteString getInstructionBytes()

Required. Inference instruction prompt to compare prediction with.

optional string instruction = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for instruction.

getPrediction()

public abstract String getPrediction()

Required. Output of the evaluated model.

optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The prediction.

getPredictionBytes()

public abstract ByteString getPredictionBytes()

Required. Output of the evaluated model.

optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for prediction.

hasInstruction()

public abstract boolean hasInstruction()

Required. Inference instruction prompt to compare prediction with.

optional string instruction = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the instruction field is set.

hasPrediction()

public abstract boolean hasPrediction()

Required. Output of the evaluated model.

optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the prediction field is set.