Interface FulfillmentInstanceOrBuilder (3.41.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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The prediction.

getPredictionBytes()

public abstract ByteString getPredictionBytes()

Required. Output of the evaluated model.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the prediction field is set.