Package org.mlflow.api.proto
Interface Assessments.AssessmentOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Assessments.Assessment
,Assessments.Assessment.Builder
- Enclosing class:
- Assessments
public static interface Assessments.AssessmentOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsMetadata
(String key) Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index.Unique ID of the assessment.com.google.protobuf.ByteString
Unique ID of the assessment.Name of the assessment.com.google.protobuf.ByteString
Name of the assessment.com.google.protobuf.Timestamp
The creation time of this assessment.com.google.protobuf.TimestampOrBuilder
The creation time of this assessment.getError()
Deprecated.Deprecated.A representation of the guidelines and/or expected response from the agent.A representation of the guidelines and/or expected response from the agent.The feedback on the trace from this assessment.The feedback on the trace from this assessment.com.google.protobuf.Timestamp
The last update time of this assessment.com.google.protobuf.TimestampOrBuilder
The last update time of this assessment.Deprecated.int
Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index.Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index.getMetadataOrDefault
(String key, String defaultValue) Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index.getMetadataOrThrow
(String key) Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index.Justification for the assessment.com.google.protobuf.ByteString
Justification for the assessment.The source this assessment came from.The source this assessment came from.ID of the span if the assessment is for a particular span (optional).com.google.protobuf.ByteString
ID of the span if the assessment is for a particular span (optional).ID of the trace this assessment is associated with.com.google.protobuf.ByteString
ID of the trace this assessment is associated with.boolean
Unique ID of the assessment.boolean
Name of the assessment.boolean
The creation time of this assessment.boolean
hasError()
Deprecated.boolean
A representation of the guidelines and/or expected response from the agent.boolean
The feedback on the trace from this assessment.boolean
The last update time of this assessment.boolean
Justification for the assessment.boolean
The source this assessment came from.boolean
ID of the span if the assessment is for a particular span (optional).boolean
ID of the trace this assessment is associated with.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAssessmentId
boolean hasAssessmentId()Unique ID of the assessment. NB: This is not marked as required field via "validate_required", because the message is used in the context of creating a new assessment, where the ID is not known.
optional string assessment_id = 1;
- Returns:
- Whether the assessmentId field is set.
-
getAssessmentId
String getAssessmentId()Unique ID of the assessment. NB: This is not marked as required field via "validate_required", because the message is used in the context of creating a new assessment, where the ID is not known.
optional string assessment_id = 1;
- Returns:
- The assessmentId.
-
getAssessmentIdBytes
com.google.protobuf.ByteString getAssessmentIdBytes()Unique ID of the assessment. NB: This is not marked as required field via "validate_required", because the message is used in the context of creating a new assessment, where the ID is not known.
optional string assessment_id = 1;
- Returns:
- The bytes for assessmentId.
-
hasAssessmentName
boolean hasAssessmentName()Name of the assessment. The name must not contain ".".
optional string assessment_name = 2 [(.mlflow.validate_required) = true];
- Returns:
- Whether the assessmentName field is set.
-
getAssessmentName
String getAssessmentName()Name of the assessment. The name must not contain ".".
optional string assessment_name = 2 [(.mlflow.validate_required) = true];
- Returns:
- The assessmentName.
-
getAssessmentNameBytes
com.google.protobuf.ByteString getAssessmentNameBytes()Name of the assessment. The name must not contain ".".
optional string assessment_name = 2 [(.mlflow.validate_required) = true];
- Returns:
- The bytes for assessmentName.
-
hasTraceId
boolean hasTraceId()ID of the trace this assessment is associated with.
optional string trace_id = 3;
- Returns:
- Whether the traceId field is set.
-
getTraceId
String getTraceId()ID of the trace this assessment is associated with.
optional string trace_id = 3;
- Returns:
- The traceId.
-
getTraceIdBytes
com.google.protobuf.ByteString getTraceIdBytes()ID of the trace this assessment is associated with.
optional string trace_id = 3;
- Returns:
- The bytes for traceId.
-
hasSpanId
boolean hasSpanId()ID of the span if the assessment is for a particular span (optional).
optional string span_id = 4;
- Returns:
- Whether the spanId field is set.
-
getSpanId
String getSpanId()ID of the span if the assessment is for a particular span (optional).
optional string span_id = 4;
- Returns:
- The spanId.
-
getSpanIdBytes
com.google.protobuf.ByteString getSpanIdBytes()ID of the span if the assessment is for a particular span (optional).
optional string span_id = 4;
- Returns:
- The bytes for spanId.
-
hasSource
boolean hasSource()The source this assessment came from.
optional .mlflow.assessments.AssessmentSource source = 5;
- Returns:
- Whether the source field is set.
-
getSource
Assessments.AssessmentSource getSource()The source this assessment came from.
optional .mlflow.assessments.AssessmentSource source = 5;
- Returns:
- The source.
-
getSourceOrBuilder
Assessments.AssessmentSourceOrBuilder getSourceOrBuilder()The source this assessment came from.
optional .mlflow.assessments.AssessmentSource source = 5;
-
hasCreateTime
boolean hasCreateTime()The creation time of this assessment.
optional .google.protobuf.Timestamp create_time = 6;
- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()The creation time of this assessment.
optional .google.protobuf.Timestamp create_time = 6;
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()The creation time of this assessment.
optional .google.protobuf.Timestamp create_time = 6;
-
hasLastUpdateTime
boolean hasLastUpdateTime()The last update time of this assessment.
optional .google.protobuf.Timestamp last_update_time = 7;
- Returns:
- Whether the lastUpdateTime field is set.
-
getLastUpdateTime
com.google.protobuf.Timestamp getLastUpdateTime()The last update time of this assessment.
optional .google.protobuf.Timestamp last_update_time = 7;
- Returns:
- The lastUpdateTime.
-
getLastUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder()The last update time of this assessment.
optional .google.protobuf.Timestamp last_update_time = 7;
-
hasFeedback
boolean hasFeedback()The feedback on the trace from this assessment.
.mlflow.assessments.Feedback feedback = 9;
- Returns:
- Whether the feedback field is set.
-
getFeedback
Assessments.Feedback getFeedback()The feedback on the trace from this assessment.
.mlflow.assessments.Feedback feedback = 9;
- Returns:
- The feedback.
-
getFeedbackOrBuilder
Assessments.FeedbackOrBuilder getFeedbackOrBuilder()The feedback on the trace from this assessment.
.mlflow.assessments.Feedback feedback = 9;
-
hasExpectation
boolean hasExpectation()A representation of the guidelines and/or expected response from the agent.
.mlflow.assessments.Expectation expectation = 10;
- Returns:
- Whether the expectation field is set.
-
getExpectation
Assessments.Expectation getExpectation()A representation of the guidelines and/or expected response from the agent.
.mlflow.assessments.Expectation expectation = 10;
- Returns:
- The expectation.
-
getExpectationOrBuilder
Assessments.ExpectationOrBuilder getExpectationOrBuilder()A representation of the guidelines and/or expected response from the agent.
.mlflow.assessments.Expectation expectation = 10;
-
hasRationale
boolean hasRationale()Justification for the assessment.
optional string rationale = 11;
- Returns:
- Whether the rationale field is set.
-
getRationale
String getRationale()Justification for the assessment.
optional string rationale = 11;
- Returns:
- The rationale.
-
getRationaleBytes
com.google.protobuf.ByteString getRationaleBytes()Justification for the assessment.
optional string rationale = 11;
- Returns:
- The bytes for rationale.
-
hasError
Deprecated.[Deprecated, use the ``error`` field in ``feedback`` instead] An error encountered while computing the assessment.
optional .mlflow.assessments.AssessmentError error = 12 [deprecated = true];
- Returns:
- Whether the error field is set.
-
getError
Deprecated.[Deprecated, use the ``error`` field in ``feedback`` instead] An error encountered while computing the assessment.
optional .mlflow.assessments.AssessmentError error = 12 [deprecated = true];
- Returns:
- The error.
-
getErrorOrBuilder
Deprecated.[Deprecated, use the ``error`` field in ``feedback`` instead] An error encountered while computing the assessment.
optional .mlflow.assessments.AssessmentError error = 12 [deprecated = true];
-
getMetadataCount
int getMetadataCount()Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index. This metadata is required to be JSON-serializable.
map<string, string> metadata = 13;
-
containsMetadata
Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index. This metadata is required to be JSON-serializable.
map<string, string> metadata = 13;
-
getMetadata
Deprecated.UsegetMetadataMap()
instead. -
getMetadataMap
Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index. This metadata is required to be JSON-serializable.
map<string, string> metadata = 13;
-
getMetadataOrDefault
Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index. This metadata is required to be JSON-serializable.
map<string, string> metadata = 13;
-
getMetadataOrThrow
Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index. This metadata is required to be JSON-serializable.
map<string, string> metadata = 13;
-
getValueCase
Assessments.Assessment.ValueCase getValueCase()
-