mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-12 19:01:36 +00:00
14 lines
459 B
C#
14 lines
459 B
C#
|
|
namespace AIStudio.Provider;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// The none-generic base interface for messages exchanged with AI models.
|
||
|
|
/// </summary>
|
||
|
|
public interface IMessageBase
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// Gets the role of the entity sending or receiving the message.
|
||
|
|
/// This property typically identifies whether the entity is acting
|
||
|
|
/// as a user, assistant, or system in the context of the interaction.
|
||
|
|
/// </summary>
|
||
|
|
public string Role { get; init; }
|
||
|
|
}
|