google / google/langextract

Gemini 2.0 Flash and 2.5 Flash structured output value repetition and missing fields

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
38.6k
Forks
2.7k
Avg merge
3d 15h
Merged PRs (30d)
3

Description

This is a known issue with [Controlled Generation](https://cloud.google.com/vertex-ai/generative-ai/docs/samples/generativeaionvertexai-gemini-controlled-generation-response-schema-2) and the Flash 2.0 models. It can affect the use of Flash 2.0 in extraction tasks, particularly involving repetitive token patterns.

For more details, refer to this similar issue:
[google-gemini/cookbook Issue #449](https://github.com/google-gemini/cookbook/issues/449)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.