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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public class AgentThinkModelsV1ResponseModelsItemsJsonConverter : global::System
foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
{
__jsonProps.Add(__jsonProp.Name);

}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public class ErrorResponseJsonConverter : global::System.Text.Json.Serialization
foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
{
__jsonProps.Add(__jsonProp.Name);

}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ public class GetModelV1ResponseJsonConverter : global::System.Text.Json.Serializ
foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
{
__jsonProps.Add(__jsonProp.Name);
if (__jsonProp.Value.ValueKind == global::System.Text.Json.JsonValueKind.Object)
{
foreach (var __nestedJsonProp in __jsonProp.Value.EnumerateObject())
{
__jsonProps.Add(__jsonProp.Name + "." + __nestedJsonProp.Name);
}
}

}
}

Expand All @@ -41,6 +49,13 @@ public class GetModelV1ResponseJsonConverter : global::System.Text.Json.Serializ
if (__jsonProps.Contains("canonical_name")) __score1++;
if (__jsonProps.Contains("languages")) __score1++;
if (__jsonProps.Contains("metadata")) __score1++;
if (__jsonProps.Contains("metadata.accent")) __score1++;
if (__jsonProps.Contains("metadata.age")) __score1++;
if (__jsonProps.Contains("metadata.color")) __score1++;
if (__jsonProps.Contains("metadata.image")) __score1++;
if (__jsonProps.Contains("metadata.sample")) __score1++;
if (__jsonProps.Contains("metadata.tags")) __score1++;
if (__jsonProps.Contains("metadata.use_cases")) __score1++;
if (__jsonProps.Contains("name")) __score1++;
if (__jsonProps.Contains("uuid")) __score1++;
if (__jsonProps.Contains("version")) __score1++;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,39 @@ public class ListenV1MediaTranscribeResponse200JsonConverter : global::System.Te
foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
{
__jsonProps.Add(__jsonProp.Name);
if (__jsonProp.Value.ValueKind == global::System.Text.Json.JsonValueKind.Object)
{
foreach (var __nestedJsonProp in __jsonProp.Value.EnumerateObject())
{
__jsonProps.Add(__jsonProp.Name + "." + __nestedJsonProp.Name);
}
}

}
}

var __score0 = 0;
if (__jsonProps.Contains("metadata")) __score0++;
if (__jsonProps.Contains("metadata.channels")) __score0++;
if (__jsonProps.Contains("metadata.created")) __score0++;
if (__jsonProps.Contains("metadata.duration")) __score0++;
if (__jsonProps.Contains("metadata.intents_info")) __score0++;
if (__jsonProps.Contains("metadata.model_info")) __score0++;
if (__jsonProps.Contains("metadata.models")) __score0++;
if (__jsonProps.Contains("metadata.request_id")) __score0++;
if (__jsonProps.Contains("metadata.sentiment_info")) __score0++;
if (__jsonProps.Contains("metadata.sha256")) __score0++;
if (__jsonProps.Contains("metadata.summary_info")) __score0++;
if (__jsonProps.Contains("metadata.tags")) __score0++;
if (__jsonProps.Contains("metadata.topics_info")) __score0++;
if (__jsonProps.Contains("metadata.transaction_key")) __score0++;
if (__jsonProps.Contains("results")) __score0++;
if (__jsonProps.Contains("results.channels")) __score0++;
if (__jsonProps.Contains("results.intents")) __score0++;
if (__jsonProps.Contains("results.sentiments")) __score0++;
if (__jsonProps.Contains("results.summary")) __score0++;
if (__jsonProps.Contains("results.topics")) __score0++;
if (__jsonProps.Contains("results.utterances")) __score0++;
var __score1 = 0;
if (__jsonProps.Contains("request_id")) __score1++;
var __bestScore = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public class ReadV1RequestJsonConverter : global::System.Text.Json.Serialization
foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
{
__jsonProps.Add(__jsonProp.Name);

}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public class ChannelsAgentV1MessagesAgentV1SettingsAgentContextMessagesItemsJson
foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
{
__jsonProps.Add(__jsonProp.Name);

}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public class ChannelsAgentV1MessagesAgentV1SettingsAgentListenProviderJsonConver
foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
{
__jsonProps.Add(__jsonProp.Name);

}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,21 @@ public class ChannelsAgentV1MessagesAgentV1SettingsAgentSpeakJsonConverter : glo
foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
{
__jsonProps.Add(__jsonProp.Name);
if (__jsonProp.Value.ValueKind == global::System.Text.Json.JsonValueKind.Object)
{
foreach (var __nestedJsonProp in __jsonProp.Value.EnumerateObject())
{
__jsonProps.Add(__jsonProp.Name + "." + __nestedJsonProp.Name);
}
}

}
}

var __score0 = 0;
if (__jsonProps.Contains("endpoint")) __score0++;
if (__jsonProps.Contains("endpoint.headers")) __score0++;
if (__jsonProps.Contains("endpoint.url")) __score0++;
if (__jsonProps.Contains("provider")) __score0++;
var __score1 = 0;
var __bestScore = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,22 @@ public class ChannelsAgentV1MessagesAgentV1SettingsAgentThinkJsonConverter : glo
foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
{
__jsonProps.Add(__jsonProp.Name);
if (__jsonProp.Value.ValueKind == global::System.Text.Json.JsonValueKind.Object)
{
foreach (var __nestedJsonProp in __jsonProp.Value.EnumerateObject())
{
__jsonProps.Add(__jsonProp.Name + "." + __nestedJsonProp.Name);
}
}

}
}

