Commit Graph
55 Commits
Author SHA1 Message Date
Paul Beusterien 20a9ea3c1f delete 2024-07-03 11:35:54 -07:00
Paul Beusterien cfacee8a91 Merge remote-tracking branch 'origin/main' into pb-merge-main7-3 2024-07-03 11:33:03 -07:00
Paul Beusterien 0ab171c52b [v11] Update to SwiftFormat 0.54.0 (#13222) 2024-07-03 07:01:29 -07:00
Andrew Heard 102ae79fba [Vertex AI] Add support for compiling on watchOS (#13215) 2024-07-02 17:15:33 -04:00
Andrew Heard 61384c1223 Merge branch 'main' into release-11.0-merge
# Conflicts:
#	Firebase.podspec
#	FirebaseABTesting.podspec
#	FirebaseAnalytics.podspec
#	FirebaseAnalyticsOnDeviceConversion.podspec
#	FirebaseAppCheck.podspec
#	FirebaseAppCheckInterop.podspec
#	FirebaseAppDistribution.podspec
#	FirebaseAuth.podspec
#	FirebaseAuthInterop.podspec
#	FirebaseCore.podspec
#	FirebaseCoreExtension.podspec
#	FirebaseCoreInternal.podspec
#	FirebaseCrashlytics.podspec
#	FirebaseDatabase.podspec
#	FirebaseDynamicLinks.podspec
#	FirebaseFirestore.podspec
#	FirebaseFirestoreInternal.podspec
#	FirebaseFunctions.podspec
#	FirebaseInAppMessaging.podspec
#	FirebaseInstallations.podspec
#	FirebaseMLModelDownloader.podspec
#	FirebaseMessaging.podspec
#	FirebaseMessaging/CHANGELOG.md
#	FirebaseMessagingInterop.podspec
#	FirebasePerformance.podspec
#	FirebaseRemoteConfig.podspec
#	FirebaseRemoteConfigInterop.podspec
#	FirebaseSessions.podspec
#	FirebaseSharedSwift.podspec
#	FirebaseStorage.podspec
#	FirebaseVertexAI/Sources/VertexAIComponent.swift
#	GoogleAppMeasurement.podspec
#	GoogleAppMeasurementOnDeviceConversion.podspec
#	Package.swift
#	ReleaseTooling/Sources/FirebaseManifest/FirebaseManifest.swift
2024-06-21 15:33:16 -04:00
Andrew Heard b51130a884 [Vertex AI] Add support for compiling on tvOS (#13090) 2024-06-10 11:29:39 -04:00
Andrew Heard 4949d674fb [Vertex AI] Update samples/docs to use gemini-1.5-flash (#13099) 2024-06-07 17:09:28 -07:00
Paul Beusterien 8136158f10 [v11] Address component system cleanup PR comments (#13055) 2024-06-04 08:06:57 -07:00
Paul Beusterien 8719e5a9bc [v11] Simplify Component System Usage (#13047) 2024-06-03 15:45:09 -07:00
Andrew Heard bf7272dd7e [Vertex AI] Log server error responses without -FIRDebugEnabled (#13009) 2024-05-21 18:45:48 -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 61c10bcc56 [Vertex AI] Update samples/docs to use gemini-1.5-flash-preview-0514 (#12979) 2024-05-16 16:05:45 -04:00
Paul Beusterien 47646a5bf5 [vertex-ai] more accurate location error message (#12948) 2024-05-13 12:14:34 -04:00
Andrew Heard ff5acbaf7a [Vertex AI] Update logging details from Google AI SDK (#12933) 2024-05-13 12:14:34 -04:00
Andrew Heard 7cd652bbc0 [Vertex AI] Update documentation for file data (#12929) 2024-05-13 12:14:34 -04:00
Andrew Heard 73a1dd99a8 [Vertex AI] Add basic checks for invalid model names (#12923) 2024-05-13 12:14:34 -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 849680a17a [Vertex AI] Add responseMIMEType to GenerationConfig (#12918) 2024-05-13 12:14:34 -04:00
Andrew Heard f7488f4cb3 [Vertex AI] Make Constants file internal and fix typos (#12916) 2024-05-13 12:14:34 -04:00
Morgan Chen d4319246f5 Add docsgen podspec for VertexAI and clean up some doc comments (#12912) 2024-05-13 12:14:34 -04:00
Andrew Heard 5ef2abd50c [Vertex AI] Add default nil for FunctionDeclaration requiredParameters (#12902) 2024-05-13 12:14:34 -04:00
Andrew Heard 735aed1d14 [Vertex AI] Add URI-based file data support (#12886) 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 faf59aa5cc [Vertex AI] Add location checks for slashes and whitespace (#12849) 2024-05-13 12:14:34 -04:00
Andrew Heard a42d2d938e [Vertex AI] Remove public Codable conformance (#12833) 2024-05-13 12:14:34 -04:00
Andrew Heard 2ffe88e8d5 [Vertex AI] Re-added location parameter to public API (#12835) 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 bcd7d97f44 [Vertex AI] Add Swift major version to language tag (#12829) 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 3229b0fd56 Add system instruction support in Vertex AI (#12749) 2024-05-13 12:14:34 -04:00
Andrew HeardandPaul Beusterien 3493ffb4a8 Add forced function calling support in Vertex AI (#12748)
Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
2024-05-13 12:14:33 -04:00
Andrew Heard a5074e55d3 Handle totalBillableCharacters optional decoding in Vertex AI (#12715) 2024-05-13 12:14:00 -04:00
Andrew Heard 73c7ee9e48 Remove apiVersion from RequestOptions in Vertex AI (#12707) 2024-05-13 12:14:00 -04:00
Andrew Heard 2d4893615d Remove location from Vertex AI public API (#12706) 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 942a3cd421 Update to prod endpoint in Vertex AI (#12657) 2024-05-13 12:14:00 -04:00
Andrew Heard e63270eafa Rename the Vertex AI parameter region to location (#12656) 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
Paul Beusterien 53300e2bf5 VertexAI Component tests; fix instance generation for different regions (#12631) 2024-05-13 12:14:00 -04:00
Paul Beusterien 0f1fdc888c Manage location on VertexAI instead of model (#12630) 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
Andrew Heard af52205fbf Make generativeModel an instance method of VertexAI (#12599) 2024-05-13 12:13:59 -04:00
Andrew Heard 92f6a1d932 Use forked google-generative-ai in Vertex AI samples (#12574) 2024-05-13 12:13:35 -04:00
50d0d29cbb Fork google-generative-ai for Firebase (#12564)
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:34 -04:00
Andrew Heard 1bf861c6fa Prototype and sample fixes 2024-05-01 11:45:19 -04:00
Andrew Heard 08ccd2a2a1 Fix optional VertexAIProvider unwrapping 2024-05-01 11:45:19 -04:00
Andrew Heard 50d49ea376 Update generative-ai-swift dependency 2024-05-01 11:45:19 -04:00
Andrew Heard e0e5aedf0a Add sample apps using Vertex AI 2024-05-01 11:45:19 -04:00