@sagentic-ai/sagentic-af / MessageRole
MessageRole ​
Role of a message
Enumeration Members ​
Assistant ​
ts
Assistant: "assistant";
Prompt sent by assistant i.e. going from OpenAI to us
Source ​
System ​
ts
System: "system";
System prompt, only allowed once in a conversation, in the beginning
Source ​
Tool ​
ts
Tool: "tool";
Tool response
Source ​
User ​
ts
User: "user";
Prompt sent by user i.e. going from us to OpenAI