public interface RagContextRecallInstanceOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getContext()
public abstract String getContext()Required. Retrieved facts from RAG pipeline as context to be evaluated.
optional string context = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The context. |
getContextBytes()
public abstract ByteString getContextBytes()Required. Retrieved facts from RAG pipeline as context to be evaluated.
optional string context = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for context. |
getReference()
public abstract String getReference()Required. Ground truth used to compare against the context.
optional string reference = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The reference. |
getReferenceBytes()
public abstract ByteString getReferenceBytes()Required. Ground truth used to compare against the context.
optional string reference = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for reference. |
hasContext()
public abstract boolean hasContext()Required. Retrieved facts from RAG pipeline as context to be evaluated.
optional string context = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the context field is set. |
hasReference()
public abstract boolean hasReference()Required. Ground truth used to compare against the context.
optional string reference = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the reference field is set. |