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

Sync wasm variant with v0.5.0 #9

Merged
merged 49 commits into from
May 4, 2024
Merged

Sync wasm variant with v0.5.0 #9

merged 49 commits into from
May 4, 2024

Conversation

PatilShreyas
Copy link
Owner

No description provided.

rlazo and others added 30 commits March 14, 2024 19:19
Sync with google/generative-ai-android v0.2.2
Per [b/330773378](https://b.corp.google.com/issues/330773378),

This adds support for the new `FileData` part type for referencing
storage files. This also adds "support" from the genai side, as a means
of catching future api discrepancies between common and genai.
Co-authored-by: David Motsonashvili <[email protected]>
Co-authored-by: Rodrigo Lazo <[email protected]>
Mockk 1.13.* depends on kotlin 1.9
The field can be ignored in the request.

b/331762991
This parameter is used to fill the `x-goog-api-client` header
Per [b/330880975](https://b.corp.google.com/issues/330880975),

This updates our release infrastructure to support our new multi project
repo (with `common` and `generativeai` living next to one another). Now,
we can release either in separation of the other.

This PR also includes the necessary changes to various tasks, plugins,
workflows, tools, and even documentation.

More specifically, this PR fixes the following:

- [b/332890790](https://b.corp.google.com/issues/332890790) -> Implement
a task to generate collective release notes
- [b/332891281](https://b.corp.google.com/issues/332891281) -> Implement
a task to generative collective api changes
- [b/332891563](https://b.corp.google.com/issues/332891563) -> Provide a
means for SDKs to generate their release artifacts in isolation of one
another
- [b/332892199](https://b.corp.google.com/issues/332892199) -> Separate
api changes according to sdk
- [b/332892499](https://b.corp.google.com/issues/332892499) -> Implement
a task to release all sdks with changes
- [b/332893058](https://b.corp.google.com/issues/332893058) -> Update
the api changes workflow to work for multiple sdks
- [b/332894984](https://b.corp.google.com/issues/332894984) -> Update
the build release workflow to work for multiple sdks
- [b/332897987](https://b.corp.google.com/issues/332897987) -> Update
DEVELOPING to reflect the multiple sdk structure
- [b/332898189](https://b.corp.google.com/issues/332898189) -> Update
change to allow specifying projects
google-gemini#112)

…gh common

Co-authored-by: David Motsonashvili <[email protected]>
Co-authored-by: Rodrigo Lazo <[email protected]>
It seems like the `tools` and `toolConfig` parameters were added before
`requestOptions`, which could cause a breaking change because in the
current version of the SDK the `RequestOptions` is in a different order
(right after `safetySettings`).

---------

Co-authored-by: Rodrigo Lazo <[email protected]>
Common and GenerativeAI SDKs are both getting a version bump
Also, update the README to use gemini-1.5-pro-latest
We are enabling devs to reference a file in the request, but not ot
upload from the Android SDK

---------

Co-authored-by: Daymon <[email protected]>
Add caution section on top

---------

Co-authored-by: rachelsaunders <[email protected]>
daymxn and others added 19 commits April 24, 2024 19:47
Per [b/333743859](https://b.corp.google.com/issues/333743859),

This fixes the issues with the `updateVersion` task properly pulling a
dependency on the release notes task, and adds the api files we were
previously missing

This PR also fixes the following:
- [b/336808217](https://b.corp.google.com/issues/336808217) -> Migrate
away from file properties
Per [b/337045627](https://b.corp.google.com/issues/337045627),

Since `v1beta` is now the default, we no longer have any need to require
optin for certain features. The annotation itself has been left for
future usage, but its actual usages have been removed.
Also, exposes the data when available.

Addresses issue google-gemini#134
… v0.5.0-wasm

# Conflicts:
#	generativeai/gradle.properties
#	generativeai/src/commonMain/kotlin/dev/shreyaspatil/ai/client/generativeai/type/RequestOptions.kt
@PatilShreyas PatilShreyas merged commit 368b8b5 into wasm May 4, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants