@ai-sdk/provider 0.0.11 → 0.0.12
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/dist/index.d.mts +6 -0
- package/dist/index.d.ts +6 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -65,6 +65,12 @@ type EmbeddingModelV1<VALUE> = {
|
|
65
65
|
*/
|
66
66
|
embeddings: Array<EmbeddingModelV1Embedding>;
|
67
67
|
/**
|
68
|
+
Token usage. We only have input tokens for embeddings.
|
69
|
+
*/
|
70
|
+
usage?: {
|
71
|
+
tokens: number;
|
72
|
+
};
|
73
|
+
/**
|
68
74
|
Optional raw response information for debugging purposes.
|
69
75
|
*/
|
70
76
|
rawResponse?: {
|
package/dist/index.d.ts
CHANGED
@@ -65,6 +65,12 @@ type EmbeddingModelV1<VALUE> = {
|
|
65
65
|
*/
|
66
66
|
embeddings: Array<EmbeddingModelV1Embedding>;
|
67
67
|
/**
|
68
|
+
Token usage. We only have input tokens for embeddings.
|
69
|
+
*/
|
70
|
+
usage?: {
|
71
|
+
tokens: number;
|
72
|
+
};
|
73
|
+
/**
|
68
74
|
Optional raw response information for debugging purposes.
|
69
75
|
*/
|
70
76
|
rawResponse?: {
|