AuthorBuddy/Services/IOllamaService.cs

14 lines
331 B
C#
Raw Normal View History

2026-05-16 16:13:35 +02:00
2026-05-14 12:31:35 +02:00
using AuthorBuddy.Web.Models;
namespace AuthorBuddy.Web.Services;
public interface IOllamaService
{
2026-05-16 16:13:35 +02:00
Task<IEnumerable<LLM_Model>> GetLocalModelsAsync();
Task<bool> PullModelAsync(string modelName, IProgress<string> progress);
2026-05-17 07:27:18 +02:00
Task<string> QuickSpellCheckAsync(string text);
2026-05-16 16:13:35 +02:00
void Reconfigure(string ollamaUrl);
2026-05-14 12:31:35 +02:00
}