Share via


EvaluationResultSample Class

Definition

A sample from the evaluation result.

public class EvaluationResultSample : Azure.AI.Projects.InsightSample, System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.EvaluationResultSample>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.EvaluationResultSample>
type EvaluationResultSample = class
    inherit InsightSample
    interface IJsonModel<EvaluationResultSample>
    interface IPersistableModel<EvaluationResultSample>
Public Class EvaluationResultSample
Inherits InsightSample
Implements IJsonModel(Of EvaluationResultSample), IPersistableModel(Of EvaluationResultSample)
Inheritance
EvaluationResultSample
Implements

Properties

Name Description
CorrelationInfo

Info about the correlation for the analysis sample.

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"). : Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""). : Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }). : Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"). : Creates a payload of { "key": "value" }.

(Inherited from InsightSample)
EvaluationResult

Evaluation result for the analysis sample.

Features

Features to help with additional filtering of data in UX.

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"). : Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""). : Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }). : Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"). : Creates a payload of { "key": "value" }.

(Inherited from InsightSample)
Id

The unique identifier for the analysis sample.

(Inherited from InsightSample)

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<EvaluationResultSample>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<EvaluationResultSample>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IJsonModel<InsightSample>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from InsightSample)
IJsonModel<InsightSample>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from InsightSample)
IPersistableModel<EvaluationResultSample>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<EvaluationResultSample>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<EvaluationResultSample>.Write(ModelReaderWriterOptions)
IPersistableModel<InsightSample>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from InsightSample)
IPersistableModel<InsightSample>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from InsightSample)
IPersistableModel<InsightSample>.Write(ModelReaderWriterOptions) (Inherited from InsightSample)

Applies to