| | |
| | | import service from "../utils/service.js"; |
| | | import serviceRag from '../utils/serviceRag.js' |
| | | export function getAIMessage(params) { |
| | | //请求地址 |
| | | // return service.get("/v1/chat?message=" + params); |
| | |
| | | export function getV1Fastgpt(params){ |
| | | return service.get("/v1/fastgpt?message=" + params); |
| | | } |
| | | // export function getAgentIntention(params){ |
| | | // return service.post("/api/agent/intention" ,params); |
| | | // } |
| | | export function getAgentIntention(params){ |
| | | return service.post("/api/agent/intention" ,params); |
| | | return service.post("/api/agent/intention2" ,params); |
| | | } |
| | | |
| | | export function getRagAgentIntention(params){ |
| | | return serviceRag.get("/rag" ,{params:params}); |
| | | } |
| | | |
| | | export function getAgentLayerList(params){ |