var __score0 = 0;
if (__jsonProps.Contains("context_length")) __score0++;
if (__jsonProps.Contains("endpoint")) __score0++;
if (__jsonProps.Contains("endpoint.headers")) __score0++;
if (__jsonProps.Contains("endpoint.url")) __score0++;
if (__jsonProps.Contains("functions")) __score0++;
if (__jsonProps.Contains("prompt")) __score0++;
if (__jsonProps.Contains("provider")) __score0++;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,21 @@ public class ChannelsAgentV1MessagesAgentV1UpdateSpeakSpeakJsonConverter : globa
foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
{
__jsonProps.Add(__jsonProp.Name);
if (__jsonProp.Value.ValueKind == global::System.Text.Json.JsonValueKind.Object)
{
foreach (var __nestedJsonProp in __jsonProp.Value.EnumerateObject())
{
__jsonProps.Add(__jsonProp.Name + "." + __nestedJsonProp.Name);
}
}

}
}

var __score0 = 0;
if (__jsonProps.Contains("endpoint")) __score0++;
if (__jsonProps.Contains("endpoint.headers")) __score0++;
if (__jsonProps.Contains("endpoint.url")) __score0++;
if (__jsonProps.Contains("provider")) __score0++;
var __score1 = 0;
var __bestScore = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,22 @@ public class ChannelsAgentV1MessagesAgentV1UpdateThinkThinkJsonConverter : globa
foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
{
__jsonProps.Add(__jsonProp.Name);
if (__jsonProp.Value.ValueKind == global::System.Text.Json.JsonValueKind.Object)
{
foreach (var __nestedJsonProp in __jsonProp.Value.EnumerateObject())
{
__jsonProps.Add(__jsonProp.Name + "." + __nestedJsonProp.Name);
}
}

}
}

var __score0 = 0;
if (__jsonProps.Contains("context_length")) __score0++;
if (__jsonProps.Contains("endpoint")) __score0++;
if (__jsonProps.Contains("endpoint.headers")) __score0++;
if (__jsonProps.Contains("endpoint.url")) __score0++;
if (__jsonProps.Contains("functions")) __score0++;
if (__jsonProps.Contains("prompt")) __score0++;
if (__jsonProps.Contains("provider")) __score0++;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ public class SpeakSettingsV1ProviderJsonConverter : global::System.Text.Json.Ser
foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
{
__jsonProps.Add(__jsonProp.Name);
if (__jsonProp.Value.ValueKind == global::System.Text.Json.JsonValueKind.Object)
{
foreach (var __nestedJsonProp in __jsonProp.Value.EnumerateObject())
{
__jsonProps.Add(__jsonProp.Name + "." + __nestedJsonProp.Name);
}
}

}
}

Expand All @@ -43,6 +51,8 @@ public class SpeakSettingsV1ProviderJsonConverter : global::System.Text.Json.Ser
if (__jsonProps.Contains("type")) __score2++;
if (__jsonProps.Contains("version")) __score2++;
if (__jsonProps.Contains("voice")) __score2++;
if (__jsonProps.Contains("voice.id")) __score2++;
if (__jsonProps.Contains("voice.mode")) __score2++;
if (__jsonProps.Contains("volume")) __score2++;
var __score3 = 0;
if (__jsonProps.Contains("model")) __score3++;
Expand All @@ -51,6 +61,11 @@ public class SpeakSettingsV1ProviderJsonConverter : global::System.Text.Json.Ser
if (__jsonProps.Contains("voice")) __score3++;
var __score4 = 0;
if (__jsonProps.Contains("credentials")) __score4++;
if (__jsonProps.Contains("credentials.access_key_id")) __score4++;
if (__jsonProps.Contains("credentials.region")) __score4++;
if (__jsonProps.Contains("credentials.secret_access_key")) __score4++;
if (__jsonProps.Contains("credentials.session_token")) __score4++;
if (__jsonProps.Contains("credentials.type")) __score4++;
if (__jsonProps.Contains("engine")) __score4++;
if (__jsonProps.Contains("language")) __score4++;
if (__jsonProps.Contains("language_code")) __score4++;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ public class ThinkSettingsV1ProviderJsonConverter : global::System.Text.Json.Ser
foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
{
__jsonProps.Add(__jsonProp.Name);
if (__jsonProp.Value.ValueKind == global::System.Text.Json.JsonValueKind.Object)
{
foreach (var __nestedJsonProp in __jsonProp.Value.EnumerateObject())
{
__jsonProps.Add(__jsonProp.Name + "." + __nestedJsonProp.Name);
}
}

}
}

Expand All @@ -33,6 +41,11 @@ public class ThinkSettingsV1ProviderJsonConverter : global::System.Text.Json.Ser
if (__jsonProps.Contains("version")) __score0++;
var __score1 = 0;
if (__jsonProps.Contains("credentials")) __score1++;
if (__jsonProps.Contains("credentials.access_key_id")) __score1++;
if (__jsonProps.Contains("credentials.region")) __score1++;
if (__jsonProps.Contains("credentials.secret_access_key")) __score1++;
if (__jsonProps.Contains("credentials.session_token")) __score1++;
if (__jsonProps.Contains("credentials.type")) __score1++;
if (__jsonProps.Contains("model")) __score1++;
if (__jsonProps.Contains("temperature")) __score1++;
if (__jsonProps.Contains("type")) __score1++;
Expand Down
Loading