You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
-
# FunctionCalling-FirebaseVertexAI
1
+
# FunctionCalling-FirebaseAI
2
2
3
-
This library simplifies the integration of the [FunctionCalling](https://github.com/fumito-ito/FunctionCalling) macro into [FirebaseVertexAI](https://github.com/firebase/firebase-ios-sdk/tree/main/FirebaseVertexAI). By using this library, you can directly generate `Tool` objects from Swift native functions, which can then be specified as FunctionCalling when invoking VertexAI.
3
+
This library simplifies the integration of the [FunctionCalling](https://github.com/fumito-ito/FunctionCalling) macro into [FirebaseAI](https://github.com/firebase/firebase-ios-sdk/tree/main/FirebaseAI). By using this library, you can directly generate `Tool` objects from Swift native functions, which can then be specified as FunctionCalling when invoking FirebaseAI.
4
4
5
5
## Usage
6
6
7
7
```swift
8
8
9
9
importFunctionCalling
10
-
importFunctionCalling_FirebaseVertexAI
11
-
importFirebaseVertexAI
10
+
importFunctionCalling_FirebaseAI
11
+
importFirebaseAI
12
12
13
13
// MARK: Declare the container and functions for the tools to be called from FunctionCalling.
14
14
@@ -23,9 +23,9 @@ struct MyFunctionTools {
23
23
}
24
24
}
25
25
26
-
// MARK: You can directly pass the tools generated from objects to the model in VertexAI.
26
+
// MARK: You can directly pass the tools generated from objects to the model in FirebaseAI.
27
27
28
-
let model =VertexAI.vertexAI().generativeModel(
28
+
let model =FirebaseAI.firebaseAI().generativeModel(
0 commit comments