|
751 | 751 | "properties": { |
752 | 752 | "file_data": { |
753 | 753 | "type": "string", |
754 | | - "description": "可访问的文件URL或者base64, 只支持四种类型txt / pdf / doc / docx, 单文件不超过100MB、200页,总数不超过20个。type为file时必填。" |
| 754 | + "description": "可访问的文件URL或者base64, 只支持四种类型txt / pdf / doc / docx / json / md / xml, 单文件不超过100MB、200页,总数不超过20个。type为file时必填。" |
755 | 755 | } |
756 | 756 | } |
757 | 757 | } |
|
1104 | 1104 | "title": "Tool Memroy Limit Number", |
1105 | 1105 | "description": "限定返回的工具记忆条数,用于控制召回的工具记忆个数,仅在 include_tool_memory=true 时生效。不传时使用系统默认值6,最大值为25。", |
1106 | 1106 | "default": 6 |
| 1107 | + }, |
| 1108 | + "include_skill": { |
| 1109 | + "type": "boolean", |
| 1110 | + "title": "Include Skill", |
| 1111 | + "description": "是否启用技能(Skill)召回。开启后,系统会根据查询内容智能召回工具相关的记忆。不传时该功能默认关闭。" |
| 1112 | + }, |
| 1113 | + "skill_limit_number": { |
| 1114 | + "type": "number", |
| 1115 | + "title": "Include Skill", |
| 1116 | + "description": "限定返回的技能(Skill)条数,用于控制召回的技能个数,仅在 include_skill=true 时生效。不传时使用系统默认值6,最大值为25。" |
1107 | 1117 | } |
1108 | 1118 | }, |
1109 | 1119 | "title": "SearchMemoryRequest" |
|
1335 | 1345 | }, |
1336 | 1346 | "title": "ToolMemoryDetail" |
1337 | 1347 | }, |
| 1348 | + "SkillValue": { |
| 1349 | + "type": "object", |
| 1350 | + "properties": { |
| 1351 | + "name": { |
| 1352 | + "type": "string", |
| 1353 | + "title": "Name", |
| 1354 | + "description": "技能 Skill 的名称,用于展示与识别该能力。" |
| 1355 | + }, |
| 1356 | + "description": { |
| 1357 | + "type": "string", |
| 1358 | + "title": "Description", |
| 1359 | + "description": "技能 Skill 的描述。" |
| 1360 | + }, |
| 1361 | + "procedure": { |
| 1362 | + "type": "string", |
| 1363 | + "title": "Procedure", |
| 1364 | + "description": "完成该任务的推荐流程或操作步骤。" |
| 1365 | + }, |
| 1366 | + "experience": { |
| 1367 | + "type": "array", |
| 1368 | + "title": "Experience", |
| 1369 | + "items": { |
| 1370 | + "type": "string" |
| 1371 | + }, |
| 1372 | + "description": "来自历史任务的经验沉淀,包括最佳实践、常见误区与避坑建议。" |
| 1373 | + }, |
| 1374 | + "preference": { |
| 1375 | + "type": "array", |
| 1376 | + "title": "Preference", |
| 1377 | + "items": { |
| 1378 | + "type": "string" |
| 1379 | + }, |
| 1380 | + "description": "用户在该类任务中的偏好设定,例如风格、约束条件或优先级。" |
| 1381 | + }, |
| 1382 | + "examples": { |
| 1383 | + "type": "array", |
| 1384 | + "title": "Examples", |
| 1385 | + "items": { |
| 1386 | + "type": "string" |
| 1387 | + }, |
| 1388 | + "description": "该技能 Skill 的典型使用示例,帮助 Agent 理解输入输出形式与使用边界。" |
| 1389 | + }, |
| 1390 | + "script": { |
| 1391 | + "type": "object", |
| 1392 | + "title": "Script", |
| 1393 | + "description": "用于完成该 Skill 的可复用代码脚本或逻辑实现。" |
| 1394 | + }, |
| 1395 | + "others": { |
| 1396 | + "type": "object", |
| 1397 | + "title": "Others", |
| 1398 | + "description": "其他补充信息。" |
| 1399 | + } |
| 1400 | + } |
| 1401 | + }, |
| 1402 | + "SkillDetail": { |
| 1403 | + "type": "object", |
| 1404 | + "properties": { |
| 1405 | + "id": { |
| 1406 | + "type": "string", |
| 1407 | + "title": "ID", |
| 1408 | + "description": "技能 Skill 的唯一标识符,系统内部用于区分不同的记忆条目。" |
| 1409 | + }, |
| 1410 | + "skill_value": { |
| 1411 | + "type": "object", |
| 1412 | + "title": "Skill Value", |
| 1413 | + "description": "技能 Skill 的具体内容。", |
| 1414 | + "items": { |
| 1415 | + "$ref": "#/components/schemas/SkillValue" |
| 1416 | + } |
| 1417 | + }, |
| 1418 | + "skill_url": { |
| 1419 | + "type": "string", |
| 1420 | + "title": "Skill Url", |
| 1421 | + "description": "技能 Skill 的下载链接,下载为可复用的技能实现或配置文件。" |
| 1422 | + }, |
| 1423 | + "skill_type": { |
| 1424 | + "type": "string", |
| 1425 | + "title": "Skill Type", |
| 1426 | + "description": "技能 Skill 的类型。" |
| 1427 | + }, |
| 1428 | + "create_time": { |
| 1429 | + "type": "string", |
| 1430 | + "title": "Create Time", |
| 1431 | + "description": "技能 Skill 内容创建的时间,通常为 ISO 8601 格式。" |
| 1432 | + }, |
| 1433 | + "conversation_id": { |
| 1434 | + "type": "string", |
| 1435 | + "title": "Conversation ID", |
| 1436 | + "description": "与该技能 Skill 关联的会话的唯一标识符。" |
| 1437 | + }, |
| 1438 | + "status": { |
| 1439 | + "type": "string", |
| 1440 | + "title": "Status", |
| 1441 | + "description": "技能 Skill 的状态,当前所有检索到的技能 Skill 都是 activated。activated:激活状态,当前可检索和使用的技能 Skill 。", |
| 1442 | + "enum": [ |
| 1443 | + "activated" |
| 1444 | + ] |
| 1445 | + }, |
| 1446 | + "confidence": { |
| 1447 | + "type": "number", |
| 1448 | + "title": "Confidence", |
| 1449 | + "description": "技能 Skill 的置信度分数,范围 0~1,数值越接近 1 表示该技能 Skill 越准确可靠。\n置信度分数会随着模型对该技能 Skill 的推理次数增加而逐渐衰减,用于反映技能 Skill 随着时间或使用频率可能产生的不确定性。" |
| 1450 | + }, |
| 1451 | + "tags": { |
| 1452 | + "type": "array", |
| 1453 | + "items": { |
| 1454 | + "type": "string" |
| 1455 | + }, |
| 1456 | + "description": "与技能 Skill 相关的标签列表,用于分类、检索或主题标记。数组中的每个元素都是string,例如 [\"人物\", \"事件\", \"工作\"]。" |
| 1457 | + }, |
| 1458 | + "update_time": { |
| 1459 | + "type": "string", |
| 1460 | + "title": "Update Time", |
| 1461 | + "description": "技能 Skill 最后一次被修改或更新的时间,通常为 ISO 8601 格式" |
| 1462 | + }, |
| 1463 | + "relativity": { |
| 1464 | + "type": "string", |
| 1465 | + "title": "Relativity", |
| 1466 | + "description": "查询内容与该技能 Skill 的相关性分数,范围 0~1,数值越接近 1 表示越相关。" |
| 1467 | + } |
| 1468 | + }, |
| 1469 | + "title": "SkillDetail" |
| 1470 | + }, |
1338 | 1471 | "SearchMemoryResponseData": { |
1339 | 1472 | "type": "object", |
1340 | 1473 | "title": "SearchMemoryResponseData", |
|
1367 | 1500 | "type": "string", |
1368 | 1501 | "title": "Preference Note", |
1369 | 1502 | "description": "召回偏好记忆时,返回的偏好使用说明。" |
| 1503 | + }, |
| 1504 | + "skill_detail_list": { |
| 1505 | + "type": "array", |
| 1506 | + "title": "Skill Detail List", |
| 1507 | + "description": "返回的技能 Skill 详情列表。", |
| 1508 | + "items": { |
| 1509 | + "$ref": "#/components/schemas/SkillDetail" |
| 1510 | + } |
1370 | 1511 | } |
1371 | 1512 | } |
1372 | 1513 | }, |
|
2010 | 2151 | "content": { |
2011 | 2152 | "type": "string", |
2012 | 2153 | "title": "Content", |
2013 | | - "description": "文档内容输入方式支持 URL 或 Base64 编码,可上传的文档类型包括:PDF、DOCX、DOC、TXT。" |
| 2154 | + "description": "文档内容输入方式支持 URL 或 Base64 编码,可上传的文档类型包括:PDF、DOCX、DOC、TXT、JSON、MD、XML。" |
2014 | 2155 | } |
2015 | 2156 | } |
2016 | 2157 | } |
|
0 commit comments