Make news more nutritious by removing bias.
Project description
Use OpenAI’s GPT to make news more nutritious by removing bias. Based on an idea from Alexandros Marinos.
Usage
usage: nutrinews [-h] [-m {3.5,4}] [-p PROMPT] [--url URL] [-f FILE] [-c] [-d DIFF]
Remove bias from some text.
options:
-h, --help show this help message and exit
-m {3.5,4}, --model {3.5,4}
GPT model to use.
-p PROMPT, --prompt PROMPT
File containing instructions for removing bias.
--url URL Get text from this URL.
-f FILE, --file FILE Get text from this file.
-c, --clipboard Get text from the clipboard.
-d DIFF, --diff DIFF Specify tool to diff the original and nutritious text.
Installation
pip install nutrinews
Requirements
Python 3 and associated libraries.
License
MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nutrinews-0.1.0.tar.gz
(7.6 kB
view details)
File details
Details for the file nutrinews-0.1.0.tar.gz.
File metadata
- Download URL: nutrinews-0.1.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e395e75ab6f6a83bb6de3336bfa2796f7b15ab16f156c5bdd47bf726e41f4252
|
|
| MD5 |
89065deccccc9cc7612f8111cab45d75
|
|
| BLAKE2b-256 |
43f5bd4f8d574edc6679e2a0da6190a0bd2e43749385b408a9901e821f93bb44
|