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

Remove guideline from API #2762

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

Wauplin
Copy link
Contributor

@Wauplin Wauplin commented Nov 20, 2024

This PR removes the guideline parameter from the API. This parameter was needed only for ShieldGemma models. In the end, the chat template of these models have been updated so they don't need this variable anymore. See slack thread for more context (internal).

Note that I made sure the project still builds correctly + updated openapi.json from the CLI but I did not ensure any backward compatibility. Please let me know how to proceed if we want to keep a deprecated argument. To be honest, my main concern is to remove guideline from the openapi.json so that TGI api stays on-par with the specs (and the inference clients).

Related PRs:

cc @Rocketknight1 @drbh @Narsil

@OlivierDehaene OlivierDehaene merged commit d012f22 into huggingface:main Nov 21, 2024
5 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants