print("Started summerization")
response = await db.session.post("https://api.openai.com/v1/edits", json={
"model": "text-davinci-edit-001",
"input": text,
"instruction": "Summerize this to about 200 words and add newlines",
"temperature": 1,
"user": "netninja"
}, headers={
"Authorization": "Bearer " + environ["OPEN_API_KEY"]
})
data = await response.json()
print(data)
This will just mirror the input completely. Ive tried with .5 temperature too, with the same result. Do note that input is over 4k tokens so this might be a issue?