Skip to content

feat: add conversation summary and title generation#9

Merged
liut merged 1 commit intomainfrom
feature/conversation-summary
Mar 11, 2026
Merged

feat: add conversation summary and title generation#9
liut merged 1 commit intomainfrom
feature/conversation-summary

Conversation

@liut
Copy link
Owner

@liut liut commented Mar 11, 2026

  • Add GetSummary function for generating chat title from history
  • Add HistoryItems.ToText() method for converting history to text
  • Add PATCH /conversation/{csid}/title API endpoint
  • Implement Conversation.Save() and CountHistory() methods
  • Add unit tests for ToText and CountHistory
  • Add /api/summary endpoint for text summarization
  • Refine rate limiter key generation with IP + path
  • Adjust default AskRateLimit to 20-H

- Add GetSummary function for generating chat title from history
- Add HistoryItems.ToText() method for converting history to text
- Add PATCH /conversation/{csid}/title API endpoint
- Implement Conversation.Save() and CountHistory() methods
- Add unit tests for ToText and CountHistory
- Add /api/summary endpoint for text summarization
- Refine rate limiter key generation with IP + path
- Adjust default AskRateLimit to 20-H
@liut liut merged commit 2876e29 into main Mar 11, 2026
2 checks passed
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.

1 participant