-
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] 필요한 protobuf 파일 정의 #5
Conversation
jyoo0515
commented
Feb 15, 2024
- api 윤곽을 잡기 위해 protobuf 작업부터 올립니다
- Articulation: 문장 구사 연습
- Pronunciation: 발음 구사 연습
- History 는 type 을 받으면 그 타입만, 안받으면 모든 타입 섞어서 내려주는걸 생각중
proto/articulation.proto
Outdated
message ContextDTO { | ||
int32 id = 1; | ||
string image_url = 2; | ||
} |
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.
그때 예시 봤을 때 이미지 + 이미지를 보고 답할 수 있는 질문들 구성인 것 같은데 질문도 같이 내려줘야할지도?
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.
그러고보니 우리의 귀요미 캐릭터 동영상은 어떻게 하기로 했었죠?...
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.
그건 일단 패스...
proto/articulation.proto
Outdated
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.
articulation의 의미가 문장 구사보다는 발음 명료성에 가까운 거 같아서 다른 워딩을 쓰는 게 좋지 않을까 생각!
(formation, contextual feedback 등...?)
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.
이름 바꿨습니당
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.
Topic, Articulation(w/ scene), Pronunciation(w/ sentence) 구조보다는
Topic(Scene, Sentence), Feedback(Communication, Pronunciation)는 어떤가용
proto/articulation.proto
Outdated
// information for articulation practice | ||
message SceneDTO { | ||
int32 id = 1; | ||
string image_url = 2; |
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.
question도 필요할 듯!
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.
proto/topic.proto
Outdated
repeated SentenceDTO sentences = 4; | ||
repeated SceneDTO scenes = 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.
여기서 전체 sentence나 scene을 내려주기보단 sentenceIds, sceneIds를 내려주고 클라이언트에서 id로 step마다 id 하나씩 get 요청하는 게 나을 것 같아
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.
id 로 변경!
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.
타입 int 로 맞춤
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.
firestore 에서 데이터 넣다 보니까 id 가 다 string 이라 string 으로 통일함
7d682c2
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.
LGTM! 🪨
proto/feedback.proto
Outdated
|
||
message CommunicationFeedbackDTO { | ||
string scene_id = 1; | ||
string overall_feedback = 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.
여기는 일부로 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.
복붙 이슈..
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.
Co-authored-by: namoo (Ian) <[email protected]>