Class Message
- Namespace
- FoundationaLLM.Common.Models.Conversation
- Assembly
- FoundationaLLM.Common.dll
The message object.
public record Message : IEquatable<Message>
- Inheritance
-
Message
- Implements
- Inherited Members
- Extension Methods
Properties
AnalysisResults
A list of results from the analysis.
public List<AnalysisResult>? AnalysisResults { get; set; }
Property Value
AttachmentDetails
Contains the details of the attachments. This is not stored in the database.
[JsonIgnore]
public List<AttachmentDetail>? AttachmentDetails { get; set; }
Property Value
Attachments
One or more attachments included with the orchestration request. The values should be the Object ID of the attachment(s).
[JsonPropertyName("attachments")]
public List<string>? Attachments { get; init; }
Property Value
CompletionPromptId
The identifier for the completion prompt associated with the message.
public string? CompletionPromptId { get; set; }
Property Value
Content
The content of the message.
[JsonPropertyName("content")]
public List<MessageContent>? Content { get; set; }
Property Value
ContentArtifacts
The sources associated with the completion prompt.
public ContentArtifact[]? ContentArtifacts { get; set; }
Property Value
Deleted
Deleted flag used for soft delete.
public bool Deleted { get; set; }
Property Value
ExpectedCompletion
Stores the expected completion for the message and used for evaluating the actual vs. expected agent completion. This should be stored in the agent response.
public string? ExpectedCompletion { get; set; }
Property Value
Id
The unique identifier.
public string Id { get; set; }
Property Value
OperationId
The optional identifier of the long-running operation.
[JsonPropertyName("operation_id")]
public string? OperationId { get; set; }
Property Value
Remarks
The operation id will be set only for messages that are part of a long-running operation.
Rating
The rating associated with the message, if any.
public bool? Rating { get; set; }
Property Value
- bool?
RatingComments
The comments associated with the rating.
public string? RatingComments { get; set; }
Property Value
Sender
The sender of the message.
public string Sender { get; set; }
Property Value
SenderDisplayName
The display name of the message sender. This could be the name of the signed in user or the name of the agent.
public string? SenderDisplayName { get; set; }
Property Value
SessionId
The Partition key.
public string SessionId { get; set; }
Property Value
Status
The status of the long-running operation.
[JsonPropertyName("status")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public OperationStatus Status { get; set; }
Property Value
Text
The text content of the message.
public string Text { get; set; }
Property Value
TextRewrite
The optional rewrite of the text content of the message.
public string? TextRewrite { get; set; }
Property Value
TimeStamp
The timestamp when the message was created.
public DateTime TimeStamp { get; set; }
Property Value
Tokens
The number of tokens associated with the message, if any.
public int Tokens { get; set; }
Property Value
Type
The type of the message.
public string Type { get; set; }
Property Value
UPN
The UPN of the user who created the chat session.
public string UPN { get; set; }
Property Value
Vector
The vector associated with the message.
public float[]? Vector { get; set; }
Property Value
- float[]