-
-
Notifications
You must be signed in to change notification settings - Fork 2
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:Update LangSmith API OpenAPI Specification with New Endpoints and Methods #164
Conversation
WalkthroughThe pull request introduces comprehensive updates to the LangSmith API OpenAPI specification, expanding functionality across multiple domains. New endpoints have been added to manage annotation queues, service accounts, custom charts, playground settings, model price maps, usage limits, and TTL settings. The changes also include new methods for invoking prompts and prompt canvas in the playground, providing enhanced control and flexibility for API interactions. Changes
Sequence DiagramsequenceDiagram
participant Client
participant LangSmithAPI
participant AnnotationQueue
participant ServiceAccount
Client->>LangSmithAPI: Create Annotation Queue
LangSmithAPI->>AnnotationQueue: Initialize Queue
LangSmithAPI-->>Client: Return Queue Details
Client->>LangSmithAPI: Add Runs to Queue
LangSmithAPI->>AnnotationQueue: Update Queue Runs
LangSmithAPI-->>Client: Confirm Run Addition
Client->>LangSmithAPI: Create Service Account
LangSmithAPI->>ServiceAccount: Generate Account
LangSmithAPI-->>Client: Return Account Details
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
src/libs/LangSmith/openapi.yaml (1)
12402-12405
: LGTM! Consider improving documentation for skip_paginationThe addition of the skip_pagination field to both schemas looks good. However, consider:
- Adding a description to document the behavior when pagination is skipped
- Explicitly specifying a default value (e.g.,
default: false
) for clarityskip_pagination: title: Skip Pagination type: boolean + description: "When true, returns all results without pagination" + default: false nullable: trueAlso applies to: 15429-15432
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (10)
src/libs/LangSmith/Generated/LangSmith.IPublicClient.QuerySharedDatasetRuns.g.cs
is excluded by!**/generated/**
src/libs/LangSmith/Generated/LangSmith.IPublicClient.StatsSharedDatasetRuns.g.cs
is excluded by!**/generated/**
src/libs/LangSmith/Generated/LangSmith.IRunClient.QueryRuns.g.cs
is excluded by!**/generated/**
src/libs/LangSmith/Generated/LangSmith.IRunClient.StatsRuns.g.cs
is excluded by!**/generated/**
src/libs/LangSmith/Generated/LangSmith.Models.BodyParamsForRunSchema.g.cs
is excluded by!**/generated/**
src/libs/LangSmith/Generated/LangSmith.Models.FilterQueryParamsForRunSchema.g.cs
is excluded by!**/generated/**
src/libs/LangSmith/Generated/LangSmith.PublicClient.QuerySharedDatasetRuns.g.cs
is excluded by!**/generated/**
src/libs/LangSmith/Generated/LangSmith.PublicClient.StatsSharedDatasetRuns.g.cs
is excluded by!**/generated/**
src/libs/LangSmith/Generated/LangSmith.RunClient.QueryRuns.g.cs
is excluded by!**/generated/**
src/libs/LangSmith/Generated/LangSmith.RunClient.StatsRuns.g.cs
is excluded by!**/generated/**
📒 Files selected for processing (1)
src/libs/LangSmith/openapi.yaml
(2 hunks)
Summary by CodeRabbit