Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
Ian Webster d33dea1032
chore: bump langchain version in langchain example
1 month ago
..
db3a962d6a
Improve support for running external scripts as providers (#55)
10 months ago
af994ffbc7
formatting
10 months ago
405f8c7bbc
Send provider options and test context to ScriptCompletion (exec) provider (#268)
6 months ago
f5b2d050f5
update langchain example to compare with gpt-4
10 months ago
95072d7abf
chore: prefer yaml array syntax in examples
6 months ago
d33dea1032
chore: bump langchain version in langchain example
1 month ago

README.md

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...