8000 feat: update LLM generators to warn user about model name instead of raising error. by Genesis929 · Pull Request #1048 · googleapis/python-bigquery-dataframes · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@Genesis929
Copy link
Collaborator

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

@product-auto-label product-auto-label bot added size: s Pull request size is small. api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. labels Oct 3, 2024
@Genesis929 Genesis929 added the owlbot:run Add this label to trigger the Owlbot post processor. label Oct 3, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Oct 3, 2024
@Genesis929 Genesis929 marked this pull request as ready for review October 3, 2024 22:46
@Genesis929 Genesis929 requested review from a team as code owners October 3, 2024 22:46
@Genesis929 Genesis929 requested a review from shobsi October 3, 2024 22:46
f"Model name {self.model_name} is not supported. We only support {', '.join(_TEXT_GENERATOR_ENDPOINTS)}."
warnings.warn(
f"Model name '{self.model_name}' is not supported. "
f"We currently support the following models: {', '.join(_TEXT_GENERATOR_ENDPOINTS)}. "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we say "We currently support" -> "We are currently aware of"

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated. That sounds better, thanks.

@Genesis929 Genesis929 requested a review from shobsi October 4, 2024 06:40
@shobsi shobsi merged commit 650d80d into main Oct 8, 2024
@shobsi shobsi deleted the model_support_warning_huanc branch October 8, 2024 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0