Class ConversationTurn
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
Properties
Content
The text content of this turn.
public string Content { get; }
Property Value
Role
The role of the speaker: "user" or "assistant".
public string Role { get; }