Skip to content

Commit e4e69e4

Browse files
committed
Merge branch 'chatapi-testing'
2 parents c26f1ff + c86f41f commit e4e69e4

File tree

3 files changed

+754
-0
lines changed

3 files changed

+754
-0
lines changed

server/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"cross-env": "^7.0.3",
2323
"jest": "^29.7.0",
2424
"nodemon": "^3.1.7",
25+
"promptfoo": "^0.103.13",
2526
"ts-jest": "^29.2.5",
2627
"ts-node": "^10.9.2",
2728
"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)