Configuration for how to read Gemini requests from a multimodal dataset.
read_config
Union type
The read config for the dataset.
read_config can be only one of the following:templateConfig
object (GeminiTemplateConfig)
Gemini request template with placeholders.
assembledRequestColumnName
string
Optional. column name in the dataset table that contains already fully assembled Gemini requests.
| JSON representation |
|---|
{
// read_config
"templateConfig": {
object ( |
GeminiTemplateConfig
Template configuration to create Gemini examples from a multimodal dataset.
geminiExample
object (GeminiExample)
Required. The template that will be used for assembling the request to use for downstream applications.
fieldMapping
map (key: string, value: string)
Required. Map of template parameters to the columns in the dataset table.
| JSON representation |
|---|
{
"geminiExample": {
object ( |