feat:Add new endpoints for resource management in LangSmith API#109
feat:Add new endpoints for resource management in LangSmith API#109github-actions[bot] merged 1 commit intomainfrom
Conversation
WalkthroughThe pull request introduces significant updates to the LangSmith API by adding numerous new endpoints for managing various resources. These include annotation queues, custom charts, playground settings, service accounts, tags, usage limits, TTL settings, prompts, and workspaces. Each resource management feature includes methods for creating, updating, deleting, and retrieving data, thereby expanding the API's functionality and control over these elements. Changes
Possibly related PRs
Suggested reviewers
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (1)
src/libs/LangSmith/openapi.yaml (1)
15175-15180: Enhance the dataset_splits property documentation and validation.The
dataset_splitsproperty would benefit from additional OpenAPI schema attributes to improve documentation and validation:dataset_splits: title: Dataset Splits type: array items: type: string + description: "The name of a dataset split (e.g., 'train', 'test', 'validation')" + enum: ["train", "test", "validation"] nullable: true + description: "List of dataset splits to process. Common values include 'train', 'test', and 'validation'." + example: ["train", "test"] + minItems: 1This enhancement:
- Adds descriptions to improve API documentation
- Provides examples to guide API consumers
- Suggests common split names through an enum
- Ensures at least one split is specified when the array is not null
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
⛔ Files ignored due to path filters (8)
src/libs/LangSmith/Generated/LangSmith.DatasetsClient.DatasetHandler.g.csis excluded by!**/generated/**src/libs/LangSmith/Generated/LangSmith.DatasetsClient.StreamDatasetHandler.g.csis excluded by!**/generated/**src/libs/LangSmith/Generated/LangSmith.IDatasetsClient.DatasetHandler.g.csis excluded by!**/generated/**src/libs/LangSmith/Generated/LangSmith.IDatasetsClient.StreamDatasetHandler.g.csis excluded by!**/generated/**src/libs/LangSmith/Generated/LangSmith.ILangSmithApi.Health.g.csis excluded by!**/generated/**src/libs/LangSmith/Generated/LangSmith.LangSmithApi.Health.g.csis excluded by!**/generated/**src/libs/LangSmith/Generated/LangSmith.Models.HealthApiV1HealthGetResponse.g.csis excluded by!**/generated/**src/libs/LangSmith/Generated/LangSmith.Models.PlaygroundRunOverDatasetRequestSchema.g.csis excluded by!**/generated/**
📒 Files selected for processing (1)
- src/libs/LangSmith/openapi.yaml (1 hunks)
Summary by CodeRabbit
These updates provide users with more control and flexibility over their data and settings within the application.