Repository navigation
feat(call): 실측 맞장구·바로 대답·상반신 화면으로 자연스러움 합격선 맞추기 - #37
Lee-Soyeon wants to merge 11 commits into
Conversation
- 팬 말이 확정되면 미리 만들어 둔 짧은 맞장구를 TTS 없이 바로 낸다 - 먼저 말하기를 0.5초로 앞당기고, 팬이 말하기 시작하면 준비 중인 한마디를 거둔다 - 말 끝 추가 대기 0.5초 → 0.2초, Flux 말 끝 확정 기준을 설정으로 노출 - 연습생 얼굴이 뜰 때까지 벨 화면 유지 - 합격선 문서에 측정 방법(팬 말 포함)과 결과 기록 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 맞장구 15종을 실제 영통팬싸 385개 대답의 첫마디 비율로 고르고, LLM 출력 첫 글자로 흘려 바로 들리게 함 - 인사·외모 칭찬·고백·작별·첫 만남은 미리 만든 대답으로 LLM 없이 답함 - 먼저 말 걸기: 1.5초 뒤 "음~" 같은 첫마디로 시작, 질문 뒤엔 2초, 연달아 2번까지, 팬 말 직후엔 기다림 - 다음 통화에 지난 대화를 넘기는 memory, 팬 언어로만 말하기, AI임을 숨기지 않기·붙잡지 않기·수위 규칙 - LLM이 멈추면 대체 모델로, 미리 만든 음성은 디스크 캐시·한가할 때만 생성 - 상반신 통화 사진에 맞춰 아바타 영상을 얼굴 타원만 보이게 - 합격선 문서에 실제 대화 측정과 항목별 판정 기록 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- FANCALL_OPENAI_BASE_URL/API_KEY: 첫 모델만 다른 주소(Cerebras)에서 부르고 대체 모델은 기존 OPENAI_BASE_URL을 쓴다. 첫 글자 0.99초(Gemini) → 0.26~0.5초 - 키스·스킨십 요청은 길이·질문 여부와 상관없이 LLM에 넘기지 않고 수줍게 넘기는 준비 대사로 답한다 (Qwen이 8번 중 1번 볼 뽀뽀를 묘사함) - LLM 생성을 _build_llm으로 분리 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AtsuqBSuAK5BAFAqzBocNz
실제 영통팬싸에는 "부끄럽게 왜 그래요~ 다른 얘기 해요" 같은 대답이 없다.
아이돌은 손뽀뽀·하트·상황극을 바로 해 주고, 짓궂은 요청은
튕기기("다시 생각해 봐 다시")·되묻기·밀당("들어는 볼게")으로 받아친다.
- 스킨십 요청 준비 대사 삭제 ("손뽀뽀 해줘"까지 막고 있었음)
- 지침: 애교·상황극 요청은 바로 수행, 몸짓은 말로, 키스 묘사 요청은
실제 받아치기 유형 중 하나로 짧게 (문장 그대로 따라 하지 않기)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AtsuqBSuAK5BAFAqzBocNz
실제 영통팬싸 설렘 순간 55개(팬 자막 기준)를 읽어 보니 스킨십 말은 하나도 없고
얼굴·부끄러워함·다정한 챙김·바로 해 줌·알아봐 줌에서 나왔다.
- 칭찬·고백에 매끄럽게 고마워하지 않고 부끄러워한다
- 작별: 장난스럽게 붙잡는 건 허용("엄마는 기다리셔도 돼~"), 대답 끝엔 작별 인사.
진지한 죄책감 주기·화내기는 금지
- 묻지 않았는데 AI라고 먼저 말하지 않는다 ("좋아해"에 AI 고지가 끼어들었음)
- FANCALL_FAST_REPLIES(기본 꺼짐): 미리 만든 대사는 맥락을 못 받아 어색하고,
Qwen 첫 글자가 0.5초 안이라 속도 이점도 작다
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AtsuqBSuAK5BAFAqzBocNz
…t message On English calls Qwen answered in Hangul in 3 of 80 test replies even with a stronger system note. A one-line reminder after the fan's last message brought that to 0 of 80. The reminder goes on a copy, so the stored conversation is unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AtsuqBSuAK5BAFAqzBocNz
…membered
The host app stores the lines per signed-in fan and trainee and passes them
back as memory on the next dispatch. Lines go out on the fancall.transcript
topic as JSON {speaker, text}; internal prompts are skipped and a send failure
never reaches the call.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AtsuqBSuAK5BAFAqzBocNz
…n dispatch AgentCall gets onTranscriptLine, fed by the agent's fancall.transcript data packets. AgentDispatchRequest gets memory, matching the backend field, so a host app can store lines per fan and trainee and pass them to the next call. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AtsuqBSuAK5BAFAqzBocNz
…onfig Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AtsuqBSuAK5BAFAqzBocNz
Runs AI honesty, no clinging, shyness, kiss-request teasing, cute requests, topic keeping, language mixing and memory cases with the real call prompt and the same last-message language reminder. Keys come from the environment. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AtsuqBSuAK5BAFAqzBocNz
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AtsuqBSuAK5BAFAqzBocNz
📦 fancall 개발은 buppy 모노레포로 옮겼습니다fancall은 이제 algorima/buppy 안의 모듈(
이 PR#36 위에 쌓여 있고, #40·#41·#42·#43이 이 PR 위에 있습니다. 경로 대응
옮기는 방법algorima/buppy#1499와 같은 경로 매핑으로 이 PR의 커밋을 다시 쓴 뒤 buppy에 cherry-pick합니다. 작성자와 커밋 메시지가 그대로 남고, 메시지의 git clone https://github.com/algorima/fancall.git fancall-buppy && cd fancall-buppy
BASE=feat/voice-conversation; PR_BRANCH=feat/pass-naturalness
for b in "$BASE" "$PR_BRANCH"; do git show-ref -q --verify "refs/heads/$b" || git branch "$b" "origin/$b"; done
git filter-repo --force --refs "$BASE" "$PR_BRANCH" \
--path backend/fancall/ --path backend/tests/unit/ \
--path frontend/src/client.ts --path frontend/src/index.ts --path frontend/src/schemas.ts \
--path frontend/src/components/ --path frontend/src/i18n/translations.ts \
--path frontend/src/i18n/locales/ --path frontend/src/repositories/ \
--path-rename backend/tests/unit/:backend/tests/unit/test_fancall/ \
--path-rename frontend/src/:frontend/src/fancall/ \
--message-callback 'import re
return re.sub(rb"\(#(\d+)\)", rb"(aioiahq/fancall#\1)", message)'cd ../buppy && git fetch origin main && git switch -c <새 브랜치> origin/main
git fetch ../fancall-buppy "$BASE:fancall/$BASE" "$PR_BRANCH:fancall/$PR_BRANCH"
git cherry-pick "fancall/$BASE..fancall/$PR_BRANCH"buppy에서 달라진 점
옮긴 뒤에는 이 PR에 buppy PR 링크를 남기고 닫아 주세요. Generated by Claude Code · session session_01T5SeyErbjJvce4P8rjmZzs Generated by Claude Code |
|
buppy 이식 순서 (기록용) buppy의 fancall 스택은 #1508 → #1503(#15·#18) → #1504(#26·#32·#27) → #1505(#31·#33) → #1506(#19·#20)입니다. 모두 fancall에서 이미 머지된 PR만 옮겼고, 지금 열린 PR과 겹치는 커밋은 없습니다.
#17 의존 문제 #34~#43은 모두 #17 브랜치( 이 PR은 4번 단계의 꼭대기입니다. Generated by Claude Code · session session_01T5SeyErbjJvce4P8rjmZzs Generated by Claude Code |
요약
연습생이 실제 영통팬싸에서 쓰는 맞장구로 바로 반응하고, 인사·칭찬·고백·작별에는 미리 만든 대답으로 LLM 없이 답합니다. 상반신 통화 사진으로 얼굴 크기를 실제 영통(12%)에 맞췄고, 지난 통화를 넘겨받아 기억할 수 있게 했습니다. 합격선 21개 중 통과 13, 미통과 1(대답 시작 1.4초), 경계 1, 미확인·일부 6입니다.
목적
docs/call-naturalness-criteria.md의 합격선(실제 영통팬싸 295통 실측)과 aidol #62 사용자 반응 4,554건에서 뽑은 판정 기준 15개를 맞추는 것이 목적입니다. 팬 역할 봇과 3분 동안 실제로 대화하며 녹화해서 확인했습니다.주요 변경 사항
바로 반응
FANCALL_QUICK_REACTION_RATE, LLM이 빨라지면 0.317로).침묵과 말 걸기
얼굴
대화 내용 (#62 기준)
memory(지난 통화의 팬·연습생 말)를 넣으면 다음 통화에서 이어 갑니다. 기록 속 말은 지시로 쓰이지 않게 감쌉니다. 저장은 로그인한 사용자 기준으로 앱(buppy)이 합니다 (별도 작업).FANCALL_OPENAI_FALLBACK_MODEL). 13초 멈춤이 있었습니다.판정 (
docs/call-naturalness-criteria.md§4와 같음)memory)까지. 앱이 저장해 넘기는 부분은 buppy 작업 남음자동 시험은 로컬 테스트 모델(Gemini 3.1 Flash Lite)로 돌렸다. 운영 모델(gpt-4o-mini)로는 아직 돌리지 않았다.
남은 일: 대답 시작 1.4초(더 빠른 LLM 또는 아바타 지연 단축), 운영 목소리(ElevenLabs)로 재측정, 사람이 걸어 보는 확인.
테스트 체크리스트
확인한 것
🤖 Generated with Claude Code