Add chat actor to schedule run query for user at specified times

- Detect when user intends to schedule a task, aka reminder
  Add new output mode: reminder. Add example of selecting the reminder
  output mode
- Extract schedule time (as cron timestring) and inferred query to run
  from user message
- Use APScheduler to call chat with inferred query at scheduled time
- Handle reminder scheduling from both websocket and http chat requests

- Support constructing scheduled task using chat history as context
  Pass chat history to scheduled query generator for improved context
  for scheduled task generation
This commit is contained in:
Debanjum Singh Solanky
2024-03-12 02:59:32 +05:30
parent 9e068fad4f
commit c11742f443
7 changed files with 175 additions and 6 deletions

View File

@@ -79,6 +79,7 @@ dependencies = [
"websockets == 12.0",
"psutil >= 5.8.0",
"huggingface-hub >= 0.22.2",
"apscheduler ~= 3.10.0",
]
dynamic = ["version"]