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 project 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.7.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file sleepyask-1.0.7.tar.gz
.
File metadata
- Download URL: sleepyask-1.0.7.tar.gz
- Upload date:
- Size: 3.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 | 0a9523c1a978fea3e9155edcf40a90f286ff75a11b36823e53d263ee7b357fcc |
|
MD5 | 2949de678adad8876bb3572cffbaec83 |
|
BLAKE2b-256 | d090744e30760cb62ad2a2613e0f9c218d78e913bb745e91e445469ecd7a9a32 |
File details
Details for the file sleepyask-1.0.7-py3-none-any.whl
.
File metadata
- Download URL: sleepyask-1.0.7-py3-none-any.whl
- Upload date:
- Size: 4.5 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 | e213c6ecacb465ad785b7139ca741051470590d7446e0823435bc3968ce88cd4 |
|
MD5 | 2a8dab4b660bd27d5f78a7ea52402aee |
|
BLAKE2b-256 | e6c7b4b8b0c95161118c32f15e9ed7246b580822e701a56a7195c0f6fc82a3d9 |