# MentorConversationChange class

> The MentorConversationChange class of Novior.MentorAgent.Rag: The conversation of a session changed: what came before is no longer the conversation. A source…

- URL: https://docs.mentoragent.net/api/novior-mentoragent-rag/mentorconversationchange
- Verified with: MentorAgent 1.4.0
- Last updated: 2026-11-18
- Packages: Novior.MentorAgent

The conversation of a session changed: what came before is no longer the conversation. A source that keeps state for a conversation — what it showed, a running filter, a cursor — clears it.

A class with init-only properties rather than a parameter list, so that what it says can grow without breaking a source that already implements the method.

## Definition

Namespace: `Novior.MentorAgent.Rag`. Package: `Novior.MentorAgent`.

`public sealed class MentorConversationChange`

```shell
dotnet add package Novior.MentorAgent
```

## Constructors

`public MentorConversationChange()`

## Properties

### `Reason`

`public required MentorConversationChangeReason Reason { get; init; }`

Why it changed.

### `SessionId`

`public string? SessionId { get; init; }`

The session whose conversation changed, the same id the action decisions carry; `null` where a host has none. A singleton source keys its state on it; a scoped one is already the session's.

### `TenantId`

`public string? TenantId { get; init; }`

The session's tenant, as [`MentorRagRequest.TenantId`](https://docs.mentoragent.net/api/novior-mentoragent-rag/mentorragrequest#tenantid); `null` for a single tenant.

---

- Previous: [IMentorRagSource interface](https://docs.mentoragent.net/api/novior-mentoragent-rag/imentorragsource.md)
- Next: [MentorConversationChangeReason enum](https://docs.mentoragent.net/api/novior-mentoragent-rag/mentorconversationchangereason.md)
