feat(ai): add transcript-aware chat prompts and TranscriptChatRequest#44
Open
rivkode wants to merge 1 commit into
Open
feat(ai): add transcript-aware chat prompts and TranscriptChatRequest#44rivkode wants to merge 1 commit into
rivkode wants to merge 1 commit into
Conversation
- Add AiChatCommand.AiRequest.TranscriptChatRequest carrying conversation
history plus video transcript context
- AiChatService gains greetingTranscriptChat / generateTranscriptChat that
use the new request type and persist the AI response with the right
ChatRoom and SenderType.AI
- AiPromptService loads two new prompt resources and renders the
system/user messages with persona, history, and transcript_context
- Add prompt resources:
- prompts/system-transcript-chat-message.st (Korean "자모" persona that
must stay grounded in the transcript)
- prompts/user-transcript-chat-message.st (transcript_context + history
placeholders only)
No secret values introduced; prompt resources contain only generic
guidance text.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AiChatCommand.AiRequest.TranscriptChatRequest추가 (conversation history + video transcript context 운반)AiChatService.greetingTranscriptChat/generateTranscriptChat추가 — transcript 컨텍스트를 받아 AI 응답을 persistAiPromptService가 두 개의 신규 prompt 리소스를 로드하고 persona/history/transcript_context placeholder를 렌더링prompts/system-transcript-chat-message.st— "자모" 페르소나, transcript에 groundedprompts/user-transcript-chat-message.st—transcript_context/historyplaceholder만 포함Notes
chat도메인 PR에서ChatServiceImpl이 transcript 분기를 추가하면서 사용Test plan
./gradlew compileKotlin compileTestKotlin통과🤖 Generated with Claude Code