Skip to content

Commit

Permalink
Update tensorflow example
Browse files Browse the repository at this point in the history
  • Loading branch information
nfcampos committed Apr 28, 2023
1 parent 58d37cc commit 844d821
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"@pinecone-database/pinecone": "^0.0.14",
"@prisma/client": "^4.11.0",
"@supabase/supabase-js": "^2.10.0",
"@tensorflow/tfjs-backend-cpu": "^4.4.0",
"@zilliz/milvus2-sdk-node": "^2.2.0",
"axios": "^0.26.0",
"chromadb": "^1.4.0",
Expand Down
2 changes: 0 additions & 2 deletions examples/src/models/embeddings/tensorflow.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint-disable import/no-extraneous-dependencies */

import "@tensorflow/tfjs-backend-cpu";
import { Document } from "langchain/document";
import { TensorFlowEmbeddings } from "langchain/embeddings/tensorflow";
Expand Down
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13056,6 +13056,7 @@ __metadata:
"@pinecone-database/pinecone": ^0.0.14
"@prisma/client": ^4.11.0
"@supabase/supabase-js": ^2.10.0
"@tensorflow/tfjs-backend-cpu": ^4.4.0
"@tsconfig/recommended": ^1.0.2
"@types/js-yaml": ^4
"@typescript-eslint/eslint-plugin": ^5.51.0
Expand Down

0 comments on commit 844d821

Please sign in to comment.