Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can i train gemini to generate structured data like json? #446

Open
qingfengmy opened this issue Oct 22, 2024 · 1 comment
Open

how can i train gemini to generate structured data like json? #446

qingfengmy opened this issue Oct 22, 2024 · 1 comment
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.

Comments

@qingfengmy
Copy link

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.

@qingfengmy qingfengmy added priority: p3 Desirable enhancement or fix. May not be included in next release. type: question Request for information or clarification. Not an issue. labels Oct 22, 2024
@product-auto-label product-auto-label bot added the api: aiplatform Issues related to the googleapis/nodejs-vertexai API. label Oct 22, 2024
@SinanGabel
Copy link

SinanGabel commented Oct 22, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

2 participants