|
|
@@ -1,13 +1,11 @@
|
|
|
-package edu.nju.software.aipaasagent;
|
|
|
+package edu.nju.software.aipaasagent.agent.model;
|
|
|
|
|
|
import jakarta.annotation.Resource;
|
|
|
-import org.springframework.ai.chat.client.ChatClient;
|
|
|
import org.springframework.ai.chat.messages.AssistantMessage;
|
|
|
import org.springframework.ai.chat.model.ChatModel;
|
|
|
-import org.springframework.ai.chat.model.ChatResponse;
|
|
|
import org.springframework.ai.chat.prompt.Prompt;
|
|
|
import org.springframework.boot.CommandLineRunner;
|
|
|
-import org.springframework.stereotype.Component;
|
|
|
+
|
|
|
/**
|
|
|
* dashscopeChatModel AI 调用测试类
|
|
|
* 添加 @Component 注释即可在 SpringBoot 项目启动时执行
|