Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

README.md 380 B

You have to be logged in to leave a comment. Sign In

This example shows how to run a Python (LangChain) chain implementation with Promptfoo. It compares GPT-4 versus LangChain's LLM Math module.

To run it, first create a virtual env and install the requirements:

Then activate the virtual env.

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Then run the eval:

npx promptfoo eval
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...