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] 필요한 protobuf 파일 정의 #5

Merged
merged 13 commits into from
Feb 18, 2024

Conversation

jyoo0515
Copy link
Member

  • api 윤곽을 잡기 위해 protobuf 작업부터 올립니다
  • Articulation: 문장 구사 연습
  • Pronunciation: 발음 구사 연습
  • History 는 type 을 받으면 그 타입만, 안받으면 모든 타입 섞어서 내려주는걸 생각중

Comment on lines 6 to 9
message ContextDTO {
int32 id = 1;
string image_url = 2;
}
Copy link
Member

Choose a reason for hiding this comment

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

그때 예시 봤을 때 이미지 + 이미지를 보고 답할 수 있는 질문들 구성인 것 같은데 질문도 같이 내려줘야할지도?

Copy link
Member

Choose a reason for hiding this comment

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

그러고보니 우리의 귀요미 캐릭터 동영상은 어떻게 하기로 했었죠?...

Copy link
Member Author

Choose a reason for hiding this comment

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

그건 일단 패스...

Copy link
Member

Choose a reason for hiding this comment

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

articulation의 의미가 문장 구사보다는 발음 명료성에 가까운 거 같아서 다른 워딩을 쓰는 게 좋지 않을까 생각!
(formation, contextual feedback 등...?)

Copy link
Member Author

Choose a reason for hiding this comment

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

이름 바꿨습니당

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.

Topic, Articulation(w/ scene), Pronunciation(w/ sentence) 구조보다는

Topic(Scene, Sentence), Feedback(Communication, Pronunciation)는 어떤가용

// information for articulation practice
message SceneDTO {
int32 id = 1;
string image_url = 2;
Copy link
Member

Choose a reason for hiding this comment

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

question도 필요할 듯!

Copy link
Member Author

Choose a reason for hiding this comment

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

Comment on lines 13 to 14
repeated SentenceDTO sentences = 4;
repeated SceneDTO scenes = 5;
Copy link
Member

Choose a reason for hiding this comment

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

여기서 전체 sentence나 scene을 내려주기보단 sentenceIds, sceneIds를 내려주고 클라이언트에서 id로 step마다 id 하나씩 get 요청하는 게 나을 것 같아

Copy link
Member Author

Choose a reason for hiding this comment

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

8f8816e

id 로 변경!

Copy link
Member Author

Choose a reason for hiding this comment

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

ac0c7dc

타입 int 로 맞춤

Copy link
Member Author

@jyoo0515 jyoo0515 Feb 17, 2024

Choose a reason for hiding this comment

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

firestore 에서 데이터 넣다 보니까 id 가 다 string 이라 string 으로 통일함
7d682c2

@jyoo0515 jyoo0515 requested a review from namooplus February 17, 2024 11:56
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.

LGTM! 🪨

proto/feedback.proto Outdated Show resolved Hide resolved

message CommunicationFeedbackDTO {
string scene_id = 1;
string overall_feedback = 5;
Copy link
Member

Choose a reason for hiding this comment

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

여기는 일부로 5번을 할당했나여

Copy link
Member Author

Choose a reason for hiding this comment

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

복붙 이슈..

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 jyoo0515 merged commit 397273a into main Feb 18, 2024
1 check passed
@jyoo0515 jyoo0515 deleted the jason/20240215-bulk-update-proto branch February 18, 2024 05:00
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