Skip to content

Commit

Permalink
feat: Updated OpenAPI spec
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and HavenDV committed Oct 11, 2024
1 parent 5973b19 commit a93ac4b
Show file tree
Hide file tree
Showing 147 changed files with 915 additions and 2,279 deletions.
2,566 changes: 601 additions & 1,965 deletions src/libs/LangSmith/Generated/JsonSerializerContextTypes.g.cs

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/libs/LangSmith/Generated/LangSmith.AceClient.Execute.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ partial void ProcessExecuteResponseContent(
/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::LangSmith.ExecuteApiV1AceExecutePostResponse> ExecuteAsync(
public async global::System.Threading.Tasks.Task<object> ExecuteAsync(
global::LangSmith.BodyExecuteApiV1AceExecutePost request,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down Expand Up @@ -111,7 +111,7 @@ partial void ProcessExecuteResponseContent(
}

return
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::LangSmith.ExecuteApiV1AceExecutePostResponse), JsonSerializerContext) as global::LangSmith.ExecuteApiV1AceExecutePostResponse ??
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(object), JsonSerializerContext) as object ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}

Expand All @@ -123,7 +123,7 @@ partial void ProcessExecuteResponseContent(
/// <param name="code"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::LangSmith.ExecuteApiV1AceExecutePostResponse> ExecuteAsync(
public async global::System.Threading.Tasks.Task<object> ExecuteAsync(
global::System.Collections.Generic.IList<global::LangSmith.BodyExecuteApiV1AceExecutePostArg> args,
string code,
global::System.Threading.CancellationToken cancellationToken = default)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ partial void ProcessConfirmSsoUserEmailResponseContent(
/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::LangSmith.ConfirmSsoUserEmailApiV1SsoEmailVerificationConfirmPostResponse> ConfirmSsoUserEmailAsync(
public async global::System.Threading.Tasks.Task<object> ConfirmSsoUserEmailAsync(
global::LangSmith.SSOConfirmEmailRequest request,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down Expand Up @@ -111,7 +111,7 @@ partial void ProcessConfirmSsoUserEmailResponseContent(
}

return
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::LangSmith.ConfirmSsoUserEmailApiV1SsoEmailVerificationConfirmPostResponse), JsonSerializerContext) as global::LangSmith.ConfirmSsoUserEmailApiV1SsoEmailVerificationConfirmPostResponse ??
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(object), JsonSerializerContext) as object ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}

Expand All @@ -122,7 +122,7 @@ partial void ProcessConfirmSsoUserEmailResponseContent(
/// <param name="token"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::LangSmith.ConfirmSsoUserEmailApiV1SsoEmailVerificationConfirmPostResponse> ConfirmSsoUserEmailAsync(
public async global::System.Threading.Tasks.Task<object> ConfirmSsoUserEmailAsync(
string token,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ partial void ProcessOauthProviderCallbackResponseContent(
/// <param name="provider"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::LangSmith.OauthProviderCallbackApiV1OauthProviderCallbackGetResponse> OauthProviderCallbackAsync(
public async global::System.Threading.Tasks.Task<object> OauthProviderCallbackAsync(
global::LangSmith.OAuthProvider provider = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down Expand Up @@ -102,7 +102,7 @@ partial void ProcessOauthProviderCallbackResponseContent(
}

return
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::LangSmith.OauthProviderCallbackApiV1OauthProviderCallbackGetResponse), JsonSerializerContext) as global::LangSmith.OauthProviderCallbackApiV1OauthProviderCallbackGetResponse ??
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(object), JsonSerializerContext) as object ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ partial void ProcessSendSsoEmailConfirmationResponseContent(
/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::LangSmith.SendSsoEmailConfirmationApiV1SsoEmailVerificationSendPostResponse> SendSsoEmailConfirmationAsync(
public async global::System.Threading.Tasks.Task<object> SendSsoEmailConfirmationAsync(
global::LangSmith.SSOEmailVerificationSendRequest request,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down Expand Up @@ -111,7 +111,7 @@ partial void ProcessSendSsoEmailConfirmationResponseContent(
}

return
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::LangSmith.SendSsoEmailConfirmationApiV1SsoEmailVerificationSendPostResponse), JsonSerializerContext) as global::LangSmith.SendSsoEmailConfirmationApiV1SsoEmailVerificationSendPostResponse ??
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(object), JsonSerializerContext) as object ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}

