Commit Graph
116 Commits
Author SHA1 Message Date
Andrew Heard 1cdba8eabf [Vertex AI] Remove format for double() Schema (#13990) 2024-11-05 16:43:19 -05:00
Andrew Heard ba7325c84d [Vertex AI] Replace legacy errors in GenerativeAIService (#14036) 2024-11-05 16:32:47 -05:00
Andrew Heard db87a532dd [Vertex AI] Add CustomNSError conformance to BackendError (#14029) 2024-11-05 11:12:12 -05:00
Andrew Heard fb856dc70a [Vertex AI] Renamed RPCError to BackendError (#14027) 2024-11-04 19:12:11 -05:00
Andrew Heard 33a44a9791 [Vertex AI] Fix caching of Vertex AI instances (#14007) 2024-10-31 17:59:04 -04:00
Andrew Heard 8328630971 [Vertex AI] Make GenerationConfig properties internal (#13904) 2024-10-17 10:09:34 -04:00
Andrew Heard 78a181d48f [Vertex AI] Increase macOS minimum to 12.0 (#13903) 2024-10-16 11:18:06 -04:00
Andrew Heard 4b96944a6b [Vertex AI] Add presencePenalty and frequencyPenalty (#13899) 2024-10-15 20:43:53 -04:00
Andrew Heard 61f2ee3f8f [Vertex AI] Rename CandidateResponse to Candidate (#13897) 2024-10-15 19:12:50 -04:00
Andrew Heard 4ca1413690 [Vertex AI] Add Citation.publicationDate (#13893) 2024-10-15 18:45:48 -04:00
Andrew Heard b99e3d7567 [Vertex AI] Fix invalid DocC links and missing docs (#13896) 2024-10-15 15:33:56 -04:00
Andrew Heard e1d1ad967e [Vertex AI] Add blockReasonMessage to PromptFeedback (#13891) 2024-10-14 17:50:24 -04:00
Andrew Heard 178a5224f6 [Vertex AI] Add HarmBlockMethod enum and method property (#13876) 2024-10-14 17:25:38 -04:00
Andrew Heard 9cb9895e23 [Vertex AI] Add HarmSeverity enum and SafetyRating properties (#13875) 2024-10-14 13:36:37 -04:00
Andrew Heard 3eaa04d044 [Vertex AI] Refactor function calling APIs (#13873) 2024-10-10 20:02:08 -04:00
Andrew Heard 6059bbbc98 [Vertex AI] Switch to firebasevertexai.googleapis.com API (#13725) 2024-10-10 14:24:28 -04:00
Andrew Heard 02025cef95 [Vertex AI] Replace "enum" computed properties with static let (#13870) 2024-10-10 11:50:44 -04:00
Andrew Heard fde2baf3d4 [Vertex AI] Refactor StringFormat and IntegerFormat as structs (#13865) 2024-10-10 11:32:43 -04:00
Andrew Heard 1e954e9fd3 [Vertex AI] Refactored FunctionCallingConfig.Mode as a struct (#13864) 2024-10-09 20:26:15 -04:00
Andrew Heard 4b263b6ce5 [Vertex AI] Refactor BlockReason as a struct and add new values (#13861) 2024-10-09 18:53:17 -04:00
Andrew Heard 27cffd92bc [Vertex AI] Refactor HarmBlockThreshold as a struct and add .off (#13863) 2024-10-09 18:29:40 -04:00
Andrew Heard 67502af7fd [Vertex AI] Add EncodableProtoEnum protocol and fix encoding (#13862) 2024-10-09 17:12:37 -04:00
Andrew Heard 20c94134ba [Vertex AI] Refactor FinishReason as a struct and add new values (#13860) 2024-10-09 16:30:43 -04:00
Andrew Heard 492e488765 [Vertex AI] Extract common protobuf enum to struct decoding logic (#13859) 2024-10-09 14:38:54 -04:00
Andrew Heard 1e63a556a0 [Vertex AI] Use struct instead of enum for HarmProbability (#13854) 2024-10-08 20:47:21 -04:00
Andrew Heard 71070861db [Vertex AI] Make Schema constructor and DataType enum internal (#13852) 2024-10-08 19:31:53 -04:00
Andrew Heard 7bd6887d01 [Vertex AI] Use struct instead of enum for HarmCategory (#13728) 2024-10-08 18:31:09 -04:00
Seyed Mojtaba Hosseini Zeidabadi 10bbae0021 Docs: enhance the FirebaseVertexAI source documentation (#13836) 2024-10-08 11:22:43 -04:00
Andrew HeardandRyan Wilson 3df08833ac [Vertex AI] Simplify ModelContent initializers (#13832)
Co-authored-by: Ryan Wilson <wilsonryan@google.com>
2024-10-07 16:42:24 -04:00
Andrew Heard f27e34d2e5 [Vertex AI] Replace ModelContent.Part enum with protocol/structs (#13767) 2024-10-07 15:37:58 -04:00
Andrew Heard a366d6c498 [Vertex AI] Add image / function call count tokens integration tests (#13814) 2024-10-04 18:20:16 -04:00
Andrew Heard 688af8041a [Vertex AI] Add sysInstructs, tools, genConfig to countTokens (#13813) 2024-10-04 17:20:43 -04:00
Andrew Heard 533061f948 [Vertex AI] Remove NSObject superclass from VertexAI (#13742) 2024-09-30 17:20:22 -04:00
Andrew Heard a14a2c5a86 [Vertex AI] Update log message when API is not enabled (#13733) 2024-09-30 13:05:33 -04:00
Andrew Heard 5632b27f05 [Vertex AI] Remove supported platforms #warning (#13738) 2024-09-30 11:42:53 -04:00
Andrew Heard 78c341f1bd [Vertex AI] Remove CountTokensError enum (#13736) 2024-09-27 18:09:06 -04:00
Andrew Heard 4c9cc64473 [Vertex AI] Remove ImageConversionError from public API (#13735) 2024-09-27 17:33:14 -04:00
Andrew Heard 5ed86cdada [Vertex AI] Set default request timeout to 180 seconds (#13722) 2024-09-26 11:35:04 -04:00
Andrew Heard 801cbb3cea [Vertex AI] Add Vertex AI in Firebase API enablement logging (#13724) 2024-09-25 18:22:56 -04:00
Andrew Heard 7bb68adb85 [Vertex AI] Migrate logging to FirebaseLogger (#13638) 2024-09-25 17:31:55 -04:00
Andrew Heard b1a19b44f3 [Vertex AI] Optional CountTokensResponse.totalBillableCharacters (#13721) 2024-09-25 14:43:36 -04:00
Andrew Heard 5822291dff [Vertex AI] Refactor Schema declarations (#13616) 2024-09-24 20:36:50 -04:00
Andrew Heard 5fe65b9738 [Vertex AI] Rename citationSources to citations (#13702) 2024-09-24 11:56:56 -04:00
Andrew Heard 4d71da87fa [Vertex AI] Rename Part enum case data to inlineData (#13700) 2024-09-24 11:56:56 -04:00
Andrew Heard 5fb5a5ba91 [Vertex AI] Remove unspecified enum cases from response types (#13699) 2024-09-24 11:56:56 -04:00
Andrew Heard aab0282a50 [Vertex AI] Rename BlockThreshold to HarmBlockThreshold (#13696) 2024-09-24 11:56:56 -04:00
Andrew Heard 3cab646fe1 [Vertex AI] Refactor HarmCategory enum (#13686)
# Conflicts:
#	FirebaseVertexAI/CHANGELOG.md
2024-09-24 11:56:56 -04:00
Andrew Heard 2bff4d4362 Revert "Make GenerativeModel and Chat into Swift actors (#13545)" (#13703) 2024-09-24 10:50:55 -04:00
Andrew Heard c282b6c008 [Vertex AI] Cleanup Decodable impl from BlockThreshold (#13673) 2024-09-19 12:30:48 -04:00
Andrew Heard 18c90b899c [Vertex AI] Remove SafetyFeedback struct (#13666) 2024-09-18 20:15:43 -04:00