Skip to content

Commit 7f18177

Browse files
committed
🐛 data: Fix Embeddings constructor types
1 parent 80ae1c8 commit 7f18177

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/embeddings.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export type EmbeddingsClient = {
190190
maxToken?: number,
191191
) => Promise<{ success: boolean }>;
192192
getAllEmbeddings: () => Promise<{ ids: string[] }>;
193-
Embeddings: () => Embeddings;
193+
Embeddings: (embeddingsOptions?: EmbeddingsOptions) => Embeddings;
194194
};
195195

196196
export default function client(clientOptions: InputClientOptions = {}): EmbeddingsClient {

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "polyfire-js",
3-
"version": "0.2.52",
3+
"version": "0.2.53",
44
"main": "index.js",
55
"types": "index.d.ts",
66
"author": "Lancelot Owczarczak <[email protected]>",

0 commit comments

Comments
 (0)