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

Add Vertex SDK #8119

Merged
merged 32 commits into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
61af236
Initial vertex SDK setup (#281)
hsubox76 Mar 22, 2024
c1aca52
Merge branch 'ch-vertex-feature' of https://github.com/FirebasePrivat…
hsubox76 Mar 22, 2024
57018ca
Port code from GoogleAI repo (#283)
hsubox76 Mar 26, 2024
0338896
Fix types to match Vertex API and convert functionCall() to functionC…
hsubox76 Mar 28, 2024
534d895
Fix and update location field, remove esm5 bundle (#291)
hsubox76 Mar 29, 2024
1de2383
should use DEFAULT_LOCATION (#292)
hsubox76 Apr 2, 2024
6561882
Add logging headers (#293)
hsubox76 Apr 2, 2024
01a112b
Add appcheck header (#294)
hsubox76 Apr 3, 2024
39af683
merge master
hsubox76 Apr 3, 2024
e946e73
update firebase dep versions
hsubox76 Apr 3, 2024
d27cd8e
Enable first npm publish (#8120)
hsubox76 Apr 4, 2024
bf7d2d8
Remove apiVersion and location options (#8124)
hsubox76 Apr 4, 2024
8b70fc5
Set package to public (#8125)
hsubox76 Apr 4, 2024
acef5e3
Final fixes blocking publish (#8126)
hsubox76 Apr 5, 2024
f25ccbb
Add additional Vertex types (#8131)
hsubox76 Apr 8, 2024
3d11ecc
Add systemInstruction and toolConfig (#8146)
hsubox76 Apr 10, 2024
1596af1
fix gl-js header (#8198)
hsubox76 Apr 22, 2024
4092808
Merge branch 'master' into ch-vertex-feature
hsubox76 Apr 22, 2024
1aadc47
firebase/app version bump due to merge from master
hsubox76 Apr 22, 2024
627b561
Allow text-only systemInstruction (#8208)
hsubox76 Apr 29, 2024
7192c42
Merge branch 'master' into ch-vertex-feature
hsubox76 May 2, 2024
b981a45
update package versions after merge
hsubox76 May 2, 2024
964bd26
[VertexAI] Allow user to set location (#8219)
hsubox76 May 6, 2024
070e0cc
Integrate VertexAI with Auth (#8216)
dlarocque May 6, 2024
774570a
Add support for GCS FileData in inference (#8223)
dlarocque May 6, 2024
e12d91f
Prepare for public preview release (#8214)
hsubox76 May 6, 2024
dc2efe7
Update API reports
hsubox76 May 6, 2024
4c83b34
fix test (#8228)
hsubox76 May 7, 2024
f688228
Generate vertex reference docs (#8226)
hsubox76 May 7, 2024
d79a131
make test() accessor handle mixed-parts responses (#8229)
hsubox76 May 8, 2024
c66445c
Fix doc comments (#8234)
hsubox76 May 8, 2024
f6a2b88
[Vertex AI] Add a responseMimeType to generationConfig (#8235)
DellaBitta May 8, 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
7 changes: 7 additions & 0 deletions .changeset/olive-points-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'firebase': minor
'@firebase/vertexai-preview': patch
'@firebase/app': patch
---

Add the preview version of the VertexAI SDK.
1 change: 1 addition & 0 deletions .github/workflows/canary-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jobs:
NPM_TOKEN_STORAGE_TYPES: ${{secrets.NPM_TOKEN_STORAGE_TYPES}}
NPM_TOKEN_TESTING: ${{secrets.NPM_TOKEN_TESTING}}
NPM_TOKEN_UTIL: ${{secrets.NPM_TOKEN_UTIL}}
NPM_TOKEN_VERTEXAI: ${{secrets.NPM_TOKEN_VERTEXAI}}
NPM_TOKEN_WEBCHANNEL_WRAPPER: ${{secrets.NPM_TOKEN_WEBCHANNEL_WRAPPER}}
NPM_TOKEN_FIREBASE: ${{secrets.NPM_TOKEN_FIREBASE}}
NPM_TOKEN_APP_COMPAT: ${{ secrets.NPM_TOKEN_APP_COMPAT }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/prerelease-manual-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ jobs:
NPM_TOKEN_STORAGE_TYPES: ${{secrets.NPM_TOKEN_STORAGE_TYPES}}
NPM_TOKEN_TESTING: ${{secrets.NPM_TOKEN_TESTING}}
NPM_TOKEN_UTIL: ${{secrets.NPM_TOKEN_UTIL}}
NPM_TOKEN_VERTEXAI: ${{secrets.NPM_TOKEN_VERTEXAI}}
NPM_TOKEN_VERTEXAI_PREVIEW: ${{secrets.NPM_TOKEN_VERTEXAI_PREVIEW}}
NPM_TOKEN_WEBCHANNEL_WRAPPER: ${{secrets.NPM_TOKEN_WEBCHANNEL_WRAPPER}}
NPM_TOKEN_FIREBASE: ${{secrets.NPM_TOKEN_FIREBASE}}
NPM_TOKEN_APP_COMPAT: ${{ secrets.NPM_TOKEN_APP_COMPAT }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ jobs:
NPM_TOKEN_STORAGE_TYPES: ${{secrets.NPM_TOKEN_STORAGE_TYPES}}
NPM_TOKEN_TESTING: ${{secrets.NPM_TOKEN_TESTING}}
NPM_TOKEN_UTIL: ${{secrets.NPM_TOKEN_UTIL}}
NPM_TOKEN_VERTEXAI: ${{secrets.NPM_TOKEN_VERTEXAI}}
NPM_TOKEN_VERTEXAI_PREVIEW: ${{secrets.NPM_TOKEN_VERTEXAI_PREVIEW}}
NPM_TOKEN_WEBCHANNEL_WRAPPER: ${{secrets.NPM_TOKEN_WEBCHANNEL_WRAPPER}}
NPM_TOKEN_FIREBASE: ${{secrets.NPM_TOKEN_FIREBASE}}
NPM_TOKEN_APP_COMPAT: ${{ secrets.NPM_TOKEN_APP_COMPAT }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ jobs:
NPM_TOKEN_STORAGE_TYPES: ${{secrets.NPM_TOKEN_STORAGE_TYPES}}
NPM_TOKEN_TESTING: ${{secrets.NPM_TOKEN_TESTING}}
NPM_TOKEN_UTIL: ${{secrets.NPM_TOKEN_UTIL}}
NPM_TOKEN_VERTEXAI: ${{secrets.NPM_TOKEN_VERTEXAI}}
NPM_TOKEN_VERTEXAI_PREVIEW: ${{secrets.NPM_TOKEN_VERTEXAI_PREVIEW}}
NPM_TOKEN_WEBCHANNEL_WRAPPER: ${{secrets.NPM_TOKEN_WEBCHANNEL_WRAPPER}}
NPM_TOKEN_FIREBASE: ${{secrets.NPM_TOKEN_FIREBASE}}
NPM_TOKEN_APP_COMPAT: ${{ secrets.NPM_TOKEN_APP_COMPAT }}
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,6 @@ toc/
.terraform.lock.hcl
*.tfstate
*.tfstate.*

# generated test case text data
mocks-lookup.ts
Loading
Loading