-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from TryOn-A-Virtual-Fitting-Service/develop
[HOTFIX] implement Default Size Recommendation (remove SSE)
- Loading branch information
Showing
7 changed files
with
92 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 20 additions & 10 deletions
30
...tion-server/src/main/java/com/example/webapplicationserver/controller/ChatController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...server/src/main/java/com/example/webapplicationserver/dto/openai/ChatDefaultResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.example.webapplicationserver.dto.openai; | ||
|
||
import lombok.Data; | ||
import java.util.List; | ||
|
||
@Data | ||
public class ChatDefaultResponse { | ||
// Getter, Setter | ||
private List<Choice> choices; | ||
|
||
// Choice 내부 클래스 | ||
@Data | ||
public static class Choice { | ||
private ChatMessage message; | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
...src/main/java/com/example/webapplicationserver/dto/response/chat/ResponseSizeChatDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.example.webapplicationserver.dto.response.chat; | ||
|
||
import com.example.webapplicationserver.dto.openai.ChatDefaultResponse; | ||
import com.example.webapplicationserver.dto.openai.ChatStreamResponse; | ||
|
||
public record ResponseSizeChatDto( | ||
String sizeChat | ||
) { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters