Skip to content

Commit

Permalink
Merge pull request #122 from tryAGI/bot/update-openapi_202411060124
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Nov 6, 2024
2 parents 6074034 + b28a070 commit 91e5ede
Show file tree
Hide file tree
Showing 10 changed files with 45 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public partial interface IPublicClient
/// Default Value: 100
/// </param>
/// <param name="select">
/// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade]
/// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, reference_dataset_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade]
/// </param>
/// <param name="order">
/// Enum for run start date order.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public partial interface IRunClient
/// Default Value: 100
/// </param>
/// <param name="select">
/// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade]
/// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, reference_dataset_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade]
/// </param>
/// <param name="order">
/// Enum for run start date order.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public sealed partial class BodyParamsForRunSchema
public int? Limit { get; set; }

/// <summary>
/// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade]
/// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, reference_dataset_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade]
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("select")]
public global::System.Collections.Generic.IList<global::LangSmith.RunSelect>? Select { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ public sealed partial class OrganizationConfig
[global::System.Text.Json.Serialization.JsonPropertyName("show_playground_prompt_canvas")]
public bool? ShowPlaygroundPromptCanvas { get; set; }

/// <summary>
/// Default Value: false
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("allow_custom_iframes")]
public bool? AllowCustomIframes { get; set; }

/// <summary>
///
/// </summary>
Expand Down
6 changes: 6 additions & 0 deletions src/libs/LangSmith/Generated/LangSmith.Models.RunSchema.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,12 @@ public sealed partial class RunSchema
[global::System.Text.Json.Serialization.JsonPropertyName("trace_upgrade")]
public bool? TraceUpgrade { get; set; }

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

/// <summary>
/// Additional properties that are not explicitly defined in the schema
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,12 @@ public sealed partial class RunSchemaWithAnnotationQueueInfo
[global::System.Text.Json.Serialization.JsonPropertyName("trace_upgrade")]
public bool? TraceUpgrade { get; set; }

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

/// <summary>
///
/// </summary>
Expand Down
6 changes: 6 additions & 0 deletions src/libs/LangSmith/Generated/LangSmith.Models.RunSelect.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ public enum RunSelect
/// <summary>
///
/// </summary>
ReferenceDatasetId,
/// <summary>
///
/// </summary>
TotalTokens,
/// <summary>
///
Expand Down Expand Up @@ -245,6 +249,7 @@ public static string ToValueString(this RunSelect value)
RunSelect.SessionId => "session_id",
RunSelect.Serialized => "serialized",
RunSelect.ReferenceExampleId => "reference_example_id",
RunSelect.ReferenceDatasetId => "reference_dataset_id",
RunSelect.TotalTokens => "total_tokens",
RunSelect.PromptTokens => "prompt_tokens",
RunSelect.CompletionTokens => "completion_tokens",
Expand Down Expand Up @@ -304,6 +309,7 @@ public static string ToValueString(this RunSelect value)
"session_id" => RunSelect.SessionId,
"serialized" => RunSelect.Serialized,
"reference_example_id" => RunSelect.ReferenceExampleId,
"reference_dataset_id" => RunSelect.ReferenceDatasetId,
"total_tokens" => RunSelect.TotalTokens,
"prompt_tokens" => RunSelect.PromptTokens,
"completion_tokens" => RunSelect.CompletionTokens,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ partial void ProcessQuerySharedDatasetRunsResponseContent(
/// Default Value: 100
/// </param>
/// <param name="select">
/// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade]
/// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, reference_dataset_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade]
/// </param>
/// <param name="order">
/// Enum for run start date order.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ partial void ProcessQueryRunsResponseContent(
/// Default Value: 100
/// </param>
/// <param name="select">
/// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade]
/// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, reference_dataset_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade]
/// </param>
/// <param name="order">
/// Enum for run start date order.
Expand Down
16 changes: 16 additions & 0 deletions src/libs/LangSmith/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11038,6 +11038,7 @@ components:
- session_id
- serialized
- reference_example_id
- reference_dataset_id
- total_tokens
- prompt_tokens
- completion_tokens
Expand Down Expand Up @@ -15293,6 +15294,10 @@ components:
title: Show Playground Prompt Canvas
type: boolean
default: false
allow_custom_iframes:
title: Allow Custom Iframes
type: boolean
default: false
flags:
title: Flags
type: object
Expand Down Expand Up @@ -17414,6 +17419,11 @@ components:
title: Trace Upgrade
type: boolean
default: false
reference_dataset_id:
title: Reference Dataset Id
type: string
format: uuid
nullable: true
description: Run schema.
RunSchemaComparisonView:
title: RunSchemaComparisonView
Expand Down Expand Up @@ -17787,6 +17797,11 @@ components:
title: Trace Upgrade
type: boolean
default: false
reference_dataset_id:
title: Reference Dataset Id
type: string
format: uuid
nullable: true
queue_run_id:
title: Queue Run Id
type: string
Expand Down Expand Up @@ -17837,6 +17852,7 @@ components:
- session_id
- serialized
- reference_example_id
- reference_dataset_id
- total_tokens
- prompt_tokens
- completion_tokens
Expand Down

0 comments on commit 91e5ede

Please sign in to comment.