@ai-sdk/cohere 3.0.21 → 3.0.22
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 +7 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/docs/25-cohere.mdx +3 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -998,7 +998,7 @@ var CohereRerankingModel = class {
|
|
|
998
998
|
};
|
|
999
999
|
|
|
1000
1000
|
// src/version.ts
|
|
1001
|
-
var VERSION = true ? "3.0.
|
|
1001
|
+
var VERSION = true ? "3.0.22" : "0.0.0-test";
|
|
1002
1002
|
|
|
1003
1003
|
// src/cohere-provider.ts
|
|
1004
1004
|
function createCohere(options = {}) {
|
package/docs/25-cohere.mdx
CHANGED
|
@@ -98,8 +98,9 @@ const { text } = await generateText({
|
|
|
98
98
|
});
|
|
99
99
|
```
|
|
100
100
|
|
|
101
|
-
Cohere language models can also be used in the `streamText
|
|
102
|
-
|
|
101
|
+
Cohere language models can also be used in the `streamText` function
|
|
102
|
+
and support structured data generation with [`Output`](/docs/reference/ai-sdk-core/output)
|
|
103
|
+
(see [AI SDK Core](/docs/ai-sdk-core)).
|
|
103
104
|
|
|
104
105
|
### Model Capabilities
|
|
105
106
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-sdk/cohere",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.22",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@ai-sdk/provider": "3.0.8",
|
|
33
|
-
"@ai-sdk/provider-utils": "4.0.
|
|
33
|
+
"@ai-sdk/provider-utils": "4.0.16"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "20.17.24",
|