replace gemini 1.5 with 2.0
This commit is contained in:
parent
20b18402b2
commit
75e0040738
5 changed files with 18 additions and 18 deletions
|
|
@ -16,7 +16,7 @@ Other recommended chat models include:
|
|||
|
||||
- [GPT-4o from OpenAI](https://hub.continue.dev/openai/gpt-4o)
|
||||
- [Grok-2 from xAI](https://hub.continue.dev/xai/grok-2)
|
||||
- [Gemini 1.5 Pro from Google](https://hub.continue.dev/google/gemini-1.5-pro)
|
||||
- [Gemini 2.0 Flash from Google](https://hub.continue.dev/google/gemini-2.0-flash)
|
||||
- [Llama 3.1 8b from Meta on Ollama](https://hub.continue.dev/ollama/llama3.1-8b) for a fully local experience
|
||||
{/* HUB_TODO nonexistent blocks */}
|
||||
{/* - Deepseek Coder 2 from deepseek on [Ollama](https://hub.continue.dev/explore/models) or [LM Studio](https://hub.continue.dev/explore/models) */}
|
||||
|
|
|
|||
|
|
@ -12,15 +12,15 @@ You can get an API key from the [Google AI Studio](https://aistudio.google.com/)
|
|||
|
||||
## Chat model
|
||||
|
||||
We recommend configuring **Gemini 1.5 Pro** as your chat model.
|
||||
We recommend configuring **Gemini 2.0 Flash** as your chat model.
|
||||
|
||||
<Tabs groupId="config-example">
|
||||
<TabItem value="yaml" label="YAML">
|
||||
```yaml title="config.yaml"
|
||||
models:
|
||||
- name: Gemini 1.5 Pro
|
||||
- name: Gemini 2.0 Flash
|
||||
provider: gemini
|
||||
model: gemini-1.5-pro-latest
|
||||
model: gemini-2.0-flash
|
||||
apiKey: <YOUR_GEMINI_API_KEY>
|
||||
```
|
||||
</TabItem>
|
||||
|
|
@ -29,9 +29,9 @@ We recommend configuring **Gemini 1.5 Pro** as your chat model.
|
|||
{
|
||||
"models": [
|
||||
{
|
||||
"title": "Gemini 1.5 Pro",
|
||||
"title": "Gemini 2.0 Flash",
|
||||
"provider": "gemini",
|
||||
"model": "gemini-1.5-pro-latest",
|
||||
"model": "gemini-2.0-flash",
|
||||
"apiKey": "<YOUR_GEMINI_API_KEY>"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -237,20 +237,20 @@ If you prefer to use a model from [xAI](../model-providers/top-level/xAI.mdx), t
|
|||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
### Gemini 1.5 Pro from Google
|
||||
### Gemini 2.0 Flash from Google
|
||||
|
||||
If you prefer to use a model from [Google](../model-providers/top-level/gemini.mdx), then we recommend Gemini 1.5 Pro.
|
||||
If you prefer to use a model from [Google](../model-providers/top-level/gemini.mdx), then we recommend Gemini 2.0 Flash.
|
||||
|
||||
<Tabs groupId="hub-config-example">
|
||||
<TabItem value="hub" label="Hub">
|
||||
Add the [Gemini 1.5 Pro block](https://hub.continue.dev/google/gemini-1.5-pro) from the hub
|
||||
Add the [Gemini 2.0 Flash block](https://hub.continue.dev/google/gemini-2.0-flash) from the hub
|
||||
</TabItem>
|
||||
<TabItem value="yaml" label="YAML">
|
||||
```yaml title="config.yaml"
|
||||
models:
|
||||
- name: Gemini 1.5 Pro
|
||||
- name: Gemini 2.0 Flash
|
||||
provider: gemini
|
||||
model: gemini-1.5-pro-latest
|
||||
model: gemini-2.0-flash
|
||||
apiKey: <YOUR_GEMINI_API_KEY>
|
||||
```
|
||||
</TabItem>
|
||||
|
|
@ -259,9 +259,9 @@ If you prefer to use a model from [Google](../model-providers/top-level/gemini.m
|
|||
{
|
||||
"models": [
|
||||
{
|
||||
"title": "Gemini 1.5 Pro",
|
||||
"title": "Gemini 2.0 Flash",
|
||||
"provider": "gemini",
|
||||
"model": "gemini-1.5-pro-latest",
|
||||
"model": "gemini-2.0-flash",
|
||||
"apiKey": "<YOUR_GEMINI_API_KEY>"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -111,16 +111,16 @@ import Tabs from "@theme/Tabs";
|
|||
]
|
||||
```
|
||||
|
||||
### 来自 Google 的 Gemini 1.5 Pro
|
||||
### 来自 Google 的 Gemini 2.0 Flash
|
||||
|
||||
如果你倾向于使用来自 [Google](../customize/model-providers/top-level/gemini.md) 的模型,那么我们推荐 Gemini 1.5 Pro 。
|
||||
如果你倾向于使用来自 [Google](../customize/model-providers/top-level/gemini.md) 的模型,那么我们推荐 Gemini 2.0 Flash。
|
||||
|
||||
```json title="config.json"
|
||||
"models": [
|
||||
{
|
||||
"title": "Gemini 1.5 Pro",
|
||||
"title": "Gemini 2.0 Flash",
|
||||
"provider": "gemini",
|
||||
"model": "gemini-1.5-pro-latest",
|
||||
"model": "gemini-2.0-flash",
|
||||
"apiKey": "[GEMINI_API_KEY]"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -14,5 +14,5 @@ sidebar_position: 2
|
|||
否则,以下是一些最好的选择:
|
||||
|
||||
- [GPT-4o](../model-providers/top-level/openai.md)
|
||||
- [Gemini 1.5 Pro](../model-providers/top-level/gemini.md)
|
||||
- [Gemini 2.0 Flash](../model-providers/top-level/gemini.md)
|
||||
- [Llama3.1 405B](../tutorials/llama3.1.md)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue