Commit graph

40 commits

Author SHA1 Message Date
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
bab01b38ef 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: 759724486
2025-05-16 13:00:01 -07:00
Google APIs
eb6cdb7e07 fix: Upgrade Go gRPC Protobuf generation
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: 754988866
2025-05-05 10:30:30 -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
c76b740723 feat: add support for live API (https://github.com/googleapis/go-genai/issues/275)
feat: add support for Veo: PredictLongRunning and generated/downloadable files
feat: add minimum, maximum, any_of, property_ordering, default and null type to Schema
feat: add support for ModalityTokenCounts in UsageMetadata responses
feat: add CODE_RETRIEVAL_QUERY embedding task type
feat: add language_code to speech config
feat: add ThinkingConfig, MediaResolution, and seed to GenerationConfig

PiperOrigin-RevId: 752332723
2025-04-28 09:18:38 -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
130b113520 feat: Add GoogleSearch tool type
feat: Add return type `Schema response` to function declarations
feat: Add id to FunctionCall and FunctionResponse
feat: Add civic_integrity toggle to generation_config
feat: Add response_modalities to generation_config
feat: Add voice_config to generation_config
docs: Update safety filter list to include civic_integrity
feat: Add image_safety block_reason + finish_reason

PiperOrigin-RevId: 713080033
2025-01-07 16:31:31 -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
ae0e102e47 feat: Add v1alpha
feat: Add BidiGenerateContent + all the necessary protos
feat: Add TuningMultiturnExample

PiperOrigin-RevId: 713078684
2025-01-07 16:27:00 -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
c70bd1ef0b feat: Add GenerateContentRespoinse.model_version
feat: Add GroundingMetadata.web_search_queries
docs: Small updates

PiperOrigin-RevId: 698047489
2024-11-19 09:35:28 -08:00
Google APIs
979f71cfae feat: Add GoogleSearchRetrieval tool and candidate.grounding_metadata
feat: Add Schema.min_items
feat: Add GenerationConfig.{presence_penalty, frequency_penalty, logprobs, response_logprobs, logprobs} and Candidate.{avg_logprobs, logprobs_result}
feat: Add PredictionService (for Imagen)
feat: Add HarmCategory.HARM_CATEGORY_CIVIC_INTEGRITY
feat: Add HarmBlockThreshold.OFF
feat: Add TunedModels.reader_project_numbers
docs: Small fixes
docs: Tag HarmCategories by the model family they're used on.

PiperOrigin-RevId: 676982731
2024-09-20 14:59:47 -07: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
5157b5f455 docs: Many small fixes
feat: Add new PromptFeedback and FinishReason entries for https://github.com/google-gemini/generative-ai-python/issues/476

PiperOrigin-RevId: 663936518
2024-08-16 17:57:47 -07:00
Google APIs
cb060cbb75 feat: Add code execution
feat: Add max_temperature
docs: Minor fixes

PiperOrigin-RevId: 646960455
2024-06-26 08:41:30 -07:00
Google APIs
804ed3efe6 feat: Add content caching
feat: Add cached_content_token_count to generative_service's UsageMetadata
feat: Add cached_content_token_count to CountTokensResponse
docs: Small fixes

PiperOrigin-RevId: 642001790
2024-06-10 13:20:53 -07:00
Google APIs
298a53b529 feat: Add video metadata to files API
feat: Update timeouts for generate content
docs: Minor updates

PiperOrigin-RevId: 634425922
2024-05-16 09:21:40 -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
79c1b132c6 feat: Add FileState to File
feat: Add response_schema to GenerationConfig
feat: Add UsageMetadata to GenerateContentResponse
feat: Add GenerateContentRequest to CountTokensRequest
docs: Various small fixes

PiperOrigin-RevId: 630516587
2024-05-03 15:40:19 -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
33ae362163 feat: Add question_answering and fact_verification task types for AQA
feat: Add output dimensionality for embeddings
feat: Add response_mime_type to GenerationConfig
docs: A bunch of small fixes

PiperOrigin-RevId: 623546647
2024-04-10 11:01:38 -07:00
Google APIs
81cd9fe84c feat: Add system instructions
feat: Add tool_config
feat: Add file upload service
feat: Add file_data to part options
docs: A comment for field `candidate_count` in message `.google.ai.generativelanguage.v1beta.GenerationConfig` is changed

PiperOrigin-RevId: 620400522
2024-03-29 19:44:37 -07:00
Google APIs
074ea98e53 fix!: make learning rate a one-of
docs: A few small updates
feat: Add `learning_rate_multiplier` to tuning `Hyperparameters`

PiperOrigin-RevId: 616144364
2024-03-15 08:53:56 -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
d99f6f5e15 fix!: Fix content.proto's Schema - type should be required
feat: Update GenAI libraries to include input_safety_feedback
docs: Minor docs updates.

PiperOrigin-RevId: 600837712
2024-01-23 10:41:37 -08:00
Google APIs
41a0bf9ee4 docs: Fixed minor documentation typos for field function_declarations in message .google.ai.generativelanguage.v1beta.Tool
PiperOrigin-RevId: 599264691
2024-01-17 13:06:55 -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
Google APIs
76b97ea7d0 build: include gRPC service config in BUILD.bazel files
docs: minor comment fix

PiperOrigin-RevId: 577900614
2023-10-30 11:23:36 -07:00
Google APIs
87083bffa0 feat: Upgrade to API v1beta3
feat: Add model tuning
feat: Add permissions service
feat: Add BatchEmbedText and CountTextTokens to the text service

PiperOrigin-RevId: 566721485
2023-09-19 13:11:35 -07:00
Google APIs
2b39780f08 chore: update go_package and Go importpath
PiperOrigin-RevId: 545670222
2023-07-05 07:53:00 -07:00
Google APIs
a225b04066 fix!: Update safety protos
PiperOrigin-RevId: 544151339
2023-06-28 13:53:03 -07:00
Google APIs
4221b78ecd chore(php): remove non-ads php_grpc_library targets
PiperOrigin-RevId: 536549230
2023-05-30 17:06:44 -07:00
Google APIs
d0da39a25e chore(bazel): remove all no-op go_test targets
PiperOrigin-RevId: 535010591
2023-05-24 15:55:02 -07:00
Google APIs
989aeef25b feat: Add safety settings
PiperOrigin-RevId: 529739461
2023-05-05 09:40:44 -07:00
Google APIs
d4623234ca feat: Generate public protos for ai.generativelanguage
PiperOrigin-RevId: 528495897
2023-05-01 09:48:54 -07:00