Hello Google Team,
I am experiencing an internal error when configuring a schema using the Gemini-Exp-1206 API. This issue occurs both through the API call and via the AI Model portal.
Schema Definition:
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"success",
"false"
]
},
"clips": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"viral": {
"type": "number"
},
"multimodal_title": {
"type": "string"
},
"multimodal_description": {
"type": "string"
},
"multimodal_social": {
"type": "string"
},
"multimodal_keywords": {
"type": "string"
},
"videoCuts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"start": {
"type": "string"
},
"end": {
"type": "string"
},
"scene": {
"type": "string"
},
"transcription": {
"type": "array",
"items": {
"type": "object",
"properties": {
"start": {
"type": "string"
},
"end": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"start",
"end",
"text"
]
}
}
},
"required": [
"start",
"end",
"scene"
]
}
},
"editedVideo": {
"type": "string"
}
},
"required": [
"title",
"viral",
"multimodal_title",
"multimodal_description",
"multimodal_social",
"multimodal_keywords",
"videoCuts",
"editedVideo"
]
}
}
},
"required": [
"status",
"clips"
]
}
When attempting to use this schema configuration, the system returns an internal error, which prevents successful schema application.
Steps to Reproduce:
- Configure the schema using the Gemini-Exp-1206 API endpoint or via the AI Model portal with the provided JSON schema.
- Trigger the API call or submit through the portal.
- Observe the internal error response.
Expected Behavior: The schema should be accepted without triggering an internal error, and the API should function as expected with the provided schema.
Additional Information:
- The error occurs consistently with the above schema.
- The API version in use is gemini-exp-1206.
Please investigate this issue and advise on potential fixes or workarounds. If any additional information is needed, feel free to reach out.