Elffuss BraidHub

kikocis/continue public

main · 2.1 KiBRawPermalink
1---
2title: "SiliconFlow"
3description: "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"
4---
5
6<Info>
7 You can get an API key from the [Silicon
8 Cloud](https://cloud.siliconflow.cn/account/ak).
9</Info>
10
11## Chat model
12
13We recommend configuring **Qwen/Qwen2.5-Coder-32B-Instruct** as your chat model.
14
15<Tabs>
16 <Tab title="YAML">
17 ```yaml title="config.yaml"
18 models:
19 - name: Qwen
20 provider: siliconflow
21 model: Qwen/Qwen2.5-Coder-32B-Instruct
22 apiKey: <YOUR_SILICONFLOW_API_KEY>
23 roles:
24 - chat
25 ```
26 </Tab>
27 <Tab title="JSON">
28 ```json title="config.json"
29 {
30 "models": [
31 {
32 "title": "Qwen",
33 "provider": "siliconflow",
34 "model": "Qwen/Qwen2.5-Coder-32B-Instruct",
35 "apiKey": "<YOUR_SILICONFLOW_API_KEY>"
36 }
37 ]
38 }
39 ```
40 </Tab>
41</Tabs>
42
43## Autocomplete model
44
45We recommend configuring **Qwen/Qwen2.5-Coder-7B-Instruct** as your autocomplete model.
46
47<Tabs>
48 <Tab title="YAML">
49 ```yaml title="config.yaml"
50 models:
51 - name: Qwen
52 provider: siliconflow
53 model: Qwen/Qwen2.5-Coder-32B-Instruct
54 apiKey: <YOUR_SILICONFLOW_API_KEY>
55 roles:
56 - autocomplete
57 ```
58 </Tab>
59 <Tab title="JSON">
60 ```json title="config.json"
61 {
62 "models": [
63 {
64 "title": "Qwen",
65 "provider": "siliconflow",
66 "model": "Qwen/Qwen2.5-Coder-32B-Instruct",
67 "apiKey": "<YOUR_SILICONFLOW_API_KEY>"
68 }
69 ]
70 "tabAutocompleteModel": {
71 "title": "Qwen",
72 "provider": "siliconflow",
73 "model": "Qwen/Qwen2.5-Coder-7B-Instruct",
74 "apiKey": "<YOUR_SILICONFLOW_API_KEY>"
75 }
76 }
77 ```
78 </Tab>
79</Tabs>
80
81## Embeddings model
82
83SiliconFlow provide some embeddings models. [Click here](https://siliconflow.cn/models) to see a list of embeddings models.
84
85## Reranking model
86
87SiliconFlow provide some reranking models. [Click here](https://siliconflow.cn/models) to see a list of reranking models.