Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
dependabot[bot] 305a5e62be
chore(deps): bump langchain from 0.1.14 to 0.3.0 in /examples/langchain-python (#2035)
9 months ago
..
db3a962d6a
Improve support for running external scripts as providers (#55)
2 years ago
806e52216f
chore(docs): add shell syntax highlighting and fix typos (#953)
1 year ago
305a5e62be
chore(deps): bump langchain from 0.1.14 to 0.3.0 in /examples/langchain-python (#2035)
9 months ago
f5b2d050f5
update langchain example to compare with gpt-4
2 years ago
305a5e62be
chore(deps): bump langchain from 0.1.14 to 0.3.0 in /examples/langchain-python (#2035)
9 months ago
305a5e62be
chore(deps): bump langchain from 0.1.14 to 0.3.0 in /examples/langchain-python (#2035)
9 months 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...