Merge pull request #30 from achhabra2/update-vertex-docs

Update Google / Vertex docs
This commit is contained in:
Danny Avila
2024-05-22 13:27:00 -04:00
committed by GitHub

View File

@@ -17,7 +17,7 @@ Instructions for both are given below.
To use Gemini models through Google AI Studio, you'll need an API key. If you don't already have one, create a key in Google AI Studio.
Get an API key here: **[makersuite.google.com](https://makersuite.google.com/app/apikey)**
Get an API key here: **[aistudio.google.com](https://aistudio.google.com/app/apikey)**
Once you have your key, provide the key in your .env file, which allows all users of your instance to use it.
@@ -32,10 +32,10 @@ GOOGLE_KEY=user_provided
Since fetching the models list isn't yet supported, you should set the models you want to use in the .env file.
For your convenience, these are the latest models as of 4/15/24 that can be used with the Generative Language API:
For your convenience, these are the latest models as of 5/18/24 that can be used with the Generative Language API:
```bash filename=".env"
GOOGLE_MODELS=gemini-1.0-pro,gemini-1.0-pro-001,gemini-1.0-pro-latest,gemini-1.0-pro-vision-latest,gemini-1.5-pro-latest,gemini-pro,gemini-pro-vision
GOOGLE_MODELS=gemini-1.5-flash-latest,gemini-1.0-pro,gemini-1.0-pro-001,gemini-1.0-pro-latest,gemini-1.0-pro-vision-latest,gemini-1.5-pro-latest,gemini-pro,gemini-pro-vision
```
<Callout type="note" title="Notes:">
@@ -96,10 +96,10 @@ GOOGLE_KEY=user_provided
Since fetching the models list isn't yet supported, you should set the models you want to use in the .env file.
For your convenience, these are the latest models as of 4/15/24 that can be used with the Generative Language API:
For your convenience, these are the latest models as of 5/18/24 that can be used with the Generative Language API:
```bash filename=".env"
GOOGLE_MODELS=gemini-1.5-pro-preview-0409,gemini-1.0-pro-vision-001,gemini-pro,gemini-pro-vision,chat-bison,chat-bison-32k,codechat-bison,codechat-bison-32k,text-bison,text-bison-32k,text-unicorn,code-gecko,code-bison,code-bison-32k
GOOGLE_MODELS=gemini-1.5-flash-preview-0514,gemini-1.5-pro-preview-0514,gemini-1.0-pro-vision-001,gemini-1.0-pro-002,gemini-1.0-pro-001,gemini-pro-vision,gemini-1.0-pro
```
<Callout type="note" title="If you are using Docker">