@ai-sdk/cohere 4.0.6 → 4.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist/index.js +1 -1
- package/docs/25-cohere.mdx +16 -30
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @ai-sdk/cohere
|
|
2
2
|
|
|
3
|
+
## 4.0.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [4be62c1]
|
|
8
|
+
- Updated dependencies [7805e4a]
|
|
9
|
+
- Updated dependencies [cd12954]
|
|
10
|
+
- @ai-sdk/provider-utils@5.0.9
|
|
11
|
+
|
|
12
|
+
## 4.0.8
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [e193290]
|
|
17
|
+
- @ai-sdk/provider-utils@5.0.8
|
|
18
|
+
|
|
19
|
+
## 4.0.7
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [0f93c57]
|
|
24
|
+
- @ai-sdk/provider@4.0.3
|
|
25
|
+
- @ai-sdk/provider-utils@5.0.7
|
|
26
|
+
|
|
3
27
|
## 4.0.6
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -1130,7 +1130,7 @@ var CohereRerankingModel = class {
|
|
|
1130
1130
|
};
|
|
1131
1131
|
|
|
1132
1132
|
// src/version.ts
|
|
1133
|
-
var VERSION = true ? "4.0.
|
|
1133
|
+
var VERSION = true ? "4.0.9" : "0.0.0-test";
|
|
1134
1134
|
|
|
1135
1135
|
// src/cohere-provider.ts
|
|
1136
1136
|
function createCohere(options = {}) {
|
package/docs/25-cohere.mdx
CHANGED
|
@@ -11,21 +11,7 @@ The [Cohere](https://cohere.com/) provider contains language and embedding model
|
|
|
11
11
|
|
|
12
12
|
The Cohere provider is available in the `@ai-sdk/cohere` module. You can install it with
|
|
13
13
|
|
|
14
|
-
<
|
|
15
|
-
<Tab>
|
|
16
|
-
<Snippet text="pnpm add @ai-sdk/cohere" dark />
|
|
17
|
-
</Tab>
|
|
18
|
-
<Tab>
|
|
19
|
-
<Snippet text="npm install @ai-sdk/cohere" dark />
|
|
20
|
-
</Tab>
|
|
21
|
-
<Tab>
|
|
22
|
-
<Snippet text="yarn add @ai-sdk/cohere" dark />
|
|
23
|
-
</Tab>
|
|
24
|
-
|
|
25
|
-
<Tab>
|
|
26
|
-
<Snippet text="bun add @ai-sdk/cohere" dark />
|
|
27
|
-
</Tab>
|
|
28
|
-
</Tabs>
|
|
14
|
+
<InstallPackages packages="@ai-sdk/cohere" />
|
|
29
15
|
|
|
30
16
|
## Provider Instance
|
|
31
17
|
|
|
@@ -104,21 +90,21 @@ and support structured data generation with [`Output`](/docs/reference/ai-sdk-co
|
|
|
104
90
|
|
|
105
91
|
### Model Capabilities
|
|
106
92
|
|
|
107
|
-
| Model | Image Input
|
|
108
|
-
| ----------------------------- |
|
|
109
|
-
| `command-a-03-2025` | <Cross
|
|
110
|
-
| `command-a-reasoning-08-2025` | <Cross
|
|
111
|
-
| `command-a-vision-07-2025` | <Check
|
|
112
|
-
| `command-r7b-12-2024` | <Cross
|
|
113
|
-
| `command-r-plus-04-2024` | <Cross
|
|
114
|
-
| `command-r-plus` | <Cross
|
|
115
|
-
| `command-r-08-2024` | <Cross
|
|
116
|
-
| `command-r-03-2024` | <Cross
|
|
117
|
-
| `command-r` | <Cross
|
|
118
|
-
| `command` | <Cross
|
|
119
|
-
| `command-nightly` | <Cross
|
|
120
|
-
| `command-light` | <Cross
|
|
121
|
-
| `command-light-nightly` | <Cross
|
|
93
|
+
| Model | Image Input | Object Generation | Tool Usage | Tool Streaming |
|
|
94
|
+
| ----------------------------- | ----------- | ----------------- | ---------- | -------------- |
|
|
95
|
+
| `command-a-03-2025` | <Cross /> | <Check /> | <Check /> | <Check /> |
|
|
96
|
+
| `command-a-reasoning-08-2025` | <Cross /> | <Check /> | <Check /> | <Check /> |
|
|
97
|
+
| `command-a-vision-07-2025` | <Check /> | <Check /> | <Check /> | <Check /> |
|
|
98
|
+
| `command-r7b-12-2024` | <Cross /> | <Check /> | <Check /> | <Check /> |
|
|
99
|
+
| `command-r-plus-04-2024` | <Cross /> | <Check /> | <Check /> | <Check /> |
|
|
100
|
+
| `command-r-plus` | <Cross /> | <Check /> | <Check /> | <Check /> |
|
|
101
|
+
| `command-r-08-2024` | <Cross /> | <Check /> | <Check /> | <Check /> |
|
|
102
|
+
| `command-r-03-2024` | <Cross /> | <Check /> | <Check /> | <Check /> |
|
|
103
|
+
| `command-r` | <Cross /> | <Check /> | <Check /> | <Check /> |
|
|
104
|
+
| `command` | <Cross /> | <Cross /> | <Cross /> | <Cross /> |
|
|
105
|
+
| `command-nightly` | <Cross /> | <Cross /> | <Cross /> | <Cross /> |
|
|
106
|
+
| `command-light` | <Cross /> | <Cross /> | <Cross /> | <Cross /> |
|
|
107
|
+
| `command-light-nightly` | <Cross /> | <Cross /> | <Cross /> | <Cross /> |
|
|
122
108
|
|
|
123
109
|
<Note>
|
|
124
110
|
The table above lists popular models. Please see the [Cohere
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-sdk/cohere",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@ai-sdk/provider": "4.0.
|
|
33
|
-
"@ai-sdk/provider-utils": "5.0.
|
|
32
|
+
"@ai-sdk/provider": "4.0.3",
|
|
33
|
+
"@ai-sdk/provider-utils": "5.0.9"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "22.19.19",
|