-
Notifications
You must be signed in to change notification settings - Fork 6.6k
fix(generative_ai): fix typos in function calling sample #12679
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
fix(generative_ai): fix typos in function calling sample #12679
Conversation
generative_ai/function_calling/parallel_function_calling_example.py
Outdated
Show resolved
Hide resolved
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.
Nits:
- Please remove the empty line before
# [END generativeaionvertexai_function_calling_generate_parallel_calls]
- Add an empty line after
import vertexai
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.
- Looks like a common problem in many samples. Curious if it can or should be enforced by the linter 🤔 Fixed my 5 cases manually.
- Also a common problem.
I can check what's up with our lint/import-order, I guess 😺
UPD: I don't see anything for this inflake8-import-order
, unfortunately.I201
will not identify this as a separate import group — they're both 3rd-parties. For now, fixed manually.
parallel_function_calling
sample (typo, long lines)
CICD error - As suggested, let us check and re-run this after sometime. |
…le.py Improve wording Co-authored-by: Sampath Kumar <sam1990kumar@gmail.com>
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.
LGTM. CICD tests are passing.
…Platform#12679) * Fix typos in the function declaration 'description'; wrap long line * Code formatting in generative_ai/function_calling/parallel_function_calling_example.py Co-authored-by: Sampath Kumar <sam1990kumar@gmail.com>
Description
Fixes minor issues in the
function_calling/parallel_function_calling_example
Checklist
nox -s py-3.8
&nox -s py-3.11
nox -s lint