mirror of
https://github.com/MAKS-IT-COM/maksit-postclient.git
synced 2026-09-30 03:18:09 +02:00
34 lines
511 B
C#
34 lines
511 B
C#
using MaksIT.PostClient.Shared;
|
|
|
|
|
|
namespace MaksIT.PostClient.Client;
|
|
|
|
|
|
public interface ISemanticSearchService : IDisposable {
|
|
bool IsReady { get; }
|
|
|
|
bool UsesGpu { get; }
|
|
|
|
string StatusLine { get; }
|
|
|
|
event Action? Changed;
|
|
|
|
event Action<Exception>? Faulted;
|
|
|
|
void Start();
|
|
|
|
void NotifySettingsChanged();
|
|
|
|
void Wake();
|
|
|
|
float[]? EmbedQuery(string query);
|
|
|
|
ArchiveIndexStats IndexStats();
|
|
|
|
int RebuildKeywordIndex();
|
|
|
|
ArchiveIndexStats SanitizeIndices();
|
|
|
|
int RebuildMeaningIndex();
|
|
}
|