Skip to content

Conversation

@dbieber
Copy link
Owner

@dbieber dbieber commented Apr 18, 2025

Summary

  • Added LLM-based typo correction to clean up notes while preserving personality expressions
  • Added session summarization with importance rating, reading time, and #tags

Implementation details

  1. When a note is submitted, a background thread uses assistant_commands.chat_completion to clean up obvious typos in the note, while preserving expressions that convey personality or certainty.
  2. When a session ends, a background thread summarizes the session and updates the top-level message, including importance rating, reading time estimate, and relevant keyword #tags.

Original task

In the slack uploader, let's add some LLM-based functionality: (1) each time a note is submitted, start a thread in the background that uses assistant_commands.chat_completion to clean up any obvious typos in the note (it should clean up typos that don't convey character or information, but typos that convey personality or level of certainty like Hrmmm... should be left alone); once the LLM returns the clean version of the note, it should update the note in slack. (2) When a session ends, start a thread that uses assistant_commands.chat_completion to get an update to the top-level message for that session. The updated top-level message should summarize the session. Then on a final stand-alone line it should provide an estimate of the importance of the session, how long it will take to read, and any keyword #tags characterizing the session

🤖 Generated with Claude Code

dbieber and others added 3 commits April 18, 2025 23:34
…ader

- Added background thread to correct typos while preserving character/personality expressions
- Added session summarization on session end with importance rating, reading time, and #tags
- Used threading for non-blocking LLM processing

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
- Removed redundant _first_message_ts attribute
- Fixed thread_ts reference in end_session
- Cleaned up whitespace formatting

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants