> ## 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.

# SuperOffice.WebApi.Data.RagAnswer

# <a id="SuperOffice_WebApi_Data_RagAnswer" /> Class RagAnswer

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for RagAnswer.
Contains the answer to an AI search, with sources used.

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

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[RagAnswer](SuperOffice.WebApi.Data.RagAnswer.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

### <a id="SuperOffice_WebApi_Data_RagAnswer__ctor" /> RagAnswer()

Default constructor - defaults any enum props to 0.

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

## Properties

### <a id="SuperOffice_WebApi_Data_RagAnswer_Answer" /> Answer

Response to the question

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_RagAnswer_Source" /> Source

Array of sources used to ground the answer. Each source has a chunk of text, relevancy score, title.

```csharp theme={null}
public virtual RagResult[] Source { get; set; }
```

#### Property Value

[RagResult](SuperOffice.WebApi.Data.RagResult.md)\[]

### <a id="SuperOffice_WebApi_Data_RagAnswer_TrackingId" /> TrackingId

Unique identifier for this answer. Used for correlating feedback to answers

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

#### Property Value

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

## See Also

[AIAgent](SuperOffice.WebApi.Agents.AIAgent.md)


## Related topics

- [SuperOffice.WebApi.Agents.IAIAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IAIAgent.md)
- [SuperOffice.WebApi.Agents.AIAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.AIAgent.md)
- [SuperOffice.WebApi.Data.AI AnswerRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.AI_AnswerRequest.md)
- [SuperOffice.WebApi.Data.AI AnswerUsingContextRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.AI_AnswerUsingContextRequest.md)
- [SuperOffice.WebApi.Data.RagStatus](/en/api/reference/webapi/SuperOffice.WebApi.Data.RagStatus.md)
- [SuperOffice.WebApi.Data.RagType](/en/api/reference/webapi/SuperOffice.WebApi.Data.RagType.md)
