Skip to content

Commit

Permalink
🐛 data: Fix Embeddings constructor types
Browse files Browse the repository at this point in the history
  • Loading branch information
lowczarc committed Feb 19, 2024
1 parent 80ae1c8 commit 7f18177
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/embeddings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export type EmbeddingsClient = {
maxToken?: number,
) => Promise<{ success: boolean }>;
getAllEmbeddings: () => Promise<{ ids: string[] }>;
Embeddings: () => Embeddings;
Embeddings: (embeddingsOptions?: EmbeddingsOptions) => Embeddings;
};

export default function client(clientOptions: InputClientOptions = {}): EmbeddingsClient {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "polyfire-js",
"version": "0.2.52",
"version": "0.2.53",
"main": "index.js",
"types": "index.d.ts",
"author": "Lancelot Owczarczak <[email protected]>",
Expand Down

0 comments on commit 7f18177

Please sign in to comment.