-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT] sentence, sentence_feedback proto 추가 #4
Conversation
C-limlim
commented
Jan 28, 2024
- sentence와 sentence feedback 담당 proto 분리
- 오디오파일 전송은 todo로 작서
- lint룰에 맞게 수정
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
파일 마지막에 newline 만 추가해주세요~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 🚀
int32 speed_score = 3; | ||
int32 volume_score = 4; | ||
string feedback_text = 5; | ||
//ToDo: add feedback audio file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://protobuf.dev/programming-guides/proto3/#fieldreserved
reserved 쓰면 미리 property 정의하는 것도 가능합니다~!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jyoo0515 reserved 6; 어떻게 생각하시나요?
int32 speed_score = 3; | ||
int32 volume_score = 4; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
요거는 각각 1이면 느리다/작다, 5면 빠르다/크다 정도(1~5)로 내려오는 걸까용
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
중요한 지적인 것 같아요
- pronouncation_score: api 응답, 확실하진 않지만 0 -5 사이의 정수
- speed_score, volumne_score: 계산으로 도출, range를 정하지 않았음
enum으로 할 수도 있지만 1 - 5 로 나누면 2는 '조금 작음' 일수도 있는데 그게 얼마나 효과적일지 모르겠어서 일단 int32 정의하는거로 했습니다
1 - 5 로 내려오면 언급한대로 내려올듯요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
그럼 이건 조금 홀드해둘까요