A small tool for automating collecting data from ChatGPT
Project description
A small tool for automating collecting data from ChatGPT over long periods of time.
What does it do?
ChatGPT currently limits the number of questions that users may ask per hour. The goal of this library is to allow users to just leave their computers on for extended periods of time to collect large amounts of responses from ChatGPT. There might not be a lot of practical use for this. Its main use is in research or data analysis.
Install as a Python Library
pip install sleepyask
Sample code
Example usage:
from sleepyask.chat import sleepy_ask
# Your ChatGPT login information
config = {
"email": "Your ChatGPT email",
"password": "Your ChatGPT password"
}
# List of questions you would like to ask ChatGPT
question_list = [
'What is 1 + 1?',
'What is 1 + 2?',
'What is 1 + 3?'
]
# The filename in which you would like your responses to be stored.
output_file_path = 'draw.json'
# Run sleepy_ask
sleepy_ask(config=config,
questions=question_list,
output_file_path=output_file_path,
verbose=True)
Get involved
- 🐛 Found a bug or interested in adding a feature? - Create an issue
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
sleepyask-1.0.8.tar.gz
(9.9 kB
view details)
Built Distribution
sleepyask-1.0.8-py3-none-any.whl
(10.6 kB
view details)
File details
Details for the file sleepyask-1.0.8.tar.gz
.
File metadata
- Download URL: sleepyask-1.0.8.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8236aae229fa957d990868747a39cf9c1234b1b04819462f7f986700ab86c7d |
|
MD5 | 66a2a1ab5d81a85447445e93d7c4e8d7 |
|
BLAKE2b-256 | 27408400949d4b672ea9922ca50c884f57bd7596951a6e021b5aec21d78742f3 |
File details
Details for the file sleepyask-1.0.8-py3-none-any.whl
.
File metadata
- Download URL: sleepyask-1.0.8-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29e36bed90bd794b6bbb0c55d7c433c2bfda1ded97a2deef105628537c90aad2 |
|
MD5 | 8dd927d5de0c2aafd464a862b754160e |
|
BLAKE2b-256 | 88f9b09e1bfcec667b7e09f4b47208874065e83de4c106ab3923d8639c8e103b |