Commit Graph
46 Commits
Author SHA1 Message Date
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 ea6f84e0b4 [Vertex AI] Use GoogleService-Info.plist in snippets tests (#13923) 2024-10-17 16:55:38 -04:00
Andrew Heard 4ca1413690 [Vertex AI] Add Citation.publicationDate (#13893) 2024-10-15 18:45:48 -04:00
Andrew Heard e1d1ad967e [Vertex AI] Add blockReasonMessage to PromptFeedback (#13891) 2024-10-14 17:50:24 -04:00
Andrew Heard 9cb9895e23 [Vertex AI] Add HarmSeverity enum and SafetyRating properties (#13875) 2024-10-14 13:36:37 -04:00
Andrew Heard 6059bbbc98 [Vertex AI] Switch to firebasevertexai.googleapis.com API (#13725) 2024-10-10 14:24:28 -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 20c94134ba [Vertex AI] Refactor FinishReason as a struct and add new values (#13860) 2024-10-09 16:30:43 -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 7bd6887d01 [Vertex AI] Use struct instead of enum for HarmCategory (#13728) 2024-10-08 18:31:09 -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 688af8041a [Vertex AI] Add sysInstructs, tools, genConfig to countTokens (#13813) 2024-10-04 17:20:43 -04:00
Andrew Heard 78c341f1bd [Vertex AI] Remove CountTokensError enum (#13736) 2024-09-27 18:09:06 -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 b1a19b44f3 [Vertex AI] Optional CountTokensResponse.totalBillableCharacters (#13721) 2024-09-25 14:43:36 -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 2bff4d4362 Revert "Make GenerativeModel and Chat into Swift actors (#13545)" (#13703) 2024-09-24 10:50:55 -04:00
Andrew Heard e81ea8e2f3 [Vertex AI] Silence SafetyRating: Comparable warning in tests (#13635) 2024-09-13 14:56:38 -04:00
Andrew Heard 413dfef9ef [Vertex AI] Prepare podspec for a CocoaPods release (#13585) 2024-09-04 18:14:26 -04:00
Andrew Heard 8f82f5d7a4 [Vertex AI] Make generateContentStream/sendMessageStream throws (#13573) 2024-09-03 18:47:02 -04:00
Andrew Heard 20ec9a3877 [Vertex AI] Make GenerativeModel and Chat into Swift actors (#13545) 2024-09-03 17:58:10 -04:00
Andrew Heard 6835193510 [Vertex AI] Remove extraneous GenerativeModel.modelResourceName method (#13544) 2024-08-26 15:48:34 -04:00
Andrew Heard 6148c13f2b [Vertex AI] Make uri optional in Citation and add title field (#13520) 2024-08-19 17:33:15 -04:00
Andrew Heard 102ae79fba [Vertex AI] Add support for compiling on watchOS (#13215) 2024-07-02 17:15:33 -04:00
Tanzim Hossain 2dcb05cfc4 VertexAI: migrate test cases to use updated set of golden files (#13152) 2024-06-19 13:35:17 -04:00
Andrew Heard b51130a884 [Vertex AI] Add support for compiling on tvOS (#13090) 2024-06-10 11:29:39 -04:00
Andrew Heard 05a5426f31 [Vertex AI] Add error message for Firebase ML API not enabled (#13007) 2024-05-21 17:50:32 -04:00
Andrew Heard 2ba8537c88 [Vertex AI] Make text computed property handle mixed-parts responses (#12921) 2024-05-13 12:14:34 -04:00
Andrew Heard 54e4ef47e2 [Vertex AI] Integrate with AppCheckInterop (#12856) 2024-05-13 12:14:34 -04:00
Andrew Heard d88b0350b0 [Vertex AI] Update Citation decoding to handle optional startIndex (#12832) 2024-05-13 12:14:34 -04:00
Andrew Heard 070c45f63c Add usageMetadata to GenerateContentResponse in Vertex AI (#12777) 2024-05-13 12:14:34 -04:00
Andrew Heard a5074e55d3 Handle totalBillableCharacters optional decoding in Vertex AI (#12715) 2024-05-13 12:14:00 -04:00
Andrew Heard 1007a29063 Add functionCalls accessor to GenerateContentResponse (#12690) 2024-05-13 12:14:00 -04:00
Andrew Heard aa18e59794 Add platform tags in x-goog-api-client (#12680) 2024-05-13 12:14:00 -04:00
Andrew Heard c9536b8254 Add totalBillableCharacters to CountTokensResponse in Vertex AI (#12646) 2024-05-13 12:14:00 -04:00
Andrew Heard 120fb62c1e Add function calling support in Vertex AI (#12633) 2024-05-13 12:14:00 -04:00
Andrew Heard fdc2985678 Fix CitationMetadata parsing in Vertex AI (#12626) 2024-05-13 12:13:59 -04:00
Paul Beusterien 82d73353bd Build Sample in CI (#12616) 2024-05-13 12:13:59 -04:00
Andrew Heard e70550d864 Update test JSON payloads with Vertex AI output (#12615) 2024-05-13 12:13:59 -04:00
Andrew Heard 4f44ef283b Add App Check tests in GenerativeModelTests (#12590) 2024-05-13 12:13:59 -04:00
Andrew Heard 23a1febc0f Use generative-ai-swift tests in Vertex AI (#12585) 2024-05-13 12:13:59 -04:00
f0d31ea40f Fork generative-ai-swift tests for Vertex AI (#12584)
Co-authored-by: Morgan Chen <morganchen@google.com>
Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
Co-authored-by: Peter Friese <peterfriese@google.com>
Co-authored-by: Ryan Wilson <wilsonryan@google.com>
2024-05-13 12:13:59 -04:00