I’m seeking assistance with constructing the correct JSON input for batch processing with BigQuery and Generative AI. While I’m adhering to the guidelines in the official documentation, I’m encountering discrepancies with the schema.
The documentation provides this example format:
{
"inputs": [
{
"user": "person",
"content": [
{
"request": "Can you suggest a recipe for chocolate chip cookies?"
}
]
}
],
"system_instruction": {
"content": [
{
"request": "You act like a master chef."
}
]
}
}
However, when I review the generateContent API documentation, it appears that certain fields like system_instruction do not align with the expected schema. This raises concerns about whether I’m using the appropriate format.
I’ve executed multiple batch prediction jobs, but I’m unsure if all my parameters are being utilized correctly. For example, it seems that my generationConfig field isn’t functioning as intended.
How can I confirm the complete schema and ensure my JSON format is accurate? What steps can I take to verify that BigQuery is correctly processing all my parameters during batch operations?