feat: 新建AI评估执行节点
This commit is contained in:
parent
85be4085b8
commit
a6aa3cc514
@ -7,8 +7,8 @@ VITE_APP_ENV = 'development'
|
||||
# 招商车研物联网平台/开发环境
|
||||
VITE_APP_BASE_API = '/dev-api'
|
||||
|
||||
VITE_API_URL = http://192.168.0.100:13080
|
||||
VITE_WS_URL = ws://192.168.0.100:13080/ws
|
||||
VITE_API_URL = http://192.168.0.10:13080
|
||||
VITE_WS_URL = ws://192.168.0.10:13080/ws
|
||||
# VITE_API_URL = http://10.148.108.95:13080 //杨溪IP
|
||||
# VITE_API_URL = http://10.148.108.58:13080 //赵培利IP
|
||||
|
||||
|
||||
@ -171,21 +171,8 @@ const handleInputKeydown = (e) => {
|
||||
e.returnValue = true; // 允许默认粘贴行为
|
||||
}
|
||||
}
|
||||
// const svgModules = import.meta.glob('../icon/*.svg', { eager: true });
|
||||
// console.log('svgModules', svgModules)
|
||||
// const imageUrl = computed(async () => {
|
||||
// if (props.icon && props.icon.startsWith('/src/')) {
|
||||
// const modules = await import(`${props.icon}`);
|
||||
// console.log('modules', modules)
|
||||
// return modules.default
|
||||
|
||||
// } else {
|
||||
// return props.icon;
|
||||
// }
|
||||
// })
|
||||
|
||||
const imageUrl = () => {
|
||||
console.log('props.icon', props.icon)
|
||||
return new URL(props.icon, import.meta.url).href;
|
||||
}
|
||||
</script>
|
||||
|
||||
@ -124,6 +124,16 @@ const expressOptions = () => {
|
||||
}]
|
||||
}
|
||||
|
||||
const taskTypeOptions = () => {
|
||||
return [{
|
||||
value: 'voice',
|
||||
label: '语音交互'
|
||||
}, {
|
||||
value: 'touch',
|
||||
label: '触控交互'
|
||||
}]
|
||||
}
|
||||
|
||||
export const collapseList = [
|
||||
{
|
||||
collapseTitle: "相机",
|
||||
@ -357,7 +367,8 @@ export const collapseList = [
|
||||
outputType: 'json',
|
||||
outputParams: [
|
||||
{ name: 'wakeCorpus', type: 'object', desc: '唤醒语料', children: [], disabled: true},
|
||||
{ name: 'testCorpus', type: 'array<object>', desc: '测试语料数组', children: [], disabled: true}
|
||||
{ name: 'testCorpus', type: 'array<object>', desc: '测试语料数组', children: [], disabled: true},
|
||||
{ name: 'sceneType', type: 'number', desc: '1:唤醒测试,2:单次对话测试,3:连续对话测试', disabled: true }
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -464,4 +475,36 @@ export const collapseList = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
collapseTitle: "AI评估",
|
||||
nodeList: [
|
||||
{
|
||||
icon: expressionSvg,
|
||||
name: "AI评估预处理",
|
||||
type: "serviceNode",
|
||||
desc: "AI评估预处理",
|
||||
action: 'AI_EVALUATION_PRE',
|
||||
nodeType: "AE",
|
||||
nodeParams: [
|
||||
{ name: "taskType", type: "input", input: "", componentType: 'select', selectOptions: taskTypeOptions(), disabled: true },
|
||||
{ name: "wakeCorpus", type: "input", input: "", disabled: true, required: false },
|
||||
{ name: "testCorpus", type: "input", input: "", disabled: true, required: false },
|
||||
{ name: "sceneType", type: "input", input: "", disabled: true, required: false },
|
||||
],
|
||||
outputType: 'json',
|
||||
},
|
||||
{
|
||||
icon: touchSvg,
|
||||
name: "AI评估执行",
|
||||
type: "serviceNode",
|
||||
desc: "AI评估执行",
|
||||
action: 'AI_EVALUATION_END',
|
||||
nodeType: "AE",
|
||||
nodeParams: [
|
||||
{ name: "videoUrl", type: "input", input: "", disabled: true }
|
||||
],
|
||||
outputType: 'json',
|
||||
}
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user