mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-21 14:14:19 +08:00
30 lines
785 B
Java
30 lines
785 B
Java
package dev.langchain4j.qianfan.spring;
|
|
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
import org.springframework.boot.context.properties.NestedConfigurationProperty;
|
|
|
|
@Getter
|
|
@Setter
|
|
@ConfigurationProperties(prefix = Properties.PREFIX)
|
|
public class Properties {
|
|
|
|
static final String PREFIX = "langchain4j.qianfan";
|
|
|
|
@NestedConfigurationProperty
|
|
ChatModelProperties chatModel;
|
|
|
|
@NestedConfigurationProperty
|
|
ChatModelProperties streamingChatModel;
|
|
|
|
@NestedConfigurationProperty
|
|
LanguageModelProperties languageModel;
|
|
|
|
@NestedConfigurationProperty
|
|
LanguageModelProperties streamingLanguageModel;
|
|
|
|
@NestedConfigurationProperty
|
|
EmbeddingModelProperties embeddingModel;
|
|
}
|