Class WMLLMConversationRecord
Represents a record of a conversation
Inherited Members
Namespace: Quantellia.WMServer.Asset.LLM
Assembly: WMServer.dll
Syntax
public class WMLLMConversationRecord : IDbEntity, IWMEntity
Properties
CreatedBy
ID of the user that created this entity.
Declaration
public string CreatedBy { get; set; }
Property Value
Type | Description |
---|---|
string |
CreatedDate
Date and time this entity was last updated.
Declaration
public DateTime CreatedDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
ID
The ID of this conversation record
Declaration
public string ID { get; set; }
Property Value
Type | Description |
---|---|
string |
LLMID
The ID of the LLM this conversation was run under
Declaration
public string LLMID { get; set; }
Property Value
Type | Description |
---|---|
string |
LastUpdatedBy
ID of the user that last updated this entity.
Declaration
public string LastUpdatedBy { get; set; }
Property Value
Type | Description |
---|---|
string |
LastUpdatedDate
Date and time at which this entity was last updated.
Declaration
public DateTime LastUpdatedDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Messages
A serialized form of the exchanged messages
Declaration
public string Messages { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
AddMessage(Message)
Adds a message to the list to be serialized to the database
Declaration
public void AddMessage(WMLLMConversationRecord.Message message)
Parameters
Type | Name | Description |
---|---|---|
WMLLMConversationRecord.Message | message |