Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
Michael f2d23ac32f
fix(providers): openai function tool callbacks handling (#1648)
11 months ago
..
f2d23ac32f
fix(providers): openai function tool callbacks handling (#1648)
11 months ago
f2d23ac32f
fix(providers): openai function tool callbacks handling (#1648)
11 months ago

README.md

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

Function Tool Callbacks Example

This example demonstrates how to use promptfoo to evaluate OpenAI's function calling capabilities with the gpt-4o, utilizing the functionToolCallbacks feature.

Configuration

See promptfooconfig.js for the full configuration, including prompts, provider setup, and test cases.

Running the Example

promptfoo eval -c [path to examples/function-tools-callback/]promptfooconfig.js

For more details on function calling and OpenAI tools, refer to:

Tip!

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

Comments

Loading...