Skip to content

Commit

Permalink
Merge pull request #135 from tryAGI/bot/update-openapi_202411212118
Browse files Browse the repository at this point in the history
feat:Add API endpoints for managing tracer sessions, datasets, and examples
  • Loading branch information
github-actions[bot] authored Nov 21, 2024
2 parents 307bf50 + 4c73753 commit 6136f1e
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ partial void ProcessDatasetHandlerResponseContent(
/// Configuration for a Runnable.
/// </param>
/// <param name="projectName"></param>
/// <param name="repoHandle"></param>
/// <param name="owner"></param>
/// <param name="commit"></param>
/// <param name="datasetId"></param>
/// <param name="datasetSplits"></param>
/// <param name="repetitions">
Expand All @@ -207,6 +210,9 @@ partial void ProcessDatasetHandlerResponseContent(
global::System.Collections.Generic.IList<object>? tools = default,
string? toolChoice = default,
string? projectName = default,
string? repoHandle = default,
string? owner = default,
string? commit = default,
global::System.Collections.Generic.IList<string>? datasetSplits = default,
int? repetitions = default,
global::System.Threading.CancellationToken cancellationToken = default)
Expand All @@ -221,6 +227,9 @@ partial void ProcessDatasetHandlerResponseContent(
ToolChoice = toolChoice,
Options = options,
ProjectName = projectName,
RepoHandle = repoHandle,
Owner = owner,
Commit = commit,
DatasetId = datasetId,
DatasetSplits = datasetSplits,
Repetitions = repetitions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ partial void ProcessStreamDatasetHandlerResponseContent(
/// Configuration for a Runnable.
/// </param>
/// <param name="projectName"></param>
/// <param name="repoHandle"></param>
/// <param name="owner"></param>
/// <param name="commit"></param>
/// <param name="datasetId"></param>
/// <param name="datasetSplits"></param>
/// <param name="repetitions">
Expand All @@ -207,6 +210,9 @@ partial void ProcessStreamDatasetHandlerResponseContent(
global::System.Collections.Generic.IList<object>? tools = default,
string? toolChoice = default,
string? projectName = default,
string? repoHandle = default,
string? owner = default,
string? commit = default,
global::System.Collections.Generic.IList<string>? datasetSplits = default,
int? repetitions = default,
global::System.Threading.CancellationToken cancellationToken = default)
Expand All @@ -221,6 +227,9 @@ partial void ProcessStreamDatasetHandlerResponseContent(
ToolChoice = toolChoice,
Options = options,
ProjectName = projectName,
RepoHandle = repoHandle,
Owner = owner,
Commit = commit,
DatasetId = datasetId,
DatasetSplits = datasetSplits,
Repetitions = repetitions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ public partial interface IDatasetsClient
/// Configuration for a Runnable.
/// </param>
/// <param name="projectName"></param>
/// <param name="repoHandle"></param>
/// <param name="owner"></param>
/// <param name="commit"></param>
/// <param name="datasetId"></param>
/// <param name="datasetSplits"></param>
/// <param name="repetitions">
Expand All @@ -44,6 +47,9 @@ public partial interface IDatasetsClient
global::System.Collections.Generic.IList<object>? tools = default,
string? toolChoice = default,
string? projectName = default,
string? repoHandle = default,
string? owner = default,
string? commit = default,
global::System.Collections.Generic.IList<string>? datasetSplits = default,
int? repetitions = default,
global::System.Threading.CancellationToken cancellationToken = default);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ public partial interface IDatasetsClient
/// Configuration for a Runnable.
/// </param>
/// <param name="projectName"></param>
/// <param name="repoHandle"></param>
/// <param name="owner"></param>
/// <param name="commit"></param>
/// <param name="datasetId"></param>
/// <param name="datasetSplits"></param>
/// <param name="repetitions">
Expand All @@ -44,6 +47,9 @@ public partial interface IDatasetsClient
global::System.Collections.Generic.IList<object>? tools = default,
string? toolChoice = default,
string? projectName = default,
string? repoHandle = default,
string? owner = default,
string? commit = default,
global::System.Collections.Generic.IList<string>? datasetSplits = default,
int? repetitions = default,
global::System.Threading.CancellationToken cancellationToken = default);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,24 @@ public sealed partial class PlaygroundRunOverDatasetRequestSchema
[global::System.Text.Json.Serialization.JsonPropertyName("project_name")]
public string? ProjectName { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("repo_handle")]
public string? RepoHandle { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("owner")]
public string? Owner { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("commit")]
public string? Commit { get; set; }

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -97,6 +115,9 @@ public sealed partial class PlaygroundRunOverDatasetRequestSchema
/// Configuration for a Runnable.
/// </param>
/// <param name="projectName"></param>
/// <param name="repoHandle"></param>
/// <param name="owner"></param>
/// <param name="commit"></param>
/// <param name="datasetId"></param>
/// <param name="datasetSplits"></param>
/// <param name="repetitions">
Expand All @@ -113,6 +134,9 @@ public PlaygroundRunOverDatasetRequestSchema(
global::System.Collections.Generic.IList<object>? tools,
string? toolChoice,
string? projectName,
string? repoHandle,
string? owner,
string? commit,
global::System.Collections.Generic.IList<string>? datasetSplits,
int? repetitions)
{
Expand All @@ -125,6 +149,9 @@ public PlaygroundRunOverDatasetRequestSchema(
this.Tools = tools;
this.ToolChoice = toolChoice;
this.ProjectName = projectName;
this.RepoHandle = repoHandle;
this.Owner = owner;
this.Commit = commit;
this.DatasetSplits = datasetSplits;
this.Repetitions = repetitions;
}
Expand Down
12 changes: 12 additions & 0 deletions src/libs/LangSmith/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16052,6 +16052,18 @@ components:
title: Project Name
type: string
nullable: true
repo_handle:
title: Repo Handle
type: string
nullable: true
owner:
title: Owner
type: string
nullable: true
commit:
title: Commit
type: string
nullable: true
dataset_id:
title: Dataset Id
type: string
Expand Down

0 comments on commit 6136f1e

Please sign in to comment.