langsmith-sdk
langsmith-sdk copied to clipboard
Issue: Cannot query multiple runs at `/feedback?run=`
Issue you'd like to raise.
The docs state we can query all feedback by an array of runs:
listFeedback({ runIds, feedbackKeys, feedbackSourceTypes, }?: {
runIds?: string[];
feedbackKeys?: string[];
feedbackSourceTypes?: FeedbackSourceType[];
}): AsyncIterable<Feedback>;
However, running
langsmithClient.listFeedback({ runIds: [id1, id2] }))
returns a 422 Unprocessable Entity
. I get the same results if I query the API endpoint directly, using a comma-separated set of UUIDs.
Everything works swimmingly if I query one run at a time; however, this leads to way too many requests for what I'm doing, so it seems better to support the batch functionality as documented.
Thanks!
Suggestion:
No response