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-feeback proto 추가 #3

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions proto/sentence-feedback.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
syntax = "proto3";

Check failure on line 1 in proto/sentence-feedback.proto

View workflow job for this annotation

GitHub Actions / build

Filename "sentence-feedback.proto" should be lower_snake_case.proto, such as "sentence_feedback.proto".

Check failure on line 1 in proto/sentence-feedback.proto

View workflow job for this annotation

GitHub Actions / build

Files in package "proto" have both values "github.com/gdsc-ys/fluentify-idl/proto" and no value for option "go_package" and all values must be equal.

package proto;

message SentenceFeedbackDTO {
int32 id = 1;
int32 pronouncation_score = 2;
int32 speed_score = 3;
int32 volume_score = 4;
string feedback_text = 5;
//ToDo: add feedback audio file
}

message GetSentenceFeedbackRequest {
int32 id = 1;
//ToDo: add user voice audio file
}

message GetSentenceFeedbackResponse {
SentenceFeedbackDTO feedback = 1;
}
16 changes: 16 additions & 0 deletions proto/sentence.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
syntax = "proto3";

Check failure on line 1 in proto/sentence.proto

View workflow job for this annotation

GitHub Actions / build

Files in package "proto" have both values "github.com/gdsc-ys/fluentify-idl/proto" and no value for option "go_package" and all values must be equal.

package proto;

message SentenceDTO {
int32 id = 1;
string text = 2;
}

message GetSentenceRequest {
int32 id = 1;
}

message GetSentenceResponse {
SentenceDTO sentence = 1;
}
Loading