feat(coding): add model tools and device packages
This commit is contained in:
@@ -1,66 +0,0 @@
|
||||
{
|
||||
"schemaVersion": 2,
|
||||
"pluginId": "makelore.web-search",
|
||||
"contractVersion": 1,
|
||||
"scope": "project",
|
||||
"runtime": {
|
||||
"kind": "platform_hosted",
|
||||
"protocol": "makelore-hosted.v1"
|
||||
},
|
||||
"skills": [
|
||||
{
|
||||
"id": "makelore-web-search",
|
||||
"entry": "../skills/makelore-web-search/SKILL.md",
|
||||
"grants": ["web-search.search"]
|
||||
}
|
||||
],
|
||||
"tools": [
|
||||
{
|
||||
"name": "makelore_web_search",
|
||||
"label": "Search the web",
|
||||
"description": "Search the current web through MakeLore and return a grounded answer with sources.",
|
||||
"capabilityId": "web-search.search",
|
||||
"operation": "search",
|
||||
"roles": ["parent"],
|
||||
"mutation": "read",
|
||||
"projectWriteLease": false,
|
||||
"permissions": ["hosted.web-search.search"],
|
||||
"executionMode": "synchronous",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["query", "confirmed"],
|
||||
"properties": {
|
||||
"query": {"type": "string", "minLength": 1, "maxLength": 2000},
|
||||
"confirmed": {"type": "boolean"}
|
||||
}
|
||||
},
|
||||
"outputSchema": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["answer", "sources", "searchQueries"],
|
||||
"properties": {
|
||||
"answer": {"type": "string", "minLength": 1, "maxLength": 16000},
|
||||
"sources": {
|
||||
"type": "array",
|
||||
"maxItems": 20,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["title", "url"],
|
||||
"properties": {
|
||||
"title": {"type": "string", "minLength": 1, "maxLength": 500},
|
||||
"url": {"type": "string", "minLength": 1, "maxLength": 2048}
|
||||
}
|
||||
}
|
||||
},
|
||||
"searchQueries": {
|
||||
"type": "array",
|
||||
"maxItems": 8,
|
||||
"items": {"type": "string", "minLength": 1, "maxLength": 500}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
||||
"name": "makelore.web-search",
|
||||
"version": "1.0.0",
|
||||
"description": "Search the current web through MakeLore and return a grounded answer with sources",
|
||||
"author": {
|
||||
"name": "MakeLore"
|
||||
},
|
||||
"extensions": {
|
||||
"com.makelore": {
|
||||
"capabilityManifest": "./com.makelore/capability.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
---
|
||||
name: makelore-web-search
|
||||
description: 当用户需要当前或外部网页信息且现有上下文不足时使用;搜索会消耗 Token Point,调用前必须说明并取得对本次准确查询的确认。
|
||||
---
|
||||
|
||||
# MakeLore 联网搜索
|
||||
|
||||
此 Skill 只使用 `makelore.web-search` 提供的 `makelore_web_search` 工具。不要请求、
|
||||
保存或展示 Provider 凭据、模型、地址或内部请求标识,也不要直接调用第三方接口。
|
||||
|
||||
## 搜索流程
|
||||
|
||||
1. 只有问题需要当前或外部网页信息、而现有上下文不足时才搜索;能从已有上下文回答时不要调用。
|
||||
2. 先明确将发送的准确查询,说明成功搜索会消耗 Token Point,并等待用户确认。
|
||||
3. 确认后只用同一个 logical operation 调用一次 `makelore_web_search`;不得为了自动重试改写查询或生成新的 logical operation。
|
||||
4. 只根据工具实际返回的 `answer`、`sources` 和 `searchQueries` 回答;引用应紧邻其支持的事实,不能虚构或补写来源。
|
||||
|
||||
## 不确定结果
|
||||
|
||||
- `submission_unknown`:结果不可用且提交状态未知。说明状态,不得自动重试。
|
||||
- `receipt_unavailable`:Main 已收到结果但收据不可用。可以使用实际结果,但必须说明收据暂不可用,且不得自动重试。
|
||||
- `pending_review`:可以使用工具返回的实际结果,但必须说明 Token Point 正在人工复核,且不得自动重试。
|
||||
|
||||
## 完成标准
|
||||
|
||||
区分搜索结果与 Token Point receipt;没有 settled receipt 时不得声称计费已最终完成。
|
||||
Reference in New Issue
Block a user