Interface BatchJobDestination

Config for des parameter.

interface BatchJobDestination {
    bigqueryUri?: string;
    fileName?: string;
    format?: string;
    gcsUri?: string;
    inlinedResponses?: InlinedResponse[];
}

Properties

bigqueryUri?: string

The BigQuery URI to the output table.

fileName?: string

The Gemini Developer API's file resource name of the output data (e.g. "files/12345"). The file will be a JSONL file with a single response per line. The responses will be GenerateContentResponse messages formatted as JSON. The responses will be written in the same order as the input requests.

format?: string

Storage format of the output files. Must be one of: 'jsonl', 'bigquery'.

gcsUri?: string

The Google Cloud Storage URI to the output file.

inlinedResponses?: InlinedResponse[]

The responses to the requests in the batch. Returned when the batch was built using inlined requests. The responses will be in the same order as the input requests.