Skip to content
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions src/libs/Helicone/Generated/Helicone.AllOf.2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ public bool TryPickValue1(
return IsValue1;
}

/// <summary>
///
/// </summary>
public T1 PickValue1() => IsValue1
? Value1!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value1' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -67,6 +74,13 @@ public bool TryPickValue2(
value = Value2;
return IsValue2;
}

/// <summary>
///
/// </summary>
public T2 PickValue2() => IsValue2
? Value2!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value2' but the value was {ToString()}.");
/// <summary>
///
/// </summary>
Expand Down
14 changes: 14 additions & 0 deletions src/libs/Helicone/Generated/Helicone.AnyOf.2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ public bool TryPickValue1(
return IsValue1;
}

/// <summary>
///
/// </summary>
public T1 PickValue1() => IsValue1
? Value1!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value1' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -67,6 +74,13 @@ public bool TryPickValue2(
value = Value2;
return IsValue2;
}

/// <summary>
///
/// </summary>
public T2 PickValue2() => IsValue2
? Value2!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value2' but the value was {ToString()}.");
/// <summary>
///
/// </summary>
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Helicone/Generated/Helicone.AnyOf.3.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ public bool TryPickValue1(
return IsValue1;
}

/// <summary>
///
/// </summary>
public T1 PickValue1() => IsValue1
? Value1!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value1' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -68,6 +75,13 @@ public bool TryPickValue2(
return IsValue2;
}

/// <summary>
///
/// </summary>
public T2 PickValue2() => IsValue2
? Value2!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value2' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -97,6 +111,13 @@ public bool TryPickValue3(
value = Value3;
return IsValue3;
}

/// <summary>
///
/// </summary>
public T3 PickValue3() => IsValue3
? Value3!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value3' but the value was {ToString()}.");
/// <summary>
///
/// </summary>
Expand Down
28 changes: 28 additions & 0 deletions src/libs/Helicone/Generated/Helicone.AnyOf.4.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ public bool TryPickValue1(
return IsValue1;
}

/// <summary>
///
/// </summary>
public T1 PickValue1() => IsValue1
? Value1!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value1' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -68,6 +75,13 @@ public bool TryPickValue2(
return IsValue2;
}

/// <summary>
///
/// </summary>
public T2 PickValue2() => IsValue2
? Value2!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value2' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -98,6 +112,13 @@ public bool TryPickValue3(
return IsValue3;
}

/// <summary>
///
/// </summary>
public T3 PickValue3() => IsValue3
? Value3!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value3' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -127,6 +148,13 @@ public bool TryPickValue4(
value = Value4;
return IsValue4;
}

/// <summary>
///
/// </summary>
public T4 PickValue4() => IsValue4
? Value4!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value4' but the value was {ToString()}.");
/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@ public AddEvalRequest(
public AddEvalRequest()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ public AddManualRowToExperimentRequest(
public AddManualRowToExperimentRequest()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ public AddManualRowsToExperimentBatchRequest(
public AddManualRowsToExperimentBatchRequest()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ public AddSessionRequest(
public AddSessionRequest()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,6 @@ public AddVaultKeyParams(
public AddVaultKeyParams()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,6 @@ public AutoTopoffSettings(
public AutoTopoffSettings()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ public AverageRow(
public AverageRow()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,6 @@ public BaseLastMileConfigForm(
public BaseLastMileConfigForm()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ public BulkDeleteSavedQueriesRequest(
public BulkDeleteSavedQueriesRequest()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -159,5 +159,6 @@ public ChatCompletion(
public ChatCompletion()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,6 @@ public ChatCompletionAudio(
public ChatCompletionAudio()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,6 @@ public ChatCompletionChoice(
public ChatCompletionChoice()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ public ChatCompletionChoiceLogprobs(
public ChatCompletionChoiceLogprobs()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,6 @@ public ChatCompletionMessage(
public ChatCompletionMessage()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,6 @@ public ChatCompletionMessageAnnotation(
public ChatCompletionMessageAnnotation()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,6 @@ public ChatCompletionMessageAnnotationURLCitation(
public ChatCompletionMessageAnnotationURLCitation()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,6 @@ public ChatCompletionMessageCustomToolCall(
public ChatCompletionMessageCustomToolCall()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,6 @@ public ChatCompletionMessageCustomToolCallCustom(
public ChatCompletionMessageCustomToolCallCustom()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,6 @@ public ChatCompletionMessageFunctionCall(
public ChatCompletionMessageFunctionCall()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,6 @@ public ChatCompletionMessageFunctionToolCall(
public ChatCompletionMessageFunctionToolCall()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,6 @@ public ChatCompletionMessageFunctionToolCallFunction(
public ChatCompletionMessageFunctionToolCallFunction()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ public bool TryPickFunction(
return IsFunction;
}

/// <summary>
///
/// </summary>
public global::Helicone.ChatCompletionMessageFunctionToolCall PickFunction() => IsFunction
? Function!
: throw new global::System.InvalidOperationException($"Expected union variant 'Function' but the value was {ToString()}.");

/// <summary>
/// A call to a custom tool created by the model.
/// </summary>
Expand Down Expand Up @@ -68,6 +75,13 @@ public bool TryPickCustom(
value = Custom;
return IsCustom;
}

/// <summary>
///
/// </summary>
public global::Helicone.ChatCompletionMessageCustomToolCall PickCustom() => IsCustom
? Custom!
: throw new global::System.InvalidOperationException($"Expected union variant 'Custom' but the value was {ToString()}.");
/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,6 @@ public ChatCompletionTokenLogprob(
public ChatCompletionTokenLogprob()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,6 @@ public ChatCompletionTokenLogprobTopLogprob(
public ChatCompletionTokenLogprobTopLogprob()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,6 @@ public ClickHouseTableColumn(
public ClickHouseTableColumn()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@ public ClickHouseTableSchema(
public ClickHouseTableSchema()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,6 @@ public CompletionUsage(
public CompletionUsage()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,6 @@ public CompletionUsageCompletionTokensDetails(
public CompletionUsageCompletionTokensDetails()
{
}

}
}
Loading