Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public String getRole() {
@PrePersist
public void setDefault(){
this.emergencyTarget = "119";
this.ttsSpeed = 50.0;
this.ttsSpeed = 1.0;
this.ttsLanguage = "ko";
this.ttsGender = "female";
this.isAcceptedLocationInfo = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public AiRcmdRes getAiRcmd(MultipartFile file, String metadataJson, Long normalI
conversation.getConversations()
).orElse(new ArrayList<>());

if(req.getChoose() != null && req.getSttMessage() != null) {
if(req.getChoose() != null) {
tracking.addFirst(req.getChoose());
}

Expand All @@ -98,7 +98,7 @@ public AiRcmdRes getAiRcmd(MultipartFile file, String metadataJson, Long normalI
.toList();

// AI 서버로 보낼 요청 객체 (ToAiReq) 생성
// sttMessage는 현재 턴에서는 AI 서버가 파일로부터 생성하므로 null로 설정
// sttMessage는 AI 서버가 파일로부터 생성하므로 null로 설정
ToAiReq toAiReq = ToAiReq.builder()
.keywords(req.getKeywords())
.context(req.getContext())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ public class GetContextReq {
private List<String> keywords;
private String context;
private String choose;
private String sttMessage; // 사용자가 음성으로 입력한 mp3 파일을 서버에서 텍스트로 변환(STT)한 결과값. 추천 문장 생성에 활용됨.
}