24 lines
494 B
TypeScript
24 lines
494 B
TypeScript
import llm from "../utils/llm"
|
|
|
|
const groupInfo = JSON.stringify([
|
|
{
|
|
id: "oc_ef98c2a9229657f99d4ef573a30fe91c",
|
|
name: "MIAI-FE 人工智能部-前端组",
|
|
},
|
|
{
|
|
id: "oc_433b1cb7a9dbb7ebe70a4e1a59cb8bb1",
|
|
name: "方糖の家",
|
|
},
|
|
])
|
|
|
|
const functionInfo = JSON.stringify([
|
|
{
|
|
id: "summary-qwen-72b-instruct-int4",
|
|
name: "总结消息",
|
|
},
|
|
])
|
|
|
|
const userInput = "方糖说了什么"
|
|
|
|
llm.parseGroupAgentQuery(userInput, groupInfo, functionInfo).then(console.log)
|