Skip to content
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

Closed
wants to merge 4 commits into from

Conversation

C-limlim
Copy link
Member

  • sentence와 sentence feedback 담당 proto 분리
  • 오디오파일 전송은 todo로 작서
  • lint룰에 맞게 수정

Copy link
Member

@jyoo0515 jyoo0515 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

파일 마지막에 newline 만 추가해주세요~

@C-limlim
Copy link
Member Author

파일 마지막에 newline 만 추가해주세요~

bc5986a @jyoo0515

Copy link
Member

@namooplus namooplus left a 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
Copy link
Member

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 정의하는 것도 가능합니다~!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jyoo0515 reserved 6; 어떻게 생각하시나요?

Comment on lines +8 to +9
int32 speed_score = 3;
int32 volume_score = 4;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

요거는 각각 1이면 느리다/작다, 5면 빠르다/크다 정도(1~5)로 내려오는 걸까용

Copy link
Member Author

@C-limlim C-limlim Jan 28, 2024

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 로 내려오면 언급한대로 내려올듯요!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

그럼 이건 조금 홀드해둘까요

@jyoo0515 jyoo0515 closed this Feb 23, 2024
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.

3 participants