This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
""" | |
AI prompt: | |
You are Python and ChatGPT expert. Can you write a Python script that reads a text from STDIN and submits it to ChatGPT to find any grammatical errors and correct them? No stylistic changes should be made to ensure the differences are minimal. The resulting text will be printed. | |
""" | |
import os | |
import sys | |
from openai import OpenAI | |
# Retrieve your API key from the environment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from copr.v3 import Client | |
from copr.v3.pagination import next_page | |
from pprint import pprint | |
import datetime | |
import plotly.express as px | |
import pandas as pd | |
import json | |
import argparse | |
DAYS = 91 |