[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Vertex AI] Align text and add close keyboard function in Sample Project #12887

Merged
merged 127 commits into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
127 commits
Select commit Hold shift + click to select a range
e290ab4
Add prototype for Firebase Vertex AI
andrewheard Feb 5, 2024
da7e247
Update generative-ai-swift dependency
andrewheard Feb 5, 2024
0d87151
Use Swift 5.9 `AccessLevelOnImport`
andrewheard Feb 14, 2024
71ac326
Set Vertex AI endpoint in `RequestOptions`
andrewheard Feb 20, 2024
0f0d35a
Revert "Use Swift 5.9 `AccessLevelOnImport`"
andrewheard Feb 20, 2024
7c5e5c3
Add alternative API surface that returns `GenerativeModel` instances
andrewheard Feb 20, 2024
ee6651c
Add sample apps using Vertex AI
andrewheard Feb 22, 2024
202192f
Update generative-ai-swift dependency
andrewheard Feb 22, 2024
9698be2
Fix optional VertexAIProvider unwrapping
andrewheard Feb 22, 2024
d0b4d1b
Update `generative-ai-swift` dependency
andrewheard Feb 23, 2024
25bda5a
Prototype and sample fixes
andrewheard Mar 4, 2024
6174462
Fork `google-generative-ai` for Firebase (#12564)
andrewheard Mar 18, 2024
575a69b
Use forked `google-generative-ai` in Vertex AI samples (#12574)
andrewheard Mar 18, 2024
6f9a344
Add CI workflow for Vertex AI (#12577)
andrewheard Mar 18, 2024
cb2f143
Fork `generative-ai-swift` tests for Vertex AI (#12584)
andrewheard Mar 19, 2024
1626fb7
Add local App Check package to sample targets (#12576)
morganchen12 Mar 19, 2024
3b4b436
Use `generative-ai-swift` tests in Vertex AI (#12585)
andrewheard Mar 19, 2024
f8d4278
Add App Check tests in `GenerativeModelTests` (#12590)
andrewheard Mar 20, 2024
8d46fe3
Make `generativeModel` an instance method of `VertexAI` (#12599)
andrewheard Mar 21, 2024
38ddd25
Update test JSON payloads with Vertex AI output (#12615)
andrewheard Mar 22, 2024
237485f
Build Sample in CI (#12616)
paulb777 Mar 25, 2024
05f3d4f
Fix `CitationMetadata` parsing in Vertex AI (#12626)
andrewheard Mar 25, 2024
4e3a4d1
Manage location on VertexAI instead of model (#12630)
paulb777 Mar 26, 2024
a89956f
VertexAI Component tests; fix instance generation for different regio…
paulb777 Mar 27, 2024
19b2004
Add function calling support in Vertex AI (#12633)
andrewheard Mar 27, 2024
27617c4
Add `-Preview` suffix to `FirebaseVertexAI` library name (#12641)
andrewheard Mar 27, 2024
950c4c8
Fix model name in Vertex AI multi-modal sample (#12645)
andrewheard Mar 27, 2024
9812055
Add `totalBillableCharacters` to `CountTokensResponse` in Vertex AI (…
andrewheard Mar 27, 2024
39ea53a
Rename the Vertex AI parameter `region` to `location` (#12656)
andrewheard Mar 28, 2024
c3ad6f1
Update to prod endpoint in Vertex AI (#12657)
andrewheard Apr 2, 2024
cbc3e8c
[VertexAI] Consolidate to single sample app (#12662)
paulb777 Apr 2, 2024
f1f2338
Add platform tags in `x-goog-api-client` (#12680)
andrewheard Apr 2, 2024
1b67b2c
[vertex-ai] Fix for SwiftFormat 0.53.5 (#12683)
paulb777 Apr 2, 2024
07caa9d
Add `functionCalls` accessor to `GenerateContentResponse` (#12690)
andrewheard Apr 3, 2024
7b85605
Vertex AI preview versioning (#12691)
paulb777 Apr 4, 2024
45c3c59
Remove `location` from Vertex AI public API (#12706)
andrewheard Apr 4, 2024
468013c
Remove `apiVersion` from `RequestOptions` in Vertex AI (#12707)
andrewheard Apr 4, 2024
df34f3b
Add placeholder `GoogleService-Info.plist` to Vertex AI sample (#12724)
andrewheard Apr 8, 2024
110f391
Handle `totalBillableCharacters` optional decoding in Vertex AI (#12715)
andrewheard Apr 10, 2024
4c07757
Add function calling sample in Vertex AI (#12745)
andrewheard Apr 10, 2024
29c2248
Add forced function calling support in Vertex AI (#12748)
andrewheard Apr 11, 2024
c7784f5
Add system instruction support in Vertex AI (#12749)
andrewheard Apr 11, 2024
fc0f8a4
Remove FirebaseAppCheck module from Vertex AI sample app (#12754)
andrewheard Apr 11, 2024
113a100
Rename GenerativeAISample to VertexAISample (#12755)
andrewheard Apr 11, 2024
9d304a1
Add `usageMetadata` to `GenerateContentResponse` in Vertex AI (#12777)
andrewheard Apr 12, 2024
2cbae6e
Add public API tests for `GenerateContentResponse` in Vertex AI (#12791)
andrewheard Apr 15, 2024
3b990c1
Merge branch 'main' into vertex-ai
andrewheard Apr 17, 2024
a89224c
[Vertex AI] Add Swift major version to language tag (#12829)
andrewheard Apr 22, 2024
b3ffeb1
[Vertex AI] Update `Citation` decoding to handle optional `startIndex…
andrewheard Apr 22, 2024
fc4d6e6
[Vertex AI] Re-added `location` parameter to public API (#12835)
andrewheard Apr 23, 2024
a7f44fa
[Vertex AI] Remove public `Codable` conformance (#12833)
andrewheard Apr 23, 2024
6e1a429
[Vertex AI] Add `location` checks for slashes and whitespace (#12849)
andrewheard Apr 25, 2024
fb48938
Cherrypick CI fixes into vertex-ai branch (#12862)
andrewheard Apr 29, 2024
239ef8f
[Vertex AI] Integrate with AppCheckInterop (#12856)
andrewheard Apr 29, 2024
35c206a
Add prototype for Firebase Vertex AI
andrewheard Feb 5, 2024
fec29fd
Update generative-ai-swift dependency
andrewheard Feb 5, 2024
7e2bfea
Use Swift 5.9 `AccessLevelOnImport`
andrewheard Feb 14, 2024
090ce9c
Set Vertex AI endpoint in `RequestOptions`
andrewheard Feb 20, 2024
3a3b570
Revert "Use Swift 5.9 `AccessLevelOnImport`"
andrewheard Feb 20, 2024
cb98207
Add alternative API surface that returns `GenerativeModel` instances
andrewheard Feb 20, 2024
277c289
Add sample apps using Vertex AI
andrewheard Feb 22, 2024
6caba0d
Update generative-ai-swift dependency
andrewheard Feb 22, 2024
57aabb6
Fix optional VertexAIProvider unwrapping
andrewheard Feb 22, 2024
202919b
Update `generative-ai-swift` dependency
andrewheard Feb 23, 2024
e2003e2
Prototype and sample fixes
andrewheard Mar 4, 2024
ecec18d
Fork `google-generative-ai` for Firebase (#12564)
andrewheard Mar 18, 2024
e5efafd
Use forked `google-generative-ai` in Vertex AI samples (#12574)
andrewheard Mar 18, 2024
38c5724
Add CI workflow for Vertex AI (#12577)
andrewheard Mar 18, 2024
ed1c3a6
Fork `generative-ai-swift` tests for Vertex AI (#12584)
andrewheard Mar 19, 2024
bc2f6af
Add local App Check package to sample targets (#12576)
morganchen12 Mar 19, 2024
17f0954
Use `generative-ai-swift` tests in Vertex AI (#12585)
andrewheard Mar 19, 2024
0ba8848
Add App Check tests in `GenerativeModelTests` (#12590)
andrewheard Mar 20, 2024
41f4474
Make `generativeModel` an instance method of `VertexAI` (#12599)
andrewheard Mar 21, 2024
d2ced3b
Update test JSON payloads with Vertex AI output (#12615)
andrewheard Mar 22, 2024
c0bdcab
Build Sample in CI (#12616)
paulb777 Mar 25, 2024
e8e48e7
Fix `CitationMetadata` parsing in Vertex AI (#12626)
andrewheard Mar 25, 2024
f5cdb64
Manage location on VertexAI instead of model (#12630)
paulb777 Mar 26, 2024
a67dfa6
VertexAI Component tests; fix instance generation for different regio…
paulb777 Mar 27, 2024
d4c036d
Add function calling support in Vertex AI (#12633)
andrewheard Mar 27, 2024
336ccf6
Add `-Preview` suffix to `FirebaseVertexAI` library name (#12641)
andrewheard Mar 27, 2024
1089da9
Fix model name in Vertex AI multi-modal sample (#12645)
andrewheard Mar 27, 2024
07cdaa9
Add `totalBillableCharacters` to `CountTokensResponse` in Vertex AI (…
andrewheard Mar 27, 2024
1c1f720
Rename the Vertex AI parameter `region` to `location` (#12656)
andrewheard Mar 28, 2024
63293c1
Update to prod endpoint in Vertex AI (#12657)
andrewheard Apr 2, 2024
33ae50d
[VertexAI] Consolidate to single sample app (#12662)
paulb777 Apr 2, 2024
b96cf18
Add platform tags in `x-goog-api-client` (#12680)
andrewheard Apr 2, 2024
f1eb164
[vertex-ai] Fix for SwiftFormat 0.53.5 (#12683)
paulb777 Apr 2, 2024
2362b33
Add `functionCalls` accessor to `GenerateContentResponse` (#12690)
andrewheard Apr 3, 2024
e8d741e
Vertex AI preview versioning (#12691)
paulb777 Apr 4, 2024
9c3422b
Remove `location` from Vertex AI public API (#12706)
andrewheard Apr 4, 2024
2544f77
Remove `apiVersion` from `RequestOptions` in Vertex AI (#12707)
andrewheard Apr 4, 2024
e940758
Add placeholder `GoogleService-Info.plist` to Vertex AI sample (#12724)
andrewheard Apr 8, 2024
9b678e4
Handle `totalBillableCharacters` optional decoding in Vertex AI (#12715)
andrewheard Apr 10, 2024
b283714
Add function calling sample in Vertex AI (#12745)
andrewheard Apr 10, 2024
e587733
Add forced function calling support in Vertex AI (#12748)
andrewheard Apr 11, 2024
14b5a02
Add system instruction support in Vertex AI (#12749)
andrewheard Apr 11, 2024
1a8d228
Remove FirebaseAppCheck module from Vertex AI sample app (#12754)
andrewheard Apr 11, 2024
fedd7c8
Rename GenerativeAISample to VertexAISample (#12755)
andrewheard Apr 11, 2024
46be683
Add `usageMetadata` to `GenerateContentResponse` in Vertex AI (#12777)
andrewheard Apr 12, 2024
14ffa02
Add public API tests for `GenerateContentResponse` in Vertex AI (#12791)
andrewheard Apr 15, 2024
1df22f8
[Vertex AI] Add Swift major version to language tag (#12829)
andrewheard Apr 22, 2024
0a85432
[Vertex AI] Update `Citation` decoding to handle optional `startIndex…
andrewheard Apr 22, 2024
4423b60
[Vertex AI] Re-added `location` parameter to public API (#12835)
andrewheard Apr 23, 2024
42e1d51
[Vertex AI] Remove public `Codable` conformance (#12833)
andrewheard Apr 23, 2024
e4625bd
[Vertex AI] Add `location` checks for slashes and whitespace (#12849)
andrewheard Apr 25, 2024
948df07
[Vertex AI] Integrate with AppCheckInterop (#12856)
andrewheard Apr 29, 2024
6a7dd8e
Align and Close Keyboard
1998code May 2, 2024
0ef7e55
Revert Google Info
1998code May 2, 2024
b0618f2
Rm TeamID
1998code May 2, 2024
968dac7
Update VertexAISampleApp.swift
1998code May 2, 2024
419a7ac
Update VertexAISampleApp.swift
1998code May 2, 2024
04239e1
Style
1998code May 2, 2024
871b9bd
Update SummarizeScreen.swift
1998code May 2, 2024
7d061c5
Fix Keyboard Close
1998code May 3, 2024
d639c34
Update InputField
1998code May 10, 2024
b3f7ea0
Remove Padding
1998code May 10, 2024
689f651
Remove Padding
1998code May 10, 2024
97f97cb
Remove Comment and empty line
1998code May 10, 2024
b524818
Added Focus to PhotoReasoningScreen
1998code May 10, 2024
f382ea6
Update FunctionCallingScreen.swift
1998code May 10, 2024
b260679
Change from user to system
1998code May 10, 2024
e15bc95
Update Indent / Style
1998code May 10, 2024
65b440f
Revert "Change from user to system"
1998code May 14, 2024
2af921d
Merge branch 'vertex-ai' into vertex-ai
1998code May 14, 2024
0d7bfeb
Merge branch 'vertex-ai' of https://github.com/1998code/firebase-ios-…
1998code May 14, 2024
4c87d46
Correct Package.swift
1998code May 14, 2024
3c27e70
Delete GenerativeAISwift.swift
1998code May 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update to prod endpoint in Vertex AI (#12657)
  • Loading branch information
andrewheard authored and paulb777 committed Apr 2, 2024
commit c3ad6f1c5d2d0a7a922c2f64e4dc91e157d2577f
2 changes: 1 addition & 1 deletion FirebaseVertexAI/Sources/GenerativeAISwift.swift
1998code marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ import Foundation
/// Constants associated with the GenerativeAISwift SDK
@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
public enum GenerativeAISwift {
static let baseURL = "https://staging-firebaseml.sandbox.googleapis.com"
static let baseURL = "https://firebaseml.googleapis.com"
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"reason": "API_KEY_INVALID",
"domain": "googleapis.com",
"metadata": {
"service": "staging-firebaseml.sandbox.googleapis.com"
"service": "firebaseml.googleapis.com"
}
},
{
Expand Down