Skip to content

Commit

Permalink
[Security solution] AI Assistant Evals - maxConcurrency: 5 (#192225)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephmilovic authored Sep 5, 2024
1 parent 3e312c3 commit bbc9245
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,8 @@ export const postEvaluateRoute = (
evaluators: [], // Evals to be managed in LangSmith for now
experimentPrefix: name,
client: new Client({ apiKey: langSmithApiKey }),
// prevent rate limiting and unexpected multiple experiment runs
maxConcurrency: 5,
});
logger.debug(`runResp:\n ${JSON.stringify(evalOutput, null, 2)}`);
});
Expand Down

0 comments on commit bbc9245

Please sign in to comment.