From 94cfa1779f7ca9a4d28f76bb9e6770109443fe5d Mon Sep 17 00:00:00 2001 From: jonmatthis Date: Mon, 12 Feb 2024 15:58:51 -0500 Subject: [PATCH] add jsm notes --- Writerside/s.tree | 12 +-- Writerside/topics/2024-02-12-JSM-Notes.md | 105 ++++++++++++++++++++++ Writerside/topics/Development.md | 3 + Writerside/topics/ProjectNotes.md | 2 +- 4 files changed, 116 insertions(+), 6 deletions(-) create mode 100644 Writerside/topics/2024-02-12-JSM-Notes.md create mode 100644 Writerside/topics/Development.md diff --git a/Writerside/s.tree b/Writerside/s.tree index 173d656..b17eae8 100644 --- a/Writerside/s.tree +++ b/Writerside/s.tree @@ -7,10 +7,14 @@ - + + + + - - + + + @@ -18,8 +22,6 @@ - - diff --git a/Writerside/topics/2024-02-12-JSM-Notes.md b/Writerside/topics/2024-02-12-JSM-Notes.md new file mode 100644 index 0000000..bfbdcb2 --- /dev/null +++ b/Writerside/topics/2024-02-12-JSM-Notes.md @@ -0,0 +1,105 @@ +# 2024-02-12-Project-Planning-Notes + +## JSM +### User Stories for SkellyBot Software + +#### Nightly Tasks + +- Configure cron jobs to: + - Send messages to users + - Extract data from a server + - Process stored data +- Configurable via DMs or as an embed in the server + +#### Vector Store Memory + +- Add vector store memory to the bot +- Set context as part of chat functionality configuration + +#### Data Analysis Jobs + +- Analyze gathered data from the server +- Summarize chats and extract tags +- Attach analyses to cron jobs + +#### Data-Based Messaging + +- Send messages based on data from the server +- Run analysis on user data and send reports +- Set message duration and frequency through backend or config file system + +### Developer Perspective on User Stories + +#### Nightly Tasks Implementation + +- Implement a cron job module in the core process + - Trigger independently of any interface +- Configuration through Discord + - Use slash commands or message context commands + - Accept configuration files in JSON or YAML format + - Utilize Discord attachment handler for file loading +- Cron job module to create and track jobs + - Ensure triggering at correct intervals + +#### Vector Store Memory Development + +##### Processing Step + +- Message processing through AI module for: + - Tag extraction + - Summarization + - Vector embedding +- Core database models to include: + - Tags + - Summaries + - Embeddings + +##### Database Integration + +- Processing assumed to be part of database entry route +- Option to trigger processing on the entire database + +##### AI Data Extraction + +- Extract AI data from messages upon changes +- Options for reprocessing: + - Immediate for each change + - Incremental updates + - Utilizing local models for cost efficiency + +##### Retrieval Augmented Generation + +- Set up retrievers as AI tools +- Use large language models to: + - Determine context relevance + - Generate queries from inputs +- Stuff retrieved data into chat context +- Track metadata of extracted documents +- Include sources in the response to users +- Attach retrieval reports to messages in a presentable format + +##### Data Analysis Jobs and Database Messaging + +- Sending processed data to users, channels, or servers + +###### Types of Analyses + +- Volume and structure analyses: + - Counting messages, characters, tokens, chats, channels, servers +- Natural language processing tasks: + - Summarizing chats + - Extracting tags + - Vector store embeddings + - Running prompts for data processing + +##### Summarization and Tag Extraction + +- Raw summarization +- Simple analysis tasks with basic prompts + +##### Analyses Requiring Additional Documents + +- Analyses dependent on external references +- Example: Cron job sending feedback to a student based on rubric progress + - Evaluate student's conversation and assignment data + - Message students about their progress, plan adjustments, or action changes \ No newline at end of file diff --git a/Writerside/topics/Development.md b/Writerside/topics/Development.md new file mode 100644 index 0000000..25188c2 --- /dev/null +++ b/Writerside/topics/Development.md @@ -0,0 +1,3 @@ +# Development + +Start typing here... \ No newline at end of file diff --git a/Writerside/topics/ProjectNotes.md b/Writerside/topics/ProjectNotes.md index afce018..615b82e 100644 --- a/Writerside/topics/ProjectNotes.md +++ b/Writerside/topics/ProjectNotes.md @@ -1,4 +1,4 @@ -# Project Notes +# 2023-12-31 Project Notes ## Services: ### [Discord](Discord)