mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-29 20:44:25 +08:00
(improvement)(common) support dashscope in springboot (#1192)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package dev.langchain4j.dashscope.spring;
|
||||
|
||||
import java.util.List;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
class ChatModelProperties {
|
||||
|
||||
String baseUrl;
|
||||
String apiKey;
|
||||
String modelName;
|
||||
Double topP;
|
||||
Integer topK;
|
||||
Boolean enableSearch;
|
||||
Integer seed;
|
||||
Float repetitionPenalty;
|
||||
Float temperature;
|
||||
List<String> stops;
|
||||
Integer maxTokens;
|
||||
}
|
||||
Reference in New Issue
Block a user