Skip to content

Commit

Permalink
Merge pull request #138 from tryAGI/bot/update-openapi_202411252118
Browse files Browse the repository at this point in the history
feat:Add API Endpoints for Tracer Sessions, Datasets, and Annotation Queues
  • Loading branch information
github-actions[bot] authored Nov 25, 2024
2 parents ae968a6 + 97e9eed commit e6fb8a4
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
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

0 comments on commit e6fb8a4

Please sign in to comment.