google / generative-ai-docs

Documentation for Google's Gen AI site - including the Gemini API and Gemma
https://ai.google.dev
Apache License 2.0
1.62k stars 568 forks source link

Update python.ipynb #380

Closed bebechien closed 5 months ago

bebechien commented 5 months ago

Description of the change

"genai.configure(transport='grpc')" will lead the RpcError. I had to remove this line to make the sample works correctly.

Motivation

Sample notebook in Gemini model tuning won't work. (b/329517387)

Type of change

Bug fix

Checklist

google-cla[bot] commented 5 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

review-notebook-app[bot] commented 5 months ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

markmcd commented 5 months ago

You'll need to register your GitHub account at http://github/ so the CLA check passes (it's also a policy requirement)

bebechien commented 5 months ago

You'll need to register your GitHub account at http://github/ so the CLA check passes (it's also a policy requirement)

Thanks! I just added my account.

markmcd commented 5 months ago

Thanks for the fix :)