fix usage of Enrichers and Dto Structures ...
This commit is contained in:
@@ -1,22 +1,11 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using xAiModels.Models.Dtos;
|
||||
using xDataService.Interfaces;
|
||||
|
||||
namespace xAiModels.Interfaces.Enrichers
|
||||
{
|
||||
public interface IXAiConversationEnricher
|
||||
{
|
||||
Task EnrichAsync(
|
||||
XAiConversationDto source,
|
||||
XAiConversationDto destination,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
|
||||
Task<IEnumerable<XAiConversationDto>> EnrichRangeAsync(
|
||||
IEnumerable<XAiConversationDto> sources,
|
||||
IEnumerable<XAiConversationDto> destinations,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
}
|
||||
/// <summary>
|
||||
/// Ai Conversation Enricher ...
|
||||
/// </summary>
|
||||
public interface IXAiConversationEnricher : IXBaseEnricher<XAiConversationDto, XAiConversationDto>
|
||||
{ }
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using xAiModels.Models.Dtos;
|
||||
using xDataService.Interfaces;
|
||||
|
||||
namespace xAiModels.Interfaces.Enrichers
|
||||
{
|
||||
public interface IXAiMessageEnricher : IXBaseEnricher<XAiMessageDto, XAiMessageDto>
|
||||
{ }
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using xAiModels.Models.Dtos;
|
||||
using xDataService.Interfaces;
|
||||
|
||||
namespace xAiModels.Interfaces.Enrichers
|
||||
{
|
||||
public interface IXAiProjectEnricher : IXBaseEnricher<XAiProjectDto, XAiProjectDto>
|
||||
{ }
|
||||
}
|
||||
Reference in New Issue
Block a user