-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathILlmService.cs
More file actions
26 lines (18 loc) · 1.04 KB
/
ILlmService.cs
File metadata and controls
26 lines (18 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace TimeTask
{
// ClarityStatus and DecompositionStatus enums are expected to be in the TimeTask namespace,
// typically defined in LlmService.cs or their own files.
public interface ILlmService
{
Task<(string Importance, string Urgency)> GetTaskPriorityAsync(string taskDescription);
Task<(string importance, string urgency)> AnalyzeTaskPriorityAsync(string taskDescription);
Task<(ClarityStatus status, string question)> AnalyzeTaskClarityAsync(string taskDescription);
Task<(DecompositionStatus status, List<string> subtasks)> DecomposeTaskAsync(string taskDescription);
Task<(string reminder, List<string> suggestions)> GenerateTaskReminderAsync(string taskDescription, TimeSpan timeSinceLastModified);
Task<List<ProposedDailyTask>> DecomposeGoalIntoDailyTasksAsync(string goal, string durationString);
Task<string> GetCompletionAsync(string prompt); // General purpose completion method
}
}