(improvement)(common) support dashscope in springboot (#1192)

This commit is contained in:
lexluo09
2024-06-22 16:39:32 +08:00
committed by GitHub
parent 3d0183095b
commit 782d4ead9e
7 changed files with 181 additions and 3 deletions

View File

@@ -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;
}