Table of Contents

Class ConversationTurn

Namespace
Mythosia.AI.Rag
Assembly
Mythosia.AI.Rag.Abstractions.dll

A lightweight representation of a single conversation turn (user or assistant). Used by IQueryRewriter to provide conversation context for rewriting queries into retrieval-ready form without depending on Mythosia.AI's Message class.

public class ConversationTurn
Inheritance
ConversationTurn
Inherited Members

Constructors

ConversationTurn(string, string)

public ConversationTurn(string role, string content)

Parameters

role string
content string

Properties

Content

The text content of this turn.

public string Content { get; }

Property Value

string

Role

The role of the speaker: "user" or "assistant".

public string Role { get; }

Property Value

string