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

feat: Allow user to create Part from function_call #3196

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ehaca
Copy link

@ehaca ehaca commented Jan 12, 2024

This allows users to create Parts from function calls, making it possible to use the generate_content function instead of creating a chat session.

Fixes 3194 🦕

Copy link

google-cla bot commented Jan 12, 2024

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.

@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: vertex-ai Issues related to the googleapis/python-aiplatform API. labels Jan 12, 2024
Emma Haley and others added 2 commits January 12, 2024 21:30
--
3a6f33f by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>:

fix!:An existing message `UnprotectedResource` is removed
feat:A new message `UnprotectedResourceReportLog` is added

PiperOrigin-RevId: 596551504

Source-Link: googleapis/googleapis@9fb44f1

Source-Link: https://github.com/googleapis/googleapis-gen/commit/8bf21f2c64a79508ebb214a2984ef3dd737d3947
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOGJmMjFmMmM2NGE3OTUwOGViYjIxNGEyOTg0ZWYzZGQ3MzdkMzk0NyJ9

--
a960edb by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>:

🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

--
9f63fdb by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>:

fix!: Fix rpc tensorboard_service.proto definitions for BatchCreateTensorboardTimeSeries and BatchReadTensorboardTimeSeriesData
feat: add models to CustomJobSpec
feat: add max_wait_duration to Scheduling
docs: minor changes to comments

PiperOrigin-RevId: 597666793

Source-Link: googleapis/googleapis@84ee19c

Source-Link: https://github.com/googleapis/googleapis-gen/commit/8dc3e3e32043acd6893bed96a6b4566f00843329
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOGRjM2UzZTMyMDQzYWNkNjg5M2JlZDk2YTZiNDU2NmYwMDg0MzMyOSJ9

--
f9c4acb by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>:

🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

--
2ca1fd4 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>:

fix!: Fix rpc tensorboard_service.proto definitions for BatchCreateTensorboardTimeSeries and BatchReadTensorboardTimeSeriesData
feat: add models to CustomJobSpec
feat: add max_wait_duration to Scheduling
feat: add CountTokens method to llm_utility_service
docs: minor changes to comments

PiperOrigin-RevId: 597667108

Source-Link: googleapis/googleapis@714ab03

Source-Link: https://github.com/googleapis/googleapis-gen/commit/3ff71b39d2ad2eeb5113940c5de5593da0527b26
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiM2ZmNzFiMzlkMmFkMmVlYjUxMTM5NDBjNWRlNTU5M2RhMDUyN2IyNiJ9

--
24299c0 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>:

🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

COPYBARA_INTEGRATE_REVIEW=googleapis#3172 from googleapis:owl-bot-copy 9e9bb6a
PiperOrigin-RevId: 597890211
@ehaca ehaca force-pushed the proposal/part_from_function_call branch from a0247dc to d69a894 Compare January 12, 2024 20:32
Copy link

snippet-bot bot commented Jan 12, 2024

No region tags are edited in this PR.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@product-auto-label product-auto-label bot added size: xl Pull request size is extra large. and removed size: m Pull request size is medium. labels Jan 12, 2024
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: xl Pull request size is extra large. labels Jan 12, 2024
@ehaca ehaca changed the title Allow user to create Part from function_call feat: Allow user to create Part from function_call Jan 17, 2024
@Ark-kun Ark-kun self-assigned this Jan 23, 2024
@Ark-kun Ark-kun self-requested a review January 23, 2024 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: vertex-ai Issues related to the googleapis/python-aiplatform API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow Part instantiation from function call
2 participants