13 lines
611 B
C#
13 lines
611 B
C#
using Journal.Core.Dtos;
|
|
|
|
namespace Journal.Core.Services;
|
|
|
|
public interface IAiService
|
|
{
|
|
Task<AiHealthDto> HealthAsync(CancellationToken cancellationToken = default);
|
|
Task<string> SummarizeEntryAsync(string content, string? fileStem = null, CancellationToken cancellationToken = default);
|
|
Task<string> SummarizeAllAsync(IReadOnlyList<string> entries, CancellationToken cancellationToken = default);
|
|
Task<string> ChatAsync(string prompt, CancellationToken cancellationToken = default);
|
|
Task<IReadOnlyList<double>> EmbedAsync(string content, CancellationToken cancellationToken = default);
|
|
}
|