Skip to content

Commit c86f41f

Browse files
committed
Test promptfoo with real paper
1 parent 75e10f9 commit c86f41f

File tree

3 files changed

+755
-0
lines changed

3 files changed

+755
-0
lines changed

server/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@
1919
"@types/multer": "^1.4.12",
2020
"@types/node": "^22.7.6",
2121
"@types/sqlite3": "^3.1.11",
22+
"cross-env": "^7.0.3",
2223
"jest": "^29.7.0",
2324
"nodemon": "^3.1.7",
25+
"promptfoo": "^0.103.13",
2426
"ts-jest": "^29.2.5",
2527
"ts-node": "^10.9.2",
2628
"typescript": "^5.6.3"

server/test/promptfooconfig.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
description: "Radiation Researcher"
2+
3+
prompts:
4+
- file://prompts.txt
5+
6+
providers:
7+
- id: openai:gpt-4o-mini
8+
config:
9+
temperature: 0
10+
max_tokens: 128

0 commit comments

Comments
 (0)