update messages

This commit is contained in:
jinli.yl 2025-07-29 11:22:06 +08:00
parent bb36f378c7
commit 495fe904a4
6 changed files with 13 additions and 4 deletions

View file

@ -523,7 +523,7 @@ import requests
response = requests.post(url="http://0.0.0.0:8001/vector_store", json={
"workspace_id": "appworld_v1",
"action": "load",
"path": "./experience_library/",
"path": "./library/",
})
print(f"loading result result={response.json()}")
@ -539,7 +539,7 @@ curl -X POST "http://0.0.0.0:8001/vector_store" \
-d '{
"workspace_id": "appworld_v1",
"action": "load",
"path": "./experience_library/"
"path": "./library/"
}'
```
</details>

1
library/bfcl_v1.jsonl Normal file
View file

@ -0,0 +1 @@
{"workspace_id": "bfcl_8b_0725", "experience_id": "dd0b9a452acc4d85a8ebd519976a01ab", "experience_type": "text", "when_to_use": "When interacting with APIs that require authentication and multiple steps to retrieve data.", "content": "Always verify the API documentation for required parameters and response structures before executing code. Missing or incorrect parameters can lead to failed API calls.", "score": null, "metadata": {"author": "qwen3-8b", "created_time": "2025-07-24 21:15:17", "modified_time": "2025-07-24 21:15:17", "extra_info": null}}

View file

@ -263,7 +263,7 @@
// GitHub API configuration
const GITHUB_USER = 'modelscope';
const REPO_NAME = 'ExperienceMaker';
const EXPERIENCE_FOLDER = 'experience_library';
const EXPERIENCE_FOLDER = 'library';
// DOM elements
const loadingEl = document.getElementById('loading');
@ -305,10 +305,12 @@
try {
showLoading();
const baseUrl = `https://raw.githubusercontent.com/${GITHUB_USER}/${REPO_NAME}/main/${EXPERIENCE_FOLDER}`;
// const baseUrl = `https://raw.githubusercontent.com/${GITHUB_USER}/${REPO_NAME}/main/${EXPERIENCE_FOLDER}`;
const baseUrl = `./`;
const knownFiles = [
'appworld_v1.jsonl',
'bfcl_v1.jsonl',
// 在这里添加你的其他 JSONL 文件名
];

View file

@ -37,5 +37,11 @@ where = ["."]
include = ["experiencemaker*"]
exclude = ["cookbook*"]
[tool.setuptools.package-data]
experiencemaker = [
"config/*.yaml",
"op/**/*.yaml",
]
[project.scripts]
experiencemaker = "experiencemaker.app:main"