Преглед на файлове

[Firebase AI] Cleanup Vertex AI in Firebase references (#15033)

Andrew Heard преди 9 месеца
родител
ревизия
3fe56e9fc1
променени са 8 файла, в които са добавени 10 реда и са изтрити 92 реда
  1. 2 2
      .github/workflows/spm.yml
  2. 0 1
      Carthage.md
  3. 1 4
      Dangerfile
  4. 1 1
      FirebaseAI/README.md
  5. 5 5
      README.md
  6. 1 1
      scripts/README.md
  7. 0 1
      scripts/make_release_notes.py
  8. 0 77
      scripts/spm_test_schemes/FirebaseVertexAIUnit.xcscheme

+ 2 - 2
.github/workflows/spm.yml

@@ -71,7 +71,7 @@ jobs:
       with:
         path: .build
         key: ${{needs.spm-package-resolved.outputs.cache_key}}
-    - name: Clone mock responses for Vertex AI unit tests
+    - name: Clone mock responses for Firebase AI Logic unit tests
       run: scripts/update_vertexai_responses.sh
     - name: Xcode
       run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
@@ -106,7 +106,7 @@ jobs:
       with:
         path: .build
         key: ${{needs.spm-package-resolved.outputs.cache_key}}
-    - name: Clone mock responses for Vertex AI unit tests
+    - name: Clone mock responses for Firebase AI Logic unit tests
       run: scripts/update_vertexai_responses.sh
     - name: Xcode
       run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer

+ 0 - 1
Carthage.md

@@ -48,7 +48,6 @@ binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMessagingBinary.j
 binary "https://dl.google.com/dl/firebase/ios/carthage/FirebasePerformanceBinary.json"
 binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseRemoteConfigBinary.json"
 binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseStorageBinary.json"
-binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseVertexAIBinary.json"
 ```
 - Run `carthage update`
 - Use Finder to open `Carthage/Build`.

+ 1 - 4
Dangerfile

@@ -130,10 +130,7 @@ has_license_changes = didModify(["LICENSE"])
 @has_crashlytics_api_changes = hasChangesIn("Crashlytics/Crashlytics/Public/")
 @has_database_changes = hasChangesIn("FirebaseDatabase")
 @has_database_api_changes = hasChangesIn("FirebaseDatabase/Sources/Public/")
-@has_firebaseai_changes = hasChangesIn([
-  "FirebaseAI",
-  "FirebaseVertexAI"
-])
+@has_firebaseai_changes = hasChangesIn("FirebaseAI")
 @has_firestore_changes = hasChangesIn(["Firestore/", "FirebaseFirestore.podspec"])
 @has_firestore_api_changes = hasChangesIn("Firestore/Source/Public/")
 @has_functions_changes = hasChangesIn(["FirebaseFunctions"])

+ 1 - 1
FirebaseAI/README.md

@@ -1,6 +1,6 @@
 # Firebase AI SDK
 
-- For developer documentation, please visit https://firebase.google.com/docs/vertex-ai.
+- For developer documentation, please visit https://firebase.google.com/docs/ai-logic.
 - Try out the [sample app](https://github.com/firebase/quickstart-ios/tree/main/firebaseai) to get started.
 
 ## Development

+ 5 - 5
README.md

@@ -181,6 +181,11 @@ For coverage report generation instructions, see [scripts/code_coverage_report/R
 ## Specific Component Instructions
 See the sections below for any special instructions for those components.
 
+### Firebase AI Logic
+
+See the [Firebase AI Logic README](FirebaseAI#development) for instructions
+about building and testing the SDK.
+
 ### Firebase Auth
 
 For specific Firebase Auth development, refer to the [Auth Sample README](FirebaseAuth/Tests/Sample/README.md) for instructions about
@@ -235,11 +240,6 @@ at **Project Settings > Cloud Messaging > [Your Firebase App]**.
 The iOS Simulator cannot register for remote notifications and will not receive push notifications.
 To receive push notifications, follow the steps above and run the app on a physical device.
 
-### Vertex AI for Firebase
-
-See the [Vertex AI for Firebase README](FirebaseVertexAI#development) for
-instructions about building and testing the SDK.
-
 ## Building with Firebase on Apple platforms
 
 Firebase provides official beta support for macOS, Catalyst, and tvOS. visionOS and watchOS

+ 1 - 1
scripts/README.md

@@ -185,7 +185,7 @@ Script to add a file to an Xcode target.
 
 ### [update_vertexai_responses.sh](https://github.com/firebase/firebase-ios-sdk/blob/main/scripts/update_vertexai_responses.sh)
 
-Downloads mock response files for Vertex AI unit tests.
+Downloads mock response files for the Firebase AI Logic unit tests.
 
 ### [xcresult_logs.py](https://github.com/firebase/firebase-ios-sdk/blob/main/scripts/xcresult_logs.py)
 

+ 0 - 1
scripts/make_release_notes.py

@@ -43,7 +43,6 @@ PRODUCTS = {
     'FirebaseFunctions/CHANGELOG.md': '{{cloud_functions}}',
     'FirebaseRemoteConfig/CHANGELOG.md': '{{remote_config}}',
     'FirebasePerformance/CHANGELOG.md': '{{perfmon}}',
-    'FirebaseVertexAI/CHANGELOG.md': '{{vertex_ai_in_firebase}}',
 
     # Assumes firebase-ios-sdk and data-connect-ios-sdk are cloned to the same
     # directory.

+ 0 - 77
scripts/spm_test_schemes/FirebaseVertexAIUnit.xcscheme

@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Scheme
-   LastUpgradeVersion = "1200"
-   version = "1.3">
-   <BuildAction
-      parallelizeBuildables = "YES"
-      buildImplicitDependencies = "YES">
-      <BuildActionEntries>
-         <BuildActionEntry
-            buildForTesting = "YES"
-            buildForRunning = "YES"
-            buildForProfiling = "NO"
-            buildForArchiving = "NO"
-            buildForAnalyzing = "YES">
-            <BuildableReference
-               BuildableIdentifier = "primary"
-               BlueprintIdentifier = "FirebaseVertexAIUnit"
-               BuildableName = "FirebaseVertexAIUnit"
-               BlueprintName = "FirebaseVertexAIUnit"
-               ReferencedContainer = "container:">
-            </BuildableReference>
-         </BuildActionEntry>
-      </BuildActionEntries>
-   </BuildAction>
-   <TestAction
-      buildConfiguration = "Debug"
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      shouldUseLaunchSchemeArgsEnv = "YES">
-      <Testables>
-         <TestableReference
-            skipped = "NO">
-            <BuildableReference
-               BuildableIdentifier = "primary"
-               BlueprintIdentifier = "FirebaseVertexAIUnit"
-               BuildableName = "FirebaseVertexAIUnit"
-               BlueprintName = "FirebaseVertexAIUnit"
-               ReferencedContainer = "container:">
-            </BuildableReference>
-         </TestableReference>
-      </Testables>
-   </TestAction>
-   <LaunchAction
-      buildConfiguration = "Debug"
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      launchStyle = "0"
-      useCustomWorkingDirectory = "NO"
-      ignoresPersistentStateOnLaunch = "NO"
-      debugDocumentVersioning = "YES"
-      debugServiceExtension = "internal"
-      allowLocationSimulation = "YES">
-   </LaunchAction>
-   <ProfileAction
-      buildConfiguration = "Release"
-      shouldUseLaunchSchemeArgsEnv = "YES"
-      savedToolIdentifier = ""
-      useCustomWorkingDirectory = "NO"
-      debugDocumentVersioning = "YES">
-      <MacroExpansion>
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "FirebaseVertexAIUnit"
-            BuildableName = "FirebaseVertexAIUnit"
-            BlueprintName = "FirebaseVertexAIUnit"
-            ReferencedContainer = "container:">
-         </BuildableReference>
-      </MacroExpansion>
-   </ProfileAction>
-   <AnalyzeAction
-      buildConfiguration = "Debug">
-   </AnalyzeAction>
-   <ArchiveAction
-      buildConfiguration = "Release"
-      revealArchiveInOrganizer = "YES">
-   </ArchiveAction>
-</Scheme>