[Security solution] AI Assistant Evals - maxConcurrency: 5 (#192225)

This commit is contained in:
Steph Milovic 2024-09-05 16:31:52 -06:00 committed by GitHub
parent 3e312c3e3c
commit bbc9245235
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)}`);
});