AI-Studio/app/MindWork AI Studio/Provider/IMessageBase.cs

14 lines
459 B
C#
Raw Normal View History

2025-12-28 13:10:20 +00:00
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; }
}