I have been working on a discord bot project in python for a few days now. My code to prompt the bot is the following:
if p_message.startswith("cgpt"):
completion = openai.Completion.create(engine="davinci", prompt=p_message[5:], temperature = 0)
return completion.choices[0].text
plus all of the api key stuff.
Anyways, what this returns is very interesting: (see image).
Of course for this I used a simplified version of this code to just work in a terminal, but as you can see, the responses remained very fragmented and informal.
Does anyone know a way to fix this?