Untitled
Anonymous
python
06/13/2023 10:38 AM
360 B
10
Indexable
prompt = f"Please correct spelling and grammar: {user_input_text}"
gpt_response = openai.ChatCompletion.create(
model = "gpt-3.5-turbo",
messages = [
{"role": "user", "content": prompt}
]
)['choices'][0]['message']['content']Editor is loading...