maksit-postclient/src/MaksIT.PostClient.Client/Search/ISemanticSearchService.cs

33 lines
486 B
C#

namespace MaksIT.PostClient.Client.Search;
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();
}