Skip to content

.Net: Introduce Grouding with Google Search configuration #11804

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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

scherervictor
Copy link

@scherervictor scherervictor commented Apr 29, 2025

Motivation and Context

This PR is enables the configuration of Grouding with Google Search in the Gemini API.

Description

  • Added grounding_config that receives google_search object
  • Implemented a validation to add googleSearch under tools object if configured.
  • Adding proper deserialization of possible values returning after using Grouding.
  • Included unit tests to validate the functionality for GroudingConfig and GoogleSearch.

Contribution Checklist

Implements #11735

@scherervictor scherervictor requested a review from a team as a code owner April 29, 2025 12:00
@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code kernel Issues or pull requests impacting the core kernel documentation labels Apr 29, 2025
@scherervictor
Copy link
Author

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation kernel Issues or pull requests impacting the core kernel .NET Issue or Pull requests regarding .NET code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants