Skip to content

Commit

Permalink
Use 'evaluator' rather than 'evaluate' in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zachwill committed Feb 27, 2025
1 parent b56fe7e commit f5fd6f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/content/docs/flows/evaluator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ Maximum number of iterations to attempt improvement.
## Example

```ts collapse={12-40}
import { evaluate } from 'flows-ai/flows'
import { evaluator } from 'flows-ai/flows'

const optimizeFlow = evaluate({
const optimizeFlow = evaluator({
input: {
agent: 'writingAgent',
input: 'Write a compelling story'
Expand Down

0 comments on commit f5fd6f0

Please # to comment.