mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-28 03:14:18 +08:00
(improvement)(common) support zhipu in springboot (#1190)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package dev.langchain4j.zhipu.spring;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
class ChatModelProperties {
|
||||
|
||||
String baseUrl;
|
||||
String apiKey;
|
||||
Double temperature;
|
||||
Double topP;
|
||||
String model;
|
||||
Integer maxRetries;
|
||||
Integer maxToken;
|
||||
Boolean logRequests;
|
||||
Boolean logResponses;
|
||||
}
|
||||
Reference in New Issue
Block a user