4.3 KiB
EvalItemResult
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Error | Pointer to string | Error is why this example produced no score — the model, the judge, or the run's deadline. A result carrying one is not counted in Scored. | [optional] |
| ItemId | Pointer to string | ItemID is the example that was scored. | [optional] |
| Output | Pointer to string | Output is what the model under test answered, truncated at 2000 characters. | [optional] |
| Score | Pointer to float64 | Score is the judge's grade. | [optional] |
| TraceId | Pointer to string | TraceID is the model call this result came from. | [optional] |
Methods
NewEvalItemResult
func NewEvalItemResult() *EvalItemResult
NewEvalItemResult instantiates a new EvalItemResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
NewEvalItemResultWithDefaults
func NewEvalItemResultWithDefaults() *EvalItemResult
NewEvalItemResultWithDefaults instantiates a new EvalItemResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
GetError
func (o *EvalItemResult) GetError() string
GetError returns the Error field if non-nil, zero value otherwise.
GetErrorOk
func (o *EvalItemResult) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetError
func (o *EvalItemResult) SetError(v string)
SetError sets Error field to given value.
HasError
func (o *EvalItemResult) HasError() bool
HasError returns a boolean if a field has been set.
GetItemId
func (o *EvalItemResult) GetItemId() string
GetItemId returns the ItemId field if non-nil, zero value otherwise.
GetItemIdOk
func (o *EvalItemResult) GetItemIdOk() (*string, bool)
GetItemIdOk returns a tuple with the ItemId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetItemId
func (o *EvalItemResult) SetItemId(v string)
SetItemId sets ItemId field to given value.
HasItemId
func (o *EvalItemResult) HasItemId() bool
HasItemId returns a boolean if a field has been set.
GetOutput
func (o *EvalItemResult) GetOutput() string
GetOutput returns the Output field if non-nil, zero value otherwise.
GetOutputOk
func (o *EvalItemResult) GetOutputOk() (*string, bool)
GetOutputOk returns a tuple with the Output field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOutput
func (o *EvalItemResult) SetOutput(v string)
SetOutput sets Output field to given value.
HasOutput
func (o *EvalItemResult) HasOutput() bool
HasOutput returns a boolean if a field has been set.
GetScore
func (o *EvalItemResult) GetScore() float64
GetScore returns the Score field if non-nil, zero value otherwise.
GetScoreOk
func (o *EvalItemResult) GetScoreOk() (*float64, bool)
GetScoreOk returns a tuple with the Score field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetScore
func (o *EvalItemResult) SetScore(v float64)
SetScore sets Score field to given value.
HasScore
func (o *EvalItemResult) HasScore() bool
HasScore returns a boolean if a field has been set.
GetTraceId
func (o *EvalItemResult) GetTraceId() string
GetTraceId returns the TraceId field if non-nil, zero value otherwise.
GetTraceIdOk
func (o *EvalItemResult) GetTraceIdOk() (*string, bool)
GetTraceIdOk returns a tuple with the TraceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTraceId
func (o *EvalItemResult) SetTraceId(v string)
SetTraceId sets TraceId field to given value.
HasTraceId
func (o *EvalItemResult) HasTraceId() bool
HasTraceId returns a boolean if a field has been set.