mirror of
https://github.com/MAKS-IT-COM/maksit-postclient.git
synced 2026-09-30 03:18:09 +02:00
33 lines
486 B
C#
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();
|
|
}
|