OpenAI GPT-3 script that summarizes complex text
- Summarize texts
- Configure the processing engine
- Export texts in a .txt file
First you have to fill the key
property of the OPEN_AI_API.json
:
{
"key": ""
}
The OPEN_AI_API.json
file will look like this:
{
"key": "sk-RBQqqKwCgYUqTxucxTLgZLbSbCckWLVhNxfxBCNH"
}
Then just execute the main file:
cd src/
python main.py
The script reads OpenAI API Key from a JSON file. So the software needs import json module.
The official package of OpenAI that provides classes/methods like: openai.Completion.create
.
Do you would like to contribute? Do you want to be the author of a new feature? Awesome! please fork the repository and make changes as you like. Pull requests are warmly welcome.
Distributed under the MIT License.
See LICENSE
for more information.