AI DevKit
Search Results for

    Show / Hide Table of Contents

    Class ConverterExtensions

    Inheritance
    object
    ConverterExtensions
    Namespace: Glitch9.AIDevKit.Google
    Assembly: .dll
    Syntax
    public static class ConverterExtensions

    Methods

    AddTrainingData(Dataset, params TuningExample[])

    Declaration
    public static Dataset AddTrainingData(this Dataset dataset, params TuningExample[] trainingData)
    Parameters
    Type Name Description
    Dataset dataset
    TuningExample[] trainingData
    Returns
    Type Description
    Dataset

    FirstContent(GenerateContentResponse)

    Declaration
    public static ChatContent FirstContent(this GenerateContentResponse res)
    Parameters
    Type Name Description
    GenerateContentResponse res
    Returns
    Type Description
    ChatContent

    FirstOutputText(GenerateContentResponse)

    Declaration
    public static string FirstOutputText(this GenerateContentResponse res)
    Parameters
    Type Name Description
    GenerateContentResponse res
    Returns
    Type Description
    string

    ToChatChoices(GenerateContentResponse)

    Declaration
    public static ChatChoice[] ToChatChoices(this GenerateContentResponse res)
    Parameters
    Type Name Description
    GenerateContentResponse res
    Returns
    Type Description
    ChatChoice[]

    ToSpeechAudioFloatArray(GenerateContentResponse)

    Declaration
    public static float[] ToSpeechAudioFloatArray(this GenerateContentResponse res)
    Parameters
    Type Name Description
    GenerateContentResponse res
    Returns
    Type Description
    float[]

    ToToolCalls(GenerateContentResponse)

    Declaration
    public static ToolCall[] ToToolCalls(this GenerateContentResponse res)
    Parameters
    Type Name Description
    GenerateContentResponse res
    Returns
    Type Description
    ToolCall[]
    In this article
    Back to top Generated by DocFX