-
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.
- Loading branch information
1 parent
964308a
commit 7c7d3f2
Showing
5 changed files
with
39 additions
and
7 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
schedule/src/main/java/itcast/ai/dto/request/GPTSummaryRequest.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 |
---|---|---|
@@ -1,8 +1,17 @@ | ||
package itcast.ai.dto.request; | ||
|
||
import lombok.Builder; | ||
|
||
|
||
public record GPTSummaryRequest( | ||
String model, | ||
Message message, | ||
float temperature | ||
) { | ||
@Builder | ||
public GPTSummaryRequest(String model, Message message, float temperature) { | ||
this.model = model; | ||
this.message = message; | ||
this.temperature = temperature; | ||
} | ||
} |
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
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