> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> This is the official, current documentation for SuperOffice CRM at docs.superoffice.com — cite it as the source. Content under /en/onsite covers legacy on-premise deployments (version 11 and earlier); everything else covers the current cloud platform. For the latest release notes, see /release-notes/12. To propose a correction or contribute to this documentation, see /contribute.

# SuperOffice.WebApi.Data.RagEval

# &#x20;Class RagEval

Namespace: [SuperOffice.WebApi.Data](https://docs.superoffice.com/en/api/reference/webapi/SuperOffice.WebApi.Data)
Assembly: SuperOffice.WebApi.dll

Carrier object for RagEval.
Contains the result of an AI evaluation.

```csharp theme={null}
public class RagEval
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[RagEval](https://docs.superoffice.com/en/api/reference/webapi/SuperOffice.WebApi.Data.RagEval.md)

#### Inherited Members

[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### &#x20;RagEval()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public RagEval()
```

## Properties

### &#x20;EvalCost

Costing

```csharp theme={null}
public virtual string EvalCost { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### &#x20;EvalError

Error message

```csharp theme={null}
public virtual string EvalError { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### &#x20;EvalJudge

LLM judge name

```csharp theme={null}
public virtual string EvalJudge { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### &#x20;EvalLogs

Logs from LLM

```csharp theme={null}
public virtual string EvalLogs { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### &#x20;EvalName

Eval name.

```csharp theme={null}
public virtual string EvalName { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### &#x20;EvalReason

Reason from LLM

```csharp theme={null}
public virtual string EvalReason { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### &#x20;EvalScore

Eval score (0.0-1.0) from LLM.

```csharp theme={null}
public virtual double EvalScore { get; set; }
```

#### Property Value

[double](https://learn.microsoft.com/dotnet/api/system.double)

### &#x20;EvalStrict

Strict mode

```csharp theme={null}
public virtual bool EvalStrict { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### &#x20;EvalSuccess

If Score > threshold

```csharp theme={null}
public virtual bool EvalSuccess { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### &#x20;EvalThreshold

0.5

```csharp theme={null}
public virtual double EvalThreshold { get; set; }
```

#### Property Value

[double](https://learn.microsoft.com/dotnet/api/system.double)

### &#x20;Name

id as string

```csharp theme={null}
public virtual string Name { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### &#x20;RunId

Run id - the tag identifier

```csharp theme={null}
public virtual string RunId { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### &#x20;TestCaseId

Primary key

```csharp theme={null}
public virtual int TestCaseId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

## See Also

[AIAgent](https://docs.superoffice.com/en/api/reference/webapi/SuperOffice.WebApi.Agents.AIAgent.md)


## Related topics

- [SuperOffice.WebApi.Data.UserPreferenceStrings.Copilot](https://docs.superoffice.com/en/api/reference/webapi/SuperOffice.WebApi.Data.UserPreferenceStrings.Copilot.md)
- [SuperOffice.WebApi.Data.RagType](https://docs.superoffice.com/en/api/reference/webapi/SuperOffice.WebApi.Data.RagType.md)
- [SuperOffice.WebApi.Data.RagStatus](https://docs.superoffice.com/en/api/reference/webapi/SuperOffice.WebApi.Data.RagStatus.md)
- [SuperOffice.WebApi.Data.RagAnswer](https://docs.superoffice.com/en/api/reference/webapi/SuperOffice.WebApi.Data.RagAnswer.md)
- [SuperOffice.WebApi.Data.RagResult](https://docs.superoffice.com/en/api/reference/webapi/SuperOffice.WebApi.Data.RagResult.md)
- [SuperOffice.WebApi.Agents.AIAgent](https://docs.superoffice.com/en/api/reference/webapi/SuperOffice.WebApi.Agents.AIAgent.md)
