how can i train gemini to generate structured data like json? #446
Labels
api: aiplatform
Issues related to the googleapis/nodejs-vertexai API.
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: question
Request for information or clarification. Not an issue.
I want Gemini to generate structured data, such as [{name:'allen',year:2020,month:12,day:11},{name:'tracy',year:2024,month:2,day:23}], instead of generating descriptive text like ‘Allen was born on December 1, 2020, and Tracy was born on February 23, 2024.’ How can I achieve this?
This way, I won’t need to concatenate data from the string anymore.
The text was updated successfully, but these errors were encountered: