| | |
| | | }); |
| | | }; |
| | | |
| | | export const GetHistoryGroups = async (params, req: any = request) => { |
| | | |
| | | export const GetHistoryGroups = async (params, req:any = request) => { |
| | | return req({ |
| | | url: '/history/get_history_groups', |
| | | method: 'POST', |
| | | data: params, |
| | | headers: { |
| | | 'Content-Type': 'application/x-www-form-urlencoded', |
| | | }, |
| | | url: "/history/get_history_groups", |
| | | method: "POST", |
| | | data: params, |
| | | headers: { |
| | | 'Content-Type': 'application/x-www-form-urlencoded', |
| | | }, |
| | | }); |
| | | }; |
| | | |
| | | export const QueryHistoryGroup = async (params, req: any = request) => { |
| | | |
| | | |
| | | |
| | | |
| | | export const DeleteHistoryGroups = async (params, req:any = request) => { |
| | | return req({ |
| | | url: '/history/query_history_detail', |
| | | method: 'POST', |
| | | data: params, |
| | | headers: { |
| | | 'Content-Type': 'application/x-www-form-urlencoded', |
| | | }, |
| | | url: "/history/delete_history_group", |
| | | method: "POST", |
| | | data: params, |
| | | headers: { |
| | | 'Content-Type': 'application/x-www-form-urlencoded', |
| | | }, |
| | | }); |
| | | }; |
| | | // 获取AI对话测试例子列表 |
| | | |
| | | |
| | | |
| | | export const QueryHistoryGroup = async (params, req:any = request) => { |
| | | return req({ |
| | | url: "/history/query_history_detail", |
| | | method: "POST", |
| | | data: params, |
| | | headers: { |
| | | 'Content-Type': 'application/x-www-form-urlencoded', |
| | | }, |
| | | }); |
| | | }; |
| | | |
| | | // 获取AI对话测试例子列表 |
| | | export const getSelectSample = async (params, req: any = request) => { |
| | | return req({ |
| | | url: '/section/get_section_sample', |
| | |
| | | 'Content-Type': 'application/x-www-form-urlencoded', |
| | | }, |
| | | }); |
| | | }; |
| | | }; |
| | | |
| | | |
| | | export const GetHistoryAnswer= async (params, req:any = request) => { |
| | | return req({ |
| | | url: "/history/get_history_answer", |
| | | method: "POST", |
| | | data: params, |
| | | headers: { |
| | | 'Content-Type': 'application/x-www-form-urlencoded', |
| | | }, |
| | | }); |
| | | }; |
| | | |
| | | |
| | | export const QueryHistoryDetail = async (params, req:any = request) => { |
| | | return req({ |
| | | url: "/history/query_history_detail", |
| | | method: "POST", |
| | | data: params, |
| | | headers: { |
| | | 'Content-Type': 'application/x-www-form-urlencoded', |
| | | }, |
| | | }); |
| | | }; |