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:Add API Endpoints for Tracer Sessions, Datasets, and Annotation Queues #138

Merged
merged 1 commit into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ partial void ProcessReadExamplesWithRunsResponseContent(
/// <param name="sessionIds"></param>
/// <param name="comparativeExperimentId"></param>
/// <param name="filters"></param>
/// <param name="previewOnly">
/// <param name="preview">
/// Default Value: false
/// </param>
/// <param name="offset">
Expand All @@ -212,7 +212,7 @@ partial void ProcessReadExamplesWithRunsResponseContent(
global::System.Collections.Generic.IList<global::System.Guid> sessionIds,
global::System.Guid? comparativeExperimentId = default,
global::System.Collections.Generic.Dictionary<string, global::System.Collections.Generic.IList<string>>? filters = default,
bool? previewOnly = default,
bool? preview = default,
int? offset = default,
int? limit = default,
global::System.Threading.CancellationToken cancellationToken = default)
Expand All @@ -222,7 +222,7 @@ partial void ProcessReadExamplesWithRunsResponseContent(
SessionIds = sessionIds,
ComparativeExperimentId = comparativeExperimentId,
Filters = filters,
PreviewOnly = previewOnly,
Preview = preview,
Offset = offset,
Limit = limit,
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public partial interface IDatasetsClient
/// <param name="sessionIds"></param>
/// <param name="comparativeExperimentId"></param>
/// <param name="filters"></param>
/// <param name="previewOnly">
/// <param name="preview">
/// Default Value: false
/// </param>
/// <param name="offset">
Expand All @@ -41,7 +41,7 @@ public partial interface IDatasetsClient
global::System.Collections.Generic.IList<global::System.Guid> sessionIds,
global::System.Guid? comparativeExperimentId = default,
global::System.Collections.Generic.Dictionary<string, global::System.Collections.Generic.IList<string>>? filters = default,
bool? previewOnly = default,
bool? preview = default,
int? offset = default,
int? limit = default,
global::System.Threading.CancellationToken cancellationToken = default);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public partial interface IPublicClient
/// <param name="sessionIds"></param>
/// <param name="comparativeExperimentId"></param>
/// <param name="filters"></param>
/// <param name="previewOnly">
/// <param name="preview">
/// Default Value: false
/// </param>
/// <param name="offset">
Expand All @@ -41,7 +41,7 @@ public partial interface IPublicClient
global::System.Collections.Generic.IList<global::System.Guid> sessionIds,
global::System.Guid? comparativeExperimentId = default,
global::System.Collections.Generic.Dictionary<string, global::System.Collections.Generic.IList<string>>? filters = default,
bool? previewOnly = default,
bool? preview = default,
int? offset = default,
int? limit = default,
global::System.Threading.CancellationToken cancellationToken = default);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public sealed partial class QueryExampleSchemaWithRuns
/// <summary>
/// Default Value: false
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("preview_only")]
public bool? PreviewOnly { get; set; }
[global::System.Text.Json.Serialization.JsonPropertyName("preview")]
public bool? Preview { get; set; }

/// <summary>
/// Default Value: 0
Expand All @@ -57,7 +57,7 @@ public sealed partial class QueryExampleSchemaWithRuns
/// <param name="sessionIds"></param>
/// <param name="comparativeExperimentId"></param>
/// <param name="filters"></param>
/// <param name="previewOnly">
/// <param name="preview">
/// Default Value: false
/// </param>
/// <param name="offset">
Expand All @@ -71,14 +71,14 @@ public QueryExampleSchemaWithRuns(
global::System.Collections.Generic.IList<global::System.Guid> sessionIds,
global::System.Guid? comparativeExperimentId,
global::System.Collections.Generic.Dictionary<string, global::System.Collections.Generic.IList<string>>? filters,
bool? previewOnly,
bool? preview,
int? offset,
int? limit)
{
this.SessionIds = sessionIds ?? throw new global::System.ArgumentNullException(nameof(sessionIds));
this.ComparativeExperimentId = comparativeExperimentId;
this.Filters = filters;
this.PreviewOnly = previewOnly;
this.Preview = preview;
this.Offset = offset;
this.Limit = limit;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ partial void ProcessReadSharedDatasetExamplesWithRunsResponseContent(
/// <param name="sessionIds"></param>
/// <param name="comparativeExperimentId"></param>
/// <param name="filters"></param>
/// <param name="previewOnly">
/// <param name="preview">
/// Default Value: false
/// </param>
/// <param name="offset">
Expand All @@ -212,7 +212,7 @@ partial void ProcessReadSharedDatasetExamplesWithRunsResponseContent(
global::System.Collections.Generic.IList<global::System.Guid> sessionIds,
global::System.Guid? comparativeExperimentId = default,
global::System.Collections.Generic.Dictionary<string, global::System.Collections.Generic.IList<string>>? filters = default,
bool? previewOnly = default,
bool? preview = default,
int? offset = default,
int? limit = default,
global::System.Threading.CancellationToken cancellationToken = default)
Expand All @@ -222,7 +222,7 @@ partial void ProcessReadSharedDatasetExamplesWithRunsResponseContent(
SessionIds = sessionIds,
ComparativeExperimentId = comparativeExperimentId,
Filters = filters,
PreviewOnly = previewOnly,
Preview = preview,
Offset = offset,
Limit = limit,
};
Expand Down
4 changes: 2 additions & 2 deletions src/libs/LangSmith/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16320,8 +16320,8 @@ components:
items:
type: string
nullable: true
preview_only:
title: Preview Only
preview:
title: Preview
type: boolean
default: false
offset:
Expand Down