wikisum
v1.0.3
Published
wikipedia article summarizer using openai api
Downloads
158
Readme
wikisum
wikisum summerizes wikipedia articles by using axios and openai
To use wikisum:
1. run ```npm i wikisum```
2. get a openai api key
3. import the class ```import Wikisum from 'wikisum'```
4. initialize ```const wiki = new Wikisum()```
5. call ```wiki.summary(<wiki_article>, <openai_key>)```
6. run your js file
notes: 1. has to be a wikipedia article 2. have to have a openai api key
Version 1.0.2: ``` 1. added a new object called target (to fixed the object return undefined problem).
2. Just call it in import Wikisum, {target} from 'wikisum'
P.S you need to call the target object after Wikisum
```