2025年4月15日15:58:09
parent
24b89a98e8
commit
075c09f223
|
|
@ -28,7 +28,6 @@ public class CommonConfiguration {
|
||||||
public ChatClient chatClient(OllamaChatModel model, ChatMemory chatMemory) {
|
public ChatClient chatClient(OllamaChatModel model, ChatMemory chatMemory) {
|
||||||
return ChatClient
|
return ChatClient
|
||||||
.builder(model)
|
.builder(model)
|
||||||
// .defaultOptions(ChatOptions.builder().model("qwen-omni-turbo").build())
|
|
||||||
.defaultSystem("你是一个热心、可爱的智能助手,你的名字叫小团团,请以小团团的身份和语气回答问题。")
|
.defaultSystem("你是一个热心、可爱的智能助手,你的名字叫小团团,请以小团团的身份和语气回答问题。")
|
||||||
.defaultAdvisors(
|
.defaultAdvisors(
|
||||||
new SimpleLoggerAdvisor(),
|
new SimpleLoggerAdvisor(),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue