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

chore(vertexai): remove vertex_ file name for most of files #13439

Merged
merged 2 commits into from
Oct 1, 2024

Conversation

cynthiajoan
Copy link
Collaborator

Description

Replace this paragraph with a description of what this PR is doing. If you're modifying existing behavior, describe the existing behavior, how this PR is changing it, and what motivated the change.

Related Issues

Replace this paragraph with a list of issues related to this PR from the issue database. Indicate, which of these issues are resolved or fixed by this PR. Note that you'll have to prefix the issue numbers with flutter/flutter#.

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
  • All existing and new tests are passing.
  • I updated/added relevant documentation (doc comments with ///).
  • The analyzer (melos run analyze) does not report any problems on my PR.
  • I read and followed the Flutter Style Guide.
  • I signed the CLA.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?

  • Yes, this is a breaking change.
  • No, this is not a breaking change.

@cynthiajoan cynthiajoan merged commit 86ff7e1 into vertexai/prepare_ga Oct 1, 2024
17 of 23 checks passed
@cynthiajoan cynthiajoan deleted the vertexai/filename branch October 1, 2024 19:15
cynthiajoan added a commit that referenced this pull request Oct 18, 2024
…) and can be used in production apps. (#13453)

* chore(vertexai): fork vertexai sdk away from generative ai sdk. (#13298)

* fix the sdk name and support platform

* forking off model and chat class

* fork api class

* remove some export content since the next vertexai release will be breaking change.

* fork function calling

* fork off content

* fix for analyzer

* more analyzer fix

* chore(vertexai): Add corresponding unit test for the fork (#13324)

* Add corresponding unit test for the fork

* fix issues from analyzer

* feat(vertexai): add json schema support and update schema structure (#13378)

* Add schema support for prompt response

* update schema object, replace requiredProperties to optionalProperties

* api updates (breaking)

* more tweak during api review

* Add format for Schema.string

* fix test files

* Update packages/firebase_vertexai/firebase_vertexai/lib/src/vertex_api.dart

Co-authored-by: Nate Bosch <[email protected]>

* add review feedback

---------

Co-authored-by: Nate Bosch <[email protected]>

* feat(vertexai): update function calling and sample (#13395)

* Add schema support for prompt response

* update schema object, replace requiredProperties to optionalProperties

* api updates (breaking)

* more tweak during api review

* Add format for Schema.string

* fix test files

* first sample update

* remove embedding

* api update for function calling

* Update sample code to match the new api

* more code snippet for toolconfig

* apply documentation update

* tweak of the tools

* remove embed related class

* Update packages/firebase_vertexai/firebase_vertexai/example/lib/main.dart

Co-authored-by: Nate Bosch <[email protected]>

* Update packages/firebase_vertexai/firebase_vertexai/example/lib/main.dart

Co-authored-by: Nate Bosch <[email protected]>

* address review comments

* more fix

* keep name consistency

* keep using getWeather to keep align with devsite documentation

* Update the static name

---------

Co-authored-by: Nate Bosch <[email protected]>

* feat(vertexai): update enums and citation and DataPart (#13410)

* Update SafeRating

* Rename citation source

* add blocked for SafetyRating parse

* Rename DataPart to InlineDataPart

* Update readme

* apply review comment

* feat(vertexai): Error message for service api not enabled. (#13435)

* Error message for service api not enabled.

* add quota exceed test

* Apply suggestions from code review

Co-authored-by: Nate Bosch <[email protected]>

* Update for review comments

---------

Co-authored-by: Nate Bosch <[email protected]>

* chore(vertexai): remove vertex_ file name for most of files (#13439)

* remove vertex_ file name for most of files

* organize import

* fix the optional attributes while parsing SafetyRating (#13452)

* chore(vertexai): function calling sample update (#13492)

* fix the optional attributes while parsing SafetyRating

* add doc comments

* update function sample

* comments

* Shorten lines over 80 columns (#13493)

Reflow comments and break long strings into adjacent string literals.

---------

Co-authored-by: Nate Bosch <[email protected]>
@firebase firebase locked and limited conversation to collaborators Nov 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants