Comments (2)
Thanks for the report. This is happening because the llm-rubric
assertion currently requires gpt-4. I'll aim to get a fix in tonight or tomorrow
from promptfoo.
Your best bet is to use gpt-3.5-turbo and override the rubric grader. As of 0.19.3, you can do this in one of several ways:
- Using the
--grader
CLI option:promptfoo eval --grader openai:gpt-3.5-turbo
- Using
test.options
ordefaultTest.options
on a per-test or testsuite basis:defaultTest: options: provider: gpt-3.5-turbo tests: - description: Use LLM to evaluate output assert: - type: llm-rubric value: Is spoken like a pirate
- Using
assertion.provider
on a per-assertion basis:tests: - description: Use LLM to evaluate output assert: - type: llm-rubric value: Is spoken like a pirate provider: gpt-3.5-turbo
from promptfoo.
Related Issues (20)
- "[FAIL] Error: Invalid provider definition for output type 'text'" when using model-graded metrics HOT 6
- How to leave `{{x}}` in prompt template when `x` is not a variable? HOT 2
- Local Models on Promptfoo HOT 2
- Error: spawn python ENOENT when user try to run promptfoo with python:provider HOT 2
- `eval` successfully done but error code is not 0 HOT 2
- Assert `FAIL` due to `Error: spawn E2BIG` HOT 5
- Selectively Hide `Variables` Column in View HOT 1
- Support tool use assertions for Claude HOT 2
- Type names and field names cannot be a keyword: 'pass' HOT 4
- Show Result with Virtualization HOT 3
- Still Getting `E2BIG` Error HOT 4
- Support Cloudflare Workers AI HOT 1
- `Cannot GET /` Error in View page HOT 6
- Share button in UI doesn't go to self-hosted url HOT 4
- Feature Request: Aggregate and/or Calculated Metrics HOT 3
- Specify description for custom python providers, for display in web ui HOT 2
- Telemetry is enabled even when opted out HOT 1
- How to detect bias and fairness HOT 6
- Bug: search bar in `promptfoo view` HOT 3
- An error occurs in llm-rubric if there is '\n' in the custom provider's output. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from promptfoo.