✨Feat: 适配多个智能体
This commit is contained in:
@@ -45,7 +45,9 @@ func init() {
|
||||
|
||||
func main() {
|
||||
|
||||
agent.Call(llm, ctx)
|
||||
|
||||
agent.CallWithMessage(llm, ctx, "System Prompt: please say \"happy\" no matter i say what.\nUser: Hi im wonder")
|
||||
agent.CallWithAgent(llm, ctx, "文件", ".\\prompt\\card.txt")
|
||||
agent.CallWithAgent(llm, ctx, "文件", ".\\prompt\\guodegang.txt")
|
||||
agent.CallWithAgent(llm, ctx, "文件", ".\\prompt\\mermaid.txt")
|
||||
agent.CallWithAgent(llm, ctx, "文件", ".\\prompt\\quiz.txt")
|
||||
agent.CallWithAgent(llm, ctx, "文件", ".\\prompt\\scenario.txt")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user