-
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.
## 변경사항 ''' Content type 'application/json;charset=UTF-8' not supported ''' 와 같은 문제로 ChatCompletionResponse로 convert를 못하던 문제를 해결..! record 내부에 중첩으로 record를 선언해서 생긴 문제 같음. ## 고려사항 ## Comment ## Test ## 질문사항 Signed-off-by: Unan <[email protected]>
- Loading branch information
Showing
9 changed files
with
25 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
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
3 changes: 3 additions & 0 deletions
3
offroad-external/src/main/java/site/offload/external/hyperclova/AiFilter.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,3 @@ | ||
package site.offload.external.hyperclova; | ||
|
||
public record AiFilter(String groupName, String name, int score) {} |
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
3 changes: 3 additions & 0 deletions
3
offroad-external/src/main/java/site/offload/external/hyperclova/Message.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,3 @@ | ||
package site.offload.external.hyperclova; | ||
|
||
public record Message(String role, String content) {} |
5 changes: 5 additions & 0 deletions
5
offroad-external/src/main/java/site/offload/external/hyperclova/Result.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,5 @@ | ||
package site.offload.external.hyperclova; | ||
|
||
import java.util.List; | ||
|
||
public record Result(Message message, String stopReason, int inputLength, int outputLength, List<AiFilter> aiFilter) {} |
7 changes: 7 additions & 0 deletions
7
offroad-external/src/main/java/site/offload/external/hyperclova/Status.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,7 @@ | ||
package site.offload.external.hyperclova; | ||
|
||
public record Status( | ||
String code, | ||
String message | ||
) { | ||
} |