Skip to content

Latest commit

 

History

History
95 lines (82 loc) · 2.24 KB

File metadata and controls

95 lines (82 loc) · 2.24 KB
title SiliconFlow
description Configure SiliconFlow with Continue to access their AI model platform, featuring Qwen's Coder models for chat and autocomplete, along with various embedding and reranking models
You can get an API key from the [Silicon Cloud](https://cloud.siliconflow.cn/account/ak).

Chat Model

We recommend configuring Qwen/Qwen2.5-Coder-32B-Instruct as your chat model.

```yaml title="config.yaml" name: My Config version: 0.0.1 schema: v1
models:
  - name: Qwen
    provider: siliconflow
    model: Qwen/Qwen2.5-Coder-32B-Instruct
    apiKey: <YOUR_SILICONFLOW_API_KEY>
    roles:
      - chat
```
</Tab>
<Tab title="JSON">
```json title="config.json"
{
  "models": [
    {
      "title": "Qwen",
      "provider": "siliconflow",
      "model": "Qwen/Qwen2.5-Coder-32B-Instruct",
      "apiKey": "<YOUR_SILICONFLOW_API_KEY>"
    }
  ]
}
```
</Tab>

Autocomplete Model

We recommend configuring Qwen/Qwen2.5-Coder-7B-Instruct as your autocomplete model.

```yaml title="config.yaml" name: My Config version: 0.0.1 schema: v1
models:
  - name: Qwen
    provider: siliconflow
    model: Qwen/Qwen2.5-Coder-32B-Instruct
    apiKey: <YOUR_SILICONFLOW_API_KEY>
    roles: 
      - autocomplete
```
</Tab>
<Tab title="JSON">
```json title="config.json"
{
  "models": [
    {
      "title": "Qwen",
      "provider": "siliconflow",
      "model": "Qwen/Qwen2.5-Coder-32B-Instruct",
      "apiKey": "<YOUR_SILICONFLOW_API_KEY>"
    }
  ]
  "tabAutocompleteModel": {
    "title": "Qwen",
    "provider": "siliconflow",
    "model": "Qwen/Qwen2.5-Coder-7B-Instruct",
    "apiKey": "<YOUR_SILICONFLOW_API_KEY>"
  }
}
```
</Tab>

Embeddings Model

SiliconFlow provide some embeddings models. Click here to see a list of embeddings models.

Reranking Model

SiliconFlow provide some reranking models. Click here to see a list of reranking models.