Elffuss BraidHub

kikocis/continue public

3ecf862e2425 · 1.0 KiBSourceRawPermalink

Cohere

在使用 Cohere 之前,访问 Cohere dashboard 创建 API key 。

聊天模型

我们推荐配置 Command-A 作为你的聊天模型。

{
  "models": [
    {
      "title": "Command A 03-2025",
      "provider": "cohere",
      "model": "command-a-03-2025",
      "apiKey": "YOUR_API_KEY"
    }
  ]
}

自动补全模型

Cohere 当前没有提供任何自动补全模型。

点击这里 查看自动补全模型提供者列表。

嵌入模型

我们推荐配置 embed-v4.0 作为你的嵌入模型。

{
  "embeddingsProvider": {
    "provider": "cohere",
    "model": "embed-v4.0",
    "apiKey": "<COHERE_API_KEY>"
  }
}

重排序模型

我们推荐配置 rerank-v3.5 作为你的重排序模型。

{
  "embeddingsProvider": {
    "provider": "cohere",
    "params": {
      "model": "rerank-v3.5",
      "apiKey": "<COHERE_API_KEY>"
    }
  }
}