Class ConverterExtensions
Inheritance
object
ConverterExtensions
Assembly: .dll
Syntax
public static class ConverterExtensions
Methods
AddTrainingData(Dataset, params TuningExample[])
Declaration
public static Dataset AddTrainingData(this Dataset dataset, params TuningExample[] trainingData)
Parameters
Returns
FirstContent(GenerateContentResponse)
Declaration
public static ChatContent FirstContent(this GenerateContentResponse res)
Parameters
Returns
FirstOutputText(GenerateContentResponse)
Declaration
public static string FirstOutputText(this GenerateContentResponse res)
Parameters
Returns
ToChatChoices(GenerateContentResponse)
Declaration
public static ChatChoice[] ToChatChoices(this GenerateContentResponse res)
Parameters
Returns
ToSpeechAudioFloatArray(GenerateContentResponse)
Declaration
public static float[] ToSpeechAudioFloatArray(this GenerateContentResponse res)
Parameters
Returns
ToToolCalls(GenerateContentResponse)
Declaration
public static ToolCall[] ToToolCalls(this GenerateContentResponse res)
Parameters
Returns