google-cloud-go icon indicating copy to clipboard operation
google-cloud-go copied to clipboard

genai: Schema is missing the propertyOrdering field

Open ctheissknowunity opened this issue 10 months ago • 1 comments

The propertyOrdering field is missing from the schema. According to the documentation, this field is specifically supported for controlled generation and "defines the order in which properties are generated."

ctheissknowunity avatar Feb 25 '25 10:02 ctheissknowunity

Have you looked at https://pkg.go.dev/google.golang.org/genai? That is a better choice of client.

jba avatar Mar 11 '25 12:03 jba

@quartzmo Are there any plans to address this issue? The propertyOrdering attribute significantly impacts the model's performance.

beardnick avatar May 26 '25 13:05 beardnick

@beardnick I would suggest using https://pkg.go.dev/google.golang.org/genai as that is the client receiving active updates. We have this documented in the package docs: https://pkg.go.dev/cloud.google.com/go/[email protected]/genai#pkg-overview

If that client is missing the feature you are requesting I would open a feature request there.

codyoss avatar May 27 '25 14:05 codyoss