Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(js): Add method to get size of annotation queue #1377

Merged

Conversation

tendev-liam
Copy link
Contributor

This PR introduces functionality to use the LangSmith JS SDK to retrieve the total number of runs in an annotation queue.

I came across the following endpoints in the LangSmith API documentation (Redoc link) but am unsure which one is appropriate for this purpose:

/api/v1/annotation-queues/{queue_id}/total_size
/api/v1/annotation-queues/{queue_id}/size

@tendev-liam tendev-liam changed the title feat: Add method to get size of annotation queue feat-js: Add method to get size of annotation queue Jan 6, 2025
@jacoblee93 jacoblee93 changed the title feat-js: Add method to get size of annotation queue feat(js): Add method to get size of annotation queue Jan 7, 2025
Copy link
Collaborator

@jacoblee93 jacoblee93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

LGTM - CC @hinthornw

@jacoblee93 jacoblee93 merged commit bd48aeb into langchain-ai:main Jan 7, 2025
11 of 12 checks passed
@tendev-liam tendev-liam deleted the feat-js/add-annnotation-queue-size branch January 7, 2025 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants