@ai-sdk/provider 3.0.0-beta.26 → 3.0.0-beta.27
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 +6 -0
- package/dist/index.d.mts +13 -0
- package/dist/index.d.ts +13 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -3210,6 +3210,19 @@ interface ProviderV3 {
|
|
|
3210
3210
|
*/
|
|
3211
3211
|
embeddingModel(modelId: string): EmbeddingModelV3;
|
|
3212
3212
|
/**
|
|
3213
|
+
Returns the text embedding model with the given id.
|
|
3214
|
+
The model id is then passed to the provider function to get the model.
|
|
3215
|
+
|
|
3216
|
+
@param {string} modelId - The id of the model to return.
|
|
3217
|
+
|
|
3218
|
+
@returns {EmbeddingModel} The embedding model associated with the id
|
|
3219
|
+
|
|
3220
|
+
@throws {NoSuchModelError} If no such model exists.
|
|
3221
|
+
|
|
3222
|
+
@deprecated Use `embeddingModel` instead.
|
|
3223
|
+
*/
|
|
3224
|
+
textEmbeddingModel?(modelId: string): EmbeddingModelV3;
|
|
3225
|
+
/**
|
|
3213
3226
|
Returns the image model with the given id.
|
|
3214
3227
|
The model id is then passed to the provider function to get the model.
|
|
3215
3228
|
|
package/dist/index.d.ts
CHANGED
|
@@ -3210,6 +3210,19 @@ interface ProviderV3 {
|
|
|
3210
3210
|
*/
|
|
3211
3211
|
embeddingModel(modelId: string): EmbeddingModelV3;
|
|
3212
3212
|
/**
|
|
3213
|
+
Returns the text embedding model with the given id.
|
|
3214
|
+
The model id is then passed to the provider function to get the model.
|
|
3215
|
+
|
|
3216
|
+
@param {string} modelId - The id of the model to return.
|
|
3217
|
+
|
|
3218
|
+
@returns {EmbeddingModel} The embedding model associated with the id
|
|
3219
|
+
|
|
3220
|
+
@throws {NoSuchModelError} If no such model exists.
|
|
3221
|
+
|
|
3222
|
+
@deprecated Use `embeddingModel` instead.
|
|
3223
|
+
*/
|
|
3224
|
+
textEmbeddingModel?(modelId: string): EmbeddingModelV3;
|
|
3225
|
+
/**
|
|
3213
3226
|
Returns the image model with the given id.
|
|
3214
3227
|
The model id is then passed to the provider function to get the model.
|
|
3215
3228
|
|