* Add support for model version in Vertex AI
* Update src/lib/server/endpoints/google/endpointVertex.ts
Co-authored-by: goupilew <arthurgoupil@gmail.com>
* fix: optional chaining on extraBody
---------
Co-authored-by: goupilew <arthurgoupil@gmail.com>
Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>
Move Google GenAI API key to env file instead (#1448)
- Updated the documentation with the latest links from Google AI Studio
- Fixed the incorrect documentation on `safetyThreshold`
- Fixed the `safetySettings` to exclude unspecified category, as it is
not considered as a valid input category in Google's API
Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>
feat: add support for multimodal in Vertex (#1338)
goupilew
Unverified signature
a0199fc
* feat: add support for multimodal in Vertex
* Nit changes and remove tools if multimodal
* revert model name change
* Fix tools/multimodal condition
* chores(lint): fix formatting
---------
Co-authored-by: Thomas <thomas.poc@gmail.com>
Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>
* Supports Google Gemini API
* Fixed error when running svelte-check
* update: from the contribution of nsarrazin
Fix: tools in endpointVertex now optional (#1234)
SebSchroen
Unverified signature
3806b68
The googleSearchRetrieval leads to very odd behavior when chatting with Gemini, making the argument optional and removing it for certain use cases fixes the issue
[VertexAI] Add support for tools parameter (#1065)
goupilew+1: nsarrazin
Unverified signature
ef6c6c7
* [VertexAI] Add support for tools parameter
* Simplify tools parameter parsing and add support for passing parameters in model
---------
Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>
Support Gemini 1.5 Pro from Vertex AI (#1041)
Luke+1: nsarrazin
Unverified signature
d6a02c6
* fix support for gemini on vertex ai
- use native messages api
- provide full content
- hide "Continue" button
- support "safety settings"
- fix confusion in readme
* respect new lines in model description
* ignore google service accounts matching `gcp-*.json`
* type checks
* copy service account, if exists, to container
* narrow response type
* fix streaming generation
---------
Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>
* Added Google Vertex API support
Google Application credentials can be set via
GOOGLE_APPLICATION_CREDENTIALS = clientid.json
* Updated the readme file
* Updated the package-lock file
* Updated the package-lock file
Fixed minor issues
* Moved "@google-cloud/vertexai" to optional dependencies
* Updated for lint checker