Commit graph

18 commits

Author SHA1 Message Date
Google APIs
c631c694fd feat: add IMAGE_RECITATION reason when generation is stopped due to recitation
feat: add support for GroundingMetadata.google_maps_widget_context_token
feat: add json_name for GenerationConfig.response_json_schema_ordered field

PiperOrigin-RevId: 846116816
2025-12-18 00:21:52 -08:00
Google APIs
f495b4597a feat: add support for additional reasons to stop image generation
feat: add support for finish_message that contain details the reason why the model stopped generating tokens
feat: add URL_RETRIEVAL_STATUS_UNSAFE and URL_RETRIEVAL_STATUS_PAYWALL statuses for url retrieval
feat: add log_probability_sum
docs: deprecation notice for HarmCategory.HARM_CATEGORY_CIVIC_INTEGRITY

PiperOrigin-RevId: 819823490
2025-10-15 10:47:24 -07:00
Google APIs
cb896a96d8 feat: add support for video_metadata
feat: add support for UrlContextMetadata
feat: add a flag whether the model supports thinking

PiperOrigin-RevId: 799227247
2025-08-25 12:39:49 -07:00
Google APIs
d03cc13314 fix: upgrade gRPC service registration func
An update to Go gRPC Protobuf generation will change service registration function signatures to use an interface instead of a concrete type in generated .pb.go service files. This change should affect very few client library users. See release notes advisories in https://github.com/googleapis/google-cloud-go/pull/11025.

PiperOrigin-RevId: 765227853
2025-05-30 09:45:36 -07:00
Google APIs
dcb6c86743 feat: add CODE_RETRIEVAL_QUERY embedding task type
feat: add seed to GenerationConfig
feat: add support for ModalityTokenCounts in UsageMetadata responses

PiperOrigin-RevId: 752418245
2025-04-28 13:06:42 -07:00
Google APIs
7c6f112ae1 build: add deps in build
PiperOrigin-RevId: 750357322
2025-04-22 16:00:01 -07:00
Google APIs
fdc32b8f3d build: centralize build imports for all languages
PiperOrigin-RevId: 745681086
2025-04-09 12:05:11 -07:00
Google APIs
9415ba048a chore: update copyright year for auto-generated protos
PiperOrigin-RevId: 732130682
2025-02-28 07:26:00 -08:00
Google APIs
23553a97fb feat: Add civic_integrity toggle
docs: Update safety filter list to include civic_integrity
feat: Add image_safety block_reason + finish_reason

PiperOrigin-RevId: 713079488
2025-01-07 16:30:42 -08:00
Google APIs
7466a5b356 feat: Adds search grounding
feat: Adds `GenerateContentResponse.model_version` output
docs: Some small updates.

PiperOrigin-RevId: 698047851
2024-11-19 09:36:45 -08:00
Google APIs
1cb097eee9 feat: Add GenerationConfig.{presence_penalty, frequency_penalty, logprobs, response_logprobs, logprobs} and Candidate.{avg_logprobs, logprobs_result}
feat: Add HarmCategory.HARM_CATEGORY_CIVIC_INTEGRITY
docs: Tag HarmCategories by the model family they're used on.
feat: Add HarmBlockThreshold.OFF
docs: Small fixes

PiperOrigin-RevId: 676980561
2024-09-20 14:54:38 -07:00
Google APIs
21c206f737 docs: Many small fixes
feat: Add new PromptFeedback and FinishReason entries
feat: Add model max_temperature

PiperOrigin-RevId: 663936564
2024-08-16 17:58:52 -07:00
Google APIs
b546bed710 feat: Add usage metadata to GenerateContentResponse
feat: Add generate_content_request to CountTokensRequest
feat: Update timeouts
docs: Minor updates

PiperOrigin-RevId: 634424772
2024-05-16 09:19:19 -07:00
Google APIs
3597f7db21 chore: update copyright year for auto-generated protos
PiperOrigin-RevId: 631538781
2024-05-07 13:56:05 -07:00
Google APIs
f758dd6fa0 feat: Add rest binding for tuned models
feat: Add question_answering and fact_verification task types for AQA
feat: Add output dimensionality for embeddings
docs: Lots of small fixed

PiperOrigin-RevId: 624205405
2024-04-12 09:37:05 -07:00
Google APIs
50e09cc0ac docs: Update summary, improve description for title in EmbedContentRequest
PiperOrigin-RevId: 600858110
2024-01-23 11:41:49 -08:00
Google APIs
6c84684003 build: update package name for node for generative AI
PiperOrigin-RevId: 596651623
2024-01-08 11:20:18 -08:00
Google APIs
f5b6a3ba4f feat: Add v1beta, adds GenerativeService and RetrievalService
feat: Add v1, contains only GenerativeService, nothing else

PiperOrigin-RevId: 589233134
2023-12-08 13:52:15 -08:00