Expand All @@ -123,7 +123,7 @@ partial void ProcessSendSsoEmailConfirmationResponseContent(
/// <param name="samlProviderId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::LangSmith.SendSsoEmailConfirmationApiV1SsoEmailVerificationSendPostResponse> SendSsoEmailConfirmationAsync(
public async global::System.Threading.Tasks.Task<object> SendSsoEmailConfirmationAsync(
string email,
global::System.Guid samlProviderId,
global::System.Threading.CancellationToken cancellationToken = default)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ partial void ProcessCreateChartResponseContent(
global::LangSmith.AnyOf<string, object>? description = default,
global::LangSmith.AnyOf<int?, object>? index = default,
global::LangSmith.AnyOf<global::System.Guid?, object>? sectionId = default,
global::LangSmith.AnyOf<global::LangSmith.CustomChartCreateMetadata, object>? metadata = default,
global::LangSmith.AnyOf<object, object>? metadata = default,
global::LangSmith.AnyOf<global::LangSmith.CustomChartSeriesFilters, object>? commonFilters = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ partial void ProcessUpdateChartResponseContent(
global::LangSmith.AnyOf<global::LangSmith.CustomChartType?, global::LangSmith.Missing>? chartType = default,
global::LangSmith.AnyOf<global::System.Collections.Generic.IList<global::LangSmith.CustomChartSeriesUpdate>, global::LangSmith.Missing>? series = default,
global::LangSmith.AnyOf<global::System.Guid?, global::LangSmith.Missing>? sectionId = default,
global::LangSmith.AnyOf<global::LangSmith.CustomChartUpdateMetadata, global::LangSmith.Missing, object>? metadata = default,
global::LangSmith.AnyOf<object, global::LangSmith.Missing, object>? metadata = default,
global::LangSmith.AnyOf<global::LangSmith.CustomChartSeriesFilters, global::LangSmith.Missing, object>? commonFilters = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ partial void ProcessLikeCommentResponseContent(
/// <param name="parentCommentId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::LangSmith.LikeCommentApiV1CommentsOwnerRepoParentCommentIdLikePostResponse> LikeCommentAsync(
public async global::System.Threading.Tasks.Task<object> LikeCommentAsync(
string owner,
string repo,
global::System.Guid parentCommentId,
Expand Down Expand Up @@ -114,7 +114,7 @@ partial void ProcessLikeCommentResponseContent(
}

return
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::LangSmith.LikeCommentApiV1CommentsOwnerRepoParentCommentIdLikePostResponse), JsonSerializerContext) as global::LangSmith.LikeCommentApiV1CommentsOwnerRepoParentCommentIdLikePostResponse ??
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(object), JsonSerializerContext) as object ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ partial void ProcessUnlikeCommentResponseContent(
/// <param name="parentCommentId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::LangSmith.UnlikeCommentApiV1CommentsOwnerRepoParentCommentIdLikeDeleteResponse> UnlikeCommentAsync(
public async global::System.Threading.Tasks.Task<object> UnlikeCommentAsync(
string owner,
string repo,
global::System.Guid parentCommentId,
Expand Down Expand Up @@ -114,7 +114,7 @@ partial void ProcessUnlikeCommentResponseContent(
}

return
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::LangSmith.UnlikeCommentApiV1CommentsOwnerRepoParentCommentIdLikeDeleteResponse), JsonSerializerContext) as global::LangSmith.UnlikeCommentApiV1CommentsOwnerRepoParentCommentIdLikeDeleteResponse ??
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(object), JsonSerializerContext) as object ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ partial void ProcessCreateCommitResponseContent(
public async global::System.Threading.Tasks.Task<global::LangSmith.CreateRepoCommitResponse> CreateCommitAsync(
string owner,
string repo,
global::LangSmith.CreateRepoCommitRequestManifest manifest,
object manifest,
global::LangSmith.AnyOf<string, object>? parentCommit = default,
global::LangSmith.AnyOf<global::System.Collections.Generic.IList<global::System.Guid>, object>? exampleRunIds = default,
global::System.Threading.CancellationToken cancellationToken = default)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ partial void ProcessCreateComparativeExperimentResponseContent(
global::LangSmith.AnyOf<string, object>? description = default,
global::System.DateTime? createdAt = default,
global::System.DateTime? modifiedAt = default,
global::LangSmith.AnyOf<global::LangSmith.ComparativeExperimentCreateExtra, object>? extra = default,
global::LangSmith.AnyOf<object, object>? extra = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var request = new global::LangSmith.ComparativeExperimentCreate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,11 @@ partial void ProcessCreateDatasetResponseContent(
string name,
global::LangSmith.AnyOf<string, object>? description = default,
global::System.DateTime? createdAt = default,
global::LangSmith.AnyOf<global::LangSmith.DatasetCreateInputsSchemaDefinition, object>? inputsSchemaDefinition = default,
global::LangSmith.AnyOf<global::LangSmith.DatasetCreateOutputsSchemaDefinition, object>? outputsSchemaDefinition = default,
global::LangSmith.AnyOf<object, object>? inputsSchemaDefinition = default,
global::LangSmith.AnyOf<object, object>? outputsSchemaDefinition = default,
global::LangSmith.AnyOf<bool?, object>? externallyManaged = default,
global::LangSmith.AnyOf<global::System.Guid?, object>? id = default,
global::LangSmith.AnyOf<global::LangSmith.DatasetCreateExtra, object>? extra = default,
global::LangSmith.AnyOf<object, object>? extra = default,
global::LangSmith.DataType? dataType = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ partial void ProcessDatasetHandlerResponseContent(
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::LangSmith.DatasetHandlerApiV1DatasetsPlaygroundExperimentBatchPostResponse> DatasetHandlerAsync(
global::LangSmith.PlaygroundRunOverDatasetRequestSchemaManifest manifest,
global::LangSmith.PlaygroundRunOverDatasetRequestSchemaSecrets secrets,
global::System.Collections.Generic.Dictionary<string, string> secrets,
global::LangSmith.RunnableConfig options,
global::System.Guid datasetId,
global::LangSmith.AnyOf<string, object>? runId = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ partial void ProcessReadDeltaResponseContent(
global::System.Guid baselineSessionId,
global::System.Collections.Generic.IList<global::System.Guid> comparisonSessionIds,
string feedbackKey,
global::LangSmith.AnyOf<global::LangSmith.QueryFeedbackDeltaFilters, object>? filters = default,
global::LangSmith.AnyOf<global::System.Collections.Generic.Dictionary<string, global::System.Collections.Generic.IList<string>>, object>? filters = default,
int? offset = 0,
int? limit = 100,
global::LangSmith.AnyOf<global::System.Guid?, object>? comparativeExperimentId = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ partial void ProcessReadExamplesWithRunsResponseContent(
global::System.Guid datasetId,
global::System.Collections.Generic.IList<global::System.Guid> sessionIds,
global::LangSmith.AnyOf<global::System.Guid?, object>? comparativeExperimentId = default,
global::LangSmith.AnyOf<global::LangSmith.QueryExampleSchemaWithRunsFilters, object>? filters = default,
global::LangSmith.AnyOf<global::System.Collections.Generic.Dictionary<string, global::System.Collections.Generic.IList<string>>, object>? filters = default,
int? offset = 0,
int? limit = 20,
global::System.Threading.CancellationToken cancellationToken = default)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ partial void ProcessSearchResponseContent(
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::LangSmith.SearchDatasetResponse> SearchAsync(
global::System.Guid datasetId,
global::LangSmith.SearchDatasetRequestInputs inputs,
object inputs,
int? limit = 5,
bool? debug = false,
global::LangSmith.AnyOf<string, object>? filter = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ partial void ProcessStreamDatasetHandlerResponseContent(
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::LangSmith.StreamDatasetHandlerApiV1DatasetsPlaygroundExperimentStreamPostResponse> StreamDatasetHandlerAsync(
global::LangSmith.PlaygroundRunOverDatasetRequestSchemaManifest manifest,
global::LangSmith.PlaygroundRunOverDatasetRequestSchemaSecrets secrets,
global::System.Collections.Generic.Dictionary<string, string> secrets,
global::LangSmith.RunnableConfig options,
global::System.Guid datasetId,
global::LangSmith.AnyOf<string, object>? runId = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ partial void ProcessUpdateDatasetResponseContent(
global::System.Guid datasetId,
global::LangSmith.AnyOf<string, global::LangSmith.Missing, object>? name = default,
global::LangSmith.AnyOf<string, global::LangSmith.Missing, object>? description = default,
global::LangSmith.AnyOf<global::LangSmith.DatasetUpdateInputsSchemaDefinition, global::LangSmith.Missing, object>? inputsSchemaDefinition = default,
global::LangSmith.AnyOf<global::LangSmith.DatasetUpdateOutputsSchemaDefinition, global::LangSmith.Missing, object>? outputsSchemaDefinition = default,
global::LangSmith.AnyOf<global::LangSmith.DatasetUpdatePatchExamples, object>? patchExamples = default,
global::LangSmith.AnyOf<object, global::LangSmith.Missing, object>? inputsSchemaDefinition = default,
global::LangSmith.AnyOf<object, global::LangSmith.Missing, object>? outputsSchemaDefinition = default,
global::LangSmith.AnyOf<global::System.Collections.Generic.Dictionary<string, global::LangSmith.ExampleUpdate>, object>? patchExamples = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var request = new global::LangSmith.DatasetUpdate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ partial void ProcessUploadExperimentResponseContent(
global::LangSmith.AnyOf<string, object>? datasetName = default,
global::LangSmith.AnyOf<string, object>? datasetDescription = default,
global::LangSmith.AnyOf<global::System.Collections.Generic.IList<global::LangSmith.FeedbackCreateCoreSchema>, object>? summaryExperimentScores = default,
global::LangSmith.AnyOf<global::LangSmith.ExperimentResultsUploadExperimentMetadata, object>? experimentMetadata = default,
global::LangSmith.AnyOf<object, object>? experimentMetadata = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var request = new global::LangSmith.ExperimentResultsUpload
Expand Down
Loading

0 comments on commit a93ac4b

Please sign in to comment.