Skip to content

Commit

Permalink
corrected package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmIriarte committed Feb 19, 2024
1 parent 8744d16 commit 4372498
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
},
"dependencies": {
"openai": "^4.28.0",
"@pinecone-database/pinecone": "^2.0.1"
"@pinecone-database/pinecone": "^2.0.1",
"node-fetch": "^3.3.2"
}
}

1 change: 1 addition & 0 deletions scripts/embedTutorials.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const OpenAI = require("openai");
const Pinecone = require("@pinecone-database/pinecone");
const fetch = require('node-fetch');

// Using environment variables for API keys
const openai = new OpenAI({ apiKey: process.env.OPENAI_API_KEY });
Expand Down

0 comments on commit 4372498

Please sign in to comment.