Generates summary for wikis with GPT 3 with Deno and Open AI Nodejs library
Create a .env file with the following content:
OPENAI_API_KEY="YOUR_OPENAI_API_KEY"
go to index.ts and change ipfsURL of your desired wiki to generate summary for with GPT 3 davinci modal. You can modify the generation parameters in the generateSummary function in generateSummary
.ts file
deno run --allow-net --allow-read --allow-write --allow-env index.ts
(or)
deno -A index.ts