0

compare-claude-vs-gpt (Claude Vs Gpt)

You can run this example with:

Example · مثال

Content

compare-claude-vs-gpt (Claude Vs Gpt)

You can run this example with:

npx promptfoo@latest init --example compare-claude-vs-gpt
cd compare-claude-vs-gpt

Usage

To get started, set your OPENAI_API_KEY and ANTHROPIC_API_KEY environment variables.

Next, edit promptfooconfig.yaml.

Then run:

promptfoo eval

Afterwards, you can view the results by running promptfoo view

Source and license

Source
Promptfoo
Original
promptfoo/promptfoo/examples/compare-claude-vs-gpt
License
MIT