Skip to content

Commit

Permalink
docs: line chart eval
Browse files Browse the repository at this point in the history
  • Loading branch information
lvisei committed Nov 19, 2024
1 parent 04175c3 commit d619f09
Show file tree
Hide file tree
Showing 38 changed files with 4,534 additions and 0 deletions.
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

0 comments on commit d619f09

Please sign in to comment.