-
Notifications
You must be signed in to change notification settings - Fork 43
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
feat: add ml.llm.GeminiTextGenerator model #370
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add the GeminiTextGenerator model in the README.rst as well : https://github.com/googleapis/python-bigquery-dataframes/blob/main/README.rst?plain=1#L190
"top_k": top_k, | ||
"top_p": top_p, | ||
"flatten_json_output": True, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we don't give Python users the option to specify this flatten_json_output
as we return a DataFrame format? I guess it is only applicable in SQL interface?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right. It isn't user-facing, but what we send to SQL. It is always True value.
docs/templates/toc.yml
Outdated
@@ -107,6 +107,8 @@ | |||
uid: bigframes.ml.llm.PaLM2TextGenerator | |||
- name: PaLM2TextEmbeddingGenerator | |||
uid: bigframes.ml.llm.PaLM2TextEmbeddingGenerator | |||
- name: GeminiTextGenerator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be sorted it in alphabetic order.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Done |
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:
Fixes #<issue_number_goes_here> 🦕