SecMethodAiAgent.java
362 Bytes
package com.xly.agent;
import dev.langchain4j.service.*;
public interface SecMethodAiAgent {
@SystemMessage("{{sSystemPrompt}}")
@UserMessage("用户输入:{{userInput}}")
Result<String> choiceMethod(
@MemoryId String userId,
@V("userInput") String userInput,
@V("sSystemPrompt") String sSystemPrompt
);
}