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 f64989a commit 5b324be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"version": "0.14.301",
"description": "A project to update AI chatbot with tutorials using embeddings.",
"main": "index.js",
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
Expand Down
7 changes: 3 additions & 4 deletions scripts/embedTutorials.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import OpenAI from "openai";
import { Pinecone } from "@pinecone-database/pinecone";
import fetch from 'node-fetch';

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 5b324be

Please sign in to comment.