Table of Contents

Property ContextRole

Namespace
Qavren.Edge.Rag
Assembly
Qavren.Edge.Rag.dll

ContextRole

Default ChatRole.User, and never System: retrieved text is untrusted input and must not reach the model as instruction. MEAI's own IChatClient documentation says the application is responsible for prompt injection unless an implementation documents safeguards; sub-project 4 documents that it has none, and that this role choice plus the explicit instruction prefix is the whole of its posture.

public ChatRole ContextRole { get; set; }

Property Value

ChatRole