last ...
This commit is contained in:
@@ -5,17 +5,30 @@ using System.Threading.Tasks;
|
||||
using AutoMapper;
|
||||
using xAiModels.Models.Dtos;
|
||||
using xAiModels.Models.Entities;
|
||||
using xIdentityService.Interfaces;
|
||||
|
||||
namespace xAiModels.Configurations.Entities
|
||||
{
|
||||
public class XAiConversationMappingAction : IMappingAction<XAiConversation, XAiConversationDto>
|
||||
{
|
||||
private readonly IXIdentityProvider identityProvider;
|
||||
|
||||
public XAiConversationMappingAction(
|
||||
IXIdentityProvider identityProvider
|
||||
)
|
||||
{
|
||||
this.identityProvider = identityProvider;
|
||||
}
|
||||
|
||||
public void Process(
|
||||
XAiConversation source,
|
||||
XAiConversationDto destination,
|
||||
ResolutionContext context
|
||||
)
|
||||
{
|
||||
//
|
||||
// Retrieve Owner ...
|
||||
// Retrieve Project Info ...
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,11 +5,21 @@ using System.Threading.Tasks;
|
||||
using AutoMapper;
|
||||
using xAiModels.Models.Dtos;
|
||||
using xAiModels.Models.Entities;
|
||||
using xIdentityService.Interfaces;
|
||||
|
||||
namespace xAiModels.Configurations.Entities
|
||||
{
|
||||
public class XAiMessageMappingAction : IMappingAction<XAiMessage, XAiMessageDto>
|
||||
{
|
||||
private readonly IXIdentityProvider identityProvider;
|
||||
|
||||
public XAiMessageMappingAction(
|
||||
IXIdentityProvider identityProvider
|
||||
)
|
||||
{
|
||||
this.identityProvider = identityProvider;
|
||||
}
|
||||
|
||||
public void Process(
|
||||
XAiMessage source,
|
||||
XAiMessageDto destination,
|
||||
|
||||
@@ -5,11 +5,21 @@ using System.Threading.Tasks;
|
||||
using AutoMapper;
|
||||
using xAiModels.Models.Dtos;
|
||||
using xAiModels.Models.Entities;
|
||||
using xIdentityService.Interfaces;
|
||||
|
||||
namespace xAiModels.Configurations.Entities
|
||||
{
|
||||
public class XAiProjectMappingAction : IMappingAction<XAiProject, XAiProjectDto>
|
||||
{
|
||||
private readonly IXIdentityProvider identityProvider;
|
||||
|
||||
public XAiProjectMappingAction(
|
||||
IXIdentityProvider identityProvider
|
||||
)
|
||||
{
|
||||
this.identityProvider = identityProvider;
|
||||
}
|
||||
|
||||
public void Process(
|
||||
XAiProject source,
|
||||
XAiProjectDto destination,
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
using xAiModels.Constants;
|
||||
using xAiModels.Models;
|
||||
|
||||
namespace xAiModels.Configurations
|
||||
@@ -10,13 +11,18 @@ namespace xAiModels.Configurations
|
||||
public XAiModelDescriptor[] Models { get; set; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// Each User must Has a Default Project ...
|
||||
/// Each User must Has a Default Project, this is Title Resource Identifier ...
|
||||
/// </summary>
|
||||
public string DefaultProjectResource { get; set; }
|
||||
public string DefaultProjectTitleResource { get; set; } = XAiModelsConstants.DefaultXAiProjectTitleResourceID;
|
||||
|
||||
/// <summary>
|
||||
/// Each User must Has a Default Conversation ...
|
||||
/// Each User must Has a Default Project, this is Description Resource Identifier ...
|
||||
/// </summary>
|
||||
public string DefaultConversationResource { get; set; }
|
||||
public string DefaultProjectDescriptionResource { get; set; } = XAiModelsConstants.DefaultXAiProjectDescriptionResourceID;
|
||||
|
||||
/// <summary>
|
||||
/// Each User must Has a Default Conversation, this is Title Resource Identifier ... ...
|
||||
/// </summary>
|
||||
public string DefaultConversationTitleResource { get; set; } = XAiModelsConstants.DefaultXAiConversationTitleResourceID;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user