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

Typo in GroundingMetadata: “groundingChuncks” should be “groundingChunks” #323

Open
Neddes opened this issue Jan 6, 2025 · 1 comment
Labels
component:js sdk Issue/PR related to JavaScript SDK status:duplicate This Issue/PR already exists type:bug Something isn't working

Comments

@Neddes
Copy link

Neddes commented Jan 6, 2025

Description of the bug:

The GroundingMetadata interface in the SDK contains a typo in one of its properties. The property groundingChuncks is misspelled and should be corrected to groundingChunks.

The official documentation lists the property correctly as groundingChunks, which you can verify here:
Google Gemini API Documentation - Grounding

Affected File:
generative-ai.groundingmetadata.groundingchuncks.md

Actual vs expected behavior:

Actual Behavior:
The property is spelled as groundingChuncks.
Expected Behavior:
The property should be spelled as groundingChunks.

Any other information you'd like to share?

This is a minor issue but can impact code clarity and consistency

@Gunand3043 Gunand3043 added type:bug Something isn't working status:triaged Issue/PR triaged to the corresponding sub-team component:js sdk Issue/PR related to JavaScript SDK status:duplicate This Issue/PR already exists and removed status:triaged Issue/PR triaged to the corresponding sub-team labels Jan 6, 2025
@ashphy
Copy link

ashphy commented Jan 16, 2025

Duplicate of #317

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:js sdk Issue/PR related to JavaScript SDK status:duplicate This Issue/PR already exists type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants