Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: line chart eval #9

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,17 @@ export default tseslint.config(
rules: {},
},

//
// evaluations scripts file linting
//
{
languageOptions: {
globals: {
...globals.node,
},
},
},

// after all eslint plugins configs to override, see https://github.com/prettier/eslint-config-prettier
// @ts-ignore
prettierConfig,
Expand Down
8 changes: 8 additions & 0 deletions evaluations/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# tools
node_modules
.DS_Store

# assets
package-lock.json
config.local.json

19 changes: 19 additions & 0 deletions evaluations/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
## knowledge evaluation

## 生成提示词

```bash
npm run prompt
```

## 生成测评数据

```bash
npm run eval:data column
```

## 生成指标

```bash
npm run eval:metrics column
```
7 changes: 7 additions & 0 deletions evaluations/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"agent": {
"url": "https://chat.your-agent.com",
"headers": {},
"data": {}
}
}
430 changes: 430 additions & 0 deletions evaluations/datastes/chart/line/eval.json

Large diffs are not rendered by default.

470 changes: 470 additions & 0 deletions evaluations/datastes/chart/line/metrics.json

Large diffs are not rendered by default.

Loading
Loading