20 lines
526 B
C#
20 lines
526 B
C#
using System;
|
|
using xAiModels.Models.Entities;
|
|
using xDataService.GraphQL;
|
|
|
|
namespace xAiModels.Providers.GraphQL
|
|
{
|
|
public class XAiMessageGraphType: XBaseGraphObjectType<XAiMessage, Guid>
|
|
{
|
|
public XAiMessageGraphType() : base()
|
|
{
|
|
Field(x => x.Role);
|
|
Field(x => x.OwnerId);
|
|
Field(x => x.Content);
|
|
Field(x => x.Metadata);
|
|
Field(x => x.CreatedOn);
|
|
Field(x => x.UpdatedAt);
|
|
Field(x => x.ConversationId);
|
|
}
|
|
}
|
|
} |