SebSchroen Sebastian Schroen commited on
Commit
ee3426c
·
unverified ·
1 Parent(s): 623efa6

fix: Remove ; in Vertex AI example configuration in Readme.md and add model_version as config (#1508)

Browse files

* Removed ; in Google Vertex example configuration which resulted in an error when building

* Minor fixed in README.md for Google Vertex model config

---------

Co-authored-by: Sebastian Schroen <[email protected]>

Files changed (1) hide show
  1. README.md +5 -2
README.md CHANGED
@@ -780,7 +780,10 @@ MODELS=`[
780
  "type": "vertex",
781
  "project": "abc-xyz",
782
  "location": "europe-west3",
783
- "model": "gemini-1.5-pro-preview-0409", // model-name
 
 
 
784
  // Optional
785
  "safetyThreshold": "BLOCK_MEDIUM_AND_ABOVE",
786
  "apiEndpoint": "", // alternative api endpoint url,
@@ -795,7 +798,7 @@ MODELS=`[
795
  "preferredMimeType": "image/png",
796
  "maxSizeInMB": 5,
797
  "maxWidth": 2000,
798
- "maxHeight": 1000;
799
  }
800
  }
801
  }]
 
780
  "type": "vertex",
781
  "project": "abc-xyz",
782
  "location": "europe-west3",
783
+ "extraBody": {
784
+ "model_version": "gemini-1.5-pro-preview-0409",
785
+ },
786
+
787
  // Optional
788
  "safetyThreshold": "BLOCK_MEDIUM_AND_ABOVE",
789
  "apiEndpoint": "", // alternative api endpoint url,
 
798
  "preferredMimeType": "image/png",
799
  "maxSizeInMB": 5,
800
  "maxWidth": 2000,
801
+ "maxHeight": 1000,
802
  }
803
  }
804
  }]