using System; using System.Threading.Tasks; using LightRAG.Core.Abstractions; namespace OnDeviceAgent.AgentCore { public interface ITextEmbedder : IDisposable { bool Ready { get; } float[] EmbedText(string text, bool isQuery = false); Task EmbedTextAsync(string text, bool isQuery = false); EmbeddingFunc AsEmbeddingFunc(IUnityMainThreadDispatcher dispatcher); } }