commit | cca3f47c895e7cac07d7d48ab3c4850b265a710f | [log] [tgz] |
---|---|---|
author | gcf-owl-bot[bot] <78513119+gcf-owl-bot[bot]@users.noreply.github.com> | Wed Apr 10 21:22:16 2024 +0000 |
committer | GitHub <noreply@github.com> | Wed Apr 10 21:22:16 2024 +0000 |
tree | a42788886eeaf60038bc367205275b7d373bf475 | |
parent | 7fbdd8c1b212eb3a2e8c427e6b8882f9c6acd547 [diff] |
feat(ai/generativelanguage): Add question_answering and fact_verification task types for AQA (#9745) - [ ] Regenerate this pull request now. feat: Add output dimensionality for embeddings feat: Add response_mime_type to GenerationConfig docs: A bunch of small fixes PiperOrigin-RevId: 623546647 Source-Link: https://togithub.com/googleapis/googleapis/commit/33ae36216312ae9b34331d7be40eecf117929d40 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/c76a9c264c68594bf5d96cdcae3c74b7ca0aa443 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzc2YTljMjY0YzY4NTk0YmY1ZDk2Y2RjYWUzYzc0YjdjYTBhYTQ0MyJ9 BEGIN_NESTED_COMMIT feat(discoveryengine): support import data from Cloud Spanner, BigTable, SQL and Firestore feat: add answer generation APIs feat: add standalone grounding API feat: add standalone ranking API feat: support advanced search boosting feat: add advanced engine model APIs docs: keep the API doc up-to-date with recent changes PiperOrigin-RevId: 623543290 Source-Link: https://togithub.com/googleapis/googleapis/commit/5fadb63405833b1b9a4ff84b0e649d9591f2480d Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/589978b0a33d46e87b7bd0d8017739cdcae2accc Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTg5OTc4YjBhMzNkNDZlODdiN2JkMGQ4MDE3NzM5Y2RjYWUyYWNjYyJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs(maps/routing): various formatting and grammar fixes for proto documentation feat: adds support for new toll passes feat: adds support for specifying units in the ComputeRouteMatrix request PiperOrigin-RevId: 623543022 Source-Link: https://togithub.com/googleapis/googleapis/commit/fc8905581384dd1e820724b59fcf7c7ef727859d Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/e586c156d83a25845988578444f1c1e0a842fc4f Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTU4NmMxNTZkODNhMjU4NDU5ODg1Nzg0NDRmMWMxZTBhODQyZmM0ZiJ9 END_NESTED_COMMIT
Go packages for Google Cloud Platform services.
import "cloud.google.com/go"
To install the packages on your system, do not clone the repo. Instead:
cd /my/cloud/project
go get
the package(s) you want to use:go get cloud.google.com/go/firestore # Replace with the package you want to use.
NOTE: Some of these packages are under development, and may occasionally make backwards-incompatible changes.
For an updated list of all of our released APIs please see our reference docs.
Our libraries are compatible with at least the three most recent, major Go releases. They are currently compatible with:
By default, each API will use Google Application Default Credentials for authorization credentials used in calling the API endpoints. This will allow your application to run in many environments without requiring explicit configuration.
client, err := storage.NewClient(ctx)
To authorize using a JSON key file, pass option.WithCredentialsFile
to the NewClient
function of the desired package. For example:
client, err := storage.NewClient(ctx, option.WithCredentialsFile("path/to/keyfile.json"))
You can exert more control over authorization by using the golang.org/x/oauth2
package to create an oauth2.TokenSource
. Then pass option.WithTokenSource
to the NewClient
function:
tokenSource := ...
client, err := storage.NewClient(ctx, option.WithTokenSource(tokenSource))
Contributions are welcome. Please, see the CONTRIBUTING document for details.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See Contributor Code of Conduct for more